Searched refs:newlen (Results 1 – 4 of 4) sorted by relevance
127 grep_lnbufgrow(size_t newlen) in grep_lnbufgrow() argument130 if (lnbuflen < newlen) { in grep_lnbufgrow()131 lnbuf = grep_realloc(lnbuf, newlen); in grep_lnbufgrow()132 lnbuflen = newlen; in grep_lnbufgrow()
68 int newlen; in add_extra_option() local72 newlen = extra->used_size + len; in add_extra_option()74 if (newlen >= extra->alloc_size) { in add_extra_option()77 new = realloc(extra->str, newlen + 1); /* +1 for NUL */ in add_extra_option()83 extra->alloc_size = newlen + 1; in add_extra_option()
431 int newlen = len; in canonicalize_slashes() local442 newlen++; in canonicalize_slashes()445 newlen++; in canonicalize_slashes()447 ret = malloc(newlen + 1); in canonicalize_slashes()464 if (ptr != ret + newlen) { in canonicalize_slashes()
636 int newlen = strlen(name); in appendPath() local638 char* buf = lockBuffer(len+1+newlen); in appendPath()644 memcpy(buf+len, name, newlen+1); in appendPath()645 len += newlen; in appendPath()