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

/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c1341 size_t read_bytes = 0;
1349 while (read_bytes < size) {
1350 n = read(fd, iv + read_bytes, size - read_bytes);
1354 read_bytes += n;
1356 n = read_bytes;
/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 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/sapi/cgi/
H A Dcgi_main.c463 size_t read_bytes = 0; local
472 while (read_bytes < count_bytes) {
474 size_t diff = count_bytes - read_bytes;
477 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, to_read);
479 tmp_read_bytes = read(STDIN_FILENO, buffer + read_bytes, count_bytes - read_bytes);
484 read_bytes += tmp_read_bytes;
486 return read_bytes;
491 size_t read_bytes = 0; local
499 while (read_bytes < count_byte
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c453 uint read_bytes = 0; local
460 while (read_bytes < count_bytes) {
479 tmp_read_bytes = fcgi_read(request, buffer + read_bytes, count_bytes - read_bytes);
481 tmp_read_bytes = read(request_body_fd, buffer + read_bytes, count_bytes - read_bytes);
486 read_bytes += tmp_read_bytes;
488 return read_bytes;

Completed in 11 milliseconds