Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 2 of 2) sorted by relevance

/php-src/sapi/fpm/fpm/
H A Dfpm_stdio.c176 int in_buf = 0, cmd_pos = 0, pos, start; local
218 in_buf = read(fd, buf, sizeof(buf) - 1);
219 if (in_buf <= 0) { /* no data */
220 if (in_buf == 0 || !PHP_IS_TRANSIENT_ERROR(errno)) {
222 read_fail = (in_buf < 0) ? in_buf : 1;
228 if ((sizeof(FPM_STDIO_CMD_FLUSH) - cmd_pos) <= in_buf &&
237 for (pos = start; pos < in_buf; pos++) {
245 if (pos + sizeof(FPM_STDIO_CMD_FLUSH) <= in_buf) {
252 } else if (!memcmp(buf + pos, FPM_STDIO_CMD_FLUSH, in_buf - pos)) {
253 cmd_pos = in_buf - pos;
/php-src/ext/zlib/
H A Dzlib.c383 static zend_string *php_zlib_encode(const char *in_buf, size_t in_len, int encoding, int level) in php_zlib_encode() argument
396 Z.next_in = (Bytef *) in_buf; in php_zlib_encode()
482 Z.next_in = (Bytef *) in_buf; in php_zlib_decode()
737 char *in_buf, *out_buf; \
741 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &in_buf, &in_len, &max_len)) { \
748 if (SUCCESS != php_zlib_decode(in_buf, in_len, &out_buf, &out_len, encoding, max_len)) { \
941 char *in_buf; in PHP_FUNCTION() local
948 …if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "Os|l", &res, inflate_context_ce, &in_buf, &… in PHP_FUNCTION()
980 ctx->Z.next_in = (Bytef *) in_buf; in PHP_FUNCTION()
1178 char *in_buf; in PHP_FUNCTION() local
[all …]

Completed in 9 milliseconds