Graphviz 13.1.3~dev.20250831.0023
|
#include <stdlib.h>
#include <string.h>
#include <arith.h>
#include <gml2gv.h>
#include <assert.h>
#include <util/agxbuf.h>
#include <util/alloc.h>
#include <util/exit.h>
#include <util/list.h>
#include "gmlparse.h"
#include <limits.h>
Go to the source code of this file.
Data Structures | |
union | yyalloc |
Macros | |
#define | YYBISON 30802 |
#define | YYBISON_VERSION "3.8.2" |
#define | YYSKELETON_NAME "yacc.c" |
#define | YYPURE 0 |
#define | YYPUSH 0 |
#define | YYPULL 1 |
#define | YYSTYPE GMLSTYPE |
#define | yyparse gmlparse |
#define | yylex gmllex |
#define | yyerror gmlerror |
#define | yydebug gmldebug |
#define | yynerrs gmlnerrs |
#define | yylval gmllval |
#define | yychar gmlchar |
#define | YY_CAST(Type, Val) ((Type) (Val)) |
#define | YY_REINTERPRET_CAST(Type, Val) ((Type) (Val)) |
#define | YY_NULLPTR ((void*)0) |
#define | YYPTRDIFF_T long |
#define | YYPTRDIFF_MAXIMUM LONG_MAX |
#define | YYSIZE_T unsigned |
#define | YYSIZE_MAXIMUM |
#define | YYSIZEOF(X) YY_CAST (YYPTRDIFF_T, sizeof (X)) |
#define | YY_(Msgid) Msgid |
#define | YY_ATTRIBUTE_PURE |
#define | YY_ATTRIBUTE_UNUSED |
#define | YY_USE(E) ((void) (E)) |
#define | YY_INITIAL_VALUE(Value) Value |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
#define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
#define | YY_IGNORE_USELESS_CAST_BEGIN |
#define | YY_IGNORE_USELESS_CAST_END |
#define | YY_ASSERT(E) ((void) (0 && (E))) |
#define | YYSTACK_ALLOC YYMALLOC |
#define | YYSTACK_FREE YYFREE |
#define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
#define | YYMALLOC malloc |
#define | YYFREE free |
#define | YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) |
#define | YYSTACK_BYTES(N) |
#define | YYCOPY_NEEDED 1 |
#define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
#define | YYFINAL 55 |
#define | YYLAST 226 |
#define | YYNTOKENS 37 |
#define | YYNNTS 20 |
#define | YYNRULES 63 |
#define | YYNSTATES 102 |
#define | YYMAXUTOK 289 |
#define | YYTRANSLATE(YYX) |
#define | YY_ACCESSING_SYMBOL(State) YY_CAST (yysymbol_kind_t, yystos[State]) |
#define | YYPACT_NINF (-29) |
#define | yypact_value_is_default(Yyn) ((Yyn) == YYPACT_NINF) |
#define | YYTABLE_NINF (-35) |
#define | yytable_value_is_error(Yyn) 0 |
#define | yyerrok (yyerrstatus = 0) |
#define | yyclearin (yychar = GMLEMPTY) |
#define | YYACCEPT goto yyacceptlab |
#define | YYABORT goto yyabortlab |
#define | YYERROR goto yyerrorlab |
#define | YYNOMEM goto yyexhaustedlab |
#define | YYRECOVERING() (!!yyerrstatus) |
#define | YYBACKUP(Token, Value) |
#define | YYERRCODE GMLUNDEF |
#define | YYDPRINTF(Args) ((void) 0) |
#define | YY_SYMBOL_PRINT(Title, Kind, Value, Location) |
#define | YY_STACK_PRINT(Bottom, Top) |
#define | YY_REDUCE_PRINT(Rule) |
#define | YYINITDEPTH 200 |
#define | YYMAXDEPTH 10000 |
#define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
typedef enum yysymbol_kind_t | yysymbol_kind_t |
typedef signed char | yytype_int8 |
typedef short | yytype_int16 |
typedef unsigned char | yytype_uint8 |
typedef unsigned short | yytype_uint16 |
typedef yytype_int8 | yy_state_t |
typedef int | yy_state_fast_t |
Functions | |
static void | free_attrs (attrs_t *a) |
static | LIST (attrs_t *) |
static char * | sortToStr (unsigned short sort) |
static void | free_node (gmlnode *p) |
static void | free_edge (gmledge *p) |
static void | free_graph (gmlgraph *p) |
static void | cleanup (void) |
static void | free_attr (gmlattr *p) |
static void | pushAlist (void) |
static attrs_t * | popAlist (void) |
static void | popG (void) |
static void | pushG (void) |
static gmlnode * | mkNode (void) |
static gmledge * | mkEdge (void) |
static gmlattr * | mkAttr (char *name, unsigned short sort, unsigned short kind, char *str, attrs_t *list) |
static int | setDir (char *d) |
void * | malloc (YYSIZE_T) |
void | free (void *) |
static void | yydestruct (const char *yymsg, yysymbol_kind_t yykind, YYSTYPE *yyvaluep) |
static void | deparseList (attrs_t *alist, agxbuf *xb) |
static void | deparseAttr (gmlattr *ap, agxbuf *xb) |
static void | unknown (Agobj_t *obj, gmlattr *ap, agxbuf *xb) |
static void | addNodeLabelGraphics (Agnode_t *np, attrs_t *alist, agxbuf *unk) |
static void | addEdgeLabelGraphics (Agedge_t *ep, attrs_t *alist, agxbuf *xb, agxbuf *unk) |
static void | addNodeGraphics (Agnode_t *np, attrs_t *alist, agxbuf *xb, agxbuf *unk) |
static void | addEdgePoint (Agedge_t *ep, attrs_t *alist, agxbuf *xb) |
static void | addEdgePos (Agedge_t *ep, attrs_t *alist, agxbuf *xb) |
static void | addEdgeGraphics (Agedge_t *ep, attrs_t *alist, agxbuf *xb, agxbuf *unk) |
static void | addAttrs (Agobj_t *obj, attrs_t *alist, agxbuf *xb, agxbuf *unk) |
static Agraph_t * | mkGraph (gmlgraph *graph, Agraph_t *parent, char *name, agxbuf *xb, agxbuf *unk) |
Agraph_t * | gml_to_gv (char *name, FILE *fp, int cnt, int *errors) |
Variables | |
static gmlgraph * | G |
static gmlnode * | N |
static gmledge * | E |
static attrs_t * | L |
static const yytype_int8 | yytranslate [] |
static const yytype_int16 | yypact [] |
static const yytype_int8 | yydefact [] |
static const yytype_int16 | yypgoto [] |
static const yytype_int8 | yydefgoto [] |
static const yytype_int8 | yytable [] |
static const yytype_int8 | yycheck [] |
static const yytype_int8 | yystos [] |
static const yytype_int8 | yyr1 [] |
static const yytype_int8 | yyr2 [] |
int | yychar |
YYSTYPE | yylval |
int | yynerrs |
#define YY_ | ( | Msgid | ) | Msgid |
Definition at line 475 of file gmlparse.c.
#define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (yysymbol_kind_t, yystos[State]) |
Accessing symbol of state STATE.
Definition at line 745 of file gmlparse.c.
Definition at line 541 of file gmlparse.c.
#define YY_ATTRIBUTE_PURE |
Definition at line 484 of file gmlparse.c.
#define YY_ATTRIBUTE_UNUSED |
Definition at line 492 of file gmlparse.c.
#define YY_CAST | ( | Type, | |
Val | |||
) | ((Type) (Val)) |
Definition at line 268 of file gmlparse.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 521 of file gmlparse.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 522 of file gmlparse.c.
#define YY_IGNORE_USELESS_CAST_BEGIN |
Definition at line 536 of file gmlparse.c.
#define YY_IGNORE_USELESS_CAST_END |
Definition at line 537 of file gmlparse.c.
#define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 518 of file gmlparse.c.
#define YY_NULLPTR ((void*)0) |
Definition at line 280 of file gmlparse.c.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 1090 of file gmlparse.c.
#define YY_REINTERPRET_CAST | ( | Type, | |
Val | |||
) | ((Type) (Val)) |
Definition at line 269 of file gmlparse.c.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 1089 of file gmlparse.c.
#define YY_SYMBOL_PRINT | ( | Title, | |
Kind, | |||
Value, | |||
Location | |||
) |
Definition at line 1088 of file gmlparse.c.
Definition at line 498 of file gmlparse.c.
#define YYABORT goto yyabortlab |
Definition at line 938 of file gmlparse.c.
#define YYACCEPT goto yyacceptlab |
Definition at line 937 of file gmlparse.c.
#define YYBACKUP | ( | Token, | |
Value | |||
) |
#define YYBISON 30802 |
Definition at line 49 of file gmlparse.c.
#define YYBISON_VERSION "3.8.2" |
Definition at line 52 of file gmlparse.c.
#define yychar gmlchar |
Definition at line 75 of file gmlparse.c.
Definition at line 935 of file gmlparse.c.
#define YYCOPY_NEEDED 1 |
Definition at line 630 of file gmlparse.c.
#define yydebug gmldebug |
Definition at line 72 of file gmlparse.c.
#define YYDPRINTF | ( | Args | ) | ((void) 0) |
Definition at line 1087 of file gmlparse.c.
#define YYERRCODE GMLUNDEF |
Definition at line 964 of file gmlparse.c.
#define yyerrok (yyerrstatus = 0) |
Definition at line 934 of file gmlparse.c.
#define yyerror gmlerror |
Definition at line 71 of file gmlparse.c.
#define YYERROR goto yyerrorlab |
Definition at line 939 of file gmlparse.c.
#define YYFINAL 55 |
Definition at line 671 of file gmlparse.c.
#define YYFREE free |
Definition at line 602 of file gmlparse.c.
#define YYINITDEPTH 200 |
Definition at line 1096 of file gmlparse.c.
#define YYLAST 226 |
Definition at line 673 of file gmlparse.c.
int yylex gmllex |
Definition at line 70 of file gmlparse.c.
#define yylval gmllval |
Definition at line 74 of file gmlparse.c.
#define YYMALLOC malloc |
Definition at line 596 of file gmlparse.c.
#define YYMAXDEPTH 10000 |
Definition at line 1107 of file gmlparse.c.
#define YYMAXUTOK 289 |
Definition at line 685 of file gmlparse.c.
#define yynerrs gmlnerrs |
Definition at line 73 of file gmlparse.c.
#define YYNNTS 20 |
Definition at line 678 of file gmlparse.c.
#define YYNOMEM goto yyexhaustedlab |
Definition at line 940 of file gmlparse.c.
#define YYNRULES 63 |
Definition at line 680 of file gmlparse.c.
#define YYNSTATES 102 |
Definition at line 682 of file gmlparse.c.
#define YYNTOKENS 37 |
Definition at line 676 of file gmlparse.c.
#define YYPACT_NINF (-29) |
Definition at line 774 of file gmlparse.c.
#define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
Definition at line 776 of file gmlparse.c.
int yyparse | ( | void | ) | gmlparse |
Definition at line 1150 of file gmlparse.c.
#define YYPTRDIFF_MAXIMUM LONG_MAX |
Definition at line 435 of file gmlparse.c.
#define YYPTRDIFF_T long |
Definition at line 434 of file gmlparse.c.
#define YYPULL 1 |
Definition at line 64 of file gmlparse.c.
#define YYPURE 0 |
Definition at line 58 of file gmlparse.c.
#define YYPUSH 0 |
Definition at line 61 of file gmlparse.c.
#define YYRECOVERING | ( | ) | (!!yyerrstatus) |
Definition at line 943 of file gmlparse.c.
#define YYSIZE_MAXIMUM |
Definition at line 452 of file gmlparse.c.
#define YYSIZE_T unsigned |
Definition at line 448 of file gmlparse.c.
#define YYSIZEOF | ( | X | ) | YY_CAST (YYPTRDIFF_T, sizeof (X)) |
Definition at line 458 of file gmlparse.c.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 55 of file gmlparse.c.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 582 of file gmlparse.c.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 585 of file gmlparse.c.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 626 of file gmlparse.c.
#define YYSTACK_FREE YYFREE |
Definition at line 583 of file gmlparse.c.
Definition at line 622 of file gmlparse.c.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
Definition at line 637 of file gmlparse.c.
#define YYSTYPE GMLSTYPE |
Definition at line 67 of file gmlparse.c.
#define YYTABLE_NINF (-35) |
Definition at line 779 of file gmlparse.c.
#define yytable_value_is_error | ( | Yyn | ) | 0 |
Definition at line 781 of file gmlparse.c.
#define YYTRANSLATE | ( | YYX | ) |
Definition at line 690 of file gmlparse.c.
typedef int yy_state_fast_t |
Definition at line 465 of file gmlparse.c.
typedef yytype_int8 yy_state_t |
Definition at line 462 of file gmlparse.c.
typedef enum yysymbol_kind_t yysymbol_kind_t |
Definition at line 347 of file gmlparse.c.
typedef short yytype_int16 |
Definition at line 386 of file gmlparse.c.
typedef signed char yytype_int8 |
Definition at line 378 of file gmlparse.c.
typedef unsigned short yytype_uint16 |
Definition at line 418 of file gmlparse.c.
typedef unsigned char yytype_uint8 |
Definition at line 407 of file gmlparse.c.
anonymous enum |
Enumerator | |
---|---|
YYENOMEM |
Definition at line 932 of file gmlparse.c.
enum yysymbol_kind_t |
Definition at line 286 of file gmlparse.c.
Definition at line 2168 of file gmlparse.c.
References addEdgeGraphics(), addEdgeLabelGraphics(), addNodeGraphics(), addNodeLabelGraphics(), AGEDGE, AGNODE, AGTYPE, GRAPHICS, LABELGRAPHICS, LIST_GET, LIST_SIZE, gmlattr::lp, gmlattr::sort, gmlattr::u, and unknown.
Referenced by mkGraph().
Definition at line 2131 of file gmlparse.c.
References addEdgePos(), agsafeset(), agxbclear(), agxbput(), agxbputc(), agxbuse(), cnt(), deparseAttr(), FILL, LINE, LIST_GET, LIST_SIZE, gmlattr::lp, NULL, gmlattr::sort, STYLE, gmlattr::u, gmlattr::value, and WIDTH.
Referenced by addAttrs().
|
static |
Definition at line 1980 of file gmlparse.c.
References agsafeset(), agxbclear(), agxbprint(), agxbput(), agxbputc(), agxbuse(), cnt(), COLOR, deparseAttr(), FONTNAME, FONTSIZE, LIST_GET, LIST_SIZE, gmlattr::sort, TEXT, gmlattr::u, gmlattr::value, XVAL, and YVAL.
Referenced by addAttrs().
Definition at line 2094 of file gmlparse.c.
References agxblen(), agxbprint(), agxbputc(), LIST_GET, LIST_SIZE, NULL, gmlattr::sort, gmlattr::u, unknown, gmlattr::value, XVAL, and YVAL.
Referenced by addEdgePos().
Definition at line 2116 of file gmlparse.c.
References addEdgePoint(), agsafeset(), agxbuse(), LIST_GET, LIST_SIZE, gmlattr::lp, POINT, gmlattr::sort, gmlattr::u, and unknown.
Referenced by addEdgeGraphics().
Definition at line 2031 of file gmlparse.c.
References agsafeset(), agxbclear(), agxbprint(), agxbput(), agxbputc(), agxbuse(), cnt(), deparseAttr(), FILL, HVAL, LIST_GET, LIST_SIZE, NULL, OUTLINE, OUTLINESTYLE, OUTLINEWIDTH, gmlattr::sort, STYLE, TYPE, gmlattr::u, gmlattr::value, WIDTH, WVAL, XVAL, and YVAL.
Referenced by addAttrs().
Definition at line 1941 of file gmlparse.c.
References agsafeset(), agxbclear(), agxbput(), agxbputc(), agxbuse(), cnt(), COLOR, deparseAttr(), FONTNAME, FONTSIZE, LIST_GET, LIST_SIZE, gmlattr::sort, TEXT, gmlattr::u, and gmlattr::value.
Referenced by addAttrs().
|
static |
Definition at line 128 of file gmlparse.c.
References E, free_attrs(), free_edge(), free_graph(), free_node(), G, L, LIST_CLEAR, N, and NULL.
Referenced by gml_to_gv(), gml_to_gv(), gvpr_core(), traverse(), and yyparse().
Definition at line 1901 of file gmlparse.c.
References agxbprint(), deparseList(), GML_LIST, gmlattr::kind, gmlattr::lp, gmlattr::name, STRING, gmlattr::u, and gmlattr::value.
Referenced by addEdgeGraphics(), addEdgeLabelGraphics(), addNodeGraphics(), addNodeLabelGraphics(), and deparseList().
|
static |
Definition at line 1915 of file gmlparse.c.
References agxbput(), agxbputc(), deparseAttr(), LIST_GET, LIST_SIZE, and NULL.
Referenced by deparseAttr(), and unknown().
void free | ( | void * | ) |
Referenced by _write_canonstr(), addChan(), addPS(), addXLabels(), adjustGrid(), after_write(), agclose(), agdeledge(), agdelnode(), agdelrec(), aginternalmapdelete(), aglasterr(), agpopdisc(), agrecclose(), agxbfree(), agxbput_move(), allocate_ranks(), arrayRects(), attach_edge_label_coordinates(), attached_clustering(), bitarray_reset(), breakPoly(), buildBindings(), bundle(), cAdjust(), call_tri(), call_tri2(), cg(), circo_cleanup(), circo_layout(), circoLayout(), circuitModel(), class2(), cleanup1(), cleanup2(), cleanup_graphs(), cleanup_subgs(), clearGrid(), cloneGraph(), closeDerivedGraph(), closeGPRState(), closeIngraph(), coarsen_match(), color(), color_blend_rgb2lab(), colorxlate(), compute_apsp_artificial_weights_packed(), compute_apsp_packed(), compute_new_weights(), compute_weighted_apsp_packed(), computeScaleXY(), concat(), conjugate_gradient(), conjugate_gradient(), conjugate_gradient_f(), conjugate_gradient_mkernel(), conn_comp(), construct_graph(), cvtAndAppend(), delete_items(), delGrid(), dflt_gvprpath(), diagonals_draw(), dijkstra_f(), dijkstra_sgd(), doDot(), dot_cleanup_graph(), dot_splines_(), dotneato_args_initialize(), dotnew_internal(), dtclose(), dthash(), dtmethod(), dtstat(), dttree(), edge_distinct_coloring(), edgecmd_internal(), ELcleanup(), embed_graph(), EmbedText(), emit_background(), emit_begin_edge(), emit_clusters(), emit_colors(), emit_edge_graphics(), emit_end_node(), emit_html_cell(), emit_html_label(), emit_html_tbl(), emit_map_rect(), emit_page(), emit_xdot(), epsf_free(), eval(), exerror(), expandCluster(), exwarn(), fdp_cleanup_graph(), feasible_tree(), find_closest_pairs(), find_ints(), find_ints(), find_me(), find_pair_edges(), find_share(), find_tight_subtree(), fixLabelOrder(), fmtquote(), free_3array(), free_adjacency(), free_array(), free_attr(), free_attr(), free_attrs(), free_case_info(), free_edge(), free_field(), free_graph(), free_graph(), free_hi(), free_html_cell(), free_html_data(), free_html_img(), free_html_label(), free_html_tbl(), free_html_text(), free_iditem(), free_label(), free_matrix(), free_node(), free_ritem(), free_scan_graph(), free_stroke(), free_subnode(), free_textspan(), free_ti(), free_virtual_edge_list(), free_virtual_node_list(), freeattr(), freeBlock(), freeBlock(), freeBlocks(), freeChanItem(), freeChannel(), freeCompileProg(), freeDerivedGraph(), freeDeriveNode(), freef(), freeGData(), freeGraph(), freeGraphData(), freeHeap(), freeHeap(), freeinit(), freeList(), freeMaze(), freeNodes(), freeOpts(), freeParseProg(), freePath(), freeQueue(), freeRouter(), freeSeg(), freeSGraph(), freesym(), freeTree(), freeTree(), freeTreeGen(), freeTriGraph(), freeTripoly(), freeUsershape(), freeXDot(), freeXDotColor(), freeXOpData(), gdgen_text(), gdk_freeimage(), gdk_set_mimedata_from_file(), gen(), genPoly(), genroute(), get_data_dir(), get_mq(), get_pango_layout(), get_poly_lines(), get_polygon_solids(), get_polygons(), get_tri(), glCompDeleteTexture(), glCompImageDelete(), glCompSetAddNewTexLabel(), glCompSetAddNewTexture(), glcreate_gl_topview_menu(), glDeleteFont(), graph_cleanup(), graphcmd_internal(), graphviz_tred(), gv_arena_reset(), gv_cleanup_edge(), gv_cleanup_node(), gv_find_me(), gv_fixLocale(), gv_flist_free_af(), gv_free_splines(), gv_list_free_(), gv_realloc(), gvconfig(), gvevent_enter_obj(), gvevent_select_current_obj(), gvFreeCloneGVC(), gvFreeContext(), gvFreeRenderData(), gvjobs_delete(), gvloadimage_gs_free(), gvplugin_graph(), gvplugin_library_load(), gvpr_select(), gvrender_beziercurve(), gvrender_polygon(), gvrender_polyline(), gwrite(), gwrite(), hierachical_modularity_clustering(), hierachical_mq_clustering(), ideal_distance_matrix(), Import_coord_clusters_from_dot(), init_job_viewport(), init_layering(), init_viewport(), initObjMapData(), insertPS(), IntDest(), interpolate_coord(), iterativePCA_1D(), kitty_write(), lab_gamut_quadtree(), layout(), layout(), layoutTree(), LIST(), load_mouse_actions(), lu_decompose(), main(), main(), majorization(), make_coarse_ex_graph(), make_coarse_graph(), make_flat_bottom_edges(), make_flat_edge(), make_flat_labeled_edge(), make_html_label(), make_label(), make_leafslots(), make_map_from_rectangle_groups(), make_map_internal(), make_regular_edge(), makeCompoundEdge(), makeDotGraph(), makeGraphData(), makeHier(), makeInfo(), makeMap(), makeMatrix(), makeMultiSpline(), makeSelfArcs(), makeSierpinski(), makeSimpleFlatLabels(), makeSpline(), makeStraightEdge(), makeTetrix(), makeXDotSpline(), map_label(), map_optimal_coloring(), map_output_bspline(), map_palette_optimal_coloring(), map_point(), mapFromGraph(), matinv(), maximal_independent_edge_set_heavest_edge_pernode_supernodes_first(), maxmatch(), mkBlock(), mkMaze(), mkMazeGraph(), mkPoly(), mkRouter(), monotonate_trapezoids(), move_node(), multicolor(), Multilevel_coarsen_internal(), Multilevel_delete(), Multilevel_Modularity_Clustering_delete(), Multilevel_Modularity_Clustering_establish(), Multilevel_Modularity_Clustering_init(), Multilevel_MQ_Clustering_delete(), Multilevel_MQ_Clustering_establish(), multilevel_spring_electrical_embedding(), myagxset(), neato_cleanup_graph(), neato_layout(), new_ing(), ngdijkstra(), node_data_delete(), node_distinct_coloring(), node_distinct_coloring_internal2(), node_set_add(), node_set_free(), nodecmd_internal(), object_color(), on_gvprbuttonsave_clicked(), orthoEdges(), out(), packGraphs(), packRects(), pango_textlayout(), parse_error(), parse_layerselect(), parsePolyline(), parseProg(), parseXDotFOn(), partition(), patchwork_cleanup(), patchwork_cleanup_graph(), PCA_alloc(), Plegal_arrangement(), Plegal_arrangement(), Pobsclose(), Pobsopen(), Pobspath(), poly_free(), poly_gencode(), polyFree(), polyGraphs(), polyRects(), pop(), pop(), pop_obj_state(), position(), positionAllItems(), pov_bezier(), pov_ellipse(), pov_polygon(), pov_polyline(), pov_textspan(), power_iteration(), power_law_graph(), power_method(), PQcleanup(), PQfree(), prepare_topological_fisheye(), prformat(), print(), printSorted(), ps_freeimage(), ps_image_free(), ps_string(), Pshortestpath(), Ptriangulate(), putGraphs(), QuadTree_delete(), QuadTree_new_from_point_list(), RBDelete(), RBTreeCreate(), RBTreeDestroy(), rcross(), readln(), readout_levels(), record_gencode(), record_init(), remove_aux_edges(), remove_poly(), remove_rankleaders(), removeOverlapWith(), rescale_layout_polar(), rescale_layout_polarFocus(), resetCoord(), resolve(), restore_old_weights(), round_corners(), rounded_draw(), routesplines_(), RTreeClose(), RTreeClose2(), RTreeLeafListFree(), safefile(), scAdjust(), scan(), selectedLayer(), set_active_levels(), setAbsolutePos(), setDir(), setval(), sfdp_layout(), sfdpLayout(), sgd(), shortest_path(), shortestPath(), shorting_edge_label_nodes(), simpleSplineRoute(), size_html_txt(), solve(), sparse_stress_subspace_majorization_kD(), SparseMatrix_add(), SparseMatrix_decompose_to_supervariables(), SparseMatrix_delete(), SparseMatrix_distance_matrix(), SparseMatrix_get_augmented(), SparseMatrix_get_submatrix(), SparseMatrix_import_dot(), SparseMatrix_import_matrix_market(), SparseMatrix_is_symmetric(), SparseMatrix_multiply(), SparseMatrix_multiply3(), SparseMatrix_set_entries_to_real_one(), SparseMatrix_solve(), SparseMatrix_sum_repeat_entries(), SparseMatrix_weakly_connected_components(), spline_edges_(), splines_intersect(), splitBSpline(), spring_electrical_embedding(), spring_electrical_embedding_fast(), spring_electrical_embedding_slow(), spring_electrical_spring_embedding(), SpringSmoother_new(), stoj(), strdict_add(), strdict_free(), strdict_remove(), stress_majorization_kD_mkernel(), StressMajorizationSmoother2_new(), StressMajorizationSmoother_delete(), StressMajorizationSmoother_smooth(), subset_model(), svg_begin_edge(), svg_size(), taper(), TB_balance(), tcldot_argv_free(), Tcldot_Init(), textfont_freef(), translate_postscript_fontname(), TreeDestHelper(), TriangleSmoother_new(), triPath(), twopi_cleanup_graph(), twopi_layout(), undoClusterEdges(), update_tree(), user_init(), user_spline(), usershape_close(), vc_refresh(), vector_ordering(), vgpanecmd(), write_edges(), write_plain(), writenodeandport(), xdot_end_graph(), xlfree(), and xlhdxunload().
|
static |
Definition at line 1888 of file gmlparse.c.
References free(), free_attrs(), GML_LIST, gmlattr::kind, gmlattr::lp, gmlattr::name, gmlattr::u, and gmlattr::value.
Referenced by mkEdge(), mkNode(), pushAlist(), and pushG().
|
static |
Definition at line 96 of file gmlparse.c.
References free(), and LIST_FREE.
Referenced by cleanup(), free_attr(), free_attr(), LIST(), and mkAttr().
|
static |
Definition at line 112 of file gmlparse.c.
References gmledge::attrlist, free(), and LIST_FREE.
Referenced by cleanup(), and pushG().
|
static |
Definition at line 118 of file gmlparse.c.
References gmlgraph::attrlist, free(), and LIST_FREE.
Referenced by cleanup(), freeChannel(), and pushG().
|
static |
Definition at line 105 of file gmlparse.c.
References gmlnode::attrlist, free(), gmlnode::id, and LIST_FREE.
Referenced by cleanup(), and pushG().
Agraph_t * gml_to_gv | ( | char * | name, |
FILE * | fp, | ||
int | cnt, | ||
int * | errors | ||
) |
Definition at line 2246 of file gmlparse.c.
|
static |
Definition at line 101 of file gmlparse.c.
References free_attrs().
void * malloc | ( | YYSIZE_T | ) |
Referenced by _write_canonstr(), agstrdup_internal(), core_loadimage_ps(), dflt_gvprpath(), dthash(), dtopen(), dtstat(), dttree(), gdk_set_mimedata_from_file(), gvloadimage_gs_load(), gvRenderData(), main(), make_msg(), new_ing(), out(), Pobsopen(), prformat(), RBTreeCreate(), and RBTreeInsert().
|
static |
Definition at line 214 of file gmlparse.c.
References free_attrs(), gv_alloc(), gv_strdup(), gmlattr::kind, LIST_IS_EMPTY, gmlattr::lp, gmlattr::name, NULL, gmlattr::sort, sortToStr(), str, gmlattr::u, and gmlattr::value.
|
static |
Definition at line 207 of file gmlparse.c.
References gmledge::attrlist, free_attr(), and gv_alloc().
|
static |
Definition at line 2192 of file gmlparse.c.
References addAttrs(), Agdirected, agedge(), agnode(), agopen(), agsubg(), Agundirected, gmlnode::attrlist, gmledge::attrlist, graph(), graphviz_exit(), gmlnode::id, L, LIST_GET, LIST_SIZE, mkGraph(), NULL, parent, gmledge::source, and gmledge::target.
Referenced by gml_to_gv(), and mkGraph().
|
static |
Definition at line 199 of file gmlparse.c.
References gmlnode::attrlist, free_attr(), and gv_alloc().
|
static |
Definition at line 163 of file gmlparse.c.
References L, LIST_IS_EMPTY, LIST_POP_BACK, and NULL.
|
static |
Definition at line 175 of file gmlparse.c.
References G, and gmlgraph::parent.
|
static |
Definition at line 152 of file gmlparse.c.
References free_attr(), gv_alloc(), L, and LIST_PUSH_BACK.
Referenced by gml_to_gv(), and gml_to_gv().
|
static |
Definition at line 181 of file gmlparse.c.
References gmlgraph::attrlist, gmlgraph::directed, free_attr(), free_edge(), free_graph(), free_node(), G, gv_alloc(), LIST_APPEND, and gmlgraph::parent.
|
static |
Definition at line 237 of file gmlparse.c.
References gmlgraph::directed, free(), G, and gmlgraph::parent.
|
static |
Definition at line 2277 of file gmlparse.c.
References COLOR, DIRECTED, EDGE, FILL, FONTNAME, FONTSIZE, GML_LIST, GRAPH, GRAPHICS, HVAL, ID, INTEGER, LABEL, LABELGRAPHICS, LINE, NAME, NODE, NULL, OUTLINE, OUTLINESTYLE, OUTLINEWIDTH, POINT, REAL, SOURCE, STRING, STYLE, TARGET, TEXT, TYPE, WIDTH, WVAL, XVAL, and YVAL.
Referenced by mkAttr().
Definition at line 1927 of file gmlparse.c.
References agsafeset(), agxbuse(), deparseList(), GML_LIST, gmlattr::kind, gmlattr::lp, gmlattr::name, str, gmlattr::u, and gmlattr::value.
|
static |
Definition at line 1120 of file gmlparse.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, and YY_USE.
|
static |
Definition at line 92 of file gmlparse.c.
Referenced by cleanup().
|
static |
Definition at line 90 of file gmlparse.c.
Referenced by cleanup(), gml_to_gv(), popG(), pushG(), and setDir().
|
static |
Definition at line 94 of file gmlparse.c.
Referenced by cleanup(), country_graph_coloring(), gml_to_gv(), gml_to_gv(), gvdevice_initialize(), LIST(), mkGraph(), mkGraph(), popAlist(), pushAlist(), RGB2LAB(), safe_list_append(), treeDup(), and zapinlist().
|
static |
Definition at line 91 of file gmlparse.c.
Referenced by cleanup().
int yychar |
Definition at line 1135 of file gmlparse.c.
|
static |
Definition at line 863 of file gmlparse.c.
|
static |
Definition at line 804 of file gmlparse.c.
|
static |
Definition at line 827 of file gmlparse.c.
YYSTYPE yylval |
Definition at line 1138 of file gmlparse.c.
int yynerrs |
Definition at line 1140 of file gmlparse.c.
|
static |
Definition at line 786 of file gmlparse.c.
|
static |
Definition at line 820 of file gmlparse.c.
|
static |
Definition at line 908 of file gmlparse.c.
|
static |
Definition at line 920 of file gmlparse.c.
|
static |
Definition at line 892 of file gmlparse.c.
|
static |
Definition at line 836 of file gmlparse.c.
|
static |
Definition at line 697 of file gmlparse.c.