
Go to the source code of this file.
Data Types | |
| type | vstring |
Defines | |
| #define | vstr_len(v) ((v).len+0) |
| #define | vstr_str(v) ((v).str+0) |
Functions/Subroutines | |
| 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 vstr_len | ( | v | ) | ((v).len+0) |
Definition at line 53 of file vstring.h.
Referenced by ErrMsg_Report_Nonuser(), put_TN_comment(), r_apply_l_const(), r_assemble_list(), 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(), r_assemble_list(), Realloc_Vstring(), and vstr_concat().
Definition at line 106 of file vstring.c.
References vstring::len, Realloc_Vstring(), vstring::str, vstr_len, and vstr_max.
Referenced by r_assemble_list().
| vstring vstr_begin | ( | int | len | ) |
Definition at line 79 of file vstring.c.
References DevWarn, malloc, Realloc_Vstring(), set_vstr_len, set_vstr_max, set_vstr_str, vstr_len, and vstr_max.
Referenced by ErrMsg_Report_Nonuser(), ErrMsg_Report_User(), and r_assemble_list().
Definition at line 118 of file vstring.c.
References Realloc_Vstring(), set_vstr_len, strcpy, strlen(), vstr_len, vstr_max, and vstr_str.
Referenced by CGEMIT_Relocs_In_Asm(), ErrMsg_Report_Nonuser(), ErrMsg_Report_User(), print_prefetch_info(), put_TN_comment(), r_apply_l_const(), and r_assemble_list().
Definition at line 97 of file vstring.c.
References set_vstr_len, and vstring::str.
Referenced by ErrMsg_Report_Nonuser(), ErrMsg_Report_User(), and r_assemble_list().
| int vstr_sprintf | ( | vstring * | v, | |
| int | index, | |||
| const char * | format, | |||
| ... | ||||
| ) |
Definition at line 136 of file vstring.c.
References Fatal_Error(), len, p, Realloc_Vstring(), set_vstr_len, vstring::str, strlen(), va_arg, va_end, va_start, vsprintf(), vstr_len, and vstr_max.
Referenced by ErrMsg_Report_Nonuser(), ErrMsg_Report_User(), put_TN_comment(), r_apply_l_const(), and r_assemble_list().
1.5.6