Searched refs:read_from_buf (Results 1 – 2 of 2) sorted by relevance
/PHP-5.4/sapi/pi3web/ |
H A D | pi3web_sapi.c | 215 DWORD read_from_buf=0; in sapi_pi3web_read_post() local 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() 222 total_read += read_from_buf; in sapi_pi3web_read_post() 224 if (read_from_buf<count_bytes 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() 231 if (!lpCB->ReadClient(lpCB->ConnID, buffer+read_from_buf+cbRead, &cbSize) || cbSize==0) { in sapi_pi3web_read_post()
|
/PHP-5.4/sapi/isapi/ |
H A D | php5isapi.c | 330 DWORD read_from_buf=0; in sapi_isapi_read_post() local 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() 337 total_read += read_from_buf; in sapi_isapi_read_post() 339 if (read_from_buf<count_bytes 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() 346 if (!lpECB->ReadClient(lpECB->ConnID, buffer+read_from_buf+cbRead, &cbSize) || cbSize==0) { in sapi_isapi_read_post()
|
Completed in 26 milliseconds