Debian Codegraph @

src/gen/lib/cdt/dtrenew__c.java

raw symbols SCIP
1 /* ========================================================================
2 * PlantUML : a free UML diagram generator
3 * ========================================================================
4 *
5 * Project Info: http://plantuml.com
6 *
7 * If you like this project or if you find it useful, you can support us at:
8 *
9 * http://plantuml.com/patreon (only 1$ per month!)
10 * http://plantuml.com/paypal
11 *
12 * This file is part of Smetana.
13 * Smetana is a partial translation of Graphviz/Dot sources from C to Java.
14 *
15 * (C) Copyright 2009-2020, Arnaud Roques
16 *
17 * This translation is distributed under the same Licence as the original C program:
18 *
19 *************************************************************************
20 * Copyright (c) 2011 AT&T Intellectual Property
21 * All rights reserved. This program and the accompanying materials
22 * are made available under the terms of the Eclipse Public License v1.0
23 * which accompanies this distribution, and is available at
24 * http://www.eclipse.org/legal/epl-v10.html
25 *
26 * Contributors: See CVS logs. Details at http://www.graphviz.org/
27 *************************************************************************
28 *
29 * THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
30 * LICENSE ("AGREEMENT"). [Eclipse Public License - v 1.0]
31 *
32 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES
33 * RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
34 *
35 * You may obtain a copy of the License at
36 *
37 * http://www.eclipse.org/legal/epl-v10.html
38 *
39 * Unless required by applicable law or agreed to in writing, software
40 * distributed under the License is distributed on an "AS IS" BASIS,
41 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
42 * See the License for the specific language governing permissions and
43 * limitations under the License.
44 *
45 */
46 package gen.lib.cdt;
47 import static smetana.core.Macro.UNSUPPORTED;
48
49 public class dtrenew__c {
50 //1 9k44uhd5foylaeoekf3llonjq
51 // extern Dtmethod_t* Dtset
52
53
54 //1 1ahfywsmzcpcig2oxm7pt9ihj
55 // extern Dtmethod_t* Dtbag
56
57
58 //1 anhghfj3k7dmkudy2n7rvt31v
59 // extern Dtmethod_t* Dtoset
60
61
62 //1 5l6oj1ux946zjwvir94ykejbc
63 // extern Dtmethod_t* Dtobag
64
65
66 //1 2wtf222ak6cui8cfjnw6w377z
67 // extern Dtmethod_t* Dtlist
68
69
70 //1 d1s1s6ibtcsmst88e3057u9r7
71 // extern Dtmethod_t* Dtstack
72
73
74 //1 axa7mflo824p6fspjn1rdk0mt
75 // extern Dtmethod_t* Dtqueue
76
77
78 //1 ega812utobm4xx9oa9w9ayij6
79 // extern Dtmethod_t* Dtdeque
80
81
82 //1 cyfr996ur43045jv1tjbelzmj
83 // extern Dtmethod_t* Dtorder
84
85
86 //1 wlofoiftbjgrrabzb2brkycg
87 // extern Dtmethod_t* Dttree
88
89
90 //1 12bds94t7voj7ulwpcvgf6agr
91 // extern Dtmethod_t* Dthash
92
93
94 //1 9lqknzty480cy7zsubmabkk8h
95 // extern Dtmethod_t _Dttree
96
97
98 //1 bvn6zkbcp8vjdhkccqo1xrkrb
99 // extern Dtmethod_t _Dthash
100
101
102 //1 9lidhtd6nsmmv3e7vjv9e10gw
103 // extern Dtmethod_t _Dtlist
104
105
106 //1 34ujfamjxo7xn89u90oh2k6f8
107 // extern Dtmethod_t _Dtqueue
108
109
110 //1 3jy4aceckzkdv950h89p4wjc8
111 // extern Dtmethod_t _Dtstack
112
113
114
115
116 //3 dpntyaoee84n51hi5hei3meki
117 // void* dtrenew(Dt_t* dt, register void* obj)
118 public static Object dtrenew(Object... arg) {
119 UNSUPPORTED("c1icavxc4bdl41jaglud7ov9y"); // void* dtrenew(Dt_t* dt, register void* obj)
120 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
121 UNSUPPORTED("75g1y88zfpqk2mdy0p3bzcp5u"); // register void* key;
122 UNSUPPORTED("7hzc11j4z5915otom5ec9sc1p"); // register Dtlink_t *e, *t, **s;
123 UNSUPPORTED("ab9fv18fhjzwp3wngyyqarrns"); // register Dtdisc_t* disc = dt->disc;
124 UNSUPPORTED("ckjxpmega2z5oju8xk72wsy0q"); // ((dt->data->type&010000) ? dtrestore(dt,((Dtlink_t*)0)) : 0);
125 UNSUPPORTED("afazqxuj3nf5t37agp5loypap"); // if(!(e = dt->data->here) || (disc->link < 0 ? ((Dthold_t*)(e))->obj : (void*)((char*)(e) - disc->link) ) != obj)
126 UNSUPPORTED("5p6q7ip4om6y4nrsjz07ua456"); // return ((void*)0);
127 UNSUPPORTED("epetks7tchxd027a5fogh5s8y"); // if(dt->data->type&(0000040|0000100|0000020))
128 UNSUPPORTED("62u47ehg5sw7ibh04rvqqdaws"); // return obj;
129 UNSUPPORTED("d0a3msvhdhl5w8ezkp8afz1ay"); // else if(dt->data->type&(0000004|0000010) )
130 UNSUPPORTED("6nk9lof9sqibzqlvn7z3v0adk"); // { if(!e->right ) /* make left child the new root */
131 UNSUPPORTED("ca72p6wo0wlrje8mc1clzkgd"); // dt->data->here = e->hl._left;
132 UNSUPPORTED("9kvzz8qhw1tc87iizefkx7jux"); // else /* make right child the new root */
133 UNSUPPORTED("bw0zxd3ks2tqu4oa88193x30s"); // { dt->data->here = e->right;
134 UNSUPPORTED("7xxvhxwnjmtln4k5iqxwas7gy"); // /* merge left subtree to right subtree */
135 UNSUPPORTED("b5hfkdgjlasjtdi2d8j9cnsfl"); // if(e->hl._left)
136 UNSUPPORTED("7qj77o9upzr06q7w290ppiijf"); // { for(t = e->right; t->hl._left; t = t->hl._left)
137 UNSUPPORTED("6f76030mwgybzczalesd54a9q"); // ;
138 UNSUPPORTED("31m2jyxntk5bvmxrlz7e1060n"); // t->hl._left = e->hl._left;
139 UNSUPPORTED("3to5h0rvqxdeqs38mhv47mm3o"); // }
140 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
141 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
142 UNSUPPORTED("9jvkhuwh0wij26qmyu1sft73s"); // else /*if(dt->data->type&(DT_SET|DT_BAG))*/
143 UNSUPPORTED("av4lr5g8w88ulq2cwdubl498l"); // { s = dt->data->hh._htab + ((e->hl._hash)&((dt->data->ntab)-1));
144 UNSUPPORTED("blraorobd8eq0hg3b3w3uxkwt"); // if((t = *s) == e)
145 UNSUPPORTED("6bxfg7yydrmhsw5oysk7cxytq"); // *s = e->right;
146 UNSUPPORTED("7e1uy5mzei37p66t8jp01r3mk"); // else
147 UNSUPPORTED("z3sto7b7d7g3tgy1pobqnftq"); // { for(; t->right != e; t = t->right)
148 UNSUPPORTED("8c0hnggfgcchqp0vr4bwobm4t"); // ;
149 UNSUPPORTED("2bmnk8u0o0gw61p068qqsvd35"); // t->right = e->right;
150 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
151 UNSUPPORTED("7i9supotcfsya189dptbk9mg6"); // key = (void*)(disc->size < 0 ? *((char**)((char*)(obj)+disc->key)) : ((char*)(obj)+disc->key));
152 UNSUPPORTED("6k8ldpnvi2limcrix2xyqga8a"); // e->hl._hash = (disc->hashf ? (*disc->hashf)(dt,key,disc) : dtstrhash(0,key,disc->size) );
153 UNSUPPORTED("6vkn7padspfbtju9g5b65b34w"); // dt->data->here = ((Dtlink_t*)0);
154 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
155 UNSUPPORTED("zjdphdwef22jifi7kl4wial9"); // dt->data->size -= 1;
156 UNSUPPORTED("27sbkwn3jowh7b7zt5tzb2v4q"); // return (*dt->meth->searchf)(dt,(void*)e,0000040) ? obj : ((void*)0);
157 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
158
159 throw new UnsupportedOperationException();
160 }
161
162
163 }