Graphviz 13.0.0~dev.20250607.1528
|
#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 char * | sortToStr (unsigned short sort) |
void | free_node (gmlnode *p) |
void | free_edge (gmledge *p) |
void | free_graph (gmlgraph *p) |
static void | cleanup (void) |
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) |
void | free_attr (gmlattr *p) |
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 dts_t | liststk |
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 470 of file gmlparse.c.
#define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (yysymbol_kind_t, yystos[State]) |
Accessing symbol of state STATE.
Definition at line 740 of file gmlparse.c.
Definition at line 536 of file gmlparse.c.
#define YY_ATTRIBUTE_PURE |
Definition at line 479 of file gmlparse.c.
#define YY_ATTRIBUTE_UNUSED |
Definition at line 487 of file gmlparse.c.
#define YY_CAST | ( | Type, | |
Val | |||
) | ((Type) (Val)) |
Definition at line 263 of file gmlparse.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 516 of file gmlparse.c.
#define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 517 of file gmlparse.c.
#define YY_IGNORE_USELESS_CAST_BEGIN |
Definition at line 531 of file gmlparse.c.
#define YY_IGNORE_USELESS_CAST_END |
Definition at line 532 of file gmlparse.c.
#define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 513 of file gmlparse.c.
#define YY_NULLPTR ((void*)0) |
Definition at line 275 of file gmlparse.c.
#define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 1085 of file gmlparse.c.
#define YY_REINTERPRET_CAST | ( | Type, | |
Val | |||
) | ((Type) (Val)) |
Definition at line 264 of file gmlparse.c.
#define YY_STACK_PRINT | ( | Bottom, | |
Top | |||
) |
Definition at line 1084 of file gmlparse.c.
#define YY_SYMBOL_PRINT | ( | Title, | |
Kind, | |||
Value, | |||
Location | |||
) |
Definition at line 1083 of file gmlparse.c.
Definition at line 493 of file gmlparse.c.
#define YYABORT goto yyabortlab |
Definition at line 933 of file gmlparse.c.
#define YYACCEPT goto yyacceptlab |
Definition at line 932 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 930 of file gmlparse.c.
#define YYCOPY_NEEDED 1 |
Definition at line 625 of file gmlparse.c.
#define yydebug gmldebug |
Definition at line 72 of file gmlparse.c.
#define YYDPRINTF | ( | Args | ) | ((void) 0) |
Definition at line 1082 of file gmlparse.c.
#define YYERRCODE GMLUNDEF |
Definition at line 959 of file gmlparse.c.
#define yyerrok (yyerrstatus = 0) |
Definition at line 929 of file gmlparse.c.
#define yyerror gmlerror |
Definition at line 71 of file gmlparse.c.
#define YYERROR goto yyerrorlab |
Definition at line 934 of file gmlparse.c.
#define YYFINAL 55 |
Definition at line 666 of file gmlparse.c.
#define YYFREE free |
Definition at line 597 of file gmlparse.c.
#define YYINITDEPTH 200 |
Definition at line 1091 of file gmlparse.c.
#define YYLAST 226 |
Definition at line 668 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 591 of file gmlparse.c.
#define YYMAXDEPTH 10000 |
Definition at line 1102 of file gmlparse.c.
#define YYMAXUTOK 289 |
Definition at line 680 of file gmlparse.c.
#define yynerrs gmlnerrs |
Definition at line 73 of file gmlparse.c.
#define YYNNTS 20 |
Definition at line 673 of file gmlparse.c.
#define YYNOMEM goto yyexhaustedlab |
Definition at line 935 of file gmlparse.c.
#define YYNRULES 63 |
Definition at line 675 of file gmlparse.c.
#define YYNSTATES 102 |
Definition at line 677 of file gmlparse.c.
#define YYNTOKENS 37 |
Definition at line 671 of file gmlparse.c.
#define YYPACT_NINF (-29) |
Definition at line 769 of file gmlparse.c.
#define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
Definition at line 771 of file gmlparse.c.
int yyparse | ( | void | ) | gmlparse |
Definition at line 1145 of file gmlparse.c.
#define YYPTRDIFF_MAXIMUM LONG_MAX |
Definition at line 430 of file gmlparse.c.
#define YYPTRDIFF_T long |
Definition at line 429 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 938 of file gmlparse.c.
#define YYSIZE_MAXIMUM |
Definition at line 447 of file gmlparse.c.
#define YYSIZE_T unsigned |
Definition at line 443 of file gmlparse.c.
#define YYSIZEOF | ( | X | ) | YY_CAST (YYPTRDIFF_T, sizeof (X)) |
Definition at line 453 of file gmlparse.c.
#define YYSKELETON_NAME "yacc.c" |
Definition at line 55 of file gmlparse.c.
#define YYSTACK_ALLOC YYMALLOC |
Definition at line 577 of file gmlparse.c.
#define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 580 of file gmlparse.c.
#define YYSTACK_BYTES | ( | N | ) |
Definition at line 621 of file gmlparse.c.
#define YYSTACK_FREE YYFREE |
Definition at line 578 of file gmlparse.c.
Definition at line 617 of file gmlparse.c.
#define YYSTACK_RELOCATE | ( | Stack_alloc, | |
Stack | |||
) |
Definition at line 632 of file gmlparse.c.
#define YYSTYPE GMLSTYPE |
Definition at line 67 of file gmlparse.c.
#define YYTABLE_NINF (-35) |
Definition at line 774 of file gmlparse.c.
#define yytable_value_is_error | ( | Yyn | ) | 0 |
Definition at line 776 of file gmlparse.c.
#define YYTRANSLATE | ( | YYX | ) |
Definition at line 685 of file gmlparse.c.
typedef int yy_state_fast_t |
Definition at line 460 of file gmlparse.c.
typedef yytype_int8 yy_state_t |
Definition at line 457 of file gmlparse.c.
typedef enum yysymbol_kind_t yysymbol_kind_t |
Definition at line 342 of file gmlparse.c.
typedef short yytype_int16 |
Definition at line 381 of file gmlparse.c.
typedef signed char yytype_int8 |
Definition at line 373 of file gmlparse.c.
typedef unsigned short yytype_uint16 |
Definition at line 413 of file gmlparse.c.
typedef unsigned char yytype_uint8 |
Definition at line 402 of file gmlparse.c.
anonymous enum |
Enumerator | |
---|---|
YYENOMEM |
Definition at line 927 of file gmlparse.c.
enum yysymbol_kind_t |
Definition at line 281 of file gmlparse.c.
Definition at line 2163 of file gmlparse.c.
References addEdgeGraphics(), addEdgeLabelGraphics(), addNodeGraphics(), addNodeLabelGraphics(), AGEDGE, AGNODE, AGTYPE, GRAPHICS, LABELGRAPHICS, gmlattr::lp, gmlattr::sort, gmlattr::u, and unknown.
Referenced by mkGraph().
Definition at line 2126 of file gmlparse.c.
References addEdgePos(), agsafeset(), agxbclear(), agxbput(), agxbputc(), agxbuse(), cnt(), deparseAttr(), FILL, LINE, gmlattr::lp, NULL, gmlattr::sort, STYLE, gmlattr::u, gmlattr::value, and WIDTH.
Referenced by addAttrs().
|
static |
Definition at line 1975 of file gmlparse.c.
References agsafeset(), agxbclear(), agxbprint(), agxbput(), agxbputc(), agxbuse(), cnt(), COLOR, deparseAttr(), FONTNAME, FONTSIZE, gmlattr::sort, TEXT, gmlattr::u, gmlattr::value, XVAL, and YVAL.
Referenced by addAttrs().
Definition at line 2089 of file gmlparse.c.
References agxblen(), agxbprint(), agxbputc(), NULL, gmlattr::sort, gmlattr::u, unknown, gmlattr::value, XVAL, and YVAL.
Referenced by addEdgePos().
Definition at line 2111 of file gmlparse.c.
References addEdgePoint(), agsafeset(), agxbuse(), gmlattr::lp, POINT, gmlattr::sort, gmlattr::u, and unknown.
Referenced by addEdgeGraphics().
Definition at line 2026 of file gmlparse.c.
References agsafeset(), agxbclear(), agxbprint(), agxbput(), agxbputc(), agxbuse(), cnt(), deparseAttr(), FILL, HVAL, NULL, OUTLINE, OUTLINESTYLE, OUTLINEWIDTH, gmlattr::sort, STYLE, TYPE, gmlattr::u, gmlattr::value, WIDTH, WVAL, XVAL, and YVAL.
Referenced by addAttrs().
Definition at line 1936 of file gmlparse.c.
References agsafeset(), agxbclear(), agxbput(), agxbputc(), agxbuse(), cnt(), COLOR, deparseAttr(), FONTNAME, FONTSIZE, gmlattr::sort, TEXT, gmlattr::u, and gmlattr::value.
Referenced by addAttrs().
|
static |
Definition at line 130 of file gmlparse.c.
References E, free_attrs(), free_edge(), free_graph(), free_node(), G, L, liststk, N, and NULL.
Referenced by gml_to_gv(), gml_to_gv(), gvpr_core(), traverse(), and yyparse().
Definition at line 1896 of file gmlparse.c.
References agxbprint(), deparseList(), gmlattr::kind, LIST, gmlattr::lp, gmlattr::name, STRING, gmlattr::u, and gmlattr::value.
Referenced by addEdgeGraphics(), addEdgeLabelGraphics(), addNodeGraphics(), addNodeLabelGraphics(), and deparseList().
|
static |
Definition at line 1910 of file gmlparse.c.
References agxbput(), agxbputc(), deparseAttr(), and NULL.
Referenced by deparseAttr(), and unknown().
void free | ( | void * | ) |
Referenced by 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(), attachOrthoEdges(), 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(), diagonals_draw(), dijkstra(), 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(), evaldyn(), exerror(), expandCluster(), exwarn(), fdp_cleanup_graph(), feasible_tree(), fillRanks(), 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_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_cleanup_edge(), gv_cleanup_node(), gv_find_me(), gv_fixLocale(), gv_flist_free_af(), gv_free_splines(), 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(), 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(), node_data_delete(), node_distinct_coloring(), node_distinct_coloring_internal2(), node_set_add(), node_set_free(), nodecmd_internal(), nodes_delete(), 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(), readln(), readout_levels(), record_gencode(), record_init(), remove_aux_edges(), remove_poly(), remove_rankleaders(), removeOverlapWith(), rescale_layout_polar(), rescale_layout_polarFocus(), reset_lists(), 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(), vmclear(), vmclose(), vmfree(), write_edges(), xdot_end_graph(), xlfree(), and xlhdxunload().
void free_attr | ( | gmlattr * | p | ) |
Definition at line 1883 of file gmlparse.c.
|
static |
Definition at line 96 of file gmlparse.c.
References free().
Referenced by cleanup(), free_attr(), and mkAttr().
void free_edge | ( | gmledge * | p | ) |
Definition at line 113 of file gmlparse.c.
References gmledge::attrlist, and free().
Referenced by cleanup().
void free_graph | ( | gmlgraph * | p | ) |
Definition at line 119 of file gmlparse.c.
References gmlgraph::attrlist, gmlgraph::edgelist, free(), gmlgraph::graphlist, and gmlgraph::nodelist.
Referenced by cleanup(), and freeChannel().
void free_node | ( | gmlnode * | p | ) |
Definition at line 106 of file gmlparse.c.
References free().
Referenced by cleanup().
Agraph_t * gml_to_gv | ( | char * | name, |
FILE * | fp, | ||
int | cnt, | ||
int * | errors | ||
) |
Definition at line 2241 of file gmlparse.c.
void * malloc | ( | YYSIZE_T | ) |
Referenced by agstrdup_internal(), core_loadimage_ps(), dthash(), dtopen(), dtstat(), dttree(), gdk_set_mimedata_from_file(), gvloadimage_gs_load(), gvRenderData(), main(), make_msg(), new_ing(), out(), Pobsopen(), prformat(), RBTreeCreate(), RBTreeInsert(), and vmalloc().
|
static |
Definition at line 209 of file gmlparse.c.
References free_attrs(), gv_alloc(), gv_strdup(), gmlattr::kind, gmlattr::lp, gmlattr::name, NULL, gmlattr::sort, sortToStr(), str, gmlattr::u, and gmlattr::value.
|
static |
Definition at line 201 of file gmlparse.c.
References gv_alloc(), NULL, gmledge::source, and gmledge::target.
|
static |
Definition at line 2187 of file gmlparse.c.
References addAttrs(), Agdirected, agedge(), agnode(), agopen(), agsubg(), Agundirected, gmlnode::attrlist, gmledge::attrlist, graph(), graphviz_exit(), gmlnode::id, L, mkGraph(), NULL, parent, gmledge::source, and gmledge::target.
Referenced by gml_to_gv(), and mkGraph().
|
static |
Definition at line 195 of file gmlparse.c.
References gv_alloc().
|
static |
Definition at line 162 of file gmlparse.c.
|
static |
Definition at line 174 of file gmlparse.c.
References G, and gmlgraph::parent.
|
static |
Definition at line 152 of file gmlparse.c.
References gv_alloc(), L, and liststk.
Referenced by gml_to_gv(), and gml_to_gv().
|
static |
Definition at line 180 of file gmlparse.c.
References gmlgraph::directed, G, gmlgraph::graphlist, gv_alloc(), and gmlgraph::parent.
|
static |
Definition at line 232 of file gmlparse.c.
References gmlgraph::directed, free(), G, and gmlgraph::parent.
|
static |
Definition at line 2272 of file gmlparse.c.
References COLOR, DIRECTED, EDGE, FILL, FONTNAME, FONTSIZE, GRAPH, GRAPHICS, HVAL, ID, INTEGER, LABEL, LABELGRAPHICS, LINE, LIST, 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 1922 of file gmlparse.c.
References agsafeset(), agxbuse(), deparseList(), gmlattr::kind, LIST, gmlattr::lp, gmlattr::name, str, gmlattr::u, and gmlattr::value.
|
static |
Definition at line 1115 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(), mkGraph(), mkGraph(), popAlist(), pushAlist(), renewlist(), RGB2LAB(), safe_list_append(), treeDup(), and zapinlist().
|
static |
Definition at line 102 of file gmlparse.c.
Referenced by cleanup(), popAlist(), and pushAlist().
|
static |
Definition at line 91 of file gmlparse.c.
Referenced by cleanup().
int yychar |
Definition at line 1130 of file gmlparse.c.
|
static |
Definition at line 858 of file gmlparse.c.
|
static |
Definition at line 799 of file gmlparse.c.
|
static |
Definition at line 822 of file gmlparse.c.
YYSTYPE yylval |
Definition at line 1133 of file gmlparse.c.
int yynerrs |
Definition at line 1135 of file gmlparse.c.
|
static |
Definition at line 781 of file gmlparse.c.
|
static |
Definition at line 815 of file gmlparse.c.
|
static |
Definition at line 903 of file gmlparse.c.
|
static |
Definition at line 915 of file gmlparse.c.
|
static |
Definition at line 887 of file gmlparse.c.
|
static |
Definition at line 831 of file gmlparse.c.
|
static |
Definition at line 692 of file gmlparse.c.