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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfastcgi.h109 unsigned char out_buf[1024*8]; member in struct:_fcgi_request
H A Dfpm_stdio.c194 int out_buf = 1 + nl - buf; local
195 memmove(buf, buf + out_buf, in_buf - out_buf);
196 in_buf -= out_buf;
H A Dfastcgi.c301 req->out_pos = req->out_buf;
515 req->out_pos = req->out_buf;
954 len = req->out_pos - req->out_buf;
968 if (safe_write(req, req->out_buf, len) != len) {
973 req->out_pos = req->out_buf;
990 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1002 } else if (len - limit < sizeof(req->out_buf) - sizeof(fcgi_header)) {
/PHP_TRUNK/ext/iconv/
H A Diconv.c615 zend_string *out_buf;
632 out_buf = zend_string_alloc(bsz, 0);
633 out_p = out_buf->val;
643 out_buf = zend_string_realloc(out_buf, bsz, 0);
644 out_p = out_buf->val;
665 out_buf = zend_string_realloc(out_buf, bsz, 0);
666 out_p = out_buf->val;
695 zend_string_free(out_buf);
2583 char *out_buf = NULL; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c806 smart_str out_buf = {0}; local
878 pbuf = &out_buf;
910 smart_str_appendl(&out_buf, pos, (size_t)((OnigUChar *)(string + regs->beg[0]) - pos));
950 smart_str_appendl(&out_buf, Z_STRVAL(v), Z_STRLEN(v));
974 smart_str_appendl(&out_buf, Z_STRVAL(retval), Z_STRLEN(retval));
993 smart_str_appendl(&out_buf, pos, 1);
1000 smart_str_appendl(&out_buf, pos, string_lim - pos);
1015 smart_str_free(&out_buf);
1017 } else if (out_buf.s) {
1018 smart_str_0(&out_buf);
[all...]
/PHP_TRUNK/ext/standard/
H A Dfilters.c1529 char *out_buf = NULL; local
1545 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) {
1549 pd = out_buf;
1593 if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) {
1600 if (NULL == (out_buf = pemalloc(out_buf_size, persistent))) {
1603 pd = out_buf;
1605 if (NULL == (new_out_buf = perealloc(out_buf, new_out_buf_size, persistent))) {
1606 if (NULL == (new_bucket = php_stream_bucket_new(stream, out_buf, (out_buf_size - ocnt), 1, persistent))) {
1614 pd = new_out_buf + (pd - out_buf);
1616 out_buf
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib.c405 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) argument
421 switch (status = php_zlib_inflate_rounds(&Z, max_len, out_buf, out_len)) {
438 *out_buf = NULL;
678 char *in_buf, *out_buf; \
689 if (SUCCESS != php_zlib_decode(in_buf, in_len, &out_buf, &out_len, encoding, max_len)) { \
692 RETVAL_STRINGL(out_buf, out_len); \
693 efree(out_buf); \
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c354 unsigned char out_buf[1024*8]; member in struct:_fcgi_request
750 req->out_pos = req->out_buf;
889 req->out_pos = req->out_buf;
1313 len = req->out_pos - req->out_buf;
1327 if (safe_write(req, req->out_buf, len) != len) {
1332 req->out_pos = req->out_buf;
1351 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
1361 limit = sizeof(req->out_buf) - (req->out_pos - req->out_buf);
[all...]

Completed in 15 milliseconds