Searched refs:need_regs (Results 1 – 2 of 2) sorted by relevance
/ndk/sources/host-tools/sed-4.2.1/sed/ |
D | regexp.c | 178 int need_regs = nregs + 1; local 185 regs->start = MALLOC (need_regs, regoff_t); 186 regs->end = MALLOC (need_regs, regoff_t); 187 regs->num_regs = need_regs; 189 else if (need_regs > regs->num_regs) 192 regs->start = REALLOC (regs->start, need_regs, regoff_t); 193 regs->end = REALLOC (regs->end, need_regs, regoff_t); 194 regs->num_regs = need_regs;
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | regexec.c | 518 Idx need_regs = nregs + 1; in re_copy_regs() local 525 regs->start = re_malloc (regoff_t, need_regs); in re_copy_regs() 528 regs->end = re_malloc (regoff_t, need_regs); in re_copy_regs() 534 regs->num_regs = need_regs; in re_copy_regs() 540 if (BE (need_regs > regs->num_regs, 0)) in re_copy_regs() 542 regoff_t *new_start = re_realloc (regs->start, regoff_t, need_regs); in re_copy_regs() 546 new_end = re_realloc (regs->end, regoff_t, need_regs); in re_copy_regs() 554 regs->num_regs = need_regs; in re_copy_regs()
|