Lines Matching refs:remaining
310 size_t remaining = str_length; in sapi_cgi_ub_write() local
313 while (remaining > 0) { in sapi_cgi_ub_write()
314 ret = sapi_cgi_single_write(ptr, remaining); in sapi_cgi_ub_write()
317 return str_length - remaining; in sapi_cgi_ub_write()
320 remaining -= ret; in sapi_cgi_ub_write()
329 size_t remaining = str_length; in sapi_fcgi_ub_write() local
332 while (remaining > 0) { in sapi_fcgi_ub_write()
333 int to_write = remaining > INT_MAX ? INT_MAX : (int)remaining; in sapi_fcgi_ub_write()
338 return str_length - remaining; in sapi_fcgi_ub_write()
341 remaining -= ret; in sapi_fcgi_ub_write()
508 size_t remaining = SG(request_info).content_length - SG(read_post_bytes); in sapi_fcgi_read_post() local
510 if (remaining < count_bytes) { in sapi_fcgi_read_post()
511 count_bytes = remaining; in sapi_fcgi_read_post()