/dports/games/freeciv-nox11/freeciv-2.6.6/utility/ |
H A D | astring.c | 128 *astr = zero_astr; in astr_init() 139 free(astr->str); in astr_free() 141 *astr = zero_astr; in astr_free() 152 *astr = zero_astr; in astr_to_str() 170 astr->n = n; in astr_reserve() 178 astr->str = (char *) fc_realloc(astr->str, astr->n_alloc); in astr_reserve() 219 fc_strlcpy(astr->str + at, buffer, astr->n_alloc - at); in astr_vadd_at() 239 astr_vadd_at(astr, astr_len(astr), format, ap); in astr_vadd() 250 astr_vadd_at(astr, astr_len(astr), format, args); in astr_add() 316 return astr->str; in astr_build_or_list() [all …]
|
H A D | astring.h | 51 static inline size_t astr_len(const struct astring *astr) 60 char *astr_to_str(struct astring *astr) 62 void astr_reserve(struct astring *astr, size_t size) 64 void astr_clear(struct astring *astr) 79 const char *astr_build_or_list(struct astring *astr, 81 const char *astr_build_and_list(struct astring *astr, 93 return astr->str; in astr_str() 101 return (NULL != astr->str ? strlen(astr->str) : 0); in astr_len() 109 return astr->n; in astr_size() 117 return astr->n_alloc; in astr_capacity() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/utility/ |
H A D | astring.c | 128 *astr = zero_astr; in astr_init() 139 free(astr->str); in astr_free() 141 *astr = zero_astr; in astr_free() 152 *astr = zero_astr; in astr_to_str() 170 astr->n = n; in astr_reserve() 178 astr->str = (char *) fc_realloc(astr->str, astr->n_alloc); in astr_reserve() 219 fc_strlcpy(astr->str + at, buffer, astr->n_alloc - at); in astr_vadd_at() 239 astr_vadd_at(astr, astr_len(astr), format, ap); in astr_vadd() 250 astr_vadd_at(astr, astr_len(astr), format, args); in astr_add() 316 return astr->str; in astr_build_or_list() [all …]
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/devel/mingw32-gcc/gcc-4.8.1/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gcc.dg/cpp/ |
H A D | redef4.c | 59 #undef astr 62 #undef astr 65 #undef astr 68 #undef astr 71 #undef astr 74 #undef astr 77 #undef astr 80 #undef astr 83 #undef astr 86 #undef astr [all …]
|
/dports/editors/zile/zile-2.4.14/src/ |
H A D | astr.h | 44 typedef struct astr *astr; typedef 87 astr astr_cpy (astr as, const_astr src); 88 astr astr_cpy_cstr (astr as, const char *s); 93 astr astr_cat (astr as, const_astr src); 94 astr astr_cat_cstr (astr as, const char *s); 96 astr astr_cat_char (astr as, int c); 107 astr astr_remove (astr as, size_t pos, size_t size); 112 astr astr_insert (astr as, size_t pos, size_t size); 122 astr astr_set (astr as, size_t pos, int c, size_t n); 127 astr astr_truncate (astr as, size_t pos); [all …]
|