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

Function string_append_range

src/engine/strings.c:143–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141
142
143void string_append_range( string * self, char const * start, char const * finish )
144{
145 size_t rhs_size = finish - start;
146 size_t new_size = self->size + rhs_size;
147 assert_invariants( self );
148
149 maybe_reserve( self, new_size );
150
151 memcpy( self->value + self->size, start, rhs_size );
152 self->size = new_size;
153 self->value[ new_size ] = 0;
154
155 assert_invariants( self );
156}
157
158
159void string_copy( string * s, char const * rhs )

Callers 13

file_build1Function · 0.85
canonicWindowsPathFunction · 0.85
var_definesFunction · 0.85
lookup_ruleFunction · 0.85
glob_recursiveFunction · 0.85
builtin_matchFunction · 0.85
exec_cmdFunction · 0.85
path_buildFunction · 0.85
string_push_backFunction · 0.85
regex_replaceFunction · 0.85

Calls 2

assert_invariantsFunction · 0.85
maybe_reserveFunction · 0.85

Tested by

no test coverage detected