Searched refs:nbuf (Results 1 – 3 of 3) sorted by relevance
/PHP-5.6/ext/ereg/ |
H A D | ereg.c | 409 *nbuf, /* nbuf is used when we grow the buffer */ in php_ereg_replace() local 475 nbuf = safe_emalloc(new_l + 1, 2, 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() 513 nbuf = safe_emalloc(new_l + 1, 2, buf_len); 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(new_l, 1, 1); in php_ereg_replace() 530 strncpy(nbuf, buf, buf_len-1); in php_ereg_replace() [all …]
|
/PHP-5.6/ext/fileinfo/libmagic/ |
H A D | encoding.c | 72 unsigned char *nbuf = NULL; in file_encoding() local 84 mlen = (nbytes + 1) * sizeof(nbuf[0]); in file_encoding() 85 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding() 121 from_ebcdic(buf, nbytes, nbuf); in file_encoding() 123 if (looks_ascii(nbuf, nbytes, *ubuf, ulen)) { in file_encoding() 127 } else if (looks_latin1(nbuf, nbytes, *ubuf, ulen)) { in file_encoding() 140 free(nbuf); in file_encoding()
|
/PHP-5.6/sapi/nsapi/ |
H A D | nsapi.c | 597 netbuf *nbuf = rc->sn->inbuf; in sapi_nsapi_read_post() local 612 length = nbuf->cursize - nbuf->pos; in sapi_nsapi_read_post() 615 memcpy(read_ptr, nbuf->inbuf + nbuf->pos, length); in sapi_nsapi_read_post() 619 nbuf->pos += length; in sapi_nsapi_read_post()
|
Completed in 14 milliseconds