Home
last modified time | relevance | path

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

/PHP-7.3/ext/intl/resourcebundle/
H A Dresourcebundle_class.c123 char *pbuf; in resourcebundle_ctor() local
125 spprintf(&pbuf, 0, "resourcebundle_ctor: Cannot load libICU resource " in resourcebundle_ctor()
130 intl_errors_set_custom_msg(INTL_DATA_ERROR_P(rb), pbuf, 1); in resourcebundle_ctor()
131 efree(pbuf); in resourcebundle_ctor()
184 char *pbuf; in resourcebundle_array_fetch() local
206 spprintf( &pbuf, 0, "Cannot load resource element %d", meindex ); in resourcebundle_array_fetch()
208 spprintf( &pbuf, 0, "Cannot load resource element '%s'", mekey ); in resourcebundle_array_fetch()
210 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch()
211 efree(pbuf); in resourcebundle_array_fetch()
223 intl_errors_set_custom_msg( INTL_DATA_ERROR_P(rb), pbuf, 1 ); in resourcebundle_array_fetch()
[all …]
/PHP-7.3/ext/opcache/
H A Dzend_accelerator_blacklist.c261 char *path_dup, *pbuf; in zend_accel_blacklist_loadone() local
271 pbuf = &buf[0]; in zend_accel_blacklist_loadone()
272 while (*pbuf == '\r') { in zend_accel_blacklist_loadone()
273 *pbuf++ = 0; in zend_accel_blacklist_loadone()
278 if (pbuf[0] == '\"' && pbuf[path_length - 1]== '\"') { in zend_accel_blacklist_loadone()
279 *pbuf++ = 0; in zend_accel_blacklist_loadone()
288 if (pbuf[0]==';') { in zend_accel_blacklist_loadone()
292 path_dup = zend_strndup(pbuf, path_length); in zend_accel_blacklist_loadone()
/PHP-7.3/ext/fileinfo/libmagic/
H A Dfuncs.c346 if (ms->o.pbuf) { in file_reset()
347 efree(ms->o.pbuf); in file_reset()
348 ms->o.pbuf = NULL; in file_reset()
366 char *pbuf, *op, *np; in file_getbuffer() local
385 if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer()
389 ms->o.pbuf = pbuf; in file_getbuffer()
400 np = ms->o.pbuf; in file_getbuffer()
426 return ms->o.pbuf; in file_getbuffer()
430 for (np = ms->o.pbuf, op = ms->o.buf; *op;) { in file_getbuffer()
438 return ms->o.pbuf; in file_getbuffer()
H A Dfile.h405 char *pbuf; /* Printable buffer */ member
H A Dapprentice.c468 if (ms->o.pbuf) { in file_ms_free()
469 efree(ms->o.pbuf); in file_ms_free()
495 ms->o.buf = ms->o.pbuf = NULL; in file_ms_alloc()
/PHP-7.3/ext/mbstring/
H A Dphp_mbregex.c706 smart_str *pbuf, in mb_regex_substitute() argument
726 smart_str_appendl(pbuf, p, clen); in mb_regex_substitute()
734 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute()
753 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute()
764 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute()
813 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute()
818 smart_str_appendl(pbuf, sp, p - sp); in mb_regex_substitute()
827 smart_str_appendl(pbuf, p, eos - p); in mb_regex_substitute()
1021 smart_str *pbuf; in _php_mb_regex_ereg_replace_exec() local
1103 pbuf = &eval_buf; in _php_mb_regex_ereg_replace_exec()
[all …]
/PHP-7.3/ext/mysqlnd/
H A Dmysqlnd_alloc.h45 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 Dmysqlnd_alloc.c661 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.3/ext/mbstring/oniguruma/src/
H A Dregparse.c3413 *pbuf = 0; in new_code_range()
3434 if (IS_NULL(*pbuf)) { in add_code_range_to_buf()
3437 bbuf = *pbuf; in add_code_range_to_buf()
3441 bbuf = *pbuf; in add_code_range_to_buf()
3517 *pbuf = (BBuf* )NULL; in not_code_range_buf()
3561 *pbuf = (BBuf* )NULL; in or_code_range_buf()
3657 *pbuf = (BBuf* )NULL; in and_code_range_buf()
3752 pbuf = tbuf; in and_cclass()
3757 dest->mbuf = pbuf; in and_cclass()
3809 pbuf = tbuf; in or_cclass()
[all …]
/PHP-7.3/Zend/
H A Dzend.c174 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap) /* {{{ … in ZEND_INI_END()
180 if (!pbuf) { in ZEND_INI_END()
193 *pbuf = buf.c; in ZEND_INI_END()
196 *pbuf = estrndup("", 0); in ZEND_INI_END()
H A Dzend.h228 ZEND_API size_t zend_vspprintf(char **pbuf, size_t max_len, const char *format, va_list ap);
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch193 - free(ms->o.pbuf);
197 + if (ms->o.pbuf) {
198 + efree(ms->o.pbuf);
220 ms->o.buf = ms->o.pbuf = NULL;
3031 if (ms->o.pbuf) {
3032 - free(ms->o.pbuf);
3033 + efree(ms->o.pbuf);
3034 ms->o.pbuf = NULL;
3041 - if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) {
3042 + if ((pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) {

Completed in 59 milliseconds