Searched refs:read_post_bytes (Results 1 – 12 of 12) sorted by relevance
/PHP-5.4/sapi/continuity/ |
H A D | capi.c | 68 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.4/sapi/pi3web/ |
H A D | pi3web_sapi.c | 219 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.4/main/ |
H A D | SAPI.c | 273 …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 D | rfc1867.c | 260 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 D | SAPI.h | 122 int read_post_bytes; member
|
/PHP-5.4/sapi/isapi/ |
H A D | php5isapi.c | 334 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.4/sapi/nsapi/ |
H A D | nsapi.c | 97 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.4/ext/standard/ |
H A D | php_fopen_wrapper.c | 95 SG(read_post_bytes) += read_bytes; in php_stream_input_read()
|
/PHP-5.4/sapi/apache/ |
H A D | mod_php5.c | 137 if (!SG(read_post_bytes) && !ap_should_client_block(r)) { in sapi_apache_read_post()
|
/PHP-5.4/sapi/cgi/ |
H A D | cgi_main.c | 511 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.4/sapi/apache_hooks/ |
H A D | mod_php5.c | 282 if (!SG(read_post_bytes) && !ap_should_client_block(r)) { in sapi_apache_read_post()
|
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fpm_main.c | 502 count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()
|
Completed in 44 milliseconds