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

/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/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;
/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 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 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/ext/mcrypt/
H A Dmcrypt.c1351 size_t read_bytes = 0;
1362 while (read_bytes < size) {
1363 n = read(*fd, iv + read_bytes, size - read_bytes);
1367 read_bytes += n;
1369 n = read_bytes;
/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...]

Completed in 12 milliseconds