Home
last modified time | relevance | path

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

/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dfile.c129 grep_lnbufgrow(size_t newlen) in grep_lnbufgrow() argument
132 if (lnbuflen < newlen) { in grep_lnbufgrow()
133 lnbuf = grep_realloc(lnbuf, newlen); in grep_lnbufgrow()
134 lnbuflen = newlen; in grep_lnbufgrow()
/system/core/libutils/
DString8.cpp650 int newlen = strlen(name); in appendPath() local
652 char* buf = lockBuffer(len+1+newlen); in appendPath()
658 memcpy(buf+len, name, newlen+1); in appendPath()
659 len += newlen; in appendPath()
/system/extras/ext4_utils/
Dmake_ext4fs.c477 int newlen = len; in canonicalize_slashes() local
488 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()