Searched refs: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 int 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/sapi/fpm/fpm/
H A Dfpm_main.c454 uint read_bytes = 0; local
461 while (read_bytes < count_bytes) {
480 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
482 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes);
487 read_bytes += tmp_read_bytes;
489 return read_bytes;
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c1442 size_t read_bytes = 0;
1450 while (read_bytes < size) {
1451 n = read(fd, iv + read_bytes, size - read_bytes);
1455 read_bytes += n;
1457 n = read_bytes;
/PHP_TRUNK/main/
H A DSAPI.c252 int read_bytes; local
258 read_bytes = (int)sapi_module.read_post(buffer, buflen);
260 if (read_bytes > 0) {
262 SG(read_post_bytes) += read_bytes;
264 if (read_bytes < buflen) {
269 return read_bytes;
284 int read_bytes; local
289 read_bytes = sapi_read_post_block(buffer, SAPI_POST_BLOCK_SIZE);
291 if (read_bytes > 0) {
292 php_stream_write(SG(request_info).request_body, buffer, read_bytes);
516 int read_bytes; local
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c465 size_t read_bytes = 0; local
474 while (read_bytes < count_bytes) {
476 size_t diff = count_bytes - read_bytes;
479 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, to_read);
481 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes);
486 read_bytes += tmp_read_bytes;
488 return read_bytes;
493 size_t read_bytes = 0; local
501 while (read_bytes < count_byte
[all...]

Completed in 12 milliseconds