Searched refs:to_read (Results 1 – 7 of 7) sorted by relevance
/php-src/sapi/cli/ |
H A D | php_http_parser.c | 264 size_t to_read; in php_http_parser_execute() local 1386 if (to_read > 0) { in php_http_parser_execute() 1388 p += to_read - 1; in php_http_parser_execute() 1389 parser->content_length -= to_read; in php_http_parser_execute() 1399 to_read = pe - p; in php_http_parser_execute() 1400 if (to_read > 0) { in php_http_parser_execute() 1402 p += to_read - 1; in php_http_parser_execute() 1473 if (to_read > 0) { in php_http_parser_execute() 1475 p += to_read - 1; in php_http_parser_execute() 1478 if (to_read == (size_t)parser->content_length) { in php_http_parser_execute() [all …]
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_protocol_frame_codec.c | 319 size_t to_read = count; in MYSQLND_METHOD() local 326 …from_buffer = MIN(pfc->data->uncompressed_data->bytes_left(pfc->data->uncompressed_data), to_read); in MYSQLND_METHOD() 331 to_read -= to_read_from_buffer; in MYSQLND_METHOD() 333 DBG_INF_FMT("left %zu to read", to_read); in MYSQLND_METHOD() 339 if (to_read) { in MYSQLND_METHOD() 367 DBG_RETURN(pfc->data->m.receive(pfc, vio, p, to_read, conn_stats, error_info)); in MYSQLND_METHOD() 372 DBG_RETURN(vio->data->m.network_read(vio, p, to_read, conn_stats, error_info)); in MYSQLND_METHOD()
|
H A D | mysqlnd_vio.c | 80 size_t to_read = count; in MYSQLND_METHOD() local 86 while (to_read) { in MYSQLND_METHOD() 87 ssize_t ret = php_stream_read(net_stream, (char *) p, to_read); in MYSQLND_METHOD() 94 to_read -= ret; in MYSQLND_METHOD() 96 MYSQLND_INC_CONN_STATISTIC_W_VALUE(stats, STAT_BYTES_RECEIVED, count - to_read); in MYSQLND_METHOD()
|
/php-src/ext/session/ |
H A D | mod_files.c | 497 unsigned int to_read = SESS_FILE_BUF_SIZE(ZSTR_LEN(*val)); in PS_READ_FUNC() local 502 read_in = _read(data->fd, buf, to_read); in PS_READ_FUNC() 506 to_read = read_in > -1 ? SESS_FILE_BUF_SIZE(ZSTR_LEN(*val) - n) : 0; in PS_READ_FUNC()
|
/php-src/ext/bz2/ |
H A D | bz2.c | 75 int to_read = (int)(remain <= INT_MAX ? remain : INT_MAX); in php_bz2iop_read() local 77 just_read = BZ2_bzread(self->bz_file, buf, to_read); in php_bz2iop_read()
|
/php-src/ext/standard/ |
H A D | streamsfuncs.c | 396 zend_long to_read = 0; in PHP_FUNCTION() local 403 Z_PARAM_LONG(to_read) in PHP_FUNCTION() 415 if (to_read <= 0) { in PHP_FUNCTION() 420 read_buf = zend_string_alloc(to_read, 0); in PHP_FUNCTION() 422 recvd = php_stream_xport_recvfrom(stream, ZSTR_VAL(read_buf), to_read, (int)flags, NULL, NULL, in PHP_FUNCTION()
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 492 unsigned int to_read = (diff > INT_MAX) ? INT_MAX : (unsigned int)diff; in sapi_cgi_read_post() local 494 tmp_read_bytes = _read(STDIN_FILENO, buffer + read_bytes, to_read); in sapi_cgi_read_post() 518 int to_read = (diff > INT_MAX) ? INT_MAX : (int)diff; in sapi_fcgi_read_post() local 520 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, to_read); in sapi_fcgi_read_post()
|
Completed in 38 milliseconds