Home
last modified time | relevance | path

Searched refs:pbuf (Results 1 – 15 of 15) sorted by relevance

/PHP-5.5/ext/intl/resourcebundle/
H A Dresourcebundle_class.c118 char *pbuf; in resourcebundle_ctor() local
120 spprintf(&pbuf, 0, "resourcebundle_ctor: Cannot load libICU resource " in resourcebundle_ctor()
125 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(rb), pbuf, 1 TSRMLS_CC); in resourcebundle_ctor()
126 efree(pbuf); in resourcebundle_ctor()
167 char *pbuf; in resourcebundle_array_fetch() local
189 spprintf( &pbuf, 0, "Cannot load resource element %d", meindex ); in resourcebundle_array_fetch()
191 spprintf( &pbuf, 0, "Cannot load resource element '%s'", mekey ); in resourcebundle_array_fetch()
193 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 TSRMLS_CC ); in resourcebundle_array_fetch()
194 efree(pbuf); in resourcebundle_array_fetch()
206 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 TSRMLS_CC ); in resourcebundle_array_fetch()
[all …]
/PHP-5.5/main/
H A Dspprintf.h40 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 Dspprintf.c812 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.5/ext/opcache/
H A Dzend_accelerator_blacklist.c271 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.5/ext/fileinfo/libmagic/
H A Dfuncs.c318 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 Dfile.h384 char *pbuf; /* Printable buffer */ member
H A Dapprentice.c445 if (ms->o.pbuf) { in file_ms_free()
446 efree(ms->o.pbuf); in file_ms_free()
472 ms->o.buf = ms->o.pbuf = NULL; in file_ms_alloc()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_alloc.h48 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 Dmysqlnd_alloc.c615 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.5/ext/mbstring/oniguruma/
H A Dregparse.c1700 if (IS_NULL(*pbuf)) { in add_code_range_to_buf()
1703 bbuf = *pbuf; in add_code_range_to_buf()
1707 bbuf = *pbuf; in add_code_range_to_buf()
2014 bbuf_free(pbuf); in and_cclass()
2017 bbuf_free(pbuf); in and_cclass()
2018 pbuf = tbuf; in and_cclass()
2023 dest->mbuf = pbuf; in and_cclass()
2072 bbuf_free(pbuf); in or_cclass()
2075 bbuf_free(pbuf); in or_cclass()
2076 pbuf = tbuf; in or_cclass()
[all …]
/PHP-5.5/ext/mbstring/
H A Dphp_mbregex.c809 smart_str *pbuf; in _php_mb_regex_ereg_replace_exec() local
876 pbuf = &eval_buf; in _php_mb_regex_ereg_replace_exec()
879 pbuf = &out_buf; in _php_mb_regex_ereg_replace_exec()
926 smart_str_appendl(pbuf, string + regs->beg[n], regs->end[n] - regs->beg[n]); in _php_mb_regex_ereg_replace_exec()
931 smart_str_appendl(pbuf, p, fwd); in _php_mb_regex_ereg_replace_exec()
/PHP-5.5/ext/ereg/regex/
H A Dengine.c1000 static unsigned char pbuf[10]; local
1003 sprintf(pbuf, "%c", ch);
1005 sprintf(pbuf, "\\%o", ch);
1006 return(pbuf);
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch139 - free(ms->o.pbuf);
143 + if (ms->o.pbuf) {
144 + efree(ms->o.pbuf);
2097 if (ms->o.pbuf) {
2098 - free(ms->o.pbuf);
2099 + efree(ms->o.pbuf);
2100 ms->o.pbuf = NULL;
2107 - char *pbuf, *op, *np;
2120 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) {
2121 + if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {
[all …]
/PHP-5.5/Zend/
H A Dzend.h554 int (*vspprintf_function)(char **pbuf, size_t max_len, const char *format, va_list ap);
698 extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
H A Dzend.c56 int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);

Completed in 59 milliseconds