Home
last modified time | relevance | path

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

/PHP-7.0/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.c197 void simplestring_addn(simplestring* target, const char* source, size_t add_len) { in simplestring_addn() argument
204 if((SIZE_MAX - add_len) < target->len || (SIZE_MAX - add_len - 1) < target->len) { in simplestring_addn()
209 if(target->len + add_len + 1 > target->size) { in simplestring_addn()
211 newsize = target->len + add_len + 1; in simplestring_addn()
218 if(newsize < (target->len + add_len + 1)) { in simplestring_addn()
228 if(add_len) { in simplestring_addn()
229 memcpy(target->str + target->len, source, add_len); in simplestring_addn()
231 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 18 milliseconds