Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 – 8 of 8) sorted by relevance

/PHP-5.5/ext/zlib/
H A Dzlib.c328 *out_buf = emalloc(*out_len); in php_zlib_encode()
331 Z.next_out = (Bytef *) *out_buf; in php_zlib_encode()
340 *out_buf = erealloc(*out_buf, Z.total_out + 1); in php_zlib_encode()
341 (*out_buf)[*out_len = Z.total_out] = '\0'; in php_zlib_encode()
344 efree(*out_buf); in php_zlib_encode()
348 *out_buf = NULL; in php_zlib_encode()
439 *out_buf = NULL; in php_zlib_decode()
646 char *in_buf, *out_buf; \
676 RETURN_STRINGL(out_buf, out_len, 0); \
682 char *in_buf, *out_buf; \
[all …]
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_stdio.c170 int out_buf = 1 + nl - buf; in fpm_stdio_child_said() local
171 memmove(buf, buf + out_buf, in_buf - out_buf); in fpm_stdio_child_said()
172 in_buf -= out_buf; in fpm_stdio_child_said()
H A Dfastcgi.c299 req->out_pos = req->out_buf; in fcgi_init_request()
517 req->out_pos = req->out_buf; in fcgi_read_request()
962 len = req->out_pos - req->out_buf;
976 if (safe_write(req, req->out_buf, len) != len) {
978 req->out_pos = req->out_buf;
982 req->out_pos = req->out_buf;
999 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1011 } else if (len - limit < sizeof(req->out_buf) - sizeof(fcgi_header)) {
H A Dfastcgi.h109 unsigned char out_buf[1024*8]; member
/PHP-5.5/ext/iconv/
H A Diconv.c585 out_p = out_buf; in php_iconv_string()
607 out_p = out_buf = tmp_buf; in php_iconv_string()
630 out_p = out_buf = tmp_buf; in php_iconv_string()
659 efree(out_buf); in php_iconv_string()
664 *out = out_buf; in php_iconv_string()
2562 char *out_buf = NULL; in php_iconv_stream_filter_append_bucket() local
2581 pd = out_buf; in php_iconv_stream_filter_append_bucket()
2631 pd = out_buf; in php_iconv_stream_filter_append_bucket()
2643 out_buf = new_out_buf; in php_iconv_stream_filter_append_bucket()
2708 pd = out_buf; in php_iconv_stream_filter_append_bucket()
[all …]
/PHP-5.5/ext/standard/
H A Dfilters.c1548 char *out_buf = NULL; in strfilter_convert_append_bucket() local
1564 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) { in strfilter_convert_append_bucket()
1568 pd = out_buf; in strfilter_convert_append_bucket()
1622 pd = out_buf; in strfilter_convert_append_bucket()
1633 pd = new_out_buf + (pd - out_buf); in strfilter_convert_append_bucket()
1635 out_buf = new_out_buf; in strfilter_convert_append_bucket()
1694 pd = out_buf; in strfilter_convert_append_bucket()
1704 pd = new_out_buf + (pd - out_buf); in strfilter_convert_append_bucket()
1706 out_buf = new_out_buf; in strfilter_convert_append_bucket()
1729 pefree(out_buf, persistent); in strfilter_convert_append_bucket()
[all …]
/PHP-5.5/sapi/cgi/
H A Dfastcgi.c359 unsigned char out_buf[1024*8]; member
753 req->out_pos = req->out_buf; in fcgi_init_request()
892 req->out_pos = req->out_buf; in fcgi_read_request()
1318 len = req->out_pos - req->out_buf;
1332 if (safe_write(req, req->out_buf, len) != len) {
1334 req->out_pos = req->out_buf;
1338 req->out_pos = req->out_buf;
1357 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1367 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1384 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
[all …]
/PHP-5.5/ext/mbstring/
H A Dphp_mbregex.c807 smart_str out_buf = { 0 }; in _php_mb_regex_ereg_replace_exec() local
879 pbuf = &out_buf; in _php_mb_regex_ereg_replace_exec()
911 smart_str_appendl(&out_buf, pos, (size_t)((OnigUChar *)(string + regs->beg[0]) - pos)); in _php_mb_regex_ereg_replace_exec()
951 smart_str_appendl(&out_buf, Z_STRVAL(v), Z_STRLEN(v)); in _php_mb_regex_ereg_replace_exec()
977 smart_str_appendl(&out_buf, Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr)); in _php_mb_regex_ereg_replace_exec()
993 smart_str_appendl(&out_buf, pos, 1); in _php_mb_regex_ereg_replace_exec()
1000 smart_str_appendl(&out_buf, pos, string_lim - pos); in _php_mb_regex_ereg_replace_exec()
1015 smart_str_free(&out_buf); in _php_mb_regex_ereg_replace_exec()
1018 smart_str_appendc(&out_buf, '\0'); in _php_mb_regex_ereg_replace_exec()
1019 RETVAL_STRINGL((char *)out_buf.c, out_buf.len - 1, 0); in _php_mb_regex_ereg_replace_exec()

Completed in 45 milliseconds