Home
last modified time | relevance | path

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

/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_stdio.c177 int in_buf = 0, cmd_pos = 0, pos, start; local
219 in_buf = read(fd, buf, max_buf_size - 1);
220 if (in_buf <= 0) { /* no data */
221 if (in_buf == 0 || !PHP_IS_TRANSIENT_ERROR(errno)) {
223 read_fail = (in_buf < 0) ? in_buf : 1;
229 if ((sizeof(FPM_STDIO_CMD_FLUSH) - cmd_pos) <= in_buf &&
238 for (pos = start; pos < in_buf; pos++) {
246 if (pos + sizeof(FPM_STDIO_CMD_FLUSH) <= in_buf) {
253 } else if (!memcmp(buf + pos, FPM_STDIO_CMD_FLUSH, in_buf - pos)) {
254 cmd_pos = in_buf - pos;
/PHP-8.1/ext/zlib/
H A Dzlib.c386 static zend_string *php_zlib_encode(const char *in_buf, size_t in_len, int encoding, int level) in php_zlib_encode() argument
399 Z.next_in = (Bytef *) in_buf; in php_zlib_encode()
485 Z.next_in = (Bytef *) in_buf; in php_zlib_decode()
740 char *in_buf, *out_buf; \
744 if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &in_buf, &in_len, &max_len)) { \
751 if (SUCCESS != php_zlib_decode(in_buf, in_len, &out_buf, &out_len, encoding, max_len)) { \
944 char *in_buf; in PHP_FUNCTION() local
951 …if (SUCCESS != zend_parse_parameters(ZEND_NUM_ARGS(), "Os|l", &res, inflate_context_ce, &in_buf, &… in PHP_FUNCTION()
983 ctx->Z.next_in = (Bytef *) in_buf; in PHP_FUNCTION()
1181 char *in_buf; in PHP_FUNCTION() local
[all …]

Completed in 12 milliseconds