Searched refs:pbuf (Results 1 – 9 of 9) sorted by relevance
/php-src/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 126 char *pbuf; in resourcebundle_ctor() local 128 spprintf(&pbuf, 0, "resourcebundle_ctor: Cannot load libICU resource " in resourcebundle_ctor() 133 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(rb), pbuf, 1); in resourcebundle_ctor() 134 efree(pbuf); in resourcebundle_ctor() 179 char *pbuf; in resource_bundle_array_fetch() local 213 spprintf( &pbuf, 0, "Cannot load resource element %d", index ); in resource_bundle_array_fetch() 215 spprintf( &pbuf, 0, "Cannot load resource element '%s'", key ); in resource_bundle_array_fetch() 217 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resource_bundle_array_fetch() 218 efree(pbuf); in resource_bundle_array_fetch() 231 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1); in resource_bundle_array_fetch() [all …]
|
/php-src/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 262 char *path_dup, *pbuf; in zend_accel_blacklist_loadone() local 272 pbuf = &buf[0]; in zend_accel_blacklist_loadone() 273 while (*pbuf == '\r') { in zend_accel_blacklist_loadone() 274 *pbuf++ = 0; in zend_accel_blacklist_loadone() 279 if (path_length > 0 && pbuf[0] == '\"' && pbuf[path_length - 1]== '\"') { in zend_accel_blacklist_loadone() 280 *pbuf++ = 0; in zend_accel_blacklist_loadone() 289 if (pbuf[0]==';') { in zend_accel_blacklist_loadone() 293 path_dup = zend_strndup(pbuf, path_length); in zend_accel_blacklist_loadone()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | funcs.c | 530 if (ms->o.pbuf) { in file_reset() 531 efree(ms->o.pbuf); in file_reset() 532 ms->o.pbuf = NULL; in file_reset() 550 char *pbuf, *op, *np; in file_getbuffer() local 569 if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer() 573 ms->o.pbuf = pbuf; in file_getbuffer() 584 np = ms->o.pbuf; in file_getbuffer() 610 return ms->o.pbuf; in file_getbuffer() 614 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer() 622 return ms->o.pbuf; in file_getbuffer()
|
H A D | file.h | 453 char *pbuf; /* Printable buffer */ member
|
H A D | apprentice.c | 533 if (ms->o.pbuf) { in file_ms_free() 534 efree(ms->o.pbuf); in file_ms_free() 563 ms->o.buf = ms->o.pbuf = NULL; in file_ms_alloc()
|
/php-src/ext/mbstring/ |
H A D | php_mbregex.c | 707 smart_str *pbuf, in mb_regex_substitute() argument 727 smart_str_appendl(pbuf, p, clen); in mb_regex_substitute() 735 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 754 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 766 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 816 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 821 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 830 smart_str_appendl(pbuf, p, eos - p); in mb_regex_substitute() 1001 smart_str *pbuf; in _php_mb_regex_ereg_replace_exec() local 1054 pbuf = &eval_buf; in _php_mb_regex_ereg_replace_exec() [all …]
|
/php-src/Zend/ |
H A D | zend.c | 283 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ … in ZEND_INI_END() 289 if (!pbuf) { in ZEND_INI_END() 302 *pbuf = buf.c; in ZEND_INI_END() 305 *pbuf = estrndup("", 0); in ZEND_INI_END()
|
H A D | zend.h | 297 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 62 - free(ms->o.pbuf); 65 + if (ms->o.pbuf) { 66 + efree(ms->o.pbuf); 2001 if (ms->o.pbuf) { 2002 - free(ms->o.pbuf); 2003 + efree(ms->o.pbuf); 2004 ms->o.pbuf = NULL; 2011 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) { 2012 + if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
|
Completed in 57 milliseconds