Home
last modified time | relevance | path

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

/php-src/ext/intl/resourcebundle/
H A Dresourcebundle_class.c125 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); in resourcebundle_ctor()
133 efree(pbuf); in resourcebundle_ctor()
178 char *pbuf; in resource_bundle_array_fetch() local
212 spprintf( &pbuf, 0, "Cannot load resource element %d", index ); in resource_bundle_array_fetch()
214 spprintf( &pbuf, 0, "Cannot load resource element '%s'", key ); in resource_bundle_array_fetch()
216 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resource_bundle_array_fetch()
217 efree(pbuf); in resource_bundle_array_fetch()
230 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1); in resource_bundle_array_fetch()
[all …]
/php-src/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-src/ext/fileinfo/libmagic/
H A Dfuncs.c530 if (ms->o.pbuf) { in file_reset()
531 efree(ms->o.pbuf); in file_reset()
532 ms->o.pbuf = NULL; in file_reset()
550 char *pbuf, *op, *np; in file_getbuffer() local
569 if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer()
573 ms->o.pbuf = pbuf; in file_getbuffer()
584 np = ms->o.pbuf; in file_getbuffer()
610 return ms->o.pbuf; in file_getbuffer()
614 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer()
622 return ms->o.pbuf; in file_getbuffer()
H A Dfile.h453 char *pbuf; /* Printable buffer */ member
H A Dapprentice.c533 if (ms->o.pbuf) { in file_ms_free()
534 efree(ms->o.pbuf); in file_ms_free()
563 ms->o.buf = ms->o.pbuf = NULL; in file_ms_alloc()
/php-src/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-src/Zend/
H A Dzend.c274 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ … in ZEND_INI_END()
280 if (!pbuf) { in ZEND_INI_END()
293 *pbuf = buf.c; in ZEND_INI_END()
296 *pbuf = estrndup("", 0); in ZEND_INI_END()
H A Dzend.h288 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
/php-src/ext/fileinfo/
H A Dlibmagic.patch62 - free(ms->o.pbuf);
65 + if (ms->o.pbuf) {
66 + efree(ms->o.pbuf);
2031 if (ms->o.pbuf) {
2032 - free(ms->o.pbuf);
2033 + efree(ms->o.pbuf);
2034 ms->o.pbuf = NULL;
2041 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) {
2042 + if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {

Completed in 53 milliseconds