Debian Codegraph @

src/gen/lib/common/intset__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.common;
47 import static smetana.core.Macro.UNSUPPORTED;
48
49 public class intset__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 8qgr88nich230f7xchwdzz29a
117 // static void* mkIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc)
118 public static Object mkIntItem(Object... arg) {
119 UNSUPPORTED("8fbx43f8g4rod2yqfdymsxdnx"); // static void*
120 UNSUPPORTED("a10lzkc4r102m2qlk5imsvovv"); // mkIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc)
121 UNSUPPORTED("yo7buicdiu29rv5vxhas0v3s"); // {
122 UNSUPPORTED("ekjuvztgs19rbqj0v3lmfo01q"); // intitem* np = (intitem*)zmalloc(sizeof(intitem));
123 UNSUPPORTED("506xq20ierdh2vdh0oxwa7m8v"); // np->id = obj->id;
124 UNSUPPORTED("184diuw6jvuoeak7fkbqm6fr6"); // return (void*)np;
125 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
126
127 throw new UnsupportedOperationException();
128 }
129
130
131
132
133 //3 bh6e5ln10dj2wbs1o7bpt00i8
134 // static void freeIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc)
135 public static Object freeIntItem(Object... arg) {
136 UNSUPPORTED("e2z2o5ybnr5tgpkt8ty7hwan1"); // static void
137 UNSUPPORTED("criv4pqv4650sbunujgt3rbya"); // freeIntItem(Dt_t* d,intitem* obj,Dtdisc_t* disc)
138 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
139 UNSUPPORTED("4neq75mnpa0cym29pxiizrkz3"); // free (obj);
140 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
141
142 throw new UnsupportedOperationException();
143 }
144
145
146
147
148 //3 47m5dtm8t3vpv956ejy5w6th9
149 // static int cmpid(Dt_t* d, int* key1, int* key2, Dtdisc_t* disc)
150 public static Object cmpid(Object... arg) {
151 UNSUPPORTED("eyp5xkiyummcoc88ul2b6tkeg"); // static int
152 UNSUPPORTED("1si01iycmvt6w5p4npvowvekx"); // cmpid(Dt_t* d, int* key1, int* key2, Dtdisc_t* disc)
153 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
154 UNSUPPORTED("1cu94gjng90rrt7xtp42ifr1"); // if (*key1 > *key2) return 1;
155 UNSUPPORTED("3h1tdtwyfqaqhne2o7pz8yq9h"); // else if (*key1 < *key2) return -1;
156 UNSUPPORTED("7lrkjjj5lce2uf86c1y9o9yoa"); // else return 0;
157 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
158
159 throw new UnsupportedOperationException();
160 }
161
162
163 //1 8lrju563ta1xqsy4xixotjo3l
164 // static Dtdisc_t intSetDisc =
165
166
167
168
169 //3 2xsz5eza9h7l039872rv37hsv
170 // Dt_t* openIntSet (void)
171 public static Object openIntSet(Object... arg) {
172 UNSUPPORTED("96gezykql110n8xkno0gtdrmq"); // Dt_t*
173 UNSUPPORTED("68yvszwdppo58pmasvi3gqm0a"); // openIntSet (void)
174 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
175 UNSUPPORTED("bjd7jaxyhis3c4zl58948rs5w"); // return dtopen(&intSetDisc,Dtoset);
176 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
177
178 throw new UnsupportedOperationException();
179 }
180
181
182
183
184 //3 djjwoeky7tlyxdg2zx3x4pdib
185 // void addIntSet (Dt_t* is, int v)
186 public static Object addIntSet(Object... arg) {
187 UNSUPPORTED("347dderd02mvlozoheqo4ejwo"); // void
188 UNSUPPORTED("uq3ewaypmpqc0nyc6mp0osz6"); // addIntSet (Dt_t* is, int v)
189 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
190 UNSUPPORTED("2rjvy9cij6zo2nowb4w37hnjt"); // intitem obj;
191 UNSUPPORTED("5ne3fj3dr6iouu1y3bnx3lcd7"); // obj.id = v;
192 UNSUPPORTED("2ugf3ujkfn9ofv5ykvcsvr6m5"); // (*(((Dt_t*)(is))->searchf))((is),(void*)(&obj),0000001);
193 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
194
195 throw new UnsupportedOperationException();
196 }
197
198
199
200
201 //3 7w5km9pct0qd0skzhgxezhr2x
202 // int inIntSet (Dt_t* is, int v)
203 public static Object inIntSet(Object... arg) {
204 UNSUPPORTED("7zkpme13g8rxxwloxvpvvnbcw"); // int
205 UNSUPPORTED("cg6pm0yggmopx83usksgtt395"); // inIntSet (Dt_t* is, int v)
206 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
207 UNSUPPORTED("eckrym421t3ug9lj77hzalv1a"); // return ((*(((Dt_t*)(is))->searchf))((is),(void*)(&v),0001000) != 0);
208 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
209
210 throw new UnsupportedOperationException();
211 }
212
213
214 }