Graphviz
2.41.20171026.1811
|
Go to the source code of this file.
Data Structures | |
struct | agxbuf |
Macros | |
#define | AGXBUF_H |
#define | AGXBUF_API extern |
#define | agxbputc(X, C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) |
#define | agxbuse(X) ((void)agxbputc(X,'\0'),(char*)((X)->ptr = (X)->buf)) |
#define | agxbstart(X) ((char*)((X)->buf)) |
#define | agxblen(X) (((X)->ptr)-((X)->buf)) |
#define | agxbclear(X) ((void)((X)->ptr = (X)->buf)) |
#define | agxbnext(X) ((char*)((X)->ptr)) |
Functions | |
AGXBUF_API void | agxbinit (agxbuf *xb, unsigned int hint, unsigned char *init) |
AGXBUF_API size_t | agxbput_n (agxbuf *xb, const char *s, size_t n) |
AGXBUF_API size_t | agxbput (agxbuf *xb, const char *s) |
AGXBUF_API void | agxbfree (agxbuf *xb) |
AGXBUF_API int | agxbpop (agxbuf *xb) |
AGXBUF_API int | agxbmore (agxbuf *xb, size_t ssz) |
#define agxblen | ( | X | ) | (((X)->ptr)-((X)->buf)) |
#define agxbnext | ( | X | ) | ((char*)((X)->ptr)) |
Definition at line 107 of file agxbuf.h.
Referenced by parse_style().
#define agxbputc | ( | X, | |
C | |||
) | ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), (void)(*(X)->ptr++ = ((unsigned char)C))) |
Definition at line 77 of file agxbuf.h.
Referenced by aagerror(), attach_attrs_and_arrows(), getObjId(), gvplugin_list(), htmlEntityUTF8(), latin1ToUTF8(), parse_style(), ps_string(), scanEntity(), and utf8ToLatin1().
#define agxbuse | ( | X | ) | ((void)agxbputc(X,'\0'),(char*)((X)->ptr = (X)->buf)) |
Definition at line 83 of file agxbuf.h.
Referenced by aagerror(), attach_attrs_and_arrows(), getObjId(), gvplugin_list(), htmlEntityUTF8(), htmllex(), latin1ToUTF8(), parse_style(), ps_string(), switch(), and utf8ToLatin1().
AGXBUF_API void agxbfree | ( | agxbuf * | xb | ) |
Definition at line 94 of file agxbuf.c.
References agxbuf::buf, and agxbuf::dyna.
Referenced by aagerror(), attach_attrs_and_arrows(), clearHTMLlexer(), dotneato_args_initialize(), get_font_mapping(), htmlEntityUTF8(), latin1ToUTF8(), make_html_label(), parse_style(), parseHTML(), processClusterEdges(), sprintXDot(), and utf8ToLatin1().
AGXBUF_API void agxbinit | ( | agxbuf * | xb, |
unsigned int | hint, | ||
unsigned char * | init | ||
) |
Definition at line 25 of file agxbuf.c.
References agxbuf::buf, agxbuf::dyna, agxbuf::eptr, N_GNEW, and agxbuf::ptr.
Referenced by aagerror(), attach_attrs_and_arrows(), dotneato_args_initialize(), get_font_mapping(), gvplugin_list(), htmlEntityUTF8(), initHTMLlexer(), latin1ToUTF8(), make_html_label(), parse_style(), parseHTML(), processClusterEdges(), ps_string(), sprintXDot(), and utf8ToLatin1().
AGXBUF_API int agxbmore | ( | agxbuf * | xb, |
size_t | ssz | ||
) |
Definition at line 44 of file agxbuf.c.
References agxbuf::buf, agxbuf::dyna, agxbuf::eptr, N_GNEW, and agxbuf::ptr.
Referenced by agxbput_n().
AGXBUF_API int agxbpop | ( | agxbuf * | xb | ) |
Definition at line 103 of file agxbuf.c.
References agxbuf::buf, and agxbuf::ptr.
Referenced by attach_attrs_and_arrows().
AGXBUF_API size_t agxbput | ( | agxbuf * | xb, |
const char * | s | ||
) |
Definition at line 84 of file agxbuf.c.
References agxbput_n().
Referenced by aagerror(), attach_attrs_and_arrows(), core_loadimage_xdot(), getObjId(), gvplugin_list(), parse_style(), scanEntity(), and sprintXDot().
AGXBUF_API size_t agxbput_n | ( | agxbuf * | xb, |
const char * | s, | ||
size_t | n | ||
) |
Definition at line 72 of file agxbuf.c.
References agxbmore(), agxbuf::eptr, and agxbuf::ptr.
Referenced by agxbput().