Home
last modified time | relevance | path

Searched refs:read_post_bytes (Results 1 – 12 of 12) sorted by relevance

/PHP-5.5/sapi/continuity/
H A Dcapi.c68 int read_post_bytes; member
203 if (rc->read_post_bytes == -1) { in sapi_capi_read_post()
206 if (rc->read_post_bytes == 0) in sapi_capi_read_post()
208 max_read = MIN(count_bytes, (SG(request_info).content_length - rc->read_post_bytes)); in sapi_capi_read_post()
216 rc->read_post_bytes = total_read; in sapi_capi_read_post()
482 request_context->read_post_bytes = -1; in phpFservice()
/PHP-5.5/sapi/pi3web/
H A Dpi3web_sapi.c219 if ((DWORD)SG(read_post_bytes) < lpCB->cbAvailable) { in sapi_pi3web_read_post()
220 read_from_buf = MIN(lpCB->cbAvailable-SG(read_post_bytes), count_bytes); in sapi_pi3web_read_post()
221 memcpy(buffer, lpCB->lpbData+SG(read_post_bytes), read_from_buf); in sapi_pi3web_read_post()
225 && (SG(read_post_bytes)+read_from_buf) < lpCB->cbTotalBytes) { in sapi_pi3web_read_post()
228 …read_from_input = MIN(count_bytes-read_from_buf, lpCB->cbTotalBytes-SG(read_post_bytes)-read_from_… in sapi_pi3web_read_post()
/PHP-5.5/main/
H A DSAPI.c273 …read_bytes = sapi_module.read_post(SG(request_info).post_data+SG(read_post_bytes), SAPI_POST_BLOCK… in SAPI_POST_READER_FUNC()
277 SG(read_post_bytes) += read_bytes; in SAPI_POST_READER_FUNC()
278 if ((SG(post_max_size) > 0) && (SG(read_post_bytes) > SG(post_max_size))) { in SAPI_POST_READER_FUNC()
285 if (SG(read_post_bytes)+SAPI_POST_BLOCK_SIZE >= allocated_bytes) { in SAPI_POST_READER_FUNC()
286 allocated_bytes = SG(read_post_bytes)+SAPI_POST_BLOCK_SIZE+1; in SAPI_POST_READER_FUNC()
290 SG(request_info).post_data[SG(read_post_bytes)] = 0; /* terminating NULL */ in SAPI_POST_READER_FUNC()
291 SG(request_info).post_data_length = SG(read_post_bytes); in SAPI_POST_READER_FUNC()
396 SG(read_post_bytes) = 0; in sapi_activate_headers_only()
442 SG(read_post_bytes) = 0; in sapi_activate()
513 SG(read_post_bytes) += read_bytes; in sapi_deactivate()
H A Drfc1867.c260 SG(read_post_bytes) += actual_read; in fill_buffer()
873 event_formdata.post_bytes_processed = SG(read_post_bytes);
894 event_formdata.post_bytes_processed = SG(read_post_bytes);
968 event_file_start.post_bytes_processed = SG(read_post_bytes);
1018 event_file_data.post_bytes_processed = SG(read_post_bytes);
1082 event_file_end.post_bytes_processed = SG(read_post_bytes);
1262 event_end.post_bytes_processed = SG(read_post_bytes);
H A DSAPI.h122 int read_post_bytes; member
/PHP-5.5/sapi/isapi/
H A Dphp5isapi.c334 if ((DWORD) SG(read_post_bytes) < lpECB->cbAvailable) { in sapi_isapi_read_post()
335 read_from_buf = MIN(lpECB->cbAvailable-SG(read_post_bytes), count_bytes); in sapi_isapi_read_post()
336 memcpy(buffer, lpECB->lpbData+SG(read_post_bytes), read_from_buf); in sapi_isapi_read_post()
340 && (SG(read_post_bytes)+read_from_buf) < lpECB->cbTotalBytes) { in sapi_isapi_read_post()
343 …read_from_input = MIN(count_bytes-read_from_buf, lpECB->cbTotalBytes-SG(read_post_bytes)-read_from… in sapi_isapi_read_post()
/PHP-5.5/sapi/nsapi/
H A Dnsapi.c97 int read_post_bytes; member
602 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes); in sapi_nsapi_read_post()
644 rc->read_post_bytes += bytes_read; in sapi_nsapi_read_post()
1017 request_context->read_post_bytes = 0; in php5_execute()
/PHP-5.5/ext/standard/
H A Dphp_fopen_wrapper.c95 SG(read_post_bytes) += read_bytes; in php_stream_input_read()
/PHP-5.5/sapi/apache/
H A Dmod_php5.c137 if (!SG(read_post_bytes) && !ap_should_client_block(r)) { in sapi_apache_read_post()
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c511 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()
528 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_fcgi_read_post()
/PHP-5.5/sapi/apache_hooks/
H A Dmod_php5.c282 if (!SG(read_post_bytes) && !ap_should_client_block(r)) { in sapi_apache_read_post()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c502 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()

Completed in 108 milliseconds