Debian Codegraph @

src/gen/lib/common/labels__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 gen.lib.cgraph.edge__c.aghead;
48 import static gen.lib.cgraph.graph__c.agisdirected;
49 import static gen.lib.cgraph.id__c.agnameof;
50 import static gen.lib.cgraph.obj__c.agobjkind;
51 import static gen.lib.cgraph.obj__c.agraphof;
52 import static gen.lib.cgraph.obj__c.agroot;
53 import static gen.lib.common.htmltable__c.make_html_label;
54 import static gen.lib.common.memory__c.gmalloc;
55 import static gen.lib.common.utils__c.htmlEntityUTF8;
56 import static smetana.core.JUtils.NEQ;
57 import static smetana.core.JUtils.strlen;
58 import static smetana.core.JUtilsDebug.ENTERING;
59 import static smetana.core.JUtilsDebug.LEAVING;
60 import static smetana.core.Macro.AGEDGE;
61 import static smetana.core.Macro.AGNODE;
62 import static smetana.core.Macro.AGRAPH;
63 import static smetana.core.Macro.ED_head_port;
64 import static smetana.core.Macro.ED_label;
65 import static smetana.core.Macro.ED_tail_port;
66 import static smetana.core.Macro.GD_label;
67 import static smetana.core.Macro.MAX;
68 import static smetana.core.Macro.N;
69 import static smetana.core.Macro.UNSUPPORTED;
70 import static smetana.core.Macro.ZALLOC_ST_textspan_t;
71 import static smetana.core.Macro.agtail;
72 import static smetana.core.Macro.hackInitDimensionFromLabel;
73 import h.ST_Agedge_s;
74 import h.ST_Agnode_s;
75 import h.ST_Agnodeinfo_t;
76 import h.ST_Agobj_s;
77 import h.ST_Agraph_s;
78 import h.ST_Agraphinfo_t;
79 import h.ST_Agrec_s;
80 import h.ST_GVC_s;
81 import h.ST_pointf;
82 import h.ST_port;
83 import h.ST_textlabel_t;
84 import h.ST_textspan_t;
85 import smetana.core.CString;
86 import smetana.core.Memory;
87 import smetana.core.Z;
88 import smetana.core.__ptr__;
89
90 public class labels__c {
91 //1 2digov3edok6d5srhgtlmrycs
92 // extern lt_symlist_t lt_preloaded_symbols[]
93
94
95 //1 baedz5i9est5csw3epz3cv7z
96 // typedef Ppoly_t Ppolyline_t
97
98
99 //1 9k44uhd5foylaeoekf3llonjq
100 // extern Dtmethod_t* Dtset
101
102
103 //1 1ahfywsmzcpcig2oxm7pt9ihj
104 // extern Dtmethod_t* Dtbag
105
106
107 //1 anhghfj3k7dmkudy2n7rvt31v
108 // extern Dtmethod_t* Dtoset
109
110
111 //1 5l6oj1ux946zjwvir94ykejbc
112 // extern Dtmethod_t* Dtobag
113
114
115 //1 2wtf222ak6cui8cfjnw6w377z
116 // extern Dtmethod_t* Dtlist
117
118
119 //1 d1s1s6ibtcsmst88e3057u9r7
120 // extern Dtmethod_t* Dtstack
121
122
123 //1 axa7mflo824p6fspjn1rdk0mt
124 // extern Dtmethod_t* Dtqueue
125
126
127 //1 ega812utobm4xx9oa9w9ayij6
128 // extern Dtmethod_t* Dtdeque
129
130
131 //1 cyfr996ur43045jv1tjbelzmj
132 // extern Dtmethod_t* Dtorder
133
134
135 //1 wlofoiftbjgrrabzb2brkycg
136 // extern Dtmethod_t* Dttree
137
138
139 //1 12bds94t7voj7ulwpcvgf6agr
140 // extern Dtmethod_t* Dthash
141
142
143 //1 9lqknzty480cy7zsubmabkk8h
144 // extern Dtmethod_t _Dttree
145
146
147 //1 bvn6zkbcp8vjdhkccqo1xrkrb
148 // extern Dtmethod_t _Dthash
149
150
151 //1 9lidhtd6nsmmv3e7vjv9e10gw
152 // extern Dtmethod_t _Dtlist
153
154
155 //1 34ujfamjxo7xn89u90oh2k6f8
156 // extern Dtmethod_t _Dtqueue
157
158
159 //1 3jy4aceckzkdv950h89p4wjc8
160 // extern Dtmethod_t _Dtstack
161
162
163 //1 8dfqgf3u1v830qzcjqh9o8ha7
164 // extern Agmemdisc_t AgMemDisc
165
166
167 //1 18k2oh2t6llfsdc5x0wlcnby8
168 // extern Agiddisc_t AgIdDisc
169
170
171 //1 a4r7hi80gdxtsv4hdoqpyiivn
172 // extern Agiodisc_t AgIoDisc
173
174
175 //1 bnzt5syjb7mgeru19114vd6xx
176 // extern Agdisc_t AgDefaultDisc
177
178
179 //1 35y2gbegsdjilegaribes00mg
180 // extern Agdesc_t Agdirected, Agstrictdirected, Agundirected, Agstrictundirected
181
182
183 //1 c2rygslq6bcuka3awmvy2b3ow
184 // typedef Agsubnode_t Agnoderef_t
185
186
187 //1 xam6yv0dcsx57dtg44igpbzn
188 // typedef Dtlink_t Agedgeref_t
189
190
191 //1 nye6dsi1twkbddwo9iffca1j
192 // extern char *Version
193
194
195 //1 65mu6k7h7lb7bx14jpiw7iyxr
196 // extern char **Files
197
198
199 //1 2rpjdzsdyrvomf00zcs3u3dyn
200 // extern const char **Lib
201
202
203 //1 6d2f111lntd2rsdt4gswh5909
204 // extern char *CmdName
205
206
207 //1 a0ltq04fpeg83soa05a2fkwb2
208 // extern char *specificFlags
209
210
211 //1 1uv30qeqq2jh6uznlr4dziv0y
212 // extern char *specificItems
213
214
215 //1 7i4hkvngxe3x7lmg5h6b3t9g3
216 // extern char *Gvfilepath
217
218
219 //1 9jp96pa73kseya3w6sulxzok6
220 // extern char *Gvimagepath
221
222
223 //1 40ylumfu7mrvawwf4v2asvtwk
224 // extern unsigned char Verbose
225
226
227 //1 93st8awjy1z0h07n28qycbaka
228 // extern unsigned char Reduce
229
230
231 //1 f2vs67ts992erf8onwfglurzp
232 // extern int MemTest
233
234
235 //1 c6f8whijgjwwagjigmxlwz3gb
236 // extern char *HTTPServerEnVar
237
238
239 //1 cp4hzj7p87m7arw776d3bt7aj
240 // extern char *Output_file_name
241
242
243 //1 a3rqagofsgraie6mx0krzkgsy
244 // extern int graphviz_errors
245
246
247 //1 5up05203r4kxvjn1m4njcgq5x
248 // extern int Nop
249
250
251 //1 umig46cco431x14b3kosde2t
252 // extern double PSinputscale
253
254
255 //1 52bj6v8fqz39khasobljfukk9
256 // extern int Syntax_errors
257
258
259 //1 9ekf2ina8fsjj6y6i0an6somj
260 // extern int Show_cnt
261
262
263 //1 38di5qi3nkxkq65onyvconk3r
264 // extern char** Show_boxes
265
266
267 //1 6ri6iu712m8mpc7t2670etpcw
268 // extern int CL_type
269
270
271 //1 bomxiw3gy0cgd1ydqtek7fpxr
272 // extern unsigned char Concentrate
273
274
275 //1 cqy3gqgcq8empdrbnrhn84058
276 // extern double Epsilon
277
278
279 //1 64slegfoouqeg0rmbyjrm8wgr
280 // extern int MaxIter
281
282
283 //1 88wdinpnmfs4mab4aw62yb0bg
284 // extern int Ndim
285
286
287 //1 8bbad3ogcelqnnvo5br5s05gq
288 // extern int State
289
290
291 //1 17rnd8q45zclfn68qqst2vxxn
292 // extern int EdgeLabelsDone
293
294
295 //1 ymx1z4s8cznjifl2d9f9m8jr
296 // extern double Initial_dist
297
298
299 //1 a33bgl0c3uqb3trx419qulj1x
300 // extern double Damping
301
302
303 //1 d9lvrpjg1r0ojv40pod1xwk8n
304 // extern int Y_invert
305
306
307 //1 71efkfs77q5tq9ex6y0f4kanh
308 // extern int GvExitOnUsage
309
310
311 //1 4xy2dkdkv0acs2ue9eca8hh2e
312 // extern Agsym_t *G_activepencolor, *G_activefillcolor, *G_selectedpencolor, *G_selectedfillcolor, *G_visitedpencolor, *G_visitedfillcolor, *G_deletedpencolor, *G_deletedfillcolor, *G_ordering, *G_peripheries, *G_penwidth, *G_gradientangle, *G_margin
313
314
315 //1 9js5gxgzr74eakgtfhnbws3t9
316 // extern Agsym_t *N_height, *N_width, *N_shape, *N_color, *N_fillcolor, *N_activepencolor, *N_activefillcolor, *N_selectedpencolor, *N_selectedfillcolor, *N_visitedpencolor, *N_visitedfillcolor, *N_deletedpencolor, *N_deletedfillcolor, *N_fontsize, *N_fontname, *N_fontcolor, *N_margin, *N_label, *N_xlabel, *N_nojustify, *N_style, *N_showboxes, *N_sides, *N_peripheries, *N_ordering, *N_orientation, *N_skew, *N_distortion, *N_fixed, *N_imagescale, *N_layer, *N_group, *N_comment, *N_vertices, *N_z, *N_penwidth, *N_gradientangle
317
318
319 //1 anqllp9sj7wo45w6bm11j8trn
320 // extern Agsym_t *E_weight, *E_minlen, *E_color, *E_fillcolor, *E_activepencolor, *E_activefillcolor, *E_selectedpencolor, *E_selectedfillcolor, *E_visitedpencolor, *E_visitedfillcolor, *E_deletedpencolor, *E_deletedfillcolor, *E_fontsize, *E_fontname, *E_fontcolor, *E_label, *E_xlabel, *E_dir, *E_style, *E_decorate, *E_showboxes, *E_arrowsz, *E_constr, *E_layer, *E_comment, *E_label_float, *E_samehead, *E_sametail, *E_arrowhead, *E_arrowtail, *E_headlabel, *E_taillabel, *E_labelfontsize, *E_labelfontname, *E_labelfontcolor, *E_labeldistance, *E_labelangle, *E_tailclip, *E_headclip, *E_penwidth
321
322
323 //1 bh0z9puipqw7gymjd5h5b8s6i
324 // extern struct fdpParms_s* fdp_parms
325
326
327
328
329 //3 ciez0pfggxdljedzsbklq49f0
330 // static inline point pointof(int x, int y)
331 public static Object pointof(Object... arg) {
332 UNSUPPORTED("8e4tj258yvfq5uhsdpk37n5eq"); // static inline point pointof(int x, int y)
333 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
334 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
335 UNSUPPORTED("12jimkrzqxavaie0cpapbx18c"); // r.x = x;
336 UNSUPPORTED("7ivmviysahgsc5nn9gtp7q2if"); // r.y = y;
337 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
338 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
339
340 throw new UnsupportedOperationException();
341 }
342
343
344
345
346 //3 c1s4k85p1cdfn176o3uryeros
347 // static inline pointf pointfof(double x, double y)
348 public static ST_pointf pointfof(double x, double y) {
349 // WARNING!! STRUCT
350 return pointfof_w_(x, y).copy();
351 }
352 private static ST_pointf pointfof_w_(double x, double y) {
353 ENTERING("c1s4k85p1cdfn176o3uryeros","pointfof");
354 try {
355 final ST_pointf r = new ST_pointf();
356 r.setDouble("x", x);
357 r.setDouble("y", y);
358 return r;
359 } finally {
360 LEAVING("c1s4k85p1cdfn176o3uryeros","pointfof");
361 }
362 }
363
364
365
366
367 //3 7cufnfitrh935ew093mw0i4b7
368 // static inline box boxof(int llx, int lly, int urx, int ury)
369 public static Object boxof(Object... arg) {
370 UNSUPPORTED("3lzesfdd337h31jrlib1czocm"); // static inline box boxof(int llx, int lly, int urx, int ury)
371 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
372 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
373 UNSUPPORTED("cylhjlutoc0sc0uy7g98m9fb8"); // b.LL.x = llx, b.LL.y = lly;
374 UNSUPPORTED("242of6revxzx8hpe7yerrchz6"); // b.UR.x = urx, b.UR.y = ury;
375 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
376 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
377
378 throw new UnsupportedOperationException();
379 }
380
381
382
383
384
385
386
387
388 //3 1n5xl70wxuabyf97mclvilsm6
389 // static inline point add_point(point p, point q)
390 public static Object add_point(Object... arg) {
391 UNSUPPORTED("6iamka1fx8fk1rohzzse8phte"); // static inline point add_point(point p, point q)
392 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
393 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
394 UNSUPPORTED("3n2sizjd0civbzm6iq7su1s2p"); // r.x = p.x + q.x;
395 UNSUPPORTED("65ygdo31w09i5i6bd2f7azcd3"); // r.y = p.y + q.y;
396 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
397 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
398
399 throw new UnsupportedOperationException();
400 }
401
402
403
404
405 //3 arrsbik9b5tnfcbzsm8gr2chx
406 // static inline pointf add_pointf(pointf p, pointf q)
407 public static ST_pointf add_pointf(final ST_pointf p, final ST_pointf q) {
408 // WARNING!! STRUCT
409 return add_pointf_w_(p.copy(), q.copy()).copy();
410 }
411 private static ST_pointf add_pointf_w_(final ST_pointf p, final ST_pointf q) {
412 ENTERING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
413 try {
414 final ST_pointf r = new ST_pointf();
415 r.setDouble("x", p.x + q.x);
416 r.setDouble("y", p.y + q.y);
417 return r;
418 } finally {
419 LEAVING("arrsbik9b5tnfcbzsm8gr2chx","add_pointf");
420 }
421 }
422
423
424
425
426 //3 ai2dprak5y6obdsflguh5qbd7
427 // static inline point sub_point(point p, point q)
428 public static Object sub_point(Object... arg) {
429 UNSUPPORTED("cd602849h0bce8lu9xegka0ia"); // static inline point sub_point(point p, point q)
430 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
431 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
432 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
433 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
434 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
435 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
436
437 throw new UnsupportedOperationException();
438 }
439
440
441
442
443 //3 16f6pyogcv3j7n2p0n8giqqgh
444 // static inline pointf sub_pointf(pointf p, pointf q)
445 public static Object sub_pointf(Object... arg) {
446 UNSUPPORTED("dmufj44lddsnj0wjyxsg2fcso"); // static inline pointf sub_pointf(pointf p, pointf q)
447 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
448 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
449 UNSUPPORTED("4q4q9dveah93si8ajfv59gz27"); // r.x = p.x - q.x;
450 UNSUPPORTED("9f90ik0o2yqhanzntpy3d2ydy"); // r.y = p.y - q.y;
451 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
452 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
453
454 throw new UnsupportedOperationException();
455 }
456
457
458
459
460 //3 9k50jgrhc4f9824vf8ony74rw
461 // static inline point mid_point(point p, point q)
462 public static Object mid_point(Object... arg) {
463 UNSUPPORTED("evy44tdsmu3erff9dp2x835u2"); // static inline point mid_point(point p, point q)
464 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
465 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
466 UNSUPPORTED("1a6p6fm57o0wt5ze2btsx06c7"); // r.x = (p.x + q.x) / 2;
467 UNSUPPORTED("1kbj5tgdmfi6kf4jgg6skhr6e"); // r.y = (p.y + q.y) / 2;
468 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
469 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
470
471 throw new UnsupportedOperationException();
472 }
473
474
475
476
477 //3 59c4f7im0ftyowhnzzq2v9o1x
478 // static inline pointf mid_pointf(pointf p, pointf q)
479 public static Object mid_pointf(Object... arg) {
480 UNSUPPORTED("381o63o9kb04d7gzg65v0r3q"); // static inline pointf mid_pointf(pointf p, pointf q)
481 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
482 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
483 UNSUPPORTED("c5vboetlr3mf43wns7iik6m1w"); // r.x = (p.x + q.x) / 2.;
484 UNSUPPORTED("bcdf562ldr3bjn78hcay5xd63"); // r.y = (p.y + q.y) / 2.;
485 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
486 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
487
488 throw new UnsupportedOperationException();
489 }
490
491
492
493
494 //3 5r18p38gisvcx3zsvbb9saixx
495 // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
496 public static Object interpolate_pointf(Object... arg) {
497 UNSUPPORTED("894yimn33kmtm454llwdaotu8"); // static inline pointf interpolate_pointf(double t, pointf p, pointf q)
498 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
499 UNSUPPORTED("ef2acl8wa2ooqcb5vz3098maz"); // pointf r;
500 UNSUPPORTED("5tpwuyf5iidesy80v8o4nwkmk"); // r.x = p.x + t * (q.x - p.x);
501 UNSUPPORTED("ewnrc5uloj3w5jbmsjcn3wja0"); // r.y = p.y + t * (q.y - p.y);
502 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
503 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
504
505 throw new UnsupportedOperationException();
506 }
507
508
509
510
511 //3 bxzrv2ghq04qk5cbyy68s4mol
512 // static inline point exch_xy(point p)
513 public static Object exch_xy(Object... arg) {
514 UNSUPPORTED("2vxya0v2fzlv5e0vjaa8d414"); // static inline point exch_xy(point p)
515 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
516 UNSUPPORTED("c0j3k9xv06332q98k2pgpacto"); // point r;
517 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
518 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
519 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
520 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
521
522 throw new UnsupportedOperationException();
523 }
524
525
526
527
528 //3 9lt3e03tac6h6sydljrcws8fd
529 // static inline pointf exch_xyf(pointf p)
530 public static Object exch_xyf(Object... arg) {
531 UNSUPPORTED("8qamrobrqi8jsvvfrxkimrsnw"); // static inline pointf exch_xyf(pointf p)
532 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
533 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
534 UNSUPPORTED("60cojdwc2h7f0m51s9jdwvup7"); // r.x = p.y;
535 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
536 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
537 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
538
539 throw new UnsupportedOperationException();
540 }
541
542
543
544
545 //3 8l9qhieokthntzdorlu5zn29b
546 // static inline box box_bb(box b0, box b1)
547 public static Object box_bb(Object... arg) {
548 UNSUPPORTED("36et5gmnjrby6o7bq9sgh1hx6"); // static inline box box_bb(box b0, box b1)
549 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
550 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
551 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
552 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
553 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
554 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
555 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
556 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
557
558 throw new UnsupportedOperationException();
559 }
560
561
562
563
564 //3 clws9h3bbjm0lw3hexf8nl4c4
565 // static inline boxf boxf_bb(boxf b0, boxf b1)
566 public static Object boxf_bb(Object... arg) {
567 UNSUPPORTED("dyrqu4ww9osr9c86gqgmifcp6"); // static inline boxf boxf_bb(boxf b0, boxf b1)
568 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
569 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
570 UNSUPPORTED("8mr2c9xitsqi8z1plbp7ox1hu"); // b.LL.x = MIN(b0.LL.x, b1.LL.x);
571 UNSUPPORTED("2egu55ef4u1i03nwz01k7kcrl"); // b.LL.y = MIN(b0.LL.y, b1.LL.y);
572 UNSUPPORTED("9n6ei3odbgefwfxvql9whcpe"); // b.UR.x = MAX(b0.UR.x, b1.UR.x);
573 UNSUPPORTED("19ocysbuh4pxyft2bqhyhigr1"); // b.UR.y = MAX(b0.UR.y, b1.UR.y);
574 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
575 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
576
577 throw new UnsupportedOperationException();
578 }
579
580
581
582
583 //3 bit6ycxo1iqd2al92y8gkzlvb
584 // static inline box box_intersect(box b0, box b1)
585 public static Object box_intersect(Object... arg) {
586 UNSUPPORTED("34gv28cldst09bl71itjgviue"); // static inline box box_intersect(box b0, box b1)
587 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
588 UNSUPPORTED("52u27kayecy1i1e8bbo8f7s9r"); // box b;
589 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
590 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
591 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
592 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
593 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
594 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
595
596 throw new UnsupportedOperationException();
597 }
598
599
600
601
602 //3 8gfybie7k6pgb3o1a6llgpwng
603 // static inline boxf boxf_intersect(boxf b0, boxf b1)
604 public static Object boxf_intersect(Object... arg) {
605 UNSUPPORTED("ape22b8z6jfg17gvo42hok9eb"); // static inline boxf boxf_intersect(boxf b0, boxf b1)
606 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
607 UNSUPPORTED("c57pq0f87j6dnbcvygu7v6k84"); // boxf b;
608 UNSUPPORTED("9slu7bixuymxttjic76ha2nl2"); // b.LL.x = MAX(b0.LL.x, b1.LL.x);
609 UNSUPPORTED("3uv943c2f82yuif249pf5azob"); // b.LL.y = MAX(b0.LL.y, b1.LL.y);
610 UNSUPPORTED("74tf5h16bc9zabq3s3dyny543"); // b.UR.x = MIN(b0.UR.x, b1.UR.x);
611 UNSUPPORTED("d99gcv3i7xes7y7rqf8ii20ux"); // b.UR.y = MIN(b0.UR.y, b1.UR.y);
612 UNSUPPORTED("2vmm1j57brhn455f8f3iyw6mo"); // return b;
613 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
614
615 throw new UnsupportedOperationException();
616 }
617
618
619
620
621 //3 7z8j2quq65govaaejrz7b4cvb
622 // static inline int box_overlap(box b0, box b1)
623 public static Object box_overlap(Object... arg) {
624 UNSUPPORTED("1e9k599x7ygct7r4cfdxlk9u9"); // static inline int box_overlap(box b0, box b1)
625 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
626 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
627 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
628
629 throw new UnsupportedOperationException();
630 }
631
632
633
634
635 //3 4z0suuut2acsay5m8mg9dqjdu
636 // static inline int boxf_overlap(boxf b0, boxf b1)
637 public static Object boxf_overlap(Object... arg) {
638 UNSUPPORTED("905nejsewihwhhc3bhnrz9nwo"); // static inline int boxf_overlap(boxf b0, boxf b1)
639 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
640 UNSUPPORTED("7a9wwpu7dhdphd08y1ecw54w5"); // return OVERLAP(b0, b1);
641 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
642
643 throw new UnsupportedOperationException();
644 }
645
646
647
648
649 //3 dd34swz5rmdgu3a2np2a4h1dy
650 // static inline int box_contains(box b0, box b1)
651 public static Object box_contains(Object... arg) {
652 UNSUPPORTED("aputfc30fjkvy6jx4otljaczq"); // static inline int box_contains(box b0, box b1)
653 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
654 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
655 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
656
657 throw new UnsupportedOperationException();
658 }
659
660
661
662
663 //3 8laj1bspbu2i1cjd9upr7xt32
664 // static inline int boxf_contains(boxf b0, boxf b1)
665 public static Object boxf_contains(Object... arg) {
666 UNSUPPORTED("7ccnttkiwt834yfyw0evcm18v"); // static inline int boxf_contains(boxf b0, boxf b1)
667 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
668 UNSUPPORTED("87ap80vrh2a4gpprbxr33lrg3"); // return CONTAINS(b0, b1);
669 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
670
671 throw new UnsupportedOperationException();
672 }
673
674
675
676
677 //3 4wf5swkz24xx51ja2dynbycu1
678 // static inline pointf perp (pointf p)
679 public static Object perp(Object... arg) {
680 UNSUPPORTED("567wpqlg9rv63ynyvxd9sgkww"); // static inline pointf perp (pointf p)
681 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
682 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
683 UNSUPPORTED("2fyydy6t6yifjsczccsb9szeg"); // r.x = -p.y;
684 UNSUPPORTED("evp2x66oa4s1tlnc0ytxq2qbq"); // r.y = p.x;
685 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
686 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
687
688 throw new UnsupportedOperationException();
689 }
690
691
692
693
694 //3 6dtlpzv4mvgzb9o0b252yweuv
695 // static inline pointf scale (double c, pointf p)
696 public static Object scale(Object... arg) {
697 UNSUPPORTED("c1ngytew34bmkdb7vps5h3dh8"); // static inline pointf scale (double c, pointf p)
698 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
699 UNSUPPORTED("cvexv13y9fq49v0j4d5t4cm9f"); // pointf r;
700 UNSUPPORTED("dznf7nac14snww4usquyd6r3r"); // r.x = c * p.x;
701 UNSUPPORTED("33kk73m8vjcux5tnjl8co2pe6"); // r.y = c * p.y;
702 UNSUPPORTED("a2hk6w52njqjx48nq3nnn2e5i"); // return r;
703 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
704
705 throw new UnsupportedOperationException();
706 }
707
708
709
710
711 //3 4wkeqik2dt7ecr64ej6ltbnvb
712 // static void storeline(GVC_t *gvc, textlabel_t *lp, char *line, char terminator)
713 //private static __struct__<textfont_t> tf = JUtils.from(textfont_t.class);
714 public static void storeline(ST_GVC_s gvc, ST_textlabel_t lp, CString line, char terminator) {
715 ENTERING("4wkeqik2dt7ecr64ej6ltbnvb","storeline");
716 try {
717 final ST_pointf size = new ST_pointf();
718 ST_textspan_t span = null;
719 int oldsz = lp.nspans + 1;
720 lp.span = ZALLOC_ST_textspan_t((ST_textspan_t.Array) lp.span, oldsz + 1);
721 span = lp.span.get(lp.nspans);
722 span.str = line;
723 span.just = terminator;
724 if (line!=null && line.charAt(0)!='\0') {
725 Z.z().tf.name = lp.fontname;
726 Z.z().tf.size = lp.fontsize;
727 // WE CHEAT
728 size.x = 0.0;
729 size.y = (int)(lp.fontsize * 1.20);
730 hackInitDimensionFromLabel(size, line.getContent());
731 span.size.y = (int)size.y;
732 }
733 else {
734 System.err.println("YOU SHOULD NOT SEE THAT");
735 size.x = 0.0;
736 size.y = (int)(lp.fontsize * 1.20);
737 span.size.y = (int)(lp.fontsize * 1.20);
738 }
739 lp.nspans = lp.nspans + 1;
740 /* width = max line width */
741 lp.dimen.x = MAX(lp.dimen.x, size.x);
742 /* accumulate height */
743 lp.dimen.y = lp.dimen.y + size.y;
744 } finally {
745 LEAVING("4wkeqik2dt7ecr64ej6ltbnvb","storeline");
746 }
747 }
748
749
750
751
752 //3 22ar72ye93a8ntj8pagnt5b5k
753 // void make_simple_label(GVC_t * gvc, textlabel_t * lp)
754 public static void make_simple_label(ST_GVC_s gvc, ST_textlabel_t lp) {
755 ENTERING("22ar72ye93a8ntj8pagnt5b5k","make_simple_label");
756 try {
757 char c;
758 CString p, line, lineptr, str = lp.text;
759 char bytee = 0x00;
760 ((ST_pointf) lp.dimen).x = 0.0;
761 ((ST_pointf) lp.dimen).y = 0.0;
762 if (str.charAt(0) == '\0')
763 return;
764 line = lineptr = null;
765 p = str;
766 line = lineptr = gmalloc((strlen(p) + 1));
767 line.setCharAt(0, '\0');
768 while ((c = p.charAt(0))!='\0') {
769 p = p.plus(1);
770 bytee = c;
771 /* wingraphviz allows a combination of ascii and big-5. The latter
772 * is a two-byte encoding, with the first byte in 0xA1-0xFE, and
773 * the second in 0x40-0x7e or 0xa1-0xfe. We assume that the input
774 * is well-formed, but check that we don't go past the ending '\0'.
775 */
776 if ((lp.charset == 2) && 0xA1 <= bytee && bytee <= 0xFE) {
777 UNSUPPORTED("6la63t1mnqv30shyyp3yfroxb"); // *lineptr++ = c;
778 UNSUPPORTED("ebmmarxykvf76hmfmjuk0ssjz"); // c = *p++;
779 UNSUPPORTED("6la63t1mnqv30shyyp3yfroxb"); // *lineptr++ = c;
780 UNSUPPORTED("1kri3b36twfj4t7bvjbrt6dhs"); // if (!c) /* NB. Protect against unexpected string end here */
781 UNSUPPORTED("9ekmvj13iaml5ndszqyxa8eq"); // break;
782 } else {
783 if (c == '\\') {
784 switch (p.charAt(0)) {
785 case 'n':
786 case 'l':
787 case 'r':
788 lineptr.setCharAt(0, '\0');
789 lineptr = lineptr.plus(1);
790 storeline(gvc, lp, line, p.charAt(0));
791 line = lineptr;
792 break;
793 default:
794 lineptr.setCharAt(0, p.charAt(0));
795 lineptr = lineptr.plus(1);
796 }
797 if (p.charAt(0)!='\0')
798 p = p.plus(1);
799 /* tcldot can enter real linend characters */
800 } else if (c == '\n') {
801 lineptr.setCharAt(0, '\0');
802 lineptr = lineptr.plus(1);
803 storeline(gvc, lp, line, 'n');
804 line = lineptr;
805 } else {
806 lineptr.setCharAt(0, c);
807 lineptr = lineptr.plus(1);
808 }
809 }
810 }
811 if (NEQ(line, lineptr)) {
812 lineptr.setCharAt(0, '\0');
813 lineptr = lineptr.plus(1);
814 storeline(gvc, lp, line, 'n');
815 }
816 lp.setStruct("space", lp.dimen);
817 } finally {
818 LEAVING("22ar72ye93a8ntj8pagnt5b5k","make_simple_label");
819 }
820 }
821
822
823
824
825 //3 ecq5lydlrjrlaz8o6vm6svc8i
826 // textlabel_t *make_label(void *obj, char *str, int kind, double fontsize, char *fontname, char *fontcolor)
827 public static ST_textlabel_t make_label(__ptr__ obj, CString str, int kind, double fontsize, CString fontname, CString fontcolor) {
828 ENTERING("ecq5lydlrjrlaz8o6vm6svc8i","make_label");
829 try {
830 ST_textlabel_t rv = new ST_textlabel_t();
831 ST_Agraph_s g = null, sg = null;
832 ST_Agnode_s n = null;
833 ST_Agedge_s e = null;
834 CString s = null;
835 switch (agobjkind(obj)) {
836 case AGRAPH:
837 sg = (ST_Agraph_s)obj;
838 g = (ST_Agraph_s) sg.root;
839 break;
840 case AGNODE:
841 n = (ST_Agnode_s)obj.castTo(ST_Agnode_s.class);
842 g = agroot(agraphof(n));
843 break;
844 case AGEDGE:
845 e = (ST_Agedge_s)obj.castTo(ST_Agedge_s.class);
846 g = agroot(agraphof(aghead(e)));
847 break;
848 }
849 rv.setPtr("fontname", fontname);
850 rv.setPtr("fontcolor", fontcolor);
851 rv.setDouble("fontsize", fontsize);
852 rv.charset = ((ST_Agraphinfo_t)g.castTo_ST_Agobj_s().data.castTo(ST_Agraphinfo_t.class)).charset;
853 if ((kind & (2 << 1))!=0) {
854 rv.setPtr("text", str.strdup());
855 if ((kind & (1 << 1))!=0) {
856 rv.html = (N(0));
857 }
858 }
859 else if (kind == (1 << 1)) {
860 rv.setPtr("text", str.strdup());
861 rv.html = N(0);
862 if (make_html_label(obj, rv)!=0) {
863 switch (agobjkind(obj)) {
864 case AGRAPH:
865 UNSUPPORTED("agerr(AGPREV, in label of graph %s\n,agnameof(sg));");
866 break;
867 case AGNODE:
868 UNSUPPORTED("agerr(AGPREV, in label of node %s\n, agnameof(n));");
869 break;
870 case AGEDGE:
871 UNSUPPORTED("agerr(AGPREV, in label of edge %s %s %s\n,");
872 // agnameof(((((((Agobj_t*)(e))->tag).objtype) == 3? (e): ((e)+1))->node)), agisdirected(g)?"->":"--", agnameof(((((((Agobj_t*)(e))->tag).objtype) == 2? (e): ((e)-1))->node)));
873 break;
874 }
875 }
876 }
877 else {
878 //assert(kind == (0 << 1));
879 /* This call just processes the graph object based escape sequences. The formatting escape
880 * sequences (\n, \l, \r) are processed in make_simple_label. That call also replaces \\ with \.
881 */
882 rv.setPtr("text", strdup_and_subst_obj0(str, obj, 0));
883 switch (rv.charset) {
884 case 1:
885 UNSUPPORTED("s = latin1ToUTF8(rv->text);");
886 break;
887 default: /* UTF8 */
888 s = htmlEntityUTF8(rv.text, g);
889 break;
890 }
891 Memory.free(rv.text);
892 rv.setPtr("text", s);
893 make_simple_label(g.castTo_ST_Agobj_s().data.castTo_ST_Agraphinfo_t().gvc, rv);
894 }
895 return rv;
896 } finally {
897 LEAVING("ecq5lydlrjrlaz8o6vm6svc8i","make_label");
898 }
899 }
900
901
902
903
904 //3 1qv9kl0wi0snf1xtrb6vo2yiu
905 // void free_textspan(textspan_t * tl, int cnt)
906 public static Object free_textspan(Object... arg) {
907 UNSUPPORTED("eh9j8hhtolluyaegv937nnpys"); // void free_textspan(textspan_t * tl, int cnt)
908 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
909 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
910 UNSUPPORTED("4iuvdwfqjfqyk7dpy1s8mgw2o"); // textspan_t* tlp = tl;
911 UNSUPPORTED("1f70128zxfm2jtz3ebwavc3nc"); // if (!tl) return;
912 UNSUPPORTED("3r70mdmcurt4csiwolv9n6mmh"); // for (i = 0; i < cnt; i++) {
913 UNSUPPORTED("anxpl4mk65alvdjja9pn97kro"); // if ((i == 0) && tlp->str)
914 UNSUPPORTED("1fhpzk3z0aliuuzuovdmsmp7d"); // free(tlp->str);
915 UNSUPPORTED("b0d4wly929yfs331ilovdcqjo"); // if (tlp->layout && tlp->free_layout)
916 UNSUPPORTED("40xyvfopujwdcztwx5vs27p5d"); // tlp->free_layout (tlp->layout);
917 UNSUPPORTED("72ldhje939sa8dg5ttywkmwa6"); // tlp++;
918 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
919 UNSUPPORTED("4pi9nz7hlvy0eo98r6tzd0oy"); // free(tl);
920 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
921
922 throw new UnsupportedOperationException();
923 }
924
925
926
927
928 //3 2palqnlr5u0ssnag1bp5tq510
929 // void free_label(textlabel_t * p)
930 public static Object free_label(Object... arg) {
931 UNSUPPORTED("7fgqv20ow9mktpealn2ueqf9i"); // void free_label(textlabel_t * p)
932 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
933 UNSUPPORTED("3cvmixd2u1g2d9l03kuxyyxxw"); // if (p) {
934 UNSUPPORTED("26ktwrszmdk4inac0pxe7mudg"); // free(p->text);
935 UNSUPPORTED("6sxnt2ovvq1ihlz4odqepnnln"); // if (p->html) {
936 UNSUPPORTED("8p452npbufapts0rm8ff82xfu"); // if (p->u.html) free_html_label(p->u.html, 1);
937 UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else {
938 UNSUPPORTED("ghxtimeg851hu16krg2dnb14"); // free_textspan(p->u.txt.span, p->u.txt.nspans);
939 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
940 UNSUPPORTED("cy5x5dma0v4hiepir7lrfuo17"); // free(p);
941 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
942 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
943
944 throw new UnsupportedOperationException();
945 }
946
947
948
949
950 //3 a0gse5mgpw0xhsmu4lwellfdq
951 // void emit_label(GVJ_t * job, emit_state_t emit_state, textlabel_t * lp)
952 public static Object emit_label(Object... arg) {
953 UNSUPPORTED("2bspalmq4q86q66b0sehcnui"); // void emit_label(GVJ_t * job, emit_state_t emit_state, textlabel_t * lp)
954 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
955 UNSUPPORTED("84llcpxtvxaggx841n2t03850"); // obj_state_t *obj = job->obj;
956 UNSUPPORTED("b17di9c7wgtqm51bvsyxz6e2f"); // int i;
957 UNSUPPORTED("2bghyit203pd6xw2ihhenzyn8"); // pointf p;
958 UNSUPPORTED("ecr1y7qy0ikxkidkdfvwv88ir"); // emit_state_t old_emit_state;
959 UNSUPPORTED("c3lqudp40feg72zp97ngqkww9"); // old_emit_state = obj->emit_state;
960 UNSUPPORTED("3ook7gsw0rr7b6uwm9f5a5dtx"); // obj->emit_state = emit_state;
961 UNSUPPORTED("17ejiipjo2ljqtqe4rkpx6b15"); // if (lp->html) {
962 UNSUPPORTED("8jyhluz8a51w5y5qalhlrpgnp"); // emit_html_label(job, lp->u.html, lp);
963 UNSUPPORTED("2rghcn1n5g9f29wxd8nqhub0p"); // obj->emit_state = old_emit_state;
964 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
965 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
966 UNSUPPORTED("71u0rnrd0pn6urf5ttv39ec5d"); // /* make sure that there is something to do */
967 UNSUPPORTED("c4lzcn6qndbrx4u9kybwfk11l"); // if (lp->u.txt.nspans < 1)
968 UNSUPPORTED("a7fgam0j0jm7bar0mblsv3no4"); // return;
969 UNSUPPORTED("2qj4sjf5amdyhvqsi47mei07v"); // gvrender_begin_label(job, LABEL_PLAIN);
970 UNSUPPORTED("bl5mm7hn2il0n2e623rbq8q5w"); // gvrender_set_pencolor(job, lp->fontcolor);
971 UNSUPPORTED("8a1fbspdbpecd6k8uj7bse1cx"); // /* position for first span */
972 UNSUPPORTED("f433l06cgmbaiibsv9a9tjun8"); // switch (lp->valign) {
973 UNSUPPORTED("c66d69vmpko3goomc3npvjhy3"); // case 't':
974 UNSUPPORTED("63ukdafw48pf9seqbe8vedft9"); // p.y = lp->pos.y + lp->space.y / 2.0 - lp->fontsize;
975 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
976 UNSUPPORTED("5coaag9ev3fzc0jtpkjkfvhd2"); // case 'b':
977 UNSUPPORTED("eodoiejpigubj8in93lnnc05d"); // p.y = lp->pos.y - lp->space.y / 2.0 + lp->dimen.y - lp->fontsize;
978 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
979 UNSUPPORTED("f3lyz2cejs6yn5fyckhn7ba1"); // case 'c':
980 UNSUPPORTED("8jmef3sfg06sme4q6t23ms8i7"); // default:
981 UNSUPPORTED("bicy4u16zheftiukscavoqq3c"); // p.y = lp->pos.y + lp->dimen.y / 2.0 - lp->fontsize;
982 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
983 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
984 UNSUPPORTED("8mg9hiit60q1ve98yormydem5"); // for (i = 0; i < lp->u.txt.nspans; i++) {
985 UNSUPPORTED("aq0sxux77sg7whxt7hslkske3"); // switch (lp->u.txt.span[i].just) {
986 UNSUPPORTED("bwy7mh2nb7lz950r20rfilwa4"); // case 'l':
987 UNSUPPORTED("ds60aoxxlta1y3r5wuo09mzzp"); // p.x = lp->pos.x - lp->space.x / 2.0;
988 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
989 UNSUPPORTED("43ds1cyu29ex66kcjszrcu3mp"); // case 'r':
990 UNSUPPORTED("1103h1zfvqia1xelrw919hw2p"); // p.x = lp->pos.x + lp->space.x / 2.0;
991 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
992 UNSUPPORTED("1drv0xz8hp34qnf72b4jpprg2"); // default:
993 UNSUPPORTED("f187wptsr73liavtlyoyfovp3"); // case 'n':
994 UNSUPPORTED("7tkhws043t1k3ra1n1191ld2m"); // p.x = lp->pos.x;
995 UNSUPPORTED("ai3czg6gaaxspsmndknpyvuiu"); // break;
996 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
997 UNSUPPORTED("a00q6gh3dlg3gdt95e6rt129n"); // gvrender_textspan(job, p, &(lp->u.txt.span[i]));
998 UNSUPPORTED("dczp8jeltzgwb21pyxgxyrasy"); // /* UL position for next span */
999 UNSUPPORTED("33byiwlc3a1j2oeyyqf04jpoo"); // p.y -= lp->u.txt.span[i].size.y;
1000 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1001 UNSUPPORTED("8bm7lzosnhuf0od7i4hkgzovo"); // gvrender_end_label(job);
1002 UNSUPPORTED("b1bkq4eyrmepbxyb3qiuhi8b8"); // obj->emit_state = old_emit_state;
1003 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1004
1005 throw new UnsupportedOperationException();
1006 }
1007
1008
1009
1010
1011 //3 ajohywvjbrvkc7zca2uew6ghm
1012 // static char *strdup_and_subst_obj0 (char *str, void *obj, int escBackslash)
1013 public static CString strdup_and_subst_obj0(CString str, __ptr__ obj, int escBackslash) {
1014 ENTERING("ajohywvjbrvkc7zca2uew6ghm","strdup_and_subst_obj0");
1015 try {
1016 char c; CString s, p, t, newstr;
1017 CString tp_str = new CString(""), hp_str = new CString("");
1018 CString g_str = new CString("\\G"), n_str = new CString("\\N"), e_str = new CString("\\E"),
1019 h_str = new CString("\\H"), t_str = new CString("\\T"), l_str = new CString("\\L");
1020 int g_len = 2, n_len = 2, e_len = 2,
1021 h_len = 2, t_len = 2, l_len = 2,
1022 tp_len = 0, hp_len = 0;
1023 int newlen = 0;
1024 int isEdge = 0;
1025 ST_textlabel_t tl;
1026 final ST_port pt = new ST_port();
1027 /* prepare substitution strings */
1028 switch (agobjkind(obj)) {
1029 case AGRAPH:
1030 g_str = agnameof((ST_Agraph_s)obj);
1031 g_len = strlen(g_str);
1032 tl = GD_label((ST_Agraph_s)obj);
1033 if (tl!=null) {
1034 l_str = tl.text;
1035 if (str!=null) l_len = strlen(l_str);
1036 }
1037 break;
1038 case AGNODE:
1039 g_str = agnameof(agraphof(obj.castTo(ST_Agnode_s.class)));
1040 g_len = strlen(g_str);
1041 n_str = agnameof(obj.castTo(ST_Agnode_s.class));
1042 n_len = strlen(n_str);
1043 tl = (ST_textlabel_t) ((ST_Agnode_s)obj.castTo(ST_Agnode_s.class)).castTo_ST_Agobj_s().data.castTo_ST_Agnodeinfo_t().label;
1044 if (tl!=null) {
1045 l_str = tl.text;
1046 if (str!=null) l_len = strlen(l_str);
1047 }
1048 break;
1049 case AGEDGE:
1050 isEdge = 1;
1051 g_str = agnameof(agroot(agraphof(agtail((obj.castTo(ST_Agedge_s.class))))));
1052 g_len = strlen(g_str);
1053 t_str = agnameof(agtail((obj.castTo(ST_Agedge_s.class))));
1054 t_len = strlen(t_str);
1055 pt.___(ED_tail_port(obj.castTo(ST_Agedge_s.class)));
1056 if ((tp_str = pt.name)!=null)
1057 tp_len = strlen(tp_str);
1058 h_str = agnameof(aghead((obj.castTo(ST_Agedge_s.class))));
1059 h_len = strlen(h_str);
1060 pt.___(ED_head_port(obj.castTo(ST_Agedge_s.class)));
1061 if ((hp_str = pt.name)!=null)
1062 hp_len = strlen(hp_str);
1063 h_len = strlen(h_str);
1064 tl = ED_label(obj.castTo(ST_Agedge_s.class));
1065 if (tl!=null) {
1066 l_str = tl.text;
1067 if (str!=null) l_len = strlen(l_str);
1068 }
1069 if (agisdirected(agroot(agraphof(agtail((obj.castTo(ST_Agedge_s.class)))))))
1070 e_str = new CString("->");
1071 else
1072 e_str = new CString("--");
1073 e_len = t_len + (tp_len!=0?tp_len+1:0) + 2 + h_len + (hp_len!=0?hp_len+1:0);
1074 break;
1075 }
1076 /* two passes over str.
1077 *
1078 * first pass prepares substitution strings and computes
1079 * total length for newstring required from malloc.
1080 */
1081 for (s = str; ;) {
1082 c = s.charAt(0);
1083 s = s.plus(1);
1084 if (c=='\0') break;
1085 if (c == '\\') {
1086 c = s.charAt(0);
1087 s = s.plus(1);
1088 switch (c) {
1089 case 'G':
1090 newlen += g_len;
1091 break;
1092 case 'N':
1093 newlen += n_len;
1094 break;
1095 case 'E':
1096 newlen += e_len;
1097 break;
1098 case 'H':
1099 newlen += h_len;
1100 break;
1101 case 'T':
1102 newlen += t_len;
1103 break;
1104 case 'L':
1105 newlen += l_len;
1106 break;
1107 case '\\':
1108 if (escBackslash!=0) {
1109 newlen += 1;
1110 break;
1111 }
1112 /* Fall through */
1113 default: /* leave other escape sequences unmodified, e.g. \n \l \r */
1114 newlen += 2;
1115 }
1116 } else {
1117 newlen++;
1118 }
1119 }
1120 /* allocate new string */
1121 newstr = gmalloc(newlen + 1);
1122 /* second pass over str assembles new string */
1123 p = newstr;
1124 for (s = str; ;) {
1125 c = s.charAt(0);
1126 s = s.plus(1);
1127 if (c=='\0') break;
1128 if (c == '\\') {
1129 c = s.charAt(0);
1130 s = s.plus(1);
1131 switch (c) {
1132 case 'G':
1133 UNSUPPORTED("for (t = g_str; (*p = *t++); p++);");
1134 break;
1135 case 'N':
1136 for (t = n_str; ; ) {
1137 p.setCharAt(0, t.charAt(0));
1138 t = t.plus(1);
1139 if (p.charAt(0)=='\0') break;
1140 p = p.plus(1);
1141 }
1142 break;
1143 case 'E':
1144 UNSUPPORTED("if (isEdge) {");
1145 /* for (t = t_str; (*p = *t++); p++);
1146 if (tp_len) {
1147 *p++ = ':';
1148 for (t = tp_str; (*p = *t++); p++);
1149 }
1150 for (t = e_str; (*p = *t++); p++);
1151 for (t = h_str; (*p = *t++); p++);
1152 if (hp_len) {
1153 *p++ = ':';
1154 for (t = hp_str; (*p = *t++); p++);
1155 }
1156 }*/
1157 break;
1158 case 'T':
1159 UNSUPPORTED("for (t = t_str; (*p = *t++); p++);");
1160 break;
1161 case 'H':
1162 UNSUPPORTED("for (t = h_str; (*p = *t++); p++);");
1163 break;
1164 case 'L':
1165 UNSUPPORTED("for (t = l_str; (*p = *t++); p++);");
1166 break;
1167 case '\\':
1168 UNSUPPORTED("if (escBackslash) {");
1169 /* *p++ = '\\';
1170 break;
1171 }*/
1172 /* Fall through */
1173 default: /* leave other escape sequences unmodified, e.g. \n \l \r */
1174 p.setCharAt(0, '\\');
1175 p = p.plus(1);
1176 p.setCharAt(0, c);
1177 p = p.plus(1);
1178 break;
1179 }
1180 } else {
1181 p.setCharAt(0, c);
1182 p = p.plus(1);
1183 }
1184 }
1185 p.setCharAt(0, '\0');
1186 p = p.plus(1);
1187 return newstr;
1188 } finally {
1189 LEAVING("ajohywvjbrvkc7zca2uew6ghm","strdup_and_subst_obj0");
1190 }
1191 }
1192
1193
1194
1195
1196 //3 af2a0cdl8ld7bbq0qu0rt1d8z
1197 // char *strdup_and_subst_obj(char *str, void *obj)
1198 public static CString strdup_and_subst_obj(CString str, __ptr__ obj) {
1199 ENTERING("af2a0cdl8ld7bbq0qu0rt1d8z","strdup_and_subst_obj");
1200 try {
1201 UNSUPPORTED("7eeocxzl6qhtvcv7gnh73o7d1"); // char *strdup_and_subst_obj(char *str, void *obj)
1202 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1203 UNSUPPORTED("67419rdrhawe7vudn882sohkd"); // return strdup_and_subst_obj0 (str, obj, 1);
1204 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1205
1206 throw new UnsupportedOperationException();
1207 } finally {
1208 LEAVING("af2a0cdl8ld7bbq0qu0rt1d8z","strdup_and_subst_obj");
1209 }
1210 }
1211
1212
1213
1214
1215 //3 bevzgi4opmmgxwksl1lssepxc
1216 // static int xml_isentity(char *s)
1217 public static Object xml_isentity(Object... arg) {
1218 UNSUPPORTED("ddxpdim5n11qvep9b61kpijae"); // static int xml_isentity(char *s)
1219 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1220 UNSUPPORTED("7309b02hjekdyss2l1jlfa3o5"); // s++; /* already known to be '&' */
1221 UNSUPPORTED("ee1xg58k0yj6mgak36f7bqx4z"); // if (*s == '#') {
1222 UNSUPPORTED("1fe0kohehgdxhenrepo7ymdcw"); // s++;
1223 UNSUPPORTED("autyof60ysqv0zxvcovs8ol1o"); // if (*s == 'x' || *s == 'X') {
1224 UNSUPPORTED("8dqpp2f04tbhgnmk4gjjb8dga"); // s++;
1225 UNSUPPORTED("7z8kjrmcms9gfhq10a65dbjog"); // while ((*s >= '0' && *s <= '9')
1226 UNSUPPORTED("cvyao8709l4lhttkvu9hcnvne"); // || (*s >= 'a' && *s <= 'f')
1227 UNSUPPORTED("5q6n6p2xf3gohuffw81ur8vhb"); // || (*s >= 'A' && *s <= 'F'))
1228 UNSUPPORTED("zybbca41b450wccgr0kkur00"); // s++;
1229 UNSUPPORTED("7yhr8hn3r6wohafwxrt85b2j2"); // } else {
1230 UNSUPPORTED("1hg41j8n8b0uz0lmqlqcy30so"); // while (*s >= '0' && *s <= '9')
1231 UNSUPPORTED("zybbca41b450wccgr0kkur00"); // s++;
1232 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1233 UNSUPPORTED("c07up7zvrnu2vhzy6d7zcu94g"); // } else {
1234 UNSUPPORTED("8h0cru3h3jveaqc5sgyq4rk71"); // while ((*s >= 'a' && *s <= 'z')
1235 UNSUPPORTED("31bir978ftxj7zjleb3mr1bei"); // || (*s >= 'A' && *s <= 'Z'))
1236 UNSUPPORTED("8dqpp2f04tbhgnmk4gjjb8dga"); // s++;
1237 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1238 UNSUPPORTED("9hcbv4ydnt8trlfaz870sjsyh"); // if (*s == ';')
1239 UNSUPPORTED("eleqpc2p2r3hvma6tipoy7tr"); // return 1;
1240 UNSUPPORTED("5oxhd3fvp0gfmrmz12vndnjt"); // return 0;
1241 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1242
1243 throw new UnsupportedOperationException();
1244 }
1245
1246
1247
1248
1249 //3 57faqt3qjliznr0tkqn1ebjgk
1250 // char *xml_string(char *s)
1251 public static Object xml_string(Object... arg) {
1252 UNSUPPORTED("bnxc0qd7mqxuf0ayp7tmgh9i0"); // char *xml_string(char *s)
1253 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1254 UNSUPPORTED("1ufug0n20nuue5zidl5g8283p"); // return xml_string0 (s, 0);
1255 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1256
1257 throw new UnsupportedOperationException();
1258 }
1259
1260
1261
1262
1263 //3 2ukbjx5sti6tulvxdrftanx4p
1264 // char *xml_string0(char *s, boolean raw)
1265 public static Object xml_string0(Object... arg) {
1266 UNSUPPORTED("c15krv3c4yexqimy1thaiy4zm"); // char *xml_string0(char *s, boolean raw)
1267 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1268 UNSUPPORTED("210phh7av8ei8ajjmpptx96m6"); // static char *buf = NULL;
1269 UNSUPPORTED("6fpm1wk8mz0hofn15361g6nzn"); // static int bufsize = 0;
1270 UNSUPPORTED("1q9p9mppsiolvz4xyp1xfe8s2"); // char *p, *sub, *prev = NULL;
1271 UNSUPPORTED("9ee5mdh9hsw491mz8n88ey33d"); // int len, pos = 0;
1272 UNSUPPORTED("cjyiejw67ffjjsk60tgeebvif"); // if (!buf) {
1273 UNSUPPORTED("4xkxdnucjd4ldoikgelnsa7c9"); // bufsize = 64;
1274 UNSUPPORTED("9pvgystp8nwvblycum3rps3tz"); // buf = gmalloc(bufsize);
1275 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1276 UNSUPPORTED("dpfzdhkfq6u86uv5f9lnqfbpq"); // p = buf;
1277 UNSUPPORTED("e8ng575h9ts71v7d04mtpxyr5"); // while (s && *s) {
1278 UNSUPPORTED("85svsyrkaau2681m7ya7tygx6"); // if (pos > (bufsize - 8)) {
1279 UNSUPPORTED("aa09fjtytqkag416h6457rmkr"); // bufsize *= 2;
1280 UNSUPPORTED("3vu2n3g10rrkdmia0oyndfj4s"); // buf = grealloc(buf, bufsize);
1281 UNSUPPORTED("cz6j3s7zlvrbs83g3e42o83z7"); // p = buf + pos;
1282 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1283 UNSUPPORTED("97iud4axotxlk7ywlijb75m3d"); // /* escape '&' only if not part of a legal entity sequence */
1284 UNSUPPORTED("4x9tn37kkejgziq8i1mkuzm2l"); // if (*s == '&' && (raw || !(xml_isentity(s)))) {
1285 UNSUPPORTED("cac1jzftgtiz1fvztpxrb5pzr"); // sub = "&amp;";
1286 UNSUPPORTED("17g0bn2jwfuvdxn93z9lsronr"); // len = 5;
1287 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1288 UNSUPPORTED("7e1vaedh6l0yfegrgw9donb9e"); // /* '<' '>' are safe to substitute even if string is already UTF-8 coded
1289 UNSUPPORTED("2hspzajrej6p5fmxtp3xo33mw"); // * since UTF-8 strings won't contain '<' or '>' */
1290 UNSUPPORTED("3xg4wo6utmvnlgyvg8ciz4tey"); // else if (*s == '<') {
1291 UNSUPPORTED("13qv1mf2mabbasi5mgrjsqs3n"); // sub = "&lt;";
1292 UNSUPPORTED("cn6mu8yh8covbdy1zkhq7256"); // len = 4;
1293 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1294 UNSUPPORTED("art2agkl4px2ncm5gmygaoi4v"); // else if (*s == '>') {
1295 UNSUPPORTED("dbkjqbduusn4tza1p3ng8iuyi"); // sub = "&gt;";
1296 UNSUPPORTED("cn6mu8yh8covbdy1zkhq7256"); // len = 4;
1297 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1298 UNSUPPORTED("aundz2f5ze9pcxo1dksgg0zxi"); // else if (*s == '-') { /* can't be used in xml comment strings */
1299 UNSUPPORTED("37g3n162xpdox7os6l6tphpwc"); // sub = "&#45;";
1300 UNSUPPORTED("17g0bn2jwfuvdxn93z9lsronr"); // len = 5;
1301 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1302 UNSUPPORTED("1lvkv9camdmveih40gwylsnw6"); // else if (*s == ' ' && prev && *prev == ' ') {
1303 UNSUPPORTED("b0atdb6d1uzal5s04csjvyq30"); // /* substitute 2nd and subsequent spaces with required_spaces */
1304 UNSUPPORTED("72g8c8ott8fvqjni8tir0plf7"); // sub = "&#160;"; /* inkscape doesn't recognise &nbsp; */
1305 UNSUPPORTED("axaethtisavqkan2dx7laigpw"); // len = 6;
1306 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1307 UNSUPPORTED("9e32cag083iuoabhlvpcldsa8"); // else if (*s == '"') {
1308 UNSUPPORTED("4w7kby1vesehrcs7zpowfb0q6"); // sub = "&quot;";
1309 UNSUPPORTED("axaethtisavqkan2dx7laigpw"); // len = 6;
1310 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1311 UNSUPPORTED("akz9vs5rt6crj61e0batgdi09"); // else if (*s == '\'') {
1312 UNSUPPORTED("6ohptq6v6vjhjivmjf7d5auoz"); // sub = "&#39;";
1313 UNSUPPORTED("17g0bn2jwfuvdxn93z9lsronr"); // len = 5;
1314 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1315 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1316 UNSUPPORTED("adxr80w3fzxvf4gxvbuo78rm5"); // sub = s;
1317 UNSUPPORTED("ct414lk8my1pywj7ypk05e6d"); // len = 1;
1318 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1319 UNSUPPORTED("25ryz7f7izh8r6792860c1d0y"); // while (len--) {
1320 UNSUPPORTED("byu93mjyl867v3xyy1fb9pw9"); // *p++ = *sub++;
1321 UNSUPPORTED("27349aw1zezm0lpez1jn3pcw4"); // pos++;
1322 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1323 UNSUPPORTED("5j7yubj14qnrajv5mpkfylpk3"); // prev = s;
1324 UNSUPPORTED("1fe0kohehgdxhenrepo7ymdcw"); // s++;
1325 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1326 UNSUPPORTED("2t1d66kwn86kqh0i665hqw6cl"); // *p = '\0';
1327 UNSUPPORTED("5jfpogdyby101eyuw2dhtb5cg"); // return buf;
1328 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1329
1330 throw new UnsupportedOperationException();
1331 }
1332
1333
1334
1335
1336 //3 d3mybo5t72cpoks3gfdfynkjw
1337 // char *xml_url_string(char *s)
1338 public static Object xml_url_string(Object... arg) {
1339 UNSUPPORTED("9u7qpiphyo8n8zc8n1071b67e"); // char *xml_url_string(char *s)
1340 UNSUPPORTED("erg9i1970wdri39osu8hx2a6e"); // {
1341 UNSUPPORTED("210phh7av8ei8ajjmpptx96m6"); // static char *buf = NULL;
1342 UNSUPPORTED("6fpm1wk8mz0hofn15361g6nzn"); // static int bufsize = 0;
1343 UNSUPPORTED("47g093jarn346ptid7u4d7e7m"); // char *p, *sub;
1344 UNSUPPORTED("9ee5mdh9hsw491mz8n88ey33d"); // int len, pos = 0;
1345 UNSUPPORTED("cjyiejw67ffjjsk60tgeebvif"); // if (!buf) {
1346 UNSUPPORTED("4xkxdnucjd4ldoikgelnsa7c9"); // bufsize = 64;
1347 UNSUPPORTED("9pvgystp8nwvblycum3rps3tz"); // buf = gmalloc(bufsize);
1348 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1349 UNSUPPORTED("dpfzdhkfq6u86uv5f9lnqfbpq"); // p = buf;
1350 UNSUPPORTED("e8ng575h9ts71v7d04mtpxyr5"); // while (s && *s) {
1351 UNSUPPORTED("85svsyrkaau2681m7ya7tygx6"); // if (pos > (bufsize - 8)) {
1352 UNSUPPORTED("aa09fjtytqkag416h6457rmkr"); // bufsize *= 2;
1353 UNSUPPORTED("3vu2n3g10rrkdmia0oyndfj4s"); // buf = grealloc(buf, bufsize);
1354 UNSUPPORTED("cz6j3s7zlvrbs83g3e42o83z7"); // p = buf + pos;
1355 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1356 UNSUPPORTED("97iud4axotxlk7ywlijb75m3d"); // /* escape '&' only if not part of a legal entity sequence */
1357 UNSUPPORTED("2ulqzjhkp81o1cpur4y62jck9"); // if (*s == '&' && !(xml_isentity(s))) {
1358 UNSUPPORTED("cac1jzftgtiz1fvztpxrb5pzr"); // sub = "&amp;";
1359 UNSUPPORTED("17g0bn2jwfuvdxn93z9lsronr"); // len = 5;
1360 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1361 UNSUPPORTED("7e1vaedh6l0yfegrgw9donb9e"); // /* '<' '>' are safe to substitute even if string is already UTF-8 coded
1362 UNSUPPORTED("2hspzajrej6p5fmxtp3xo33mw"); // * since UTF-8 strings won't contain '<' or '>' */
1363 UNSUPPORTED("3xg4wo6utmvnlgyvg8ciz4tey"); // else if (*s == '<') {
1364 UNSUPPORTED("13qv1mf2mabbasi5mgrjsqs3n"); // sub = "&lt;";
1365 UNSUPPORTED("cn6mu8yh8covbdy1zkhq7256"); // len = 4;
1366 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1367 UNSUPPORTED("art2agkl4px2ncm5gmygaoi4v"); // else if (*s == '>') {
1368 UNSUPPORTED("dbkjqbduusn4tza1p3ng8iuyi"); // sub = "&gt;";
1369 UNSUPPORTED("cn6mu8yh8covbdy1zkhq7256"); // len = 4;
1370 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1371 UNSUPPORTED("9e32cag083iuoabhlvpcldsa8"); // else if (*s == '"') {
1372 UNSUPPORTED("4w7kby1vesehrcs7zpowfb0q6"); // sub = "&quot;";
1373 UNSUPPORTED("axaethtisavqkan2dx7laigpw"); // len = 6;
1374 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1375 UNSUPPORTED("akz9vs5rt6crj61e0batgdi09"); // else if (*s == '\'') {
1376 UNSUPPORTED("6ohptq6v6vjhjivmjf7d5auoz"); // sub = "&#39;";
1377 UNSUPPORTED("17g0bn2jwfuvdxn93z9lsronr"); // len = 5;
1378 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1379 UNSUPPORTED("8k75h069sv2k9b6tgz77dscwd"); // else {
1380 UNSUPPORTED("adxr80w3fzxvf4gxvbuo78rm5"); // sub = s;
1381 UNSUPPORTED("ct414lk8my1pywj7ypk05e6d"); // len = 1;
1382 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1383 UNSUPPORTED("25ryz7f7izh8r6792860c1d0y"); // while (len--) {
1384 UNSUPPORTED("byu93mjyl867v3xyy1fb9pw9"); // *p++ = *sub++;
1385 UNSUPPORTED("27349aw1zezm0lpez1jn3pcw4"); // pos++;
1386 UNSUPPORTED("flupwh3kosf3fkhkxllllt1"); // }
1387 UNSUPPORTED("1fe0kohehgdxhenrepo7ymdcw"); // s++;
1388 UNSUPPORTED("dvgyxsnyeqqnyzq696k3vskib"); // }
1389 UNSUPPORTED("2t1d66kwn86kqh0i665hqw6cl"); // *p = '\0';
1390 UNSUPPORTED("5jfpogdyby101eyuw2dhtb5cg"); // return buf;
1391 UNSUPPORTED("c24nfmv9i7o5eoqaymbibp7m7"); // }
1392
1393 throw new UnsupportedOperationException();
1394 }
1395
1396
1397 }