Searched defs:read_bytes (Results 1 - 6 of 6) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dpassword.c136 size_t read_bytes = 0; local
139 while (read_bytes < raw_length) {
140 n = read(fd, buffer + read_bytes, raw_length - read_bytes);
144 read_bytes += (size_t) n;
148 if (read_bytes >= raw_length) {
H A Dphp_fopen_wrapper.c85 size_t read_bytes = sapi_read_post_block(buf, count); local
87 if (read_bytes > 0) {
89 php_stream_write(input->body, buf, read_bytes);
/PHP_TRUNK/main/
H A Drfc1867.c666 int total_bytes=0, read_bytes=0; local
668 while((read_bytes = multipart_buffer_read(self, buf, sizeof(buf), NULL))) {
669 out = erealloc(out, total_bytes + read_bytes + 1);
670 memcpy(out + total_bytes, buf, read_bytes);
671 total_bytes += read_bytes;
H A DSAPI.c248 size_t read_bytes; local
254 read_bytes = sapi_module.read_post(buffer, buflen);
256 if (read_bytes > 0) {
258 SG(read_post_bytes) += read_bytes;
260 if (read_bytes < buflen) {
265 return read_bytes;
280 size_t read_bytes; local
285 read_bytes = sapi_read_post_block(buffer, SAPI_POST_BLOCK_SIZE);
287 if (read_bytes > 0) {
288 if (php_stream_write(SG(request_info).request_body, buffer, read_bytes) !
517 size_t read_bytes; local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c477 size_t read_bytes = 0; local
486 while (read_bytes < count_bytes) {
488 size_t diff = count_bytes - read_bytes;
491 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, to_read);
493 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes);
498 read_bytes += tmp_read_bytes;
500 return read_bytes;
505 size_t read_bytes = 0; local
513 while (read_bytes < count_byte
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c475 uint read_bytes = 0; local
482 while (read_bytes < count_bytes) {
500 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
502 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes);
507 read_bytes += tmp_read_bytes;
509 return read_bytes;

Completed in 23 milliseconds