to_read 146 ext/bz2/bz2.c int to_read = (int)(remain <= INT_MAX ? remain : INT_MAX); to_read 148 ext/bz2/bz2.c just_read = BZ2_bzread(self->bz_file, buf, to_read); to_read 93 ext/mysqlnd/mysqlnd_net.c size_t to_read = count, ret; to_read 99 ext/mysqlnd/mysqlnd_net.c net_stream->chunk_size = MIN(to_read, net->data->options.net_read_buffer_size); to_read 100 ext/mysqlnd/mysqlnd_net.c while (to_read) { to_read 101 ext/mysqlnd/mysqlnd_net.c if (!(ret = php_stream_read(net_stream, (char *) p, to_read))) { to_read 107 ext/mysqlnd/mysqlnd_net.c to_read -= ret; to_read 109 ext/mysqlnd/mysqlnd_net.c MYSQLND_INC_CONN_STATISTIC_W_VALUE(stats, STAT_BYTES_RECEIVED, count - to_read); to_read 664 ext/mysqlnd/mysqlnd_net.c size_t to_read = count; to_read 671 ext/mysqlnd/mysqlnd_net.c size_t to_read_from_buffer = MIN(net->uncompressed_data->bytes_left(net->uncompressed_data), to_read); to_read 676 ext/mysqlnd/mysqlnd_net.c to_read -= to_read_from_buffer; to_read 678 ext/mysqlnd/mysqlnd_net.c DBG_INF_FMT("left "MYSQLND_SZ_T_SPEC" to read", to_read); to_read 684 ext/mysqlnd/mysqlnd_net.c if (to_read) { to_read 715 ext/mysqlnd/mysqlnd_net.c DBG_RETURN(net->data->m.receive_ex(net, p, to_read, conn_stats, error_info)); to_read 720 ext/mysqlnd/mysqlnd_net.c DBG_RETURN(net->data->m.network_read_ex(net, p, to_read, conn_stats, error_info)); to_read 95 ext/phar/dirstream.c size_t to_read; to_read 105 ext/phar/dirstream.c to_read = MIN(ZSTR_LEN(str_key), count); to_read 107 ext/phar/dirstream.c if (to_read == 0 || count < ZSTR_LEN(str_key)) { to_read 112 ext/phar/dirstream.c memcpy(((php_stream_dirent *) buf)->d_name, ZSTR_VAL(str_key), to_read); to_read 113 ext/phar/dirstream.c ((php_stream_dirent *) buf)->d_name[to_read + 1] = '\0'; to_read 492 ext/session/mod_files.c unsigned int to_read = ZSTR_LEN(*val) > UINT_MAX ? UINT_MAX : (unsigned int)ZSTR_LEN(*val); to_read 497 ext/session/mod_files.c read_in = _read(data->fd, buf, to_read); to_read 501 ext/session/mod_files.c to_read = read_in > -1 ? (ZSTR_LEN(*val) - n > UINT_MAX ? UINT_MAX : (unsigned int)(ZSTR_LEN(*val) - n)): 0; to_read 389 ext/session/session.c int to_read = PS(entropy_length); to_read 391 ext/session/session.c while (to_read > 0) { to_read 392 ext/session/session.c n = read(fd, rbuf, MIN(to_read, sizeof(rbuf))); to_read 408 ext/session/session.c to_read -= n; to_read 369 ext/standard/streamsfuncs.c zend_long to_read = 0; to_read 374 ext/standard/streamsfuncs.c if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl|lz/", &zstream, &to_read, &flags, &zremote) == FAILURE) { to_read 385 ext/standard/streamsfuncs.c if (to_read <= 0) { to_read 390 ext/standard/streamsfuncs.c read_buf = zend_string_alloc(to_read, 0); to_read 392 ext/standard/streamsfuncs.c recvd = php_stream_xport_recvfrom(stream, ZSTR_VAL(read_buf), to_read, (int)flags, NULL, NULL, to_read 488 sapi/cgi/cgi_main.c unsigned int to_read = (diff > UINT_MAX) ? UINT_MAX : (unsigned int)diff; to_read 490 sapi/cgi/cgi_main.c tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, to_read); to_read 514 sapi/cgi/cgi_main.c int to_read = (diff > INT_MAX) ? INT_MAX : (int)diff; to_read 516 sapi/cgi/cgi_main.c tmp_read_bytes = fcgi_read(request, buffer + read_bytes, to_read); to_read 333 sapi/cli/php_http_parser.c size_t to_read; to_read 1449 sapi/cli/php_http_parser.c to_read = MIN((size_t)(pe - p), (size_t)parser->content_length); to_read 1450 sapi/cli/php_http_parser.c if (to_read > 0) { to_read 1451 sapi/cli/php_http_parser.c if (settings->on_body) settings->on_body(parser, p, to_read); to_read 1452 sapi/cli/php_http_parser.c p += to_read - 1; to_read 1453 sapi/cli/php_http_parser.c parser->content_length -= to_read; to_read 1463 sapi/cli/php_http_parser.c to_read = pe - p; to_read 1464 sapi/cli/php_http_parser.c if (to_read > 0) { to_read 1465 sapi/cli/php_http_parser.c if (settings->on_body) settings->on_body(parser, p, to_read); to_read 1466 sapi/cli/php_http_parser.c p += to_read - 1; to_read 1535 sapi/cli/php_http_parser.c to_read = MIN((size_t)(pe - p), (size_t)(parser->content_length)); to_read 1537 sapi/cli/php_http_parser.c if (to_read > 0) { to_read 1538 sapi/cli/php_http_parser.c if (settings->on_body) settings->on_body(parser, p, to_read); to_read 1539 sapi/cli/php_http_parser.c p += to_read - 1; to_read 1542 sapi/cli/php_http_parser.c if (to_read == parser->content_length) { to_read 1546 sapi/cli/php_http_parser.c parser->content_length -= to_read;