/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/graph/agxbuf.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  agxbuf

Defines

#define agxbputc(X, C)
#define agxbuse(X)   (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

void agxbinit (agxbuf *xb, unsigned int hint, unsigned char *init)
int agxbput_n (agxbuf *xb, char *s, unsigned int n)
int agxbput (agxbuf *xb, char *s)
void agxbfree (agxbuf *xb)
int agxbpop (agxbuf *xb)
int agxbmore (agxbuf *xb, int unsigned ssz)


Define Documentation

#define agxbclear (  )     ((void)((X)->ptr = (X)->buf))

Definition at line 95 of file agxbuf.h.

#define agxblen (  )     (((X)->ptr)-((X)->buf))

Definition at line 89 of file agxbuf.h.

Referenced by htmllex().

#define agxbnext (  )     ((char*)((X)->ptr))

Definition at line 101 of file agxbuf.h.

Referenced by parse_style().

#define agxbputc ( X,
 ) 

Value:

((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), \
          (int)(*(X)->ptr++ = ((unsigned char)C)))

Definition at line 70 of file agxbuf.h.

Referenced by attach_attrs_and_arrows(), gvUsername(), htmlEntityUTF8(), latin1ToUTF8(), parse_style(), ps_string(), scanEntity(), and utf8ToLatin1().

#define agxbstart (  )     ((char*)((X)->buf))

Definition at line 83 of file agxbuf.h.

#define agxbuse (  )     (agxbputc(X,'\0'),(char*)((X)->ptr = (X)->buf))

Definition at line 77 of file agxbuf.h.

Referenced by aglex(), attach_attrs_and_arrows(), gvUsername(), htmlEntityUTF8(), htmllex(), htmlparse(), latin1ToUTF8(), parse_style(), ps_string(), utf8ToLatin1(), and yyparse().


Function Documentation

void agxbfree ( agxbuf xb  ) 

Definition at line 97 of file agxbuf.c.

References agxbuf::buf, agxbuf::dyna, and free().

Referenced by aglex(), attach_attrs_and_arrows(), clearHTMLlexer(), htmlEntityUTF8(), latin1ToUTF8(), make_html_label(), parse_style(), parseHTML(), processClusterEdges(), and utf8ToLatin1().

void agxbinit ( agxbuf xb,
unsigned int  hint,
unsigned char *  init 
)

Definition at line 28 of file agxbuf.c.

References agxbuf::buf, agxbuf::dyna, agxbuf::eptr, N_GNEW, and agxbuf::ptr.

Referenced by aglex(), attach_attrs_and_arrows(), gvUsername(), htmlEntityUTF8(), initHTMLlexer(), latin1ToUTF8(), make_html_label(), parse_style(), parseHTML(), processClusterEdges(), ps_string(), and utf8ToLatin1().

int agxbmore ( agxbuf xb,
int unsigned  ssz 
)

int agxbpop ( agxbuf xb  ) 

Definition at line 106 of file agxbuf.c.

References agxbuf::buf, and agxbuf::ptr.

Referenced by attach_attrs_and_arrows().

int agxbput ( agxbuf xb,
char *  s 
)

Definition at line 87 of file agxbuf.c.

References agxbput_n().

Referenced by attach_attrs_and_arrows(), core_loadimage_xdot(), gvUsername(), output_point(), parse_style(), and scanEntity().

int agxbput_n ( agxbuf xb,
char *  s,
unsigned int  n 
)

Definition at line 75 of file agxbuf.c.

References agxbmore(), agxbuf::eptr, and agxbuf::ptr.

Referenced by agxbput().


Generated on Mon Mar 31 19:05:46 2008 for Graphviz by  doxygen 1.5.1