Debian Codegraph @

src/gen/lib/cgraph/write__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 smetana.core.Macro.UNSUPPORTED;
48
49 public class write__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 //1 8dfqgf3u1v830qzcjqh9o8ha7
115 // extern Agmemdisc_t AgMemDisc
116
117
118 //1 18k2oh2t6llfsdc5x0wlcnby8
119 // extern Agiddisc_t AgIdDisc
120
121
122 //1 a4r7hi80gdxtsv4hdoqpyiivn
123 // extern Agiodisc_t AgIoDisc
124
125
126 //1 bnzt5syjb7mgeru19114vd6xx
127 // extern Agdisc_t AgDefaultDisc
128
129
130 //1 35y2gbegsdjilegaribes00mg
131 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
132
133
134 //1 c2rygslq6bcuka3awmvy2b3ow
135 // typedef Agsubnode_t Agnoderef_t
136
137
138 //1 xam6yv0dcsx57dtg44igpbzn
139 // typedef Dtlink_t Agedgeref_t
140
141
142 //1 6ayavpu39aihwyojkx093pcy3
143 // extern Agraph_t *Ag_G_global
144
145
146 //1 871mxtg9l6ffpxdl9kniwusf7
147 // extern char *AgDataRecName
148
149
150 //1 c0o2kmml0tn6hftuwo0u4shwd
151 // extern Dtdisc_t Ag_subnode_id_disc
152
153
154 //1 8k15pyu256unm2kpd9zf5pf7k
155 // extern Dtdisc_t Ag_subnode_seq_disc
156
157
158 //1 e3d820y06gpeusn6atgmj8bzd
159 // extern Dtdisc_t Ag_mainedge_id_disc
160
161
162 //1 cbr0772spix9h1aw7h5v7dv9j
163 // extern Dtdisc_t Ag_subedge_id_disc
164
165
166 //1 akd0c3v0j7m2npxcb9acit1fa
167 // extern Dtdisc_t Ag_mainedge_seq_disc
168
169
170 //1 12d8la07351ww7vwfzucjst8m
171 // extern Dtdisc_t Ag_subedge_seq_disc
172
173
174 //1 29eokk7v88e62g8o6lizmo967
175 // extern Dtdisc_t Ag_subgraph_id_disc
176
177
178 //1 4xd9cbgy6hk5g6nhjcbpzkx14
179 // extern Agcbdisc_t AgAttrdisc
180
181
182 //1 6cdl8rg0og4o8zcy4mkimizp1
183 // typedef void iochan_t
184
185
186
187
188 //3 btji1owz81k2d77wfwt916p37
189 // static int ioput(Agraph_t * g, iochan_t * ofile, char *str)
190 public static Object ioput(Object... arg) {
191 UNSUPPORTED("9aaodmphwoa7or45852lcbtet"); // static int ioput(Agraph_t * g, iochan_t * ofile, char *str)
192 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
193 UNSUPPORTED("f6biqyaknm3x2ue94tm9v84z"); // return ((g)->clos->disc.io)->putstr(ofile, str);
194 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
195
196 throw new UnsupportedOperationException();
197 }
198
199
200 //1 98m6w41nluqnfg2vjsmgrp28l
201 // static int Level
202
203
204 //1 bvu8ayfef3c7pct1w3xg18vx3
205 // static int Max_outputline = 128
206
207
208 //1 1hd2b7p1aumg2dlcjxipts28a
209 // static unsigned char Attrs_not_written_flag
210
211
212 //1 bospb4vypikeakekqc06hvqc2
213 // static Agsym_t *Tailport, *Headport
214
215
216
217
218 //3 alc947m7qhu6bnfokb9fxhwhb
219 // static int indent(Agraph_t * g, iochan_t * ofile)
220 public static Object indent(Object... arg) {
221 UNSUPPORTED("40912tixu4uq4phusbevely94"); // static int indent(Agraph_t * g, iochan_t * ofile)
222 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
223 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
224 UNSUPPORTED("452nzs4v8pata1dhjmqfyw26a"); // for (i = Level; i > 0; i--)
225 UNSUPPORTED("cp0y2nic2hoy2snz5nbe40sue"); // {if ((ioput(g, ofile, "\t")) == EOF) return EOF;};
226 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
227 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
228
229 throw new UnsupportedOperationException();
230 }
231
232
233
234
235 //3 aquh9vkpmogoajxkl7kq8pukp
236 // static int strcasecmp(const char *s1, const char *s2)
237 public static Object strcasecmp(Object... arg) {
238 UNSUPPORTED("55i7mwlbxqd1zslhu44ix4gza"); // static int strcasecmp(const char *s1, const char *s2)
239 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
240 UNSUPPORTED("9470qtwtv37oof0w731kh9mcd"); // while ((*s1 != '\0')
241 UNSUPPORTED("7tdf84gz2hakxs756j3v0w4iv"); // && (tolower(*(unsigned char *) s1) ==
242 UNSUPPORTED("co97u0db3a8mz1pp77hkxq0h3"); // tolower(*(unsigned char *) s2))) {
243 UNSUPPORTED("2hh1h5gydepd3ut3g43bzn51g"); // s1++;
244 UNSUPPORTED("7x8zh0pm8zj83pbc2d812jz90"); // s2++;
245 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
246 UNSUPPORTED("1jrt0skm3a5djo3vfej4kwffc"); // return tolower(*(unsigned char *) s1) - tolower(*(unsigned char *) s2);
247 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
248
249 throw new UnsupportedOperationException();
250 }
251
252
253
254
255 //3 2ojpbtgz2c08fy2xlrhgbhcy4
256 // static char *_agstrcanon(char *arg, char *buf)
257 public static Object _agstrcanon(Object... arg) {
258 UNSUPPORTED("5ahyn8mq6pzmkxszxeuiey91e"); // static char *_agstrcanon(char *arg, char *buf)
259 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
260 UNSUPPORTED("9uldk42hjnckjndgz1sd6utof"); // char *s, *p;
261 UNSUPPORTED("54eg86g95y7q6jevr2tq6ehrg"); // unsigned char uc;
262 UNSUPPORTED("3n6j4vooz01bauxf0x735587g"); // int cnt = 0, dotcnt = 0;
263 UNSUPPORTED("53cl57zz7angk2fz9q8i9936z"); // int needs_quotes = (0);
264 UNSUPPORTED("2wr9q842ohxj2ycucqna9tlrq"); // int maybe_num;
265 UNSUPPORTED("byb61zbgjorc2zybgctqz7ndl"); // int backslash_pending = (0);
266 UNSUPPORTED("7nrc43frlcod90tqudlokiltw"); // static const char *tokenlist[] /* must agree with scan.l */
267 UNSUPPORTED("2z6417vrkzwojo65uicgj0ld5"); // = { "node", "edge", "strict", "graph", "digraph", "subgraph",
268 UNSUPPORTED("6e42116ruyo5sfksdjqb7k691"); // ((char *)0)
269 UNSUPPORTED("9u8qqu9tw95qjbv3cxv3hj4bd"); // };
270 UNSUPPORTED("c20r5olc3ceq2odrmolb37lhs"); // const char **tok;
271 UNSUPPORTED("6hksaocbqg9tyniwys30i5f6"); // if (((arg == 0) || (arg)[0] == '\0'))
272 UNSUPPORTED("bq8taui3sha21pp8m30j2waho"); // return "\"\"";
273 UNSUPPORTED("br1i8hfkomohyoahqijch1ldi"); // s = arg;
274 UNSUPPORTED("dpfzdhkfq6u86uv5f9lnqfbpq"); // p = buf;
275 UNSUPPORTED("1xpnr5tufh6i8r19kq97wxx28"); // *p++ = '\"';
276 UNSUPPORTED("8rbzvwd6z91kkb5pape5tgg3q"); // uc = *(unsigned char *) s++;
277 UNSUPPORTED("eoo27x446n9ubl76pznj5nu00"); // maybe_num = isdigit(uc) || (uc == '.') || (uc == '-');
278 UNSUPPORTED("281h1z55fo8i52vhjqmzge30m"); // while (uc) {
279 UNSUPPORTED("7va7b0kw6l67cbr9jsef9o8jm"); // if (uc == '\"') {
280 UNSUPPORTED("ety3lnffj2pnokl02nxfy3qjv"); // *p++ = '\\';
281 UNSUPPORTED("4xlo42dy0r02v5tuaxfr8oo7a"); // needs_quotes = (!(0));
282 UNSUPPORTED("8nzcpbtoi924xzu8ze3z6dbft"); // }
283 UNSUPPORTED("boo8lxly4fx140xmtb994j62j"); // else if (maybe_num) {
284 UNSUPPORTED("byw5stodlmd743wbq8w0lp6e5"); // if (uc == '-') {
285 UNSUPPORTED("ch6epb3d0o3y71kr8cf0cr778"); // if (cnt) {
286 UNSUPPORTED("92uh7detqycxvk4j84os7jjrx"); // maybe_num = (0);
287 UNSUPPORTED("1zi6cnn21vajv2p9guz4u0eyr"); // needs_quotes = (!(0));
288 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
289 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
290 UNSUPPORTED("80niwic42cqbazv2vfmpokfiz"); // else if (uc == '.') {
291 UNSUPPORTED("7wa32rmgq2t0s8q2vygfs0on9"); // if (dotcnt++) {
292 UNSUPPORTED("92uh7detqycxvk4j84os7jjrx"); // maybe_num = (0);
293 UNSUPPORTED("1zi6cnn21vajv2p9guz4u0eyr"); // needs_quotes = (!(0));
294 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
295 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
296 UNSUPPORTED("2w4vdk52vdon2nuo203y11zio"); // else if (!isdigit(uc)) {
297 UNSUPPORTED("8ewnu9yn4sp7izb230lq2qwol"); // maybe_num = (0);
298 UNSUPPORTED("15rsfjpgyg6utb04u8l4x3f4c"); // needs_quotes = (!(0));
299 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
300 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
301 UNSUPPORTED("52w60ewi6p3skhhun8zvy7g7t"); // else if (!((isalnum(uc)) || ((uc) == '_') || (!isascii(uc))))
302 UNSUPPORTED("4xlo42dy0r02v5tuaxfr8oo7a"); // needs_quotes = (!(0));
303 UNSUPPORTED("8vqehnf3u9tp0a4iixzlqns4k"); // *p++ = (char) uc;
304 UNSUPPORTED("5k76wlk3o6m3cuykuhkxtyhgf"); // uc = *(unsigned char *) s++;
305 UNSUPPORTED("1szm63athnlkprt3pv29pjc6z"); // cnt++;
306 UNSUPPORTED("7ludbekw5fkwt5axvcwd0ihll"); // /* If breaking long strings into multiple lines, only allow breaks after a non-id char, not a backslash, where the next char is an
307 UNSUPPORTED("1w1e1pcok5v4q2kgyz2wuk53m"); // * id char.
308 UNSUPPORTED("62wb43w2xc6ex6hootjubbx22"); // */
309 UNSUPPORTED("eq5hwet5rfzygnaktrq6o4j3d"); // if (Max_outputline) {
310 UNSUPPORTED("755u0yc4wr61hznjhzfrfko48"); // if (uc && backslash_pending && !((isalnum(p[-1]) || ((p[-1]) == '.') || ((p[-1]) == '-') || !isascii(p[-1])) || (p[-1] == '\\')) && (isalnum(uc) || ((uc) == '.') || ((uc) == '-') || !isascii(uc))) {
311 UNSUPPORTED("cl1ikibcqt1ygqbum3xi5bk79"); // *p++ = '\\';
312 UNSUPPORTED("cnwc77tzwdfyrgdp1t6g4m6xi"); // *p++ = '\n';
313 UNSUPPORTED("3ako06kvsu28ggk2b9rs5pz48"); // needs_quotes = (!(0));
314 UNSUPPORTED("a2igyeujb49rhtvgheg64bogt"); // backslash_pending = (0);
315 UNSUPPORTED("ay9m9sdx7o92emcp6gjb31h4a"); // cnt = 0;
316 UNSUPPORTED("88eck934lobkga6adny14gqe2"); // } else if (uc && (cnt >= Max_outputline)) {
317 UNSUPPORTED("3v26gypvwqprroryvbtfyvl7u"); // if (!((isalnum(p[-1]) || ((p[-1]) == '.') || ((p[-1]) == '-') || !isascii(p[-1])) || (p[-1] == '\\')) && (isalnum(uc) || ((uc) == '.') || ((uc) == '-') || !isascii(uc))) {
318 UNSUPPORTED("2a68wg6lba8oqhlul1evol2fj"); // *p++ = '\\';
319 UNSUPPORTED("eyabtn4npcdoiho34u0vupwki"); // *p++ = '\n';
320 UNSUPPORTED("clp3otxrl7w6cem7ww35rbw9f"); // needs_quotes = (!(0));
321 UNSUPPORTED("4k7ukmo931f6gpk5q245qc7dz"); // cnt = 0;
322 UNSUPPORTED("ajrvpjgla5ygjcpzcymd6016y"); // } else {
323 UNSUPPORTED("5mo9vqlb40kc1is2oibapcqj3"); // backslash_pending = (!(0));
324 UNSUPPORTED("4nbucwlhcfvw7r0uycyy9qc5l"); // }
325 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
326 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
327 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
328 UNSUPPORTED("1xpnr5tufh6i8r19kq97wxx28"); // *p++ = '\"';
329 UNSUPPORTED("2t1d66kwn86kqh0i665hqw6cl"); // *p = '\0';
330 UNSUPPORTED("6bzvicgwyrevlzo30bikj1qv"); // if (needs_quotes || ((cnt == 1) && ((*arg == '.') || (*arg == '-'))))
331 UNSUPPORTED("60rrsbs3bgak2rhurj1kw71av"); // return buf;
332 UNSUPPORTED("70snqwmjpiy8fb85i8p82n7j8"); // /* Use quotes to protect tokens (example, a node named "node") */
333 UNSUPPORTED("2d7m0n84k3kvilcrfc581k3m6"); // /* It would be great if it were easier to use flex here. */
334 UNSUPPORTED("5yik6wlbtybgi55kf4vxe7bx"); // for (tok = tokenlist; *tok; tok++)
335 UNSUPPORTED("7896yl4xbftaovjgrkv4xtxot"); // if (!strcasecmp(*tok, arg))
336 UNSUPPORTED("1fjzdj317ee1mtxirudje5tbt"); // return buf;
337 UNSUPPORTED("2ima76y69crfh98d13kjftpwm"); // return arg;
338 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
339
340 throw new UnsupportedOperationException();
341 }
342
343
344
345
346 //3 10ev68p7aeqzm8tqvi1j5g6c0
347 // static char *agcanonhtmlstr(char *arg, char *buf)
348 public static Object agcanonhtmlstr(Object... arg) {
349 UNSUPPORTED("8u1d8u9bl7jguved1qmtwv38g"); // static char *agcanonhtmlstr(char *arg, char *buf)
350 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
351 UNSUPPORTED("9uldk42hjnckjndgz1sd6utof"); // char *s, *p;
352 UNSUPPORTED("br1i8hfkomohyoahqijch1ldi"); // s = arg;
353 UNSUPPORTED("dpfzdhkfq6u86uv5f9lnqfbpq"); // p = buf;
354 UNSUPPORTED("es744ndlvsi3inn0ehkueww59"); // *p++ = '<';
355 UNSUPPORTED("5rofh7oao8cih2ztkjkacpzpm"); // while (*s)
356 UNSUPPORTED("8e6st6hhl4yfs7qub4b87bkm0"); // *p++ = *s++;
357 UNSUPPORTED("5bbyh5dbvs12qykhja5su1xyb"); // *p++ = '>';
358 UNSUPPORTED("2t1d66kwn86kqh0i665hqw6cl"); // *p = '\0';
359 UNSUPPORTED("5jfpogdyby101eyuw2dhtb5cg"); // return buf;
360 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
361
362 throw new UnsupportedOperationException();
363 }
364
365
366
367
368 //3 5el4k6xor36xwe2zw5pbxwvxg
369 // char *agstrcanon(char *arg, char *buf)
370 public static Object agstrcanon(Object... arg) {
371 UNSUPPORTED("2eugjkuvwod6onqy9kfs2rzsm"); // char *agstrcanon(char *arg, char *buf)
372 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
373 UNSUPPORTED("2weabf7fj63ctkhrx0t8zthrb"); // if (aghtmlstr(arg))
374 UNSUPPORTED("9iyrui5feoircaa0tm6yvyegj"); // return agcanonhtmlstr(arg, buf);
375 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
376 UNSUPPORTED("4td6knrzidkire6uqf2ev1u8w"); // return _agstrcanon(arg, buf);
377 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
378
379 throw new UnsupportedOperationException();
380 }
381
382
383
384
385 //3 9ykg6r8cft6m1eqz84ptrhkkm
386 // static char *getoutputbuffer(char *str)
387 public static Object getoutputbuffer(Object... arg) {
388 UNSUPPORTED("561sswbojerghf2xu4dg5bt1s"); // static char *getoutputbuffer(char *str)
389 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
390 UNSUPPORTED("zfr61ahp8m2301a6i0zw5oys"); // static char *rv;
391 UNSUPPORTED("24n1fkl62ovew6wndvdgst75s"); // static int len;
392 UNSUPPORTED("azsy6o1769l9s9lw7qvcr8zld"); // int req;
393 UNSUPPORTED("bcaz0e6faadnkk9q7r31ox2uv"); // req = ((2 * strlen(str) + 2)>(BUFSIZ)?(2 * strlen(str) + 2):(BUFSIZ));
394 UNSUPPORTED("9u4b3k1a4ejkmpk16dd3q6h49"); // if (req > len) {
395 UNSUPPORTED("3530976sh2i9fg23975vrw161"); // if (rv)
396 UNSUPPORTED("523zs48zoju9q6xlk50eptn16"); // rv = realloc(rv, req);
397 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
398 UNSUPPORTED("7kox9x8pkq2f0khjm3jy4bbwp"); // rv = malloc(req);
399 UNSUPPORTED("7vego0iiluodex426985pztf0"); // len = req;
400 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
401 UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); // return rv;
402 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
403
404 throw new UnsupportedOperationException();
405 }
406
407
408
409
410 //3 ewe36i40rrl3fpv7w0ryw05ni
411 // char *agcanonStr(char *str)
412 public static Object agcanonStr(Object... arg) {
413 UNSUPPORTED("eyq4o9s8y123aetgpoe3yv8vb"); // char *agcanonStr(char *str)
414 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
415 UNSUPPORTED("f4vpef7vd5wmhxtl2q4x9j290"); // return agstrcanon(str, getoutputbuffer(str));
416 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
417
418 throw new UnsupportedOperationException();
419 }
420
421
422
423
424 //3 dkk9fge4n0ji352t2bmtqxgcq
425 // char *agcanon(char *str, int html)
426 public static Object agcanon(Object... arg) {
427 UNSUPPORTED("6rhv4om26ccgv3sf274hlssrb"); // char *agcanon(char *str, int html)
428 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
429 UNSUPPORTED("cd1a0xw1om8gnmntf662c4ta"); // char* buf = getoutputbuffer(str);
430 UNSUPPORTED("13sqoi4hswov0j5sorbvjalue"); // if (html)
431 UNSUPPORTED("71wx9wy7wm7l1ofewrs36twa4"); // return agcanonhtmlstr(str, buf);
432 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
433 UNSUPPORTED("2gdx5yodu3th7xbdmdm7k5hw0"); // return _agstrcanon(str, buf);
434 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
435
436 throw new UnsupportedOperationException();
437 }
438
439
440
441
442 //3 c3jnf1oiv9b8aheuv9llnqtg
443 // static int _write_canonstr(Agraph_t * g, iochan_t * ofile, char *str, int chk)
444 public static Object _write_canonstr(Object... arg) {
445 UNSUPPORTED("zr1y2wf05ldfglo6vrypd4d7"); // static int _write_canonstr(Agraph_t * g, iochan_t * ofile, char *str,
446 UNSUPPORTED("6jsqaz0aadg586twc1a3xkgp4"); // int chk)
447 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
448 UNSUPPORTED("2f8bmob0vz6yu5pd99cq577kg"); // if (chk)
449 UNSUPPORTED("byq8fiy8jzdslxiaf8z70lrfu"); // str = agcanonStr(str);
450 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
451 UNSUPPORTED("eqcm90rf7s86jz2vlvlu3wo94"); // str = _agstrcanon(str, getoutputbuffer(str));
452 UNSUPPORTED("3a92mnynygrlxzyr67es6ff7w"); // return ioput(g, ofile, str);
453 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
454
455 throw new UnsupportedOperationException();
456 }
457
458
459
460
461 //3 4wklmg8c4xwrlh8zj8mzsqqgy
462 // static int write_canonstr(Agraph_t * g, iochan_t * ofile, char *str)
463 public static Object write_canonstr(Object... arg) {
464 UNSUPPORTED("9s58htjsqxlqmo523tjez4v1v"); // static int write_canonstr(Agraph_t * g, iochan_t * ofile, char *str)
465 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
466 UNSUPPORTED("ao6n16fxplk35wuikk9lm5zsx"); // return _write_canonstr(g, ofile, str, (!(0)));
467 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
468
469 throw new UnsupportedOperationException();
470 }
471
472
473
474
475 //3 y99h25djxm7t672axpq6s9so
476 // static int write_dict(Agraph_t * g, iochan_t * ofile, char *name, Dict_t * dict, int top)
477 public static Object write_dict(Object... arg) {
478 UNSUPPORTED("2hsbtmft7fp9pqzt27syqpe99"); // static int write_dict(Agraph_t * g, iochan_t * ofile, char *name,
479 UNSUPPORTED("cbjl3cpko6q4cka2s9mb8kbhs"); // Dict_t * dict, int top)
480 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
481 UNSUPPORTED("behjm5bjsenezpg3f7cncvteu"); // int cnt = 0;
482 UNSUPPORTED("51l8b50tqomi0gritl94e51v7"); // Dict_t *view;
483 UNSUPPORTED("d173c80zt5jm4yd6ok8338o1x"); // Agsym_t *sym, *psym;
484 UNSUPPORTED("9x367lbtuypg6bts6evclmc2w"); // if (!top)
485 UNSUPPORTED("e1i7a6hfs0ejqoyb25zzrfqta"); // view = dtview(dict, ((Dict_t *)0));
486 UNSUPPORTED("div10atae09n36x269sl208r1"); // else
487 UNSUPPORTED("5te3ph3q5wvma3d2s5lw15mte"); // view = 0;
488 UNSUPPORTED("2sbfwpbl8pxucyovu38d8v0rd"); // for (sym = (Agsym_t *) (*(((Dt_t*)(dict))->searchf))((dict),(void*)(0),0000200); sym;
489 UNSUPPORTED("4h5k9o906c9hqrjv889octnef"); // sym = (Agsym_t *) (*(((Dt_t*)(dict))->searchf))((dict),(void*)(sym),0000010)) {
490 UNSUPPORTED("avha7r5me5k7qy01jm6ejjvn6"); // if (((sym->defval == 0) || (sym->defval)[0] == '\0') && !sym->print) { /* try to skip empty str (default) */
491 UNSUPPORTED("cgjccnmi11urn78eb1tpbqbay"); // if (view == ((Dict_t *)0))
492 UNSUPPORTED("bcbhr2jloy4m2wcwkwqv35wki"); // continue; /* no parent */
493 UNSUPPORTED("w57oejn8kxfcqhajcavmo1dq"); // psym = (Agsym_t *) (*(((Dt_t*)(view))->searchf))((view),(void*)(sym),0000004);
494 UNSUPPORTED("9h1gyp9h3qbn1qj5fva3bn3xf"); // ;
495 UNSUPPORTED("40fpwl1wqislxo0xgi8qgkqb9"); // if (((psym->defval == 0) || (psym->defval)[0] == '\0') && psym->print)
496 UNSUPPORTED("3soi5dlurq6giqt0kic48ak6j"); // continue; /* also empty in parent */
497 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
498 UNSUPPORTED("5drtib7guih41r51l0f4akjwx"); // if (cnt++ == 0) {
499 UNSUPPORTED("7qym8pnati72j923z80ihv0tx"); // {if ((indent(g, ofile)) == EOF) return EOF;};
500 UNSUPPORTED("91e6m2zyz414vtug4jlpigewp"); // {if ((ioput(g, ofile, name)) == EOF) return EOF;};
501 UNSUPPORTED("2sydxv2pzbrpeo9em23ycry8f"); // {if ((ioput(g, ofile, " [")) == EOF) return EOF;};
502 UNSUPPORTED("3ye74etl8i6jh415zncm5xbim"); // Level++;
503 UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else {
504 UNSUPPORTED("82k1j53lomse95wqgrzvbetri"); // {if ((ioput(g, ofile, ",\n")) == EOF) return EOF;};
505 UNSUPPORTED("7qym8pnati72j923z80ihv0tx"); // {if ((indent(g, ofile)) == EOF) return EOF;};
506 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
507 UNSUPPORTED("82qplhcz1dry5ubqktjt15d6r"); // {if ((write_canonstr(g, ofile, sym->name)) == EOF) return EOF;};
508 UNSUPPORTED("6ex6hk4ixb3yj1adbanpmz0dj"); // {if ((ioput(g, ofile, "=")) == EOF) return EOF;};
509 UNSUPPORTED("ap40fv2u1o0jybevdc42ino23"); // {if ((write_canonstr(g, ofile, sym->defval)) == EOF) return EOF;};
510 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
511 UNSUPPORTED("3edmnqy3ok6qglbgwxmakkngx"); // if (cnt > 0) {
512 UNSUPPORTED("17ejasz912kqtejldaozqxa0y"); // Level--;
513 UNSUPPORTED("dcosmode4wc3bkdk46pmafk3k"); // if (cnt > 1) {
514 UNSUPPORTED("tsypfw2ouyjuo1o6idz4hyur"); // {if ((ioput(g, ofile, "\n")) == EOF) return EOF;};
515 UNSUPPORTED("7qym8pnati72j923z80ihv0tx"); // {if ((indent(g, ofile)) == EOF) return EOF;};
516 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
517 UNSUPPORTED("2p7hprd3pg5l28a3i4dl93swy"); // {if ((ioput(g, ofile, "];\n")) == EOF) return EOF;};
518 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
519 UNSUPPORTED("9x367lbtuypg6bts6evclmc2w"); // if (!top)
520 UNSUPPORTED("33ixxp63qe4r2prla9az18o5"); // dtview(dict, view); /* restore previous view */
521 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
522 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
523
524 throw new UnsupportedOperationException();
525 }
526
527
528
529
530 //3 aul5zu4oj0o9yrzdmyk88qt2s
531 // static int write_dicts(Agraph_t * g, iochan_t * ofile, int top)
532 public static Object write_dicts(Object... arg) {
533 UNSUPPORTED("9za417mkt9iven86uu3v8o7tr"); // static int write_dicts(Agraph_t * g, iochan_t * ofile, int top)
534 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
535 UNSUPPORTED("as84an41e1m52e76l3k6541ik"); // Agdatadict_t *def;
536 UNSUPPORTED("4mlv0t6g3bl1stjs6qxrdoxc4"); // if ((def = agdatadict(g, (0)))) {
537 UNSUPPORTED("16qe57vlv8koos7hnsvji0tcb"); // {if ((write_dict(g, ofile, "graph", def->dict.g, top)) == EOF) return EOF;};
538 UNSUPPORTED("ddwzxi0rpkb52u0w6d1r77skm"); // {if ((write_dict(g, ofile, "node", def->dict.n, top)) == EOF) return EOF;};
539 UNSUPPORTED("1fi4yw89hspw1v0on1017ioyg"); // {if ((write_dict(g, ofile, "edge", def->dict.e, top)) == EOF) return EOF;};
540 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
541 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
542 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
543
544 throw new UnsupportedOperationException();
545 }
546
547
548
549
550 //3 cg729l895pi0qnmlxnjytf8pd
551 // static int write_hdr(Agraph_t * g, iochan_t * ofile, int top)
552 public static Object write_hdr(Object... arg) {
553 UNSUPPORTED("bv82284a2i51n13utave7gi65"); // static int write_hdr(Agraph_t * g, iochan_t * ofile, int top)
554 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
555 UNSUPPORTED("5tmjn44cq2g0o6a4eim9n4r41"); // char *name, *sep, *kind, *strict;
556 UNSUPPORTED("2o2xukvz5nqsn8ucmx0ibzi7u"); // int root = 0;
557 UNSUPPORTED("defp72d837w5grmr10ijl40sc"); // Attrs_not_written_flag = AGATTRWF(g);
558 UNSUPPORTED("8rxqqli6dshrniwafycl2x50i"); // strict = "";
559 UNSUPPORTED("1dsqqvt6epu2867o19gd1w7e1"); // if (NOT(top) && agparent(g))
560 UNSUPPORTED("8rffe0xay7r01yrp1zqkh1l0p"); // kind = "sub";
561 UNSUPPORTED("1nyzbeonram6636b1w955bypn"); // else {
562 UNSUPPORTED("6digseocbrizgs0l1xdyetpd1"); // root = 1;
563 UNSUPPORTED("3l4f565mguh1h41c30y87hhcu"); // if (g->desc.directed)
564 UNSUPPORTED("e88vmmq10gtrhyxfiisp4c5n6"); // kind = "di";
565 UNSUPPORTED("9352ql3e58qs4fzapgjfrms2s"); // else
566 UNSUPPORTED("477n1bidkrk4b8hcikwd601ww"); // kind = "";
567 UNSUPPORTED("k23gu3jbsh35eolp8cxy1von"); // if (agisstrict(g))
568 UNSUPPORTED("coedgh6jpr1nsmmodeufhccd5"); // strict = "strict ";
569 UNSUPPORTED("120w7pql0m6xxhshb1hu9xr83"); // Tailport = agattr(g, AGEDGE, "tailport", ((char *)0));
570 UNSUPPORTED("31kmh5iv8cqwsc5169jcje4m5"); // Headport = agattr(g, AGEDGE, "headport", ((char *)0));
571 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
572 UNSUPPORTED("b1au7bgi7piu07obja3u404tt"); // name = agnameof(g);
573 UNSUPPORTED("y39797izv2dtp714gzmbjmt2"); // sep = " ";
574 UNSUPPORTED("deq0wlkdzgn0dsup6s8crdptk"); // if (!name || name[0] == '%')
575 UNSUPPORTED("bngxzmad7ha2neojmucdgq2f"); // sep = name = "";
576 UNSUPPORTED("2upjlgu52bgdstwlj5g27peod"); // {if ((indent(g, ofile)) == EOF) return EOF;};
577 UNSUPPORTED("5x4jedwac3kvbjptwajbktmx9"); // {if ((ioput(g, ofile, strict)) == EOF) return EOF;};
578 UNSUPPORTED("7gibcx01sloiz2efkhytt8gx4"); // /* output "<kind>graph" only for root graphs or graphs with names */
579 UNSUPPORTED("6qy1c4safapm1tb5wyodbw52d"); // if (*name || root) {
580 UNSUPPORTED("2g43v7zyxobg6xrwdex1ad5fw"); // {if ((ioput(g, ofile, kind)) == EOF) return EOF;};
581 UNSUPPORTED("48tfev7pi5eibapsnaibi6q4"); // {if ((ioput(g, ofile, "graph ")) == EOF) return EOF;};
582 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
583 UNSUPPORTED("c6idt0yj6nq2ckloubbnilhq6"); // if (name[0])
584 UNSUPPORTED("3kefg3n38sd1r4iu21fkfdpf5"); // {if ((write_canonstr(g, ofile, name)) == EOF) return EOF;};
585 UNSUPPORTED("67g1mzlw40lif93mafscbv4vi"); // {if ((ioput(g, ofile, sep)) == EOF) return EOF;};
586 UNSUPPORTED("e0s5onmgtm3tlfd56y1rf4m6i"); // {if ((ioput(g, ofile, "{\n")) == EOF) return EOF;};
587 UNSUPPORTED("9brxtep7biyoqds0hj0atawrp"); // Level++;
588 UNSUPPORTED("bd93m59b1ncaay038o5563pwq"); // {if ((write_dicts(g, ofile, top)) == EOF) return EOF;};
589 UNSUPPORTED("utp8mj7yh7s1sb68xrde8b8"); // AGATTRWF(g) = (!(0));
590 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
591 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
592
593 throw new UnsupportedOperationException();
594 }
595
596
597
598
599 //3 3ledn06tna47mr73hhkiydl5l
600 // static int write_trl(Agraph_t * g, iochan_t * ofile)
601 public static Object write_trl(Object... arg) {
602 UNSUPPORTED("b4cjvzzfv0u8yh5ym5v2dmx2e"); // static int write_trl(Agraph_t * g, iochan_t * ofile)
603 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
604 UNSUPPORTED("2q3myz3ctrvxg2tezy4xtlm09"); // (void) g;
605 UNSUPPORTED("b3oxdten2n4i8m918fdxsp1hh"); // Level--;
606 UNSUPPORTED("2upjlgu52bgdstwlj5g27peod"); // {if ((indent(g, ofile)) == EOF) return EOF;};
607 UNSUPPORTED("836o18jp9on1g7j6kfal2t1wd"); // {if ((ioput(g, ofile, "}\n")) == EOF) return EOF;};
608 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
609 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
610
611 throw new UnsupportedOperationException();
612 }
613
614
615
616
617 //3 eyh488kxcrbg6le1efk7a3xpu
618 // static int irrelevant_subgraph(Agraph_t * g)
619 public static Object irrelevant_subgraph(Object... arg) {
620 UNSUPPORTED("4oyi2kt79cxmi0rtl1m5q6g6h"); // static int irrelevant_subgraph(Agraph_t * g)
621 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
622 UNSUPPORTED("fv6rlb2tzb6zbyr7t72uclhx"); // int i, n;
623 UNSUPPORTED("cx0vt87bfp7pjiaw2jb68u1v7"); // Agattr_t *sdata, *pdata, *rdata;
624 UNSUPPORTED("eq0gq1d7pmvj94j5nxbexze8p"); // Agdatadict_t *dd;
625 UNSUPPORTED("8i0d7frxcvvmzhidle0zin9i0"); // char *name;
626 UNSUPPORTED("b1au7bgi7piu07obja3u404tt"); // name = agnameof(g);
627 UNSUPPORTED("c6ldem2asmpu0kxd9k0v9b52m"); // if (name && name[0] != '%')
628 UNSUPPORTED("e6i1m837bi402fjvy87uxgyf"); // return (0);
629 UNSUPPORTED("1p7l4il64r01z920qe41c1z6l"); // if ((sdata = agattrrec(g)) && (pdata = agattrrec(agparent(g)))) {
630 UNSUPPORTED("4qk4wnxqgrsapkliulr94azku"); // rdata = agattrrec(agroot(g));
631 UNSUPPORTED("dxmershxq961ha7vc4m5cr62k"); // n = dtsize(rdata->dict);
632 UNSUPPORTED("2865bsxs4j68vooz1yohtvgy"); // for (i = 0; i < n; i++)
633 UNSUPPORTED("29ws3fuj2ixpal7w4giqlkeoc"); // if (sdata->str[i] && pdata->str[i]
634 UNSUPPORTED("cek78fcyqh122xyfndqd7s7cc"); // && strcmp(sdata->str[i], pdata->str[i]))
635 UNSUPPORTED("dpizbhlbpjwomse6dgvnrhaih"); // return (0);
636 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
637 UNSUPPORTED("3rxguujcd6li5w0c4w1p79et1"); // dd = agdatadict(g, (0));
638 UNSUPPORTED("3tczoyxz5wlg8a4g3uhvrmm5o"); // if (!dd)
639 UNSUPPORTED("3adr32h5e1fehu4g7j2u24asz"); // return (!(0));
640 UNSUPPORTED("22w1xj2fgexar3yp1jw8lz583"); // if ((dtsize(dd->dict.n) > 0) || (dtsize(dd->dict.e) > 0))
641 UNSUPPORTED("e6i1m837bi402fjvy87uxgyf"); // return (0);
642 UNSUPPORTED("4si0cf97a5sfd9ozuunds9goz"); // return (!(0));
643 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
644
645 throw new UnsupportedOperationException();
646 }
647
648
649
650
651 //3 ck85o9cm7ekqx3c2l0adsac5s
652 // int node_in_subg(Agraph_t * g, Agnode_t * n)
653 public static Object node_in_subg(Object... arg) {
654 UNSUPPORTED("lttsft2kddk4usoa58k8snym"); // int node_in_subg(Agraph_t * g, Agnode_t * n)
655 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
656 UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); // Agraph_t *subg;
657 UNSUPPORTED("92vjk6rjnnnji7bcczz51lwfx"); // for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) {
658 UNSUPPORTED("7y0e3lnda08y951e0taazdpb3"); // if (irrelevant_subgraph(subg))
659 UNSUPPORTED("6hqli9m8yickz1ox1qfgtdbnd"); // continue;
660 UNSUPPORTED("b64f4gc73opgpeltlgyojoq15"); // if (agsubnode(subg, n, (0)))
661 UNSUPPORTED("euj7k5raviuazd8jahwobe0r3"); // return (!(0));
662 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
663 UNSUPPORTED("297p5iu8oro94tdg9v29bbgiw"); // return (0);
664 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
665
666 throw new UnsupportedOperationException();
667 }
668
669
670
671
672 //3 ksojc2a5losovfniqlzgt1vt
673 // static int has_no_edges(Agraph_t * g, Agnode_t * n)
674 public static Object has_no_edges(Object... arg) {
675 UNSUPPORTED("64vkuv5tpo1b1viokvi658vrb"); // static int has_no_edges(Agraph_t * g, Agnode_t * n)
676 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
677 UNSUPPORTED("awbxq19f7u7jetepurmyrq5mv"); // return ((agfstin(g, n) == ((Agedge_t *)0))
678 UNSUPPORTED("enl87hoolfbxysnsww72soosi"); // && (agfstout(g, n) == ((Agedge_t *)0)));
679 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
680
681 throw new UnsupportedOperationException();
682 }
683
684
685
686
687 //3 2iad3x6pf4ovvofoylnqwe2wc
688 // static int has_no_predecessor_below(Agraph_t * g, Agnode_t * n, unsigned long val)
689 public static Object has_no_predecessor_below(Object... arg) {
690 UNSUPPORTED("7lbmpmt9voddi7i14szyn3qmm"); // static int has_no_predecessor_below(Agraph_t * g, Agnode_t * n,
691 UNSUPPORTED("1fr81p8hxc1nvf0lvodnf29px"); // unsigned long val)
692 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
693 UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
694 UNSUPPORTED("38wcnqjivdjylzj9ulbjvi1e1"); // if (AGSEQ(n) < val)
695 UNSUPPORTED("e6i1m837bi402fjvy87uxgyf"); // return (0);
696 UNSUPPORTED("ac765q9popbptusjymwzret5y"); // for (e = agfstin(g, n); e; e = agnxtin(g, e))
697 UNSUPPORTED("dzqw274wu2nx03reilr9l7j5y"); // if (AGSEQ(e->node) < val)
698 UNSUPPORTED("8tnlb2txucdutal7665h0v68g"); // return (0);
699 UNSUPPORTED("4si0cf97a5sfd9ozuunds9goz"); // return (!(0));
700 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
701
702 throw new UnsupportedOperationException();
703 }
704
705
706
707
708 //3 tn031eypwz2gs5143bxpsnuu
709 // static int not_default_attrs(Agraph_t * g, Agnode_t * n)
710 public static Object not_default_attrs(Object... arg) {
711 UNSUPPORTED("emqc8yarfq0dgf06cnadhmpy7"); // static int not_default_attrs(Agraph_t * g, Agnode_t * n)
712 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
713 UNSUPPORTED("bbzey600kwgvkyquhmgo33kda"); // Agattr_t *data;
714 UNSUPPORTED("av59ae8c4mws46sf5dumz1k0s"); // Agsym_t *sym;
715 UNSUPPORTED("2q3myz3ctrvxg2tezy4xtlm09"); // (void) g;
716 UNSUPPORTED("9j51hcoecext2qm6zhr7sj0oz"); // if ((data = agattrrec(n))) {
717 UNSUPPORTED("coc462aobf6quvrhpcpnjpdrn"); // for (sym = (Agsym_t *) (*(((Dt_t*)(data->dict))->searchf))((data->dict),(void*)(0),0000200); sym;
718 UNSUPPORTED("amu8ypy9stk8vb4g601x25kpb"); // sym = (Agsym_t *) (*(((Dt_t*)(data->dict))->searchf))((data->dict),(void*)(sym),0000010)) {
719 UNSUPPORTED("8wug16wgeteq8od3sraaujwnx"); // if (data->str[sym->id] != sym->defval)
720 UNSUPPORTED("a1a1uhff21noh1htwzn6yp831"); // return (!(0));
721 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
722 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
723 UNSUPPORTED("297p5iu8oro94tdg9v29bbgiw"); // return (0);
724 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
725
726 throw new UnsupportedOperationException();
727 }
728
729
730
731
732 //3 3hudq21u19r8v940lhosa07zk
733 // static int write_subgs(Agraph_t * g, iochan_t * ofile)
734 public static Object write_subgs(Object... arg) {
735 UNSUPPORTED("81exc454cwr51dk4iq3g3so7e"); // static int write_subgs(Agraph_t * g, iochan_t * ofile)
736 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
737 UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); // Agraph_t *subg;
738 UNSUPPORTED("92vjk6rjnnnji7bcczz51lwfx"); // for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) {
739 UNSUPPORTED("b5hukzaylqhk3l4u8ewu9m7bz"); // if (irrelevant_subgraph(subg)) {
740 UNSUPPORTED("br6dtjggd74cdyd97thtidtrh"); // write_subgs(subg, ofile);
741 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
742 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
743 UNSUPPORTED("1ckh4rmjqkc7rc1701bz33i77"); // {if ((write_hdr(subg, ofile, (0))) == EOF) return EOF;};
744 UNSUPPORTED("35agz39gubwvzxnxqoyttjyov"); // {if ((write_body(subg, ofile)) == EOF) return EOF;};
745 UNSUPPORTED("6eshqt45zq6jp769b50pfyvlg"); // {if ((write_trl(subg, ofile)) == EOF) return EOF;};
746 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
747 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
748 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
749 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
750
751 throw new UnsupportedOperationException();
752 }
753
754
755
756
757 //3 61m4d49ffhloytgknml3f3wr9
758 // static int write_edge_name(Agedge_t * e, iochan_t * ofile, int terminate)
759 public static Object write_edge_name(Object... arg) {
760 UNSUPPORTED("7653rldgp23j0jh9w5u24afy9"); // static int write_edge_name(Agedge_t * e, iochan_t * ofile, int terminate)
761 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
762 UNSUPPORTED("ecz4e03zumggc8tfymqvirexq"); // int rv;
763 UNSUPPORTED("aexhdud6z2wbwwi73yppp0ynl"); // char *p;
764 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
765 UNSUPPORTED("egwh1ccpd1lrz94020eszo4mm"); // p = agnameof(e);
766 UNSUPPORTED("dmucqaij4o1u2fxfg43y5j4ow"); // g = agraphof(e);
767 UNSUPPORTED("bq8birldnzbfylw4cnes3ptj5"); // if (NOT(((p == 0) || (p)[0] == '\0'))) {
768 UNSUPPORTED("5kbp8i958xdwwdrsh3bodyol6"); // {if ((ioput(g, ofile, " [key=")) == EOF) return EOF;};
769 UNSUPPORTED("awv07dimzjjfdzdt11o3pq77k"); // {if ((write_canonstr(g, ofile, p)) == EOF) return EOF;};
770 UNSUPPORTED("d1a8tpm0uunsuvxjpppo8iww6"); // if (terminate)
771 UNSUPPORTED("cjtrrjw2cx48bap924touvqbx"); // {if ((ioput(g, ofile, "]")) == EOF) return EOF;};
772 UNSUPPORTED("e1ueu04zlv0zdyfii20b8r0rk"); // rv = (!(0));
773 UNSUPPORTED("2lkbqgh2h6urnppaik3zo7ywi"); // } else
774 UNSUPPORTED("f5bn92wqqc6u64vmryax7oqh4"); // rv = (0);
775 UNSUPPORTED("v7vqc9l7ge2bfdwnw11z7rzi"); // return rv;
776 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
777
778 throw new UnsupportedOperationException();
779 }
780
781
782
783
784 //3 29knq7812qkc7yve3ynqs319m
785 // static int write_nondefault_attrs(void *obj, iochan_t * ofile, Dict_t * defdict)
786 public static Object write_nondefault_attrs(Object... arg) {
787 UNSUPPORTED("2eq8u2i8o96r7kj3kvvpk8pp8"); // static int write_nondefault_attrs(void *obj, iochan_t * ofile,
788 UNSUPPORTED("f427jfb8dxus2g2a3h2u8o5xu"); // Dict_t * defdict)
789 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
790 UNSUPPORTED("bbzey600kwgvkyquhmgo33kda"); // Agattr_t *data;
791 UNSUPPORTED("av59ae8c4mws46sf5dumz1k0s"); // Agsym_t *sym;
792 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
793 UNSUPPORTED("behjm5bjsenezpg3f7cncvteu"); // int cnt = 0;
794 UNSUPPORTED("ecz4e03zumggc8tfymqvirexq"); // int rv;
795 UNSUPPORTED("eg7ostyrb6k3w76d6frhjsxao"); // if ((AGTYPE(obj) == AGINEDGE) || (AGTYPE(obj) == AGOUTEDGE)) {
796 UNSUPPORTED("b55iou6m33m4dht1xfevf1l4a"); // {if ((rv = write_edge_name(obj, ofile, (0))) == EOF) return EOF;};
797 UNSUPPORTED("3530976sh2i9fg23975vrw161"); // if (rv)
798 UNSUPPORTED("7hl03wjg5yryhvbe4ar0i0b8g"); // cnt++;
799 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
800 UNSUPPORTED("2jm7yr9s1ma9qprxon3kn34hs"); // data = agattrrec(obj);
801 UNSUPPORTED("8pfuk9ua4x9bh68zk1kzwc5t9"); // g = agraphof(obj);
802 UNSUPPORTED("ck70ilm5r0hsin65zhsuhqvr8"); // if (data)
803 UNSUPPORTED("2xgrljvi8tbcibpvd93e3y4wu"); // for (sym = (Agsym_t *) (*(((Dt_t*)(defdict))->searchf))((defdict),(void*)(0),0000200); sym;
804 UNSUPPORTED("5iyprqxhu5o7vb2hvqsg29102"); // sym = (Agsym_t *) (*(((Dt_t*)(defdict))->searchf))((defdict),(void*)(sym),0000010)) {
805 UNSUPPORTED("1277c7kjmziau8c0dpsgenzrx"); // if ((AGTYPE(obj) == AGINEDGE) || (AGTYPE(obj) == AGOUTEDGE)) {
806 UNSUPPORTED("1sexsl72k6x8a89gyzml82202"); // if (Tailport && (sym->id == Tailport->id))
807 UNSUPPORTED("2yi9az7ibt7j9bwztjilyo0v2"); // continue;
808 UNSUPPORTED("e5ubbne6czhxg5l70lp73v2qy"); // if (Headport && (sym->id == Headport->id))
809 UNSUPPORTED("2yi9az7ibt7j9bwztjilyo0v2"); // continue;
810 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
811 UNSUPPORTED("an1qa2d9iqrp3xzh32hq5m7wo"); // if (data->str[sym->id] != sym->defval) {
812 UNSUPPORTED("4xhq9pg814p2c5b2fffoiv6h9"); // if (cnt++ == 0) {
813 UNSUPPORTED("34h2pyawnomoq99i31tmiadll"); // {if ((indent(g, ofile)) == EOF) return EOF;};
814 UNSUPPORTED("edwv0jnia03ljoa7nei9zz0de"); // {if ((ioput(g, ofile, " [")) == EOF) return EOF;};
815 UNSUPPORTED("cyr36a84f56xloi9axapn4x0l"); // Level++;
816 UNSUPPORTED("a47jqpic91ky93e1ohxv590l5"); // } else {
817 UNSUPPORTED("dm4dxqtiqxuaqodlpd06p0iu2"); // {if ((ioput(g, ofile, ",\n")) == EOF) return EOF;};
818 UNSUPPORTED("34h2pyawnomoq99i31tmiadll"); // {if ((indent(g, ofile)) == EOF) return EOF;};
819 UNSUPPORTED("6eq5kf0bj692bokt0bixy1ixh"); // }
820 UNSUPPORTED("ewb7dhzx8h311btm514wxqh5d"); // {if ((write_canonstr(g, ofile, sym->name)) == EOF) return EOF;};
821 UNSUPPORTED("e5geka21ka5gvgmjo8gyb2vul"); // {if ((ioput(g, ofile, "=")) == EOF) return EOF;};
822 UNSUPPORTED("66a4xw8npqjv8xk4jka0g2xsm"); // {if ((write_canonstr(g, ofile, data->str[sym->id])) == EOF) return EOF;};
823 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
824 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
825 UNSUPPORTED("3edmnqy3ok6qglbgwxmakkngx"); // if (cnt > 0) {
826 UNSUPPORTED("35d94qq9wy75h3y8r2eov436"); // {if ((ioput(g, ofile, "]")) == EOF) return EOF;};
827 UNSUPPORTED("17ejasz912kqtejldaozqxa0y"); // Level--;
828 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
829 UNSUPPORTED("au1zt5ka3uvb2gtbnxfc6dp8m"); // AGATTRWF((Agobj_t *) obj) = (!(0));
830 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
831 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
832
833 throw new UnsupportedOperationException();
834 }
835
836
837
838
839 //3 cxw4svv83nd76h7g9n4wtvyhe
840 // static int write_nodename(Agnode_t * n, iochan_t * ofile)
841 public static Object write_nodename(Object... arg) {
842 UNSUPPORTED("cpgq7yh759xl1zrvqft4831wz"); // static int write_nodename(Agnode_t * n, iochan_t * ofile)
843 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
844 UNSUPPORTED("2p565zvorxx52bxl6qo7p76e"); // char *name, buf[20];
845 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
846 UNSUPPORTED("a4xof3tnbquhro6rrhmnuqoli"); // name = agnameof(n);
847 UNSUPPORTED("38tgkes5dhr4oloxpg73baq10"); // g = agraphof(n);
848 UNSUPPORTED("30nxp5k7c6mdth5ymcpz1oxob"); // if (name) {
849 UNSUPPORTED("3kefg3n38sd1r4iu21fkfdpf5"); // {if ((write_canonstr(g, ofile, name)) == EOF) return EOF;};
850 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
851 UNSUPPORTED("ezpeldusu1c6rg1a2nm7scden"); // sprintf(buf, "_%ld_SUSPECT", AGID(n)); /* could be deadly wrong */
852 UNSUPPORTED("bryntb9dnhodyku7ylgr1cie9"); // {if ((ioput(g, ofile, buf)) == EOF) return EOF;};
853 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
854 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
855 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
856
857 throw new UnsupportedOperationException();
858 }
859
860
861
862
863 //3 evmg0r67fn4l8l3ivojk7rt0g
864 // static int attrs_written(void *obj)
865 public static Object attrs_written(Object... arg) {
866 UNSUPPORTED("7psl0ji9q989ywpylalpurvqy"); // static int attrs_written(void *obj)
867 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
868 UNSUPPORTED("ae64q3xp4s7ek7gaqaekhyrbv"); // return (AGATTRWF((Agobj_t *) obj));
869 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
870
871 throw new UnsupportedOperationException();
872 }
873
874
875
876
877 //3 2m70lxskcmbyg6wdxe5r6ai1e
878 // static int write_node(Agnode_t * n, iochan_t * ofile, Dict_t * d)
879 public static Object write_node(Object... arg) {
880 UNSUPPORTED("cqa550o688iknrhl43di42f58"); // static int write_node(Agnode_t * n, iochan_t * ofile, Dict_t * d)
881 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
882 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
883 UNSUPPORTED("38tgkes5dhr4oloxpg73baq10"); // g = agraphof(n);
884 UNSUPPORTED("2upjlgu52bgdstwlj5g27peod"); // {if ((indent(g, ofile)) == EOF) return EOF;};
885 UNSUPPORTED("ad6u6q90muje77m4c2w3g4vnp"); // {if ((write_nodename(n, ofile)) == EOF) return EOF;};
886 UNSUPPORTED("188f2l06cxx44bobai7uck0n3"); // if (NOT(attrs_written(n)))
887 UNSUPPORTED("604ofy6n5gra880spsr7pttzu"); // {if ((write_nondefault_attrs(n, ofile, d)) == EOF) return EOF;};
888 UNSUPPORTED("36fggxzk0yp5o9iu0wl66dbg4"); // return ioput(g, ofile, ";\n");
889 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
890
891 throw new UnsupportedOperationException();
892 }
893
894
895
896
897 //3 f14lr3pcw3fr38egphpz5nnu4
898 // static int write_node_test(Agraph_t * g, Agnode_t * n, unsigned long pred_id)
899 public static Object write_node_test(Object... arg) {
900 UNSUPPORTED("5dzvb8cmg948ujvvba4qgoohs"); // static int write_node_test(Agraph_t * g, Agnode_t * n,
901 UNSUPPORTED("5wtydk3j3fgnkmg8zhzz67wtx"); // unsigned long pred_id)
902 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
903 UNSUPPORTED("4iai1f8jf6nldihij6j7geznt"); // if (NOT(node_in_subg(g, n)) && has_no_predecessor_below(g, n, pred_id)) {
904 UNSUPPORTED("6r86ld6632dwt68hrrxl7r69n"); // if (has_no_edges(g, n) || not_default_attrs(g, n))
905 UNSUPPORTED("euj7k5raviuazd8jahwobe0r3"); // return (!(0));
906 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
907 UNSUPPORTED("297p5iu8oro94tdg9v29bbgiw"); // return (0);
908 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
909
910 throw new UnsupportedOperationException();
911 }
912
913
914
915
916 //3 5zf7u1r6hz67tt7a3231b6prh
917 // static int write_port(Agedge_t * e, iochan_t * ofile, Agsym_t * port)
918 public static Object write_port(Object... arg) {
919 UNSUPPORTED("4xje10w5oamectfsdzliliyqw"); // static int write_port(Agedge_t * e, iochan_t * ofile, Agsym_t * port)
920 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
921 UNSUPPORTED("eocf25luzhwv5bxjexjp351gh"); // char *val;
922 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
923 UNSUPPORTED("8rqevc1hrm1ne2lnxwvj4fv4c"); // if (!port)
924 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
925 UNSUPPORTED("dmucqaij4o1u2fxfg43y5j4ow"); // g = agraphof(e);
926 UNSUPPORTED("831dn8v157veiodzq2v8241lf"); // val = agxget(e, port);
927 UNSUPPORTED("4suzircl51e85yp915bz7v4qu"); // if (val[0] == '\0')
928 UNSUPPORTED("c9ckhc8veujmwcw0ar3u3zld4"); // return 0;
929 UNSUPPORTED("1p5n9iv2fv2lzf7o45j51tgxp"); // {if ((ioput(g, ofile, ":")) == EOF) return EOF;};
930 UNSUPPORTED("3iqdx5w9ghlst037y7bcvz6wf"); // if (aghtmlstr(val)) {
931 UNSUPPORTED("56u7ilzcb1yhhwozqmp6hleat"); // {if ((write_canonstr(g, ofile, val)) == EOF) return EOF;};
932 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
933 UNSUPPORTED("252d0vgl5lh8pgtnfcmeu89tc"); // char *s = strchr(val, ':');
934 UNSUPPORTED("dmtz739k0mm5ehrx59272alpr"); // if (s) {
935 UNSUPPORTED("ezrforbrab3hidaupv18faqcb"); // *s = '\0';
936 UNSUPPORTED("akn31o7bkj0ssrdx07xi5mm43"); // {if ((_write_canonstr(g, ofile, val, (0))) == EOF) return EOF;};
937 UNSUPPORTED("81xvkbzakdflnij10q44u5uoe"); // {if ((ioput(g, ofile, ":")) == EOF) return EOF;};
938 UNSUPPORTED("4fp9nlo79i4xv1dnsitfjarsm"); // {if ((_write_canonstr(g, ofile, s + 1, (0))) == EOF) return EOF;};
939 UNSUPPORTED("94ybugc52d4387gg45p7y33hs"); // *s = ':';
940 UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else {
941 UNSUPPORTED("akn31o7bkj0ssrdx07xi5mm43"); // {if ((_write_canonstr(g, ofile, val, (0))) == EOF) return EOF;};
942 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
943 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
944 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
945 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
946
947 throw new UnsupportedOperationException();
948 }
949
950
951
952
953 //3 4ldk2wgnwzswqi3af43tel24y
954 // static int write_edge_test(Agraph_t * g, Agedge_t * e)
955 public static Object write_edge_test(Object... arg) {
956 UNSUPPORTED("9yp7jgxf5ed1bvk0sw51xbkbo"); // static int write_edge_test(Agraph_t * g, Agedge_t * e)
957 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
958 UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); // Agraph_t *subg;
959 UNSUPPORTED("9qltiz4q6ds2g8b7awgcytymv"); // /* can use agedge() because we subverted the dict compar_f */
960 UNSUPPORTED("92vjk6rjnnnji7bcczz51lwfx"); // for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) {
961 UNSUPPORTED("7y0e3lnda08y951e0taazdpb3"); // if (irrelevant_subgraph(subg))
962 UNSUPPORTED("6hqli9m8yickz1ox1qfgtdbnd"); // continue;
963 UNSUPPORTED("eg7qrpri7skg2hr3nvvadkdyd"); // if (agsubedge(subg, e, (0)))
964 UNSUPPORTED("8tnlb2txucdutal7665h0v68g"); // return (0);
965 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
966 UNSUPPORTED("4si0cf97a5sfd9ozuunds9goz"); // return (!(0));
967 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
968
969 throw new UnsupportedOperationException();
970 }
971
972
973
974
975 //3 achkvduksnhmlem44ia61tdpm
976 // static int write_edge(Agedge_t * e, iochan_t * ofile, Dict_t * d)
977 public static Object write_edge(Object... arg) {
978 UNSUPPORTED("35w5n554uravyh0k7gmn73zup"); // static int write_edge(Agedge_t * e, iochan_t * ofile, Dict_t * d)
979 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
980 UNSUPPORTED("4ybt6tm56tubmbuve8lp6rxhh"); // Agnode_t *t, *h;
981 UNSUPPORTED("1dbyk58q3r4fyfxxo7ovemkpu"); // Agraph_t *g;
982 UNSUPPORTED("5webprz21nzifr3m5zwnqxx6m"); // t = AGTAIL(e);
983 UNSUPPORTED("ax8363bkxphvbre4n21ewb568"); // h = AGHEAD(e);
984 UNSUPPORTED("8qt01zznk6z8nu3spriyiry81"); // g = agraphof(t);
985 UNSUPPORTED("2upjlgu52bgdstwlj5g27peod"); // {if ((indent(g, ofile)) == EOF) return EOF;};
986 UNSUPPORTED("2gxk9z53sl9dr4ozmgyl6vn6j"); // {if ((write_nodename(t, ofile)) == EOF) return EOF;};
987 UNSUPPORTED("71dxqgydbyqut1trdx63djy04"); // {if ((write_port(e, ofile, Tailport)) == EOF) return EOF;};
988 UNSUPPORTED("edsdju74g486xwykrjecfdz9t"); // {if ((ioput(g, ofile,(agisdirected(agraphof(t)) ? " -> " : " -- "))) == EOF) return EOF;};
989 UNSUPPORTED("cg68mtym2rtcpt6dl9cgou9ty"); // {if ((write_nodename(h, ofile)) == EOF) return EOF;};
990 UNSUPPORTED("9yj27gqf0jtykmnnuyntescvp"); // {if ((write_port(e, ofile, Headport)) == EOF) return EOF;};
991 UNSUPPORTED("1v1o17ud9bvt5cbsexej1x6lb"); // if (NOT(attrs_written(e))) {
992 UNSUPPORTED("ddestrlasmplu0lkczahiwnio"); // {if ((write_nondefault_attrs(e, ofile, d)) == EOF) return EOF;};
993 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
994 UNSUPPORTED("197ftan7rtv20qonq7s9jvp8n"); // {if ((write_edge_name(e, ofile, (!(0)))) == EOF) return EOF;};
995 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
996 UNSUPPORTED("36fggxzk0yp5o9iu0wl66dbg4"); // return ioput(g, ofile, ";\n");
997 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
998
999 throw new UnsupportedOperationException();
1000 }
1001
1002
1003
1004
1005 //3 uu07lrf43gcxm3lfka71pyvs
1006 // static int write_body(Agraph_t * g, iochan_t * ofile)
1007 public static Object write_body(Object... arg) {
1008 UNSUPPORTED("24udwe07nmfa7mly8u6t458cy"); // static int write_body(Agraph_t * g, iochan_t * ofile)
1009 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1010 UNSUPPORTED("6vso73lw5lxv6m32fli4evzoo"); // Agnode_t *n, *prev;
1011 UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
1012 UNSUPPORTED("eq0gq1d7pmvj94j5nxbexze8p"); // Agdatadict_t *dd;
1013 UNSUPPORTED("ecc7weo8sqce4hc8zhangqyxh"); // /* int has_attr; */
1014 UNSUPPORTED("1qkoefgefzcbae9lcfldryhcu"); // /* has_attr = (agattrrec(g) != NIL(Agattr_t*)); */
1015 UNSUPPORTED("epct28o6e8jijggk3kdf7at2d"); // {if ((write_subgs(g, ofile)) == EOF) return EOF;};
1016 UNSUPPORTED("avn5z8qt3zn87v0tr4t43aptm"); // dd = agdatadict(agroot(g), (0));
1017 UNSUPPORTED("44thr6ep72jsj3fksjiwdx3yr"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
1018 UNSUPPORTED("5o93nkpvajmx0eouvhi1py3a3"); // if (write_node_test(g, n, AGSEQ(n)))
1019 UNSUPPORTED("bnzzfj5rb2fb7l96rnoscoyzt"); // {if ((write_node(n, ofile, dd ? dd->dict.n : 0)) == EOF) return EOF;};
1020 UNSUPPORTED("9z3wosnod2eza62eqd598gf15"); // prev = n;
1021 UNSUPPORTED("e20lm4qtccvgsfq5fzjv6sjyl"); // for (e = agfstout(g, n); e; e = agnxtout(g, e)) {
1022 UNSUPPORTED("4rv2a1j1w99ox9vwkb58qcndm"); // if ((prev != aghead(e))
1023 UNSUPPORTED("6pm10qlp4eognb60xcbf4a2tx"); // && write_node_test(g, aghead(e), AGSEQ(n))) {
1024 UNSUPPORTED("as20nn69z1udd99ioxq1m2410"); // {if ((write_node(aghead(e), ofile, dd ? dd->dict.n : 0)) == EOF) return EOF;};
1025 UNSUPPORTED("4hmon4o3z87811qet9gh6wspf"); // prev = aghead(e);
1026 UNSUPPORTED("6t98dcecgbvbvtpycwiq2ynnj"); // }
1027 UNSUPPORTED("a9y45p58h8680rmry84kep0k7"); // if (write_edge_test(g, e))
1028 UNSUPPORTED("6yl3in89h59zpkbs0vjdo9g5e"); // {if ((write_edge(e, ofile, dd ? dd->dict.e : 0)) == EOF) return EOF;};
1029 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1030 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1031 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
1032 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1033
1034 throw new UnsupportedOperationException();
1035 }
1036
1037
1038
1039
1040 //3 6qzik6sn6t699oya0mtmc09kj
1041 // static void set_attrwf(Agraph_t * g, int toplevel, int value)
1042 public static Object set_attrwf(Object... arg) {
1043 UNSUPPORTED("8qq9xih8ju452kzwi2vfuflx1"); // static void set_attrwf(Agraph_t * g, int toplevel, int value)
1044 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1045 UNSUPPORTED("c3tourf5k7groqyh71yjd5xec"); // Agraph_t *subg;
1046 UNSUPPORTED("2jcii9cclu1dijzqekzc175pe"); // Agnode_t *n;
1047 UNSUPPORTED("36vshotvjkc5iodgg7nq6qa2r"); // Agedge_t *e;
1048 UNSUPPORTED("24t3hnv9bwzu54ytirjoo9ll0"); // AGATTRWF(g) = value;
1049 UNSUPPORTED("92vjk6rjnnnji7bcczz51lwfx"); // for (subg = agfstsubg(g); subg; subg = agnxtsubg(subg)) {
1050 UNSUPPORTED("37kcx814prucmw0dgtx90gys3"); // set_attrwf(subg, (0), value);
1051 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1052 UNSUPPORTED("5r7vuplpj8az4hdy8stn9opja"); // if (toplevel) {
1053 UNSUPPORTED("attp4bsjqe99xnhi7lr7pszar"); // for (n = agfstnode(g); n; n = agnxtnode(g, n)) {
1054 UNSUPPORTED("8wb9syhcd6ckmrfo4kkh1dg6o"); // AGATTRWF(n) = value;
1055 UNSUPPORTED("8wpryg13apwpccvklympyeyqu"); // for (e = agfstout(g, n); e; e = agnxtout(g, e))
1056 UNSUPPORTED("cb595c0e5qk8td22sve3vdd9y"); // AGATTRWF(e) = value;
1057 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1058 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1059 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1060
1061 throw new UnsupportedOperationException();
1062 }
1063
1064
1065
1066
1067 //3 9bptgx2xn1o2lmf9b3bmbjcx8
1068 // int agwrite(Agraph_t * g, void *ofile)
1069 public static Object agwrite(Object... arg) {
1070 UNSUPPORTED("354j237921gksw95lxhfou3c9"); // int agwrite(Agraph_t * g, void *ofile)
1071 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1072 UNSUPPORTED("yiuh599p05f2mpu2e3pesu2o"); // char* s;
1073 UNSUPPORTED("dwe86466ugstemepdfk8yzphz"); // int len;
1074 UNSUPPORTED("w1wwvddvl612b2n4mm48vyzg"); // Level = 0; /* re-initialize tab level */
1075 UNSUPPORTED("c1kw4u0tftoc897fbywyem5cx"); // if ((s = agget(g, "linelength")) && isdigit(*s)) {
1076 UNSUPPORTED("3osc4y4ixfivmttpwtzh5gqse"); // len = (int)strtol(s, (char **)NULL, 10);
1077 UNSUPPORTED("4rqc2dbtsiwkva90qvgd404ve"); // if ((len == 0) || (len >= 60))
1078 UNSUPPORTED("72a6c8cf7tnb2ookwzttqa88n"); // Max_outputline = len;
1079 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1080 UNSUPPORTED("4sbvvs8w0qt626w12i77zjorp"); // set_attrwf(g, (!(0)), (0));
1081 UNSUPPORTED("auyox07z514kd3x5fgcna10dd"); // {if ((write_hdr(g, ofile, (!(0)))) == EOF) return EOF;};
1082 UNSUPPORTED("75p7mwy716aorog189xdsukra"); // {if ((write_body(g, ofile)) == EOF) return EOF;};
1083 UNSUPPORTED("dfeqp09vdcut9uyrm908or81q"); // {if ((write_trl(g, ofile)) == EOF) return EOF;};
1084 UNSUPPORTED("b4rn0yi1ogpc3e78wrtt5jj15"); // Max_outputline = 128;
1085 UNSUPPORTED("cbe60vdps5mrbfuocxpwxzu78"); // return ((g)->clos->disc.io)->flush(ofile);
1086 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1087
1088 throw new UnsupportedOperationException();
1089 }
1090
1091
1092 }