/PHP-7.1/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 121 char *pbuf; in resourcebundle_ctor() local 123 spprintf(&pbuf, 0, "resourcebundle_ctor: Cannot load libICU resource " in resourcebundle_ctor() 128 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(rb), pbuf, 1); in resourcebundle_ctor() 129 efree(pbuf); in resourcebundle_ctor() 182 char *pbuf; in resourcebundle_array_fetch() local 204 spprintf( &pbuf, 0, "Cannot load resource element %d", meindex ); in resourcebundle_array_fetch() 206 spprintf( &pbuf, 0, "Cannot load resource element '%s'", mekey ); in resourcebundle_array_fetch() 208 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch() 209 efree(pbuf); in resourcebundle_array_fetch() 221 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch() [all …]
|
/PHP-7.1/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 252 char *path_dup, *pbuf; in zend_accel_blacklist_loadone() local 262 pbuf = &buf[0]; in zend_accel_blacklist_loadone() 263 while (*pbuf == '\r') { in zend_accel_blacklist_loadone() 264 *pbuf++ = 0; in zend_accel_blacklist_loadone() 269 if (pbuf[0] == '\"' && pbuf[path_length - 1]== '\"') { in zend_accel_blacklist_loadone() 270 *pbuf++ = 0; in zend_accel_blacklist_loadone() 279 if (pbuf[0]==';') { in zend_accel_blacklist_loadone() 283 path_dup = zend_strndup(pbuf, path_length); in zend_accel_blacklist_loadone()
|
/PHP-7.1/main/ |
H A D | spprintf.h | 40 PHPAPI size_t spprintf( char **pbuf, size_t max_len, const char *format, ...) PHP_ATTRIBUTE_FORMAT(… 42 PHPAPI size_t vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) PHP_ATTRIBUTE_…
|
H A D | spprintf.c | 834 PHPAPI size_t vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ */ in vspprintf() argument 840 if(!pbuf) { in vspprintf() 852 *pbuf = buf.c; in vspprintf() 855 *pbuf = estrndup("", 0); in vspprintf() 861 PHPAPI size_t spprintf(char **pbuf, size_t max_len, const char *format, ...) /* {{{ */ in spprintf() argument 867 cc = vspprintf(pbuf, max_len, format, ap); in spprintf()
|
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | funcs.c | 306 if (ms->o.pbuf) { in file_reset() 307 efree(ms->o.pbuf); in file_reset() 308 ms->o.pbuf = NULL; in file_reset() 345 if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer() 359 np = ms->o.pbuf; in file_getbuffer() 385 return ms->o.pbuf; in file_getbuffer() 389 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer() 397 return ms->o.pbuf; in file_getbuffer()
|
H A D | file.h | 388 char *pbuf; /* Printable buffer */ member
|
H A D | apprentice.c | 467 if (ms->o.pbuf) { in file_ms_free() 468 efree(ms->o.pbuf); in file_ms_free() 494 ms->o.buf = ms->o.pbuf = NULL; in file_ms_alloc()
|
/PHP-7.1/ext/mbstring/oniguruma/ |
H A D | regparse.c | 1711 if (IS_NULL(*pbuf)) { in add_code_range_to_buf() 1714 bbuf = *pbuf; in add_code_range_to_buf() 1718 bbuf = *pbuf; in add_code_range_to_buf() 2025 bbuf_free(pbuf); in and_cclass() 2028 bbuf_free(pbuf); in and_cclass() 2029 pbuf = tbuf; in and_cclass() 2034 dest->mbuf = pbuf; in and_cclass() 2083 bbuf_free(pbuf); in or_cclass() 2086 bbuf_free(pbuf); in or_cclass() 2087 pbuf = tbuf; in or_cclass() [all …]
|
/PHP-7.1/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 | 661 static int _mysqlnd_sprintf(char ** pbuf, size_t max_len, const char *format, ...) in _mysqlnd_sprintf() argument 666 len = vspprintf(pbuf, max_len, format, ap); in _mysqlnd_sprintf() 673 static int _mysqlnd_vsprintf(char ** pbuf, size_t max_len, const char * format, va_list ap) in _mysqlnd_vsprintf() argument 675 return vspprintf(pbuf, max_len, format, ap); in _mysqlnd_vsprintf()
|
/PHP-7.1/Zend/ |
H A D | zend.h | 190 size_t (*vspprintf_function)(char **pbuf, size_t max_len, const char *format, va_list ap); 265 extern size_t (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
|
H A D | zend.c | 57 size_t (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
|
/PHP-7.1/ext/mbstring/ |
H A D | php_mbregex.c | 828 smart_str *pbuf; in _php_mb_regex_ereg_replace_exec() local 911 pbuf = &eval_buf; in _php_mb_regex_ereg_replace_exec() 914 pbuf = &out_buf; in _php_mb_regex_ereg_replace_exec() 961 smart_str_appendl(pbuf, string + regs->beg[n], regs->end[n] - regs->beg[n]); in _php_mb_regex_ereg_replace_exec() 966 smart_str_appendl(pbuf, p, fwd); in _php_mb_regex_ereg_replace_exec()
|
/PHP-7.1/ext/fileinfo/ |
H A D | libmagic.patch | 182 - free(ms->o.pbuf); 186 + if (ms->o.pbuf) { 187 + efree(ms->o.pbuf); 2201 if (ms->o.pbuf) { 2202 - free(ms->o.pbuf); 2203 + efree(ms->o.pbuf); 2204 ms->o.pbuf = NULL; 2211 - char *pbuf, *op, *np; 2220 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) { 2221 + if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { [all …]
|