Home
last modified time | relevance | path

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

/system/core/sh/
Dmemalloc.c206 int newlen = SHELL_ALIGN(stacknleft * 2 + 100); in growstackblock() local
218 sizeof(struct stack_block) - MINSIZE + newlen); in growstackblock()
222 stacknleft = newlen; in growstackblock()
239 char *p = stalloc(newlen); in growstackblock()
243 stacknleft += newlen; /* we just allocated */ in growstackblock()
/system/core/toolbox/grep/
Dfile.c127 grep_lnbufgrow(size_t newlen) in grep_lnbufgrow() argument
130 if (lnbuflen < newlen) { in grep_lnbufgrow()
131 lnbuf = grep_realloc(lnbuf, newlen); in grep_lnbufgrow()
132 lnbuflen = newlen; in grep_lnbufgrow()
/system/core/toolbox/
Dmount.c68 int newlen = extra->used_size + len; in add_extra_option() local
73 if (newlen >= extra->alloc_size) { in add_extra_option()
76 new = realloc(extra->str, newlen + 1); /* +1 for NUL */ in add_extra_option()
82 extra->alloc_size = newlen; in add_extra_option()
/system/extras/ext4_utils/
Dmake_ext4fs.c409 int newlen = len; in canonicalize_slashes() local
417 newlen++; in canonicalize_slashes()
420 newlen++; in canonicalize_slashes()
422 ret = malloc(newlen + 1); in canonicalize_slashes()
439 if (ptr != ret + newlen) { in canonicalize_slashes()