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

/PHP_5_5/ext/standard/
H A Dfilters.c1548 char *out_buf = NULL; local
1564 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) {
1568 pd = out_buf;
1612 if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) {
1619 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) {
1622 pd = out_buf;
1624 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) {
1625 if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent TSRMLS_CC))) {
1633 pd = new_out_buf + (pd - out_buf);
1635 out_buf
[all...]
/PHP_5_5/ext/zlib/
H A Dzlib.c305 static int php_zlib_encode(const char *in_buf, size_t in_len, char **out_buf, size_t *out_len, int encoding, int level TSRMLS_DC) argument
316 *out_buf = emalloc(*out_len);
319 Z.next_out = (Bytef *) *out_buf;
328 *out_buf = erealloc(*out_buf, Z.total_out + 1);
329 (*out_buf)[*out_len = Z.total_out] = '\0';
332 efree(*out_buf);
336 *out_buf = NULL;
394 static int php_zlib_decode(const char *in_buf, size_t in_len, char **out_buf, size_t *out_len, int encoding, size_t max_len TSRMLS_DC) argument
410 switch (status = php_zlib_inflate_rounds(&Z, max_len, out_buf, out_le
[all...]
/PHP_5_5/ext/iconv/
H A Diconv.c545 char *out_p, *out_buf, *tmp_buf;
565 out_buf = (char *) emalloc(bsz+1);
566 out_p = out_buf;
576 tmp_buf = (char*) erealloc(out_buf, bsz+1);
577 out_p = out_buf = tmp_buf;
598 tmp_buf = (char *) erealloc(out_buf, bsz);
600 out_p = out_buf = tmp_buf;
629 efree(out_buf);
634 *out = out_buf;
2532 char *out_buf local
[all...]
/PHP_5_5/ext/mbstring/
H A Dphp_mbregex.c807 smart_str out_buf = { 0 }; local
879 pbuf = &out_buf;
911 smart_str_appendl(&out_buf, pos, (size_t)((OnigUChar *)(string + regs->beg[0]) - pos));
951 smart_str_appendl(&out_buf, Z_STRVAL(v), Z_STRLEN(v));
977 smart_str_appendl(&out_buf, Z_STRVAL_P(retval_ptr), Z_STRLEN_P(retval_ptr));
994 smart_str_appendl(&out_buf, pos, 1);
1001 smart_str_appendl(&out_buf, pos, string_lim - pos);
1016 smart_str_free(&out_buf);
1019 smart_str_appendc(&out_buf, '\0');
1020 RETVAL_STRINGL((char *)out_buf
[all...]
/PHP_5_5/sapi/fpm/fpm/
H A Dfastcgi.c292 req->out_pos = req->out_buf;
510 req->out_pos = req->out_buf;
931 len = req->out_pos - req->out_buf;
945 if (safe_write(req, req->out_buf, len) != len) {
950 req->out_pos = req->out_buf;
967 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
979 } else if (len - limit < sizeof(req->out_buf) - sizeof(fcgi_header)) {
H A Dfastcgi.h109 unsigned char out_buf[1024*8]; member in struct:_fcgi_request
H A Dfpm_stdio.c170 int out_buf = 1 + nl - buf; local
171 memmove(buf, buf + out_buf, in_buf - out_buf);
172 in_buf -= out_buf;
/PHP_5_5/sapi/cgi/
H A Dfastcgi.c355 unsigned char out_buf[1024*8]; member in struct:_fcgi_request
745 req->out_pos = req->out_buf;
884 req->out_pos = req->out_buf;
1308 len = req->out_pos - req->out_buf;
1322 if (safe_write(req, req->out_buf, len) != len) {
1327 req->out_pos = req->out_buf;
1346 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1356 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
[all...]

Completed in 30 milliseconds