Searched refs:newlen (Results 1 – 3 of 3) sorted by relevance
129 grep_lnbufgrow(size_t newlen) in grep_lnbufgrow() argument132 if (lnbuflen < newlen) { in grep_lnbufgrow()133 lnbuf = grep_realloc(lnbuf, newlen); in grep_lnbufgrow()134 lnbuflen = newlen; in grep_lnbufgrow()
650 int newlen = strlen(name); in appendPath() local652 char* buf = lockBuffer(len+1+newlen); in appendPath()658 memcpy(buf+len, name, newlen+1); in appendPath()659 len += newlen; in appendPath()
477 int newlen = len; in canonicalize_slashes() local488 newlen++; in canonicalize_slashes()491 newlen++; in canonicalize_slashes()493 ret = malloc(newlen + 1); in canonicalize_slashes()510 if (ptr != ret + newlen) { in canonicalize_slashes()