MCPcopy Create free account
hub / github.com/boostorg/build / string_append

Function string_append

v2/engine/strings.c:128–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127
128void string_append( string * self, char const * rhs )
129{
130 size_t rhs_size = strlen( rhs );
131 size_t new_size = self->size + rhs_size;
132 assert_invariants( self );
133
134 maybe_reserve( self, new_size );
135
136 memcpy( self->value + self->size, rhs, rhs_size + 1 );
137 self->size = new_size;
138
139 assert_invariants( self );
140}
141
142
143void string_append_range( string * self, char const * start, char const * finish )

Callers 15

canonicWindowsPathFunction · 0.85
module_statFunction · 0.85
class_module_statFunction · 0.85
class_module_nameFunction · 0.85
import_base_ruleFunction · 0.85
path_get_temp_path_Function · 0.85
downcase_listFunction · 0.85
builtin_backtraceFunction · 0.85
builtin_normalize_pathFunction · 0.85
bjam_backtraceFunction · 0.85
windows_popen_wrapperFunction · 0.85

Calls 2

assert_invariantsFunction · 0.85
maybe_reserveFunction · 0.85

Tested by

no test coverage detected