Lines Matching refs:nbuf
409 *nbuf, /* nbuf is used when we grow the buffer */ in php_ereg_replace() local
476 nbuf = emalloc(buf_len); in php_ereg_replace()
477 strncpy(nbuf, buf, buf_len - 1); in php_ereg_replace()
478 nbuf[buf_len - 1] = '\0'; in php_ereg_replace()
480 buf = nbuf; in php_ereg_replace()
514 nbuf = safe_emalloc(buf_len, sizeof(char), 0); in php_ereg_replace()
515 strncpy(nbuf, buf, buf_len-1); in php_ereg_replace()
517 buf = nbuf; in php_ereg_replace()
529 nbuf = safe_emalloc(buf_len, sizeof(char), 0); in php_ereg_replace()
530 strncpy(nbuf, buf, buf_len-1); in php_ereg_replace()
532 buf = nbuf; in php_ereg_replace()