/PHP-5.6/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 125 char *pbuf; in resourcebundle_ctor() local 127 spprintf(&pbuf, 0, "resourcebundle_ctor: Cannot load libICU resource " in resourcebundle_ctor() 132 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(rb), pbuf, 1 TSRMLS_CC); in resourcebundle_ctor() 133 efree(pbuf); in resourcebundle_ctor() 174 char *pbuf; in resourcebundle_array_fetch() local 196 spprintf( &pbuf, 0, "Cannot load resource element %d", meindex ); in resourcebundle_array_fetch() 198 spprintf( &pbuf, 0, "Cannot load resource element '%s'", mekey ); in resourcebundle_array_fetch() 200 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 TSRMLS_CC ); in resourcebundle_array_fetch() 201 efree(pbuf); in resourcebundle_array_fetch() 213 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 TSRMLS_CC ); in resourcebundle_array_fetch() [all …]
|
/PHP-5.6/main/ |
H A D | spprintf.h | 40 PHPAPI int spprintf( char **pbuf, size_t max_len, const char *format, ...) PHP_ATTRIBUTE_FORMAT(pri… 42 PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) PHP_ATTRIBUTE_FOR…
|
H A D | spprintf.c | 812 PHPAPI int vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ */ in vspprintf() argument 818 if(!pbuf) { in vspprintf() 828 *pbuf = xbuf.c; in vspprintf() 834 PHPAPI int spprintf(char **pbuf, size_t max_len, const char *format, ...) /* {{{ */ in spprintf() argument 840 cc = vspprintf(pbuf, max_len, format, ap); in spprintf()
|
/PHP-5.6/ext/opcache/ |
H A D | zend_accelerator_blacklist.c | 271 char *path_dup, *pbuf; in zend_accel_blacklist_loadone() local 281 pbuf = &buf[0]; in zend_accel_blacklist_loadone() 282 while (*pbuf == '\r') { in zend_accel_blacklist_loadone() 283 *pbuf++ = 0; in zend_accel_blacklist_loadone() 288 if (pbuf[0] == '\"' && pbuf[path_length - 1]== '\"') { in zend_accel_blacklist_loadone() 289 *pbuf++ = 0; in zend_accel_blacklist_loadone() 298 if (pbuf[0]==';') { in zend_accel_blacklist_loadone() 302 path_dup = zend_strndup(pbuf, path_length); in zend_accel_blacklist_loadone()
|
/PHP-5.6/ext/fileinfo/libmagic/ |
H A D | funcs.c | 318 if (ms->o.pbuf) { in file_reset() 319 efree(ms->o.pbuf); in file_reset() 320 ms->o.pbuf = NULL; in file_reset() 356 if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer() 370 np = ms->o.pbuf; in file_getbuffer() 396 return ms->o.pbuf; in file_getbuffer() 400 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer() 408 return ms->o.pbuf; in file_getbuffer()
|
H A D | file.h | 384 char *pbuf; /* Printable buffer */ member
|
H A D | apprentice.c | 451 if (ms->o.pbuf) { in file_ms_free() 452 efree(ms->o.pbuf); in file_ms_free() 478 ms->o.buf = ms->o.pbuf = NULL; in file_ms_alloc()
|
/PHP-5.6/ext/mysqlnd/ |
H A D | mysqlnd_alloc.h | 48 int (*m_sprintf)(char **pbuf, size_t max_len, const char *format, ...); 49 int (*m_vsprintf)(char **pbuf, size_t max_len, const char *format, va_list ap); 69 PHPAPI int _mysqlnd_sprintf(char **pbuf, size_t max_len, const char *format, ...); 71 PHPAPI int _mysqlnd_vsprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
|
H A D | mysqlnd_alloc.c | 615 PHPAPI int _mysqlnd_sprintf(char ** pbuf, size_t max_len, const char *format, ...) in _mysqlnd_sprintf() argument 620 len = vspprintf(pbuf, max_len, format, ap); in _mysqlnd_sprintf() 635 PHPAPI int _mysqlnd_vsprintf(char ** pbuf, size_t max_len, const char * format, va_list ap) in _mysqlnd_vsprintf() argument 637 return vspprintf(pbuf, max_len, format, ap); in _mysqlnd_vsprintf()
|
/PHP-5.6/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-5.6/ext/mbstring/ |
H A D | php_mbregex.c | 809 smart_str *pbuf; in _php_mb_regex_ereg_replace_exec() local 880 pbuf = &eval_buf; in _php_mb_regex_ereg_replace_exec() 883 pbuf = &out_buf; in _php_mb_regex_ereg_replace_exec() 930 smart_str_appendl(pbuf, string + regs->beg[n], regs->end[n] - regs->beg[n]); in _php_mb_regex_ereg_replace_exec() 935 smart_str_appendl(pbuf, p, fwd); in _php_mb_regex_ereg_replace_exec()
|
/PHP-5.6/ext/ereg/regex/ |
H A D | engine.c | 1000 static unsigned char pbuf[10]; local 1003 sprintf(pbuf, "%c", ch); 1005 sprintf(pbuf, "\\%o", ch); 1006 return(pbuf);
|
/PHP-5.6/ext/fileinfo/ |
H A D | libmagic.patch | 139 - free(ms->o.pbuf); 143 + if (ms->o.pbuf) { 144 + efree(ms->o.pbuf); 2051 if (ms->o.pbuf) { 2052 - free(ms->o.pbuf); 2053 + efree(ms->o.pbuf); 2054 ms->o.pbuf = NULL; 2061 - char *pbuf, *op, *np; 2074 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) { 2075 + if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { [all …]
|
/PHP-5.6/Zend/ |
H A D | zend.h | 557 int (*vspprintf_function)(char **pbuf, size_t max_len, const char *format, va_list ap); 707 extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
|
H A D | zend.c | 57 int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
|