Lines Matching refs:read_bytes
480 size_t read_bytes = 0; in sapi_cgi_read_post() local
489 while (read_bytes < count_bytes) { in sapi_cgi_read_post()
491 size_t diff = count_bytes - read_bytes; in sapi_cgi_read_post()
494 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, to_read); in sapi_cgi_read_post()
496 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes); in sapi_cgi_read_post()
501 read_bytes += tmp_read_bytes; in sapi_cgi_read_post()
503 return read_bytes; in sapi_cgi_read_post()
508 size_t read_bytes = 0; in sapi_fcgi_read_post() local
516 while (read_bytes < count_bytes) { in sapi_fcgi_read_post()
517 size_t diff = count_bytes - read_bytes; in sapi_fcgi_read_post()
520 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, to_read); in sapi_fcgi_read_post()
524 read_bytes += tmp_read_bytes; in sapi_fcgi_read_post()
526 return read_bytes; in sapi_fcgi_read_post()