Lines Matching refs:remaining
309 size_t remaining = str_length; in sapi_cgi_ub_write() local
312 while (remaining > 0) { in sapi_cgi_ub_write()
313 ret = sapi_cgi_single_write(ptr, remaining); in sapi_cgi_ub_write()
316 return str_length - remaining; in sapi_cgi_ub_write()
319 remaining -= ret; in sapi_cgi_ub_write()
328 size_t remaining = str_length; in sapi_fcgi_ub_write() local
331 while (remaining > 0) { in sapi_fcgi_ub_write()
332 int to_write = remaining > INT_MAX ? INT_MAX : (int)remaining; in sapi_fcgi_ub_write()
337 return str_length - remaining; in sapi_fcgi_ub_write()
340 remaining -= ret; in sapi_fcgi_ub_write()
507 size_t remaining = SG(request_info).content_length - SG(read_post_bytes); in sapi_fcgi_read_post() local
509 if (remaining < count_bytes) { in sapi_fcgi_read_post()
510 count_bytes = remaining; in sapi_fcgi_read_post()