Home
last modified time | relevance | path

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

/PHP-8.0/ext/intl/resourcebundle/
H A Dresourcebundle_class.c122 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 Dzend_accelerator_blacklist.c262 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 Dfuncs.c480 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 Dfile.h417 char *pbuf; /* Printable buffer */ member
H A Dapprentice.c492 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 Dphp_mbregex.c707 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 Dmysqlnd_alloc.h43 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 Dmysqlnd_alloc.c628 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 Dzend.c196 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 Dzend.h238 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 Dlibmagic.patch129 - 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) {

Completed in 63 milliseconds