Searched refs:pbuf (Results 1 – 9 of 9) sorted by relevance
/PHP-8.1/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 127 char *pbuf; in resourcebundle_ctor() local 129 spprintf(&pbuf, 0, "resourcebundle_ctor: Cannot load libICU resource " in resourcebundle_ctor() 134 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(rb), pbuf, 1); in resourcebundle_ctor() 135 efree(pbuf); in resourcebundle_ctor() 178 char *pbuf; in resourcebundle_array_fetch() local 201 spprintf( &pbuf, 0, "Cannot load resource element %d", meindex ); in resourcebundle_array_fetch() 203 spprintf( &pbuf, 0, "Cannot load resource element '%s'", mekey ); in resourcebundle_array_fetch() 205 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch() 206 efree(pbuf); in resourcebundle_array_fetch() 218 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch() [all …]
|
/PHP-8.1/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-8.1/ext/fileinfo/libmagic/ |
H A D | funcs.c | 521 if (ms->o.pbuf) { in file_reset() 522 efree(ms->o.pbuf); in file_reset() 523 ms->o.pbuf = NULL; in file_reset() 541 char *pbuf, *op, *np; in file_getbuffer() local 560 if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer() 564 ms->o.pbuf = pbuf; in file_getbuffer() 575 np = ms->o.pbuf; in file_getbuffer() 601 return ms->o.pbuf; in file_getbuffer() 605 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer() 613 return ms->o.pbuf; in file_getbuffer()
|
H A D | file.h | 428 char *pbuf; /* Printable buffer */ member
|
H A D | apprentice.c | 491 if (ms->o.pbuf) { in file_ms_free() 492 efree(ms->o.pbuf); in file_ms_free() 518 ms->o.buf = ms->o.pbuf = NULL; in file_ms_alloc()
|
/PHP-8.1/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-8.1/Zend/ |
H A D | zend.c | 215 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ … in ZEND_INI_END() 221 if (!pbuf) { in ZEND_INI_END() 234 *pbuf = buf.c; in ZEND_INI_END() 237 *pbuf = estrndup("", 0); in ZEND_INI_END()
|
H A D | zend.h | 281 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
|
/PHP-8.1/ext/fileinfo/ |
H A D | libmagic.patch | 127 - free(ms->o.pbuf); 131 + if (ms->o.pbuf) { 132 + efree(ms->o.pbuf); 2209 if (ms->o.pbuf) { 2210 - free(ms->o.pbuf); 2211 + efree(ms->o.pbuf); 2212 ms->o.pbuf = NULL; 2219 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) { 2220 + if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
|
Completed in 47 milliseconds