Searched refs:in_len (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfastcgi.h104 int in_len; member in struct:_fcgi_request
H A Dfastcgi.c295 req->in_len = 0;
511 req->in_len = 0;
669 if (req->in_len == 0) {
676 req->in_len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
678 if (req->in_len == 0) {
683 if (req->in_len >= rest) {
686 ret = safe_read(req, str, req->in_len);
692 req->in_len -= ret;
696 if (req->in_len == 0) {
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c353 int in_len; member in struct:_fcgi_request
754 req->in_len = 0;
830 unsigned int in_len = tmp > UINT_MAX ? UINT_MAX : (unsigned int)tmp; local
832 ret = read(req->fd, ((char*)buf)+n, in_len);
834 int in_len = tmp > INT_MAX ? INT_MAX : (int)tmp; local
836 ret = recv(req->fd, ((char*)buf)+n, in_len, 0);
913 req->in_len = 0;
1076 if (req->in_len == 0) {
1083 req->in_len = (hdr.contentLengthB1 << 8) | hdr.contentLengthB0;
1085 if (req->in_len
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_eol.c89 int in_len = *len, out_len, cursor, i; local
99 for (i = 0; i < in_len; i++) {
108 for (; i < in_len;) {
114 if (i + 1 < in_len && 0x0a != in[i+1]) {
149 for (; cursor < in_len;) {
/PHP_TRUNK/ext/hash/
H A Dphp_hash.h146 static inline void php_hash_bin2hex(char *out, const unsigned char *in, int in_len) argument
151 for(i = 0; i < in_len; i++) {
/PHP_TRUNK/ext/iconv/
H A Diconv.c540 PHP_ICONV_API php_iconv_err_t php_iconv_string(const char *in_p, size_t in_len, zend_string **out, const char *out_charset, const char *in_charset) argument
556 out_size = in_len * sizeof(int) + 15;
559 in_size = in_len;
628 in_left= in_len;
629 out_left = in_len + 32; /* Avoid realloc() most cases */
641 bsz += in_len;
H A Dphp_iconv.h113 PHP_ICONV_API php_iconv_err_t php_iconv_string(const char * in_p, size_t in_len, zend_string **out, const char *out_charset, const char *in_charset);
/PHP_TRUNK/ext/zlib/
H A Dphp_zlib.h38 #define PHP_ZLIB_BUFFER_SIZE_GUESS(in_len) (((size_t) ((double) in_len * (double) 1.015)) + 10 + 8 + 4 + 1)
H A Dzlib.c337 static zend_string *php_zlib_encode(const char *in_buf, size_t in_len, int encoding, int level) argument
348 out = zend_string_alloc(PHP_ZLIB_BUFFER_SIZE_GUESS(in_len), 0);
352 Z.avail_in = in_len;
423 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
432 if (in_len) {
437 Z.avail_in = in_len + 1; /* NOTE: data must be zero terminated */
480 size_t in_len; local
493 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "sl", &in_str, &in_len, &flags)) {
519 ctx.in.used = in_len;
697 size_t in_len; \
797 size_t in_len, buffer_used = 0, CHUNK_SIZE = 8192; local
943 size_t in_len, out_size; local
[all...]

Completed in 14 milliseconds