Lines Matching refs:residx
2452 int match_no, residx, replen, resbufsize; in awk_sub() local
2458 residx = 0; in awk_sub()
2469 resbuf = qrealloc(resbuf, residx + eo + replen, &resbufsize); in awk_sub()
2470 memcpy(resbuf + residx, sp, eo); in awk_sub()
2471 residx += eo; in awk_sub()
2477 residx -= (eo - so); in awk_sub()
2480 char c = resbuf[residx++] = *s; in awk_sub()
2487 residx -= ((nbs + 3) >> 1); in awk_sub()
2494 resbuf[residx++] = c; in awk_sub()
2497 resbuf = qrealloc(resbuf, residx + replen + n, &resbufsize); in awk_sub()
2498 memcpy(resbuf + residx, sp + pmatch[j].rm_so, n); in awk_sub()
2499 residx += n; in awk_sub()
2521 resbuf[residx] = *sp; in awk_sub()
2525 residx++; in awk_sub()
2529 resbuf = qrealloc(resbuf, residx + strlen(sp), &resbufsize); in awk_sub()
2530 strcpy(resbuf + residx, sp); in awk_sub()