Searched refs:total_read (Results 1 – 6 of 6) sorted by relevance
/external/chromium/net/socket/ |
D | ssl_client_socket_mac.cc | 1022 size_t total_read = us->recv_buffer_.size(); in SSLReadCallback() local 1025 while (rv > 0 && total_read < *data_length) { in SSLReadCallback() 1026 us->read_io_buf_ = new IOBuffer(*data_length - total_read); in SSLReadCallback() 1028 *data_length - total_read, in SSLReadCallback() 1036 total_read += rv; in SSLReadCallback() 1040 *data_length = total_read; in SSLReadCallback() 1041 if (total_read) { in SSLReadCallback() 1042 memcpy(data, &us->recv_buffer_[0], total_read); in SSLReadCallback()
|
/external/chromium/base/ |
D | file_util_posix.cc | 357 size_t total_read = 0; in ReadFromFD() local 358 while (total_read < bytes) { in ReadFromFD() 360 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); in ReadFromFD() 363 total_read += bytes_read; in ReadFromFD() 365 return total_read == bytes; in ReadFromFD()
|
/external/qemu/distrib/sdl-1.2.12/src/file/ |
D | SDL_rwops.c | 165 int total_read = 0; in win32_file_read() local 187 total_read += read_ahead; in win32_file_read() 199 total_read += read_ahead; in win32_file_read() 205 total_read += byte_read; in win32_file_read() 207 return (total_read/size); in win32_file_read()
|
/external/bluetooth/glib/gio/tests/ |
D | live-g-file.c | 392 gssize read, total_read; in test_initial_structure() local 451 total_read = 0; in test_initial_structure() 453 while (total_read < PATTERN_FILE_SIZE) in test_initial_structure() 457 g_input_stream_read (G_INPUT_STREAM (ins), buffer + total_read, in test_initial_structure() 460 total_read += read; in test_initial_structure() 461 log (" read %d bytes, total = %d of %d.\n", read, total_read, in test_initial_structure() 464 g_assert_cmpint (total_read, ==, PATTERN_FILE_SIZE); in test_initial_structure()
|
/external/chromium/third_party/zlib/contrib/minizip/ |
D | minizip.c | 154 unsigned long total_read = 0; in getFileCrc() local 174 total_read += size_read; in getFileCrc()
|
/external/zlib/contrib/minizip/ |
D | minizip.c | 178 unsigned long total_read = 0; in getFileCrc() local 198 total_read += size_read; in getFileCrc()
|