Home
last modified time | relevance | path

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

/external/mesa3d/src/talloc/
Dhieralloc.c362 const char * append, unsigned appendLen) in _hieralloc_strlendup_append() argument
367 …char * ret = (char *)hieralloc_reallocate(header->parent + 1, str, sizeof(char) * (len + appendLen in _hieralloc_strlendup_append()
370 memcpy(ret + len, append, appendLen); in _hieralloc_strlendup_append()
371 ret[len + appendLen] = 0; in _hieralloc_strlendup_append()
443 int appendLen = vsnprintf(&c, 1, fmt, va2); // count how many chars would be printed in hieralloc_vasprintf_append() local
446 assert(appendLen >= 0); // some vsnprintf may return -1 in hieralloc_vasprintf_append()
447 if (appendLen < 0) in hieralloc_vasprintf_append()
449 str = (char *)hieralloc_reallocate(NULL, str, sizeof(char) * (len + appendLen + 1), str); in hieralloc_vasprintf_append()
454 vsnprintf(str + len, appendLen + 1, fmt, va2); in hieralloc_vasprintf_append()