/PHP-7.4/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 123 char *pbuf; in resourcebundle_ctor() local 125 spprintf(&pbuf, 0, "resourcebundle_ctor: Cannot load libICU resource " in resourcebundle_ctor() 130 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(rb), pbuf, 1); in resourcebundle_ctor() 131 efree(pbuf); in resourcebundle_ctor() 184 char *pbuf; in resourcebundle_array_fetch() local 206 spprintf( &pbuf, 0, "Cannot load resource element %d", meindex ); in resourcebundle_array_fetch() 208 spprintf( &pbuf, 0, "Cannot load resource element '%s'", mekey ); in resourcebundle_array_fetch() 210 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch() 211 efree(pbuf); in resourcebundle_array_fetch() 223 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch() [all …]
|
/PHP-7.4/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 259 char *path_dup, *pbuf; in zend_accel_blacklist_loadone() local 269 pbuf = &buf[0]; in zend_accel_blacklist_loadone() 270 while (*pbuf == '\r') { in zend_accel_blacklist_loadone() 271 *pbuf++ = 0; in zend_accel_blacklist_loadone() 276 if (pbuf[0] == '\"' && pbuf[path_length - 1]== '\"') { in zend_accel_blacklist_loadone() 277 *pbuf++ = 0; in zend_accel_blacklist_loadone() 286 if (pbuf[0]==';') { in zend_accel_blacklist_loadone() 290 path_dup = zend_strndup(pbuf, path_length); in zend_accel_blacklist_loadone()
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | funcs.c | 396 if (ms->o.pbuf) { in file_reset() 397 efree(ms->o.pbuf); in file_reset() 398 ms->o.pbuf = NULL; in file_reset() 416 char *pbuf, *op, *np; in file_getbuffer() local 435 if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer() 439 ms->o.pbuf = pbuf; in file_getbuffer() 450 np = ms->o.pbuf; in file_getbuffer() 476 return ms->o.pbuf; in file_getbuffer() 480 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer() 488 return ms->o.pbuf; in file_getbuffer()
|
H A D | file.h | 410 char *pbuf; /* Printable buffer */ member
|
H A D | apprentice.c | 475 if (ms->o.pbuf) { in file_ms_free() 476 efree(ms->o.pbuf); in file_ms_free() 502 ms->o.buf = ms->o.pbuf = NULL; in file_ms_alloc()
|
/PHP-7.4/ext/mbstring/ |
H A D | php_mbregex.c | 706 smart_str *pbuf, in mb_regex_substitute() argument 726 smart_str_appendl(pbuf, p, clen); in mb_regex_substitute() 734 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 753 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 764 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 813 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 818 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute() 827 smart_str_appendl(pbuf, p, eos - p); in mb_regex_substitute() 1028 smart_str *pbuf; in _php_mb_regex_ereg_replace_exec() local 1114 pbuf = &eval_buf; in _php_mb_regex_ereg_replace_exec() [all …]
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_alloc.h | 45 int (*m_sprintf)(char **pbuf, size_t max_len, const char *format, ...); 46 int (*m_vsprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
|
H A D | mysqlnd_alloc.c | 630 static int _mysqlnd_sprintf(char ** pbuf, size_t max_len, const char *format, ...) in _mysqlnd_sprintf() argument 635 len = vspprintf(pbuf, max_len, format, ap); in _mysqlnd_sprintf() 642 static int _mysqlnd_vsprintf(char ** pbuf, size_t max_len, const char * format, va_list ap) in _mysqlnd_vsprintf() argument 644 return vspprintf(pbuf, max_len, format, ap); in _mysqlnd_vsprintf()
|
/PHP-7.4/Zend/ |
H A D | zend.c | 187 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ … in ZEND_INI_END() 193 if (!pbuf) { in ZEND_INI_END() 206 *pbuf = buf.c; in ZEND_INI_END() 209 *pbuf = estrndup("", 0); in ZEND_INI_END()
|
H A D | zend.h | 237 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 169 - free(ms->o.pbuf); 173 + if (ms->o.pbuf) { 174 + efree(ms->o.pbuf); 196 ms->o.buf = ms->o.pbuf = NULL; 2431 if (ms->o.pbuf) { 2432 - free(ms->o.pbuf); 2433 + efree(ms->o.pbuf); 2434 ms->o.pbuf = NULL; 2441 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) { 2442 + if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
|