Home
last modified time | relevance | path

Searched refs:add_len (Results 1 – 2 of 2) sorted by relevance

/PHP-7.3/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.c198 void simplestring_addn(simplestring* target, const char* source, size_t add_len) { in simplestring_addn() argument
205 if((SIZE_MAX - add_len) < target->len || (SIZE_MAX - add_len - 1) < target->len) { in simplestring_addn()
210 if(target->len + add_len + 1 > target->size) { in simplestring_addn()
212 newsize = target->len + add_len + 1; in simplestring_addn()
219 if(newsize < (target->len + add_len + 1)) { in simplestring_addn()
229 if(add_len) { in simplestring_addn()
230 memcpy(target->str + target->len, source, add_len); in simplestring_addn()
232 target->len += add_len; in simplestring_addn()
H A Dsimplestring.h66 void simplestring_addn(simplestring* string, const char* add, size_t add_len);

Completed in 5 milliseconds