/PHP-8.0/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 122 char *pbuf; in resourcebundle_ctor() local 124 spprintf(&pbuf, 0, "resourcebundle_ctor: Cannot load libICU resource " in resourcebundle_ctor() 129 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(rb), pbuf, 1); in resourcebundle_ctor() 130 efree(pbuf); in resourcebundle_ctor() 171 char *pbuf; in resourcebundle_array_fetch() local 194 spprintf( &pbuf, 0, "Cannot load resource element %d", meindex ); in resourcebundle_array_fetch() 196 spprintf( &pbuf, 0, "Cannot load resource element '%s'", mekey ); in resourcebundle_array_fetch() 198 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch() 199 efree(pbuf); in resourcebundle_array_fetch() 211 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch() [all …]
|
/PHP-8.0/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.0/ext/fileinfo/libmagic/ |
H A D | funcs.c | 480 if (ms->o.pbuf) { in file_reset() 481 efree(ms->o.pbuf); in file_reset() 482 ms->o.pbuf = NULL; in file_reset() 500 char *pbuf, *op, *np; in file_getbuffer() local 519 if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer() 523 ms->o.pbuf = pbuf; in file_getbuffer() 534 np = ms->o.pbuf; in file_getbuffer() 560 return ms->o.pbuf; in file_getbuffer() 564 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer() 572 return ms->o.pbuf; in file_getbuffer()
|
H A D | file.h | 417 char *pbuf; /* Printable buffer */ member
|
H A D | apprentice.c | 492 if (ms->o.pbuf) { in file_ms_free() 493 efree(ms->o.pbuf); in file_ms_free() 519 ms->o.buf = ms->o.pbuf = NULL; in file_ms_alloc()
|
/PHP-8.0/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.0/ext/mysqlnd/ |
H A D | mysqlnd_alloc.h | 43 int (*m_sprintf)(char **pbuf, size_t max_len, const char *format, ...); 44 int (*m_vsprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
|
H A D | mysqlnd_alloc.c | 628 static int _mysqlnd_sprintf(char ** pbuf, size_t max_len, const char *format, ...) in _mysqlnd_sprintf() argument 633 len = vspprintf(pbuf, max_len, format, ap); in _mysqlnd_sprintf() 640 static int _mysqlnd_vsprintf(char ** pbuf, size_t max_len, const char * format, va_list ap) in _mysqlnd_vsprintf() argument 642 return vspprintf(pbuf, max_len, format, ap); in _mysqlnd_vsprintf()
|
/PHP-8.0/Zend/ |
H A D | zend.c | 196 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ … in ZEND_INI_END() 202 if (!pbuf) { in ZEND_INI_END() 215 *pbuf = buf.c; in ZEND_INI_END() 218 *pbuf = estrndup("", 0); in ZEND_INI_END()
|
H A D | zend.h | 238 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
|
/PHP-8.0/ext/fileinfo/ |
H A D | libmagic.patch | 129 - free(ms->o.pbuf); 133 + if (ms->o.pbuf) { 134 + efree(ms->o.pbuf); 2493 if (ms->o.pbuf) { 2494 - free(ms->o.pbuf); 2495 + efree(ms->o.pbuf); 2496 ms->o.pbuf = NULL; 2503 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) { 2504 + if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
|