Debian Codegraph @

src/gen/lib/cgraph/rec__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.cgraph;
47 import static gen.lib.cgraph.edge__c.agopp;
48 import static gen.lib.cgraph.mem__c.agalloc;
49 import static gen.lib.cgraph.obj__c.agraphof;
50 import static gen.lib.cgraph.refstr__c.agstrdup;
51 import static smetana.core.JUtils.EQ;
52 import static smetana.core.JUtils.NEQ;
53 import static smetana.core.JUtils.strcmp;
54 import static smetana.core.JUtilsDebug.ENTERING;
55 import static smetana.core.JUtilsDebug.LEAVING;
56 import static smetana.core.Macro.AGDATA;
57 import static smetana.core.Macro.AGINEDGE;
58 import static smetana.core.Macro.AGNODE;
59 import static smetana.core.Macro.AGOUTEDGE;
60 import static smetana.core.Macro.AGRAPH;
61 import static smetana.core.Macro.AGTYPE;
62 import static smetana.core.Macro.ASINT;
63 import static smetana.core.Macro.N;
64 import static smetana.core.Macro.NOT;
65 import static smetana.core.Macro.UNSUPPORTED;
66 import h.ST_Agedge_s;
67 import h.ST_Agobj_s;
68 import h.ST_Agraph_s;
69 import h.ST_Agrec_s;
70 import h.ST_Agtag_s;
71 import smetana.core.CString;
72 import smetana.core.__ptr__;
73 import smetana.core.size_t;
74
75 public class rec__c {
76 //1 9k44uhd5foylaeoekf3llonjq
77 // extern Dtmethod_t* Dtset
78
79
80 //1 1ahfywsmzcpcig2oxm7pt9ihj
81 // extern Dtmethod_t* Dtbag
82
83
84 //1 anhghfj3k7dmkudy2n7rvt31v
85 // extern Dtmethod_t* Dtoset
86
87
88 //1 5l6oj1ux946zjwvir94ykejbc
89 // extern Dtmethod_t* Dtobag
90
91
92 //1 2wtf222ak6cui8cfjnw6w377z
93 // extern Dtmethod_t* Dtlist
94
95
96 //1 d1s1s6ibtcsmst88e3057u9r7
97 // extern Dtmethod_t* Dtstack
98
99
100 //1 axa7mflo824p6fspjn1rdk0mt
101 // extern Dtmethod_t* Dtqueue
102
103
104 //1 ega812utobm4xx9oa9w9ayij6
105 // extern Dtmethod_t* Dtdeque
106
107
108 //1 cyfr996ur43045jv1tjbelzmj
109 // extern Dtmethod_t* Dtorder
110
111
112 //1 wlofoiftbjgrrabzb2brkycg
113 // extern Dtmethod_t* Dttree
114
115
116 //1 12bds94t7voj7ulwpcvgf6agr
117 // extern Dtmethod_t* Dthash
118
119
120 //1 9lqknzty480cy7zsubmabkk8h
121 // extern Dtmethod_t _Dttree
122
123
124 //1 bvn6zkbcp8vjdhkccqo1xrkrb
125 // extern Dtmethod_t _Dthash
126
127
128 //1 9lidhtd6nsmmv3e7vjv9e10gw
129 // extern Dtmethod_t _Dtlist
130
131
132 //1 34ujfamjxo7xn89u90oh2k6f8
133 // extern Dtmethod_t _Dtqueue
134
135
136 //1 3jy4aceckzkdv950h89p4wjc8
137 // extern Dtmethod_t _Dtstack
138
139
140 //1 8dfqgf3u1v830qzcjqh9o8ha7
141 // extern Agmemdisc_t AgMemDisc
142
143
144 //1 18k2oh2t6llfsdc5x0wlcnby8
145 // extern Agiddisc_t AgIdDisc
146
147
148 //1 a4r7hi80gdxtsv4hdoqpyiivn
149 // extern Agiodisc_t AgIoDisc
150
151
152 //1 bnzt5syjb7mgeru19114vd6xx
153 // extern Agdisc_t AgDefaultDisc
154
155
156 //1 35y2gbegsdjilegaribes00mg
157 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
158
159
160 //1 c2rygslq6bcuka3awmvy2b3ow
161 // typedef Agsubnode_t Agnoderef_t
162
163
164 //1 xam6yv0dcsx57dtg44igpbzn
165 // typedef Dtlink_t Agedgeref_t
166
167
168 //1 6ayavpu39aihwyojkx093pcy3
169 // extern Agraph_t *Ag_G_global
170
171
172 //1 871mxtg9l6ffpxdl9kniwusf7
173 // extern char *AgDataRecName
174
175
176 //1 c0o2kmml0tn6hftuwo0u4shwd
177 // extern Dtdisc_t Ag_subnode_id_disc
178
179
180 //1 8k15pyu256unm2kpd9zf5pf7k
181 // extern Dtdisc_t Ag_subnode_seq_disc
182
183
184 //1 e3d820y06gpeusn6atgmj8bzd
185 // extern Dtdisc_t Ag_mainedge_id_disc
186
187
188 //1 cbr0772spix9h1aw7h5v7dv9j
189 // extern Dtdisc_t Ag_subedge_id_disc
190
191
192 //1 akd0c3v0j7m2npxcb9acit1fa
193 // extern Dtdisc_t Ag_mainedge_seq_disc
194
195
196 //1 12d8la07351ww7vwfzucjst8m
197 // extern Dtdisc_t Ag_subedge_seq_disc
198
199
200 //1 29eokk7v88e62g8o6lizmo967
201 // extern Dtdisc_t Ag_subgraph_id_disc
202
203
204 //1 4xd9cbgy6hk5g6nhjcbpzkx14
205 // extern Agcbdisc_t AgAttrdisc
206
207
208
209
210 //3 62z9z5vraa2as0c9t108j9xaf
211 // static void set_data(Agobj_t * obj, Agrec_t * data, int mtflock)
212 public static void set_data(ST_Agobj_s obj, ST_Agrec_s data, int mtflock) {
213 ENTERING("62z9z5vraa2as0c9t108j9xaf","set_data");
214 try {
215 ST_Agedge_s e;
216 obj.setPtr("data", data);
217 ((ST_Agtag_s)obj.tag).mtflock = mtflock;
218 if ((AGTYPE(obj) == AGINEDGE) || (AGTYPE(obj) == AGOUTEDGE)) {
219 e = (ST_Agedge_s) agopp(obj.castTo(ST_Agedge_s.class));
220 AGDATA(e, data);
221 ((ST_Agtag_s)e.base.tag).mtflock = mtflock;
222 }
223 } finally {
224 LEAVING("62z9z5vraa2as0c9t108j9xaf","set_data");
225 }
226 }
227
228
229
230
231 //3 7p2ne3oknmyclvsw4lh3axtd8
232 // Agrec_t *aggetrec(void *obj, char *name, int mtf)
233 public static ST_Agrec_s aggetrec(__ptr__ obj, CString name, boolean mtf) {
234 ENTERING("7p2ne3oknmyclvsw4lh3axtd8","aggetrec");
235 try {
236 ST_Agobj_s hdr;
237 ST_Agrec_s d, first;
238 hdr = (ST_Agobj_s) obj.castTo(ST_Agobj_s.class);
239 first = d = (ST_Agrec_s) hdr.data;
240 while (d!=null) {
241 if (N(strcmp(name,d.name)))
242 break;
243 d = (ST_Agrec_s) d.next;
244 if (EQ(d, first)) {
245 d = null;
246 break;
247 }
248 }
249 if (d!=null) {
250 if (((ST_Agtag_s)hdr.tag).mtflock!=0) {
251 if (mtf && NEQ(hdr.data, d))
252 System.err.println("move to front lock inconsistency");
253 } else {
254 if (NEQ(d, first) || (mtf != ((((ST_Agtag_s)hdr.tag).mtflock)!=0)))
255 set_data(hdr, d, ASINT(mtf)); /* Always optimize */
256 }
257 }
258 return d;
259 } finally {
260 LEAVING("7p2ne3oknmyclvsw4lh3axtd8","aggetrec");
261 }
262 }
263
264
265
266
267 //3 7sk4k5ipm2jnd244556g1kr6
268 // static void objputrec(Agraph_t * g, Agobj_t * obj, void *arg)
269 public static void objputrec(ST_Agraph_s g, ST_Agobj_s obj, Object arg) {
270 ENTERING("7sk4k5ipm2jnd244556g1kr6","objputrec");
271 try {
272 ST_Agrec_s firstrec, newrec;
273 newrec = (ST_Agrec_s) arg;
274 firstrec = (ST_Agrec_s) obj.data;
275 if (firstrec == null)
276 newrec.next = newrec; /* 0 elts */
277 else {
278 if (EQ(firstrec.next, firstrec)) {
279 firstrec.next = newrec; /* 1 elt */
280 newrec.next = firstrec;
281 } else {
282 newrec.next = firstrec.next;
283 firstrec.next = newrec;
284 }
285 }
286 if (NOT(((ST_Agtag_s)obj.tag).mtflock))
287 set_data(obj, newrec, (0));
288 } finally {
289 LEAVING("7sk4k5ipm2jnd244556g1kr6","objputrec");
290 }
291 }
292
293
294
295
296 //3 dmh5i83l15mnn1pnu6f5dfv8l
297 // void *agbindrec(void *arg_obj, char *recname, unsigned int recsize, int mtf)
298 public static __ptr__ agbindrec(__ptr__ arg_obj, CString recname, size_t recsize, boolean mtf) {
299 ENTERING("dmh5i83l15mnn1pnu6f5dfv8l","agbindrec");
300 try {
301 ST_Agraph_s g;
302 ST_Agobj_s obj;
303 ST_Agrec_s rec;
304 obj = (ST_Agobj_s) arg_obj.castTo(ST_Agobj_s.class);
305 g = agraphof(obj);
306 rec = aggetrec(obj, recname, false);
307 if ((rec == null && recsize.isStrictPositive())) {
308 rec = (ST_Agrec_s) ((__ptr__)agalloc(g, recsize)).castTo(ST_Agrec_s.class);
309 // rec = (Agrec_s) Memory.malloc(Agrec_s.class);
310 rec.setPtr("name", agstrdup(g, recname));
311 switch (((ST_Agtag_s)obj.tag).objtype) {
312 case AGRAPH:
313 objputrec(g, obj, rec);
314 break;
315 case AGNODE:
316 objputrec(g, obj, rec);
317 break;
318 case AGINEDGE:
319 case AGOUTEDGE:
320 objputrec(g, obj, rec);
321 break;
322 }
323 }
324 if (mtf)
325 aggetrec(arg_obj, recname, (N(0)));
326 return rec;
327 } finally {
328 LEAVING("dmh5i83l15mnn1pnu6f5dfv8l","agbindrec");
329 }
330 }
331
332
333
334
335 //3 7wkmd0z867cfhifu5sx3f9qk0
336 // static void objdelrec(Agraph_t * g, Agobj_t * obj, void *arg_rec)
337 public static Object objdelrec(Object... arg) {
338 UNSUPPORTED("50zcyap75kyq5dged87b27eux"); // static void objdelrec(Agraph_t * g, Agobj_t * obj, void *arg_rec)
339 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
340 UNSUPPORTED("emb5aoborhmx7xgff2s0f32r7"); // Agrec_t *rec = (Agrec_t *) arg_rec, *newrec;
341 UNSUPPORTED("a3ypwtn30jl38mmwqqe7cncxj"); // if (obj->data == rec) {
342 UNSUPPORTED("69qy6kkaiflhbig0kizfx2tti"); // if (rec->next == rec)
343 UNSUPPORTED("xd727mslmxprqxq2rm02c5d8"); // newrec = ((Agrec_t *)0);
344 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
345 UNSUPPORTED("6w6e40pynrhr4cg19g4qnwmeg"); // newrec = rec->next;
346 UNSUPPORTED("boyfn5td5ma9qwuqx4rb00zxn"); // set_data(obj, newrec, (0));
347 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
348 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
349
350 throw new UnsupportedOperationException();
351 }
352
353
354
355
356 //3 9lrcdtq3amx34ixpjad1kj9w1
357 // static void listdelrec(Agobj_t * obj, Agrec_t * rec)
358 public static Object listdelrec(Object... arg) {
359 UNSUPPORTED("5vg9c18o4hibwg5a9p47ad9i"); // static void listdelrec(Agobj_t * obj, Agrec_t * rec)
360 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
361 UNSUPPORTED("8e7x54av78ukk2gkru2uv7n5t"); // Agrec_t *prev;
362 UNSUPPORTED("acnbs96yxc5n81gdoim603six"); // prev = obj->data;
363 UNSUPPORTED("j2ssgapam83gwl5s62grl1fg"); // while (prev->next != rec) {
364 UNSUPPORTED("4l4pl9wqsuoczyfdlvmzj1gli"); // prev = prev->next;
365 UNSUPPORTED("bt8qt5d94yexozgdbv5sspmm4"); // ;
366 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
367 UNSUPPORTED("1uagqrrdyb18p3s9qlqg8jwjj"); // /* following is a harmless no-op if the list is trivial */
368 UNSUPPORTED("erdqdxkn41xuppe0chxcrx73"); // prev->next = rec->next;
369 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
370
371 throw new UnsupportedOperationException();
372 }
373
374
375
376
377 //3 dr7dc2ebvb106hcsaxz6elhu9
378 // int agdelrec(void *arg_obj, char *name)
379 public static Object agdelrec(Object... arg) {
380 UNSUPPORTED("8scieaa3q398qeq2uv44asga1"); // int agdelrec(void *arg_obj, char *name)
381 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
382 UNSUPPORTED("14h5et4t79wqu2qo8divf5tkt"); // Agobj_t *obj;
383 UNSUPPORTED("146agbqco6st2hn1ajcek08r6"); // Agrec_t *rec;
384 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
385 UNSUPPORTED("ami3me63drun9ofwwmxainjy5"); // obj = (Agobj_t *) arg_obj;
386 UNSUPPORTED("8pfuk9ua4x9bh68zk1kzwc5t9"); // g = agraphof(obj);
387 UNSUPPORTED("dhmaidfkewgpedp1d73ef9yx5"); // rec = aggetrec(obj, name, (0));
388 UNSUPPORTED("epwrmjxhdofey6itrewqzilu0"); // if (rec) {
389 UNSUPPORTED("q964zfpibwk1nuufmhbvhvz1"); // listdelrec(obj, rec); /* zap it from the circular list */
390 UNSUPPORTED("bxainz8fp03zcbgxzia4t1ta2"); // switch (obj->tag.objtype) { /* refresh any stale pointers */
391 UNSUPPORTED("9t6es77h0301xk4n035emz6o"); // case AGRAPH:
392 UNSUPPORTED("39koq493kdonzfnv7y451gzku"); // objdelrec(g, obj, rec);
393 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
394 UNSUPPORTED("4ih7nalu307xv8wvdpmgy537r"); // case AGNODE:
395 UNSUPPORTED("f0mphr0n2ielt8cpkw0djd9s9"); // case AGINEDGE:
396 UNSUPPORTED("3zbev1w97o9vgmm1ifhakk5g6"); // case AGOUTEDGE:
397 UNSUPPORTED("9ixqdoo4u64vgpl11kitdhiwj"); // agapply(agroot(g), obj, objdelrec, rec, (0));
398 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
399 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
400 UNSUPPORTED("b0419fuh4e7iigkr04vrhwoqw"); // agstrfree(g, rec->name);
401 UNSUPPORTED("9w293r9fg650cqzb27hlm4gm6"); // agfree(g, rec);
402 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
403 UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); // } else
404 UNSUPPORTED("8d9xfgejx5vgd6shva5wk5k06"); // return -1;
405 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
406
407 throw new UnsupportedOperationException();
408 }
409
410
411
412
413 //3 61hbvi8qf9sf7fp8zpov061px
414 // static void simple_delrec(Agraph_t * g, Agobj_t * obj, void *rec_name)
415 public static Object simple_delrec(Object... arg) {
416 UNSUPPORTED("7jivm8vgxrik7o19yqyy4iuoj"); // static void simple_delrec(Agraph_t * g, Agobj_t * obj, void *rec_name)
417 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
418 UNSUPPORTED("3lu3vc6o8prg1gr2vk05e0eko"); // agdelrec(obj, rec_name);
419 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
420
421 throw new UnsupportedOperationException();
422 }
423
424
425
426
427 //3 e1pnypxtha6b6f6gdnys37746
428 // void aginit(Agraph_t * g, int kind, char *rec_name, int arg_rec_size, int mtf)
429 public static Object aginit(Object... arg) {
430 UNSUPPORTED("2pn3c5mfp7ik08786jysv3lbs"); // void aginit(Agraph_t * g, int kind, char *rec_name, int arg_rec_size, int mtf)
431 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
432 UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
433 UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
434 UNSUPPORTED("8a4qjwfuqqw6rztukk1hbffvl"); // Agraph_t *s;
435 UNSUPPORTED("abzwllf3yvcaghy0hkur9oxfd"); // int rec_size;
436 UNSUPPORTED("5vb74w15wh9g0ykij86iwtxeb"); // int recur; /* if recursive on subgraphs */
437 UNSUPPORTED("4nlgepehelmt97qydjqp7ecah"); // if (arg_rec_size < 0) {recur = 1; rec_size = -arg_rec_size;}
438 UNSUPPORTED("bevbs1i4v9cvng7nnrs2yqiku"); // else {recur = 0; rec_size= arg_rec_size;}
439 UNSUPPORTED("elb9jvgldg2htymh7c74smj7o"); // switch (kind) {
440 UNSUPPORTED("eyna33dobiebmtd0nihpgura4"); // case AGRAPH:
441 UNSUPPORTED("9k3pxutrp61xdp73x92pxsv8j"); // agbindrec(g, rec_name, rec_size, mtf);
442 UNSUPPORTED("ufmow0oztf5sdbx36wf4v0e5"); // if (recur)
443 UNSUPPORTED("4oknzxynn26rak0dbvijyz5t"); // for (s = agfstsubg(g); s; s = agnxtsubg(s))
444 UNSUPPORTED("3hu696w8d3t3l7tygoq4twr4x"); // aginit(s,kind,rec_name,arg_rec_size,mtf);
445 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
446 UNSUPPORTED("6x7ztvlgv763oeop84udp1egg"); // case AGNODE:
447 UNSUPPORTED("a6ls4lkgjoheqwo2e7yqt9zz8"); // case AGOUTEDGE:
448 UNSUPPORTED("c9o8hr6x8n5dty1y3eej1fept"); // case AGINEDGE:
449 UNSUPPORTED("eg21iwn9eqyjsoisl58nl8i36"); // for (n = agfstnode(g); n; n = agnxtnode(g, n))
450 UNSUPPORTED("2kxod9hw7p0o5crbt6xh2gcwy"); // if (kind == AGNODE)
451 UNSUPPORTED("7lbtjiuf91mfv1rfh26gr9rnf"); // agbindrec(n, rec_name, rec_size, mtf);
452 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
453 UNSUPPORTED("5qry6mw56jhkh965gr6si5sjz"); // for (e = agfstout(g, n); e; e = agnxtout(g, e))
454 UNSUPPORTED("3isk98kl2hyz50xh5nk9e79ur"); // agbindrec(e, rec_name, rec_size, mtf);
455 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
456 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
457 UNSUPPORTED("8l3rwj6ctswoa4gvh2j4poq70"); // default:
458 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
459 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
460 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
461
462 throw new UnsupportedOperationException();
463 }
464
465
466
467
468 //3 d8dlatsnpytjohjptji50kek2
469 // void agclean(Agraph_t * g, int kind, char *rec_name)
470 public static Object agclean(Object... arg) {
471 UNSUPPORTED("2u4lls7xvbemdliclfn1jjlv3"); // void agclean(Agraph_t * g, int kind, char *rec_name)
472 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
473 UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
474 UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
475 UNSUPPORTED("elb9jvgldg2htymh7c74smj7o"); // switch (kind) {
476 UNSUPPORTED("eyna33dobiebmtd0nihpgura4"); // case AGRAPH:
477 UNSUPPORTED("p5rnonv5qza6uss4lurbzcru"); // agapply(g, (Agobj_t *) g, simple_delrec, rec_name, (!(0)));
478 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
479 UNSUPPORTED("6x7ztvlgv763oeop84udp1egg"); // case AGNODE:
480 UNSUPPORTED("a6ls4lkgjoheqwo2e7yqt9zz8"); // case AGOUTEDGE:
481 UNSUPPORTED("c9o8hr6x8n5dty1y3eej1fept"); // case AGINEDGE:
482 UNSUPPORTED("eg21iwn9eqyjsoisl58nl8i36"); // for (n = agfstnode(g); n; n = agnxtnode(g, n))
483 UNSUPPORTED("2kxod9hw7p0o5crbt6xh2gcwy"); // if (kind == AGNODE)
484 UNSUPPORTED("an2xd4k44p94rcg7ynge2g1nq"); // agdelrec(n, rec_name);
485 UNSUPPORTED("6q044im7742qhglc4553noina"); // else {
486 UNSUPPORTED("5qry6mw56jhkh965gr6si5sjz"); // for (e = agfstout(g, n); e; e = agnxtout(g, e))
487 UNSUPPORTED("7k5tz238egfs4u82cpy7lk8dn"); // agdelrec(e, rec_name);
488 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
489 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
490 UNSUPPORTED("8l3rwj6ctswoa4gvh2j4poq70"); // default:
491 UNSUPPORTED("6aw91xzjmqvmtdvt1di23af8y"); // break;
492 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
493 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
494
495 throw new UnsupportedOperationException();
496 }
497
498
499
500
501 //3 1s9p443oxpnfk2w28k6bgn1y0
502 // void agrecclose(Agobj_t * obj)
503 public static Object agrecclose(Object... arg) {
504 UNSUPPORTED("f28etp6uks02tqgelaos87f96"); // void agrecclose(Agobj_t * obj)
505 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
506 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
507 UNSUPPORTED("4d3axgxxzgvvs9r07npfgyqqs"); // Agrec_t *rec, *nrec;
508 UNSUPPORTED("8pfuk9ua4x9bh68zk1kzwc5t9"); // g = agraphof(obj);
509 UNSUPPORTED("7mfrjfyuzo92p41ycl0k8l0ux"); // if ((rec = obj->data)) {
510 UNSUPPORTED("8vxyvy38lzpbd83cu26nejaan"); // do {
511 UNSUPPORTED("ezzhxi7n4n97pmh7g0zo4wprj"); // nrec = rec->next;
512 UNSUPPORTED("e1l0oyl4p7njuyrgfuf1nph9b"); // agstrfree(g, rec->name);
513 UNSUPPORTED("3yrrykwn17vvbliut3f5a174w"); // agfree(g, rec);
514 UNSUPPORTED("66id2vgqklsr5nz9a84lor5eb"); // rec = nrec;
515 UNSUPPORTED("aqvgta0a2vlgkvf7yvufyzvt5"); // } while (rec != obj->data);
516 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
517 UNSUPPORTED("2ila9b4kx11rvt5yy16n3myks"); // obj->data = ((Agrec_t *)0);
518 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
519
520 throw new UnsupportedOperationException();
521 }
522
523
524 }