Graphviz 13.0.0~dev.20241220.2304
|
#include <gvpr/gprstate.h>
#include <ast/error.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <util/alloc.h>
Go to the source code of this file.
Functions | |
bool | validTVT (long long c) |
void | initGPRState (Gpr_t *state) |
Gpr_t * | openGPRState (gpr_info *info) |
static int | bindingcmpf (const void *key, const void *ip) |
gvprbinding * | findBinding (Gpr_t *state, char *fname) |
void | addBindings (Gpr_t *state, gvprbinding *bindings) |
void | closeGPRState (Gpr_t *state) |
Variables | |
static int | name_used |
void addBindings | ( | Gpr_t * | state, |
gvprbinding * | bindings | ||
) |
Definition at line 91 of file gprstate.c.
References bindingcmpf(), Gpr_t::bindings, gvprbinding::fn, gv_calloc(), Gpr_t::n_bindings, and gvprbinding::name.
Referenced by gvpr_core().
|
static |
Definition at line 59 of file gprstate.c.
Referenced by addBindings(), and findBinding().
void closeGPRState | ( | Gpr_t * | state | ) |
Definition at line 119 of file gprstate.c.
References Gpr_t::dp, free(), name_used, Gpr_t::name_used, and Gpr_t::tgtname.
Referenced by gvpr().
gvprbinding * findBinding | ( | Gpr_t * | state, |
char * | fname | ||
) |
Definition at line 67 of file gprstate.c.
References bindingcmpf(), Gpr_t::bindings, error, ERROR_ERROR, fname, Gpr_t::n_bindings, gvprbinding::name, and NULL.
Referenced by getval().
void initGPRState | ( | Gpr_t * | state | ) |
Definition at line 30 of file gprstate.c.
References Gpr_t::tgtname.
Referenced by gvpr_core().
Definition at line 34 of file gprstate.c.
References Gpr_t::argc, Gpr_t::argv, Gpr_t::errf, error, ERROR_ERROR, Gpr_t::flags, name_used, Gpr_t::name_used, Gpr_t::outFile, TV_flat, Gpr_t::tvedge, Gpr_t::tvnext, Gpr_t::tvroot, and Gpr_t::tvt.
Referenced by gvpr_core().
bool validTVT | ( | long long | c | ) |
Definition at line 26 of file gprstate.c.
References TV_flat, and TV_prepostrev.
Referenced by convert(), and setval().
|
static |
Definition at line 24 of file gprstate.c.
Referenced by closeGPRState(), and openGPRState().