Open64 (mfef90, whirl2f, and IR tools)  TAG: version-openad; SVN changeset: 916
vstring.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vstring

Defines

#define vstr_len(v)   ((v).len+0)
#define vstr_str(v)   ((v).str+0)

Functions

vstring vstr_begin (int len)
void vstr_end (vstring v)
vstring vstr_append (vstring v, const char c)
vstring vstr_concat (vstring v, const char *s)
int vstr_sprintf (vstring *v, int index, const char *format,...)

Define Documentation

#define vstr_len (   v)    ((v).len+0)

Definition at line 53 of file vstring.h.

Referenced by ErrMsg_Report_Nonuser(), vstr_append(), vstr_begin(), vstr_concat(), and vstr_sprintf().

#define vstr_str (   v)    ((v).str+0)

Definition at line 54 of file vstring.h.

Referenced by ErrMsg_Report_Nonuser(), ErrMsg_Report_User(), Realloc_Vstring(), and vstr_concat().


Function Documentation

vstring vstr_append ( vstring  v,
const char  c 
)

Definition at line 102 of file vstring.c.

References c, vstring::len, Realloc_Vstring(), vstring::str, vstr_len, and vstr_max.

Here is the call graph for this function:

vstring vstr_begin ( int  len)

Definition at line 75 of file vstring.c.

References current_vstring, DevWarn(), Realloc_Vstring(), set_vstr_len, set_vstr_max, set_vstr_str, vstr_len, and vstr_max.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

Here is the call graph for this function:

vstring vstr_concat ( vstring  v,
const char *  s 
)

Definition at line 114 of file vstring.c.

References Realloc_Vstring(), set_vstr_len, strcpy, vstr_len, vstr_max, and vstr_str.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

Here is the call graph for this function:

void vstr_end ( vstring  v)

Definition at line 93 of file vstring.c.

References set_vstr_len, and vstring::str.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

int vstr_sprintf ( vstring v,
int  index,
const char *  format,
  ... 
)

Definition at line 132 of file vstring.c.

References Fatal_Error(), len, Realloc_Vstring(), set_vstr_len, vstring::str, vstr_len, and vstr_max.

Referenced by ErrMsg_Report_Nonuser(), and ErrMsg_Report_User().

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines