Searched refs:read_bytes (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/standard/
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);
H A Drandom.c89 size_t read_bytes = 0;
105 while (read_bytes < size) {
106 ssize_t n = read(fd, bytes + read_bytes, size - read_bytes);
110 read_bytes += n;
113 if (read_bytes < size) {
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) {
/PHP_TRUNK/main/
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 php_stream_write(SG(request_info).request_body, buffer, read_bytes);
512 size_t read_bytes; local
[all...]
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c1352 size_t read_bytes = 0;
1363 while (read_bytes < size) {
1364 n = read(*fd, iv + read_bytes, size - read_bytes);
1368 read_bytes += n;
1370 n = read_bytes;
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c473 size_t read_bytes = 0; local
482 while (read_bytes < count_bytes) {
484 size_t diff = count_bytes - read_bytes;
487 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, to_read);
489 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes);
494 read_bytes += tmp_read_bytes;
496 return read_bytes;
501 size_t read_bytes = 0; local
509 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 13 milliseconds