/device/google/cuttlefish_common/tools/play_audio/ |
client_socket.cpp | 87 size_t total_read = 0; local 88 while (total_read < buf.size()) { 90 read(socket_fd_, buf.data() + total_read, buf.size() - total_read); 95 total_read += static_cast<size_t>(just_read);
|
/external/mesa3d/src/compiler/glsl/glcpp/ |
glcpp.c | 52 size_t total_read = 0; local 56 if (total_read + CHUNK + 1 > text_size) { 64 bytes = fread (text + total_read, 1, CHUNK, fp); 65 total_read += bytes; 72 text[total_read] = '\0';
|
/external/python/cpython3/Parser/ |
myreadline.c | 107 DWORD n_read, total_read, wbuflen, u8len; local 113 total_read = 0; 120 if (!ReadConsoleW(hStdIn, &wbuf[total_read], wbuflen - total_read, &n_read, NULL)) { 146 total_read += n_read; 147 if (total_read == 0 || wbuf[total_read - 1] == L'\n') { 152 wbuf[total_read] = '\0'; 181 u8len = WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, NULL, 0, NULL, NULL); 187 u8len = WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, buf, u8len, NULL, NULL) [all...] |
/device/google/cuttlefish_common/common/libs/tcp_socket/ |
tcp_socket.cpp | 50 ssize_t total_read = 0; local 51 while (total_read < static_cast<ssize_t>(length)) { 52 auto just_read = fd_->Read(&buf[total_read], buf.size() - total_read); 63 total_read += just_read; 65 CHECK(total_read == static_cast<ssize_t>(length));
|
/bionic/libc/arch-arm/ |
dynamic_function_dispatch.cpp | 124 int bytes_read, total_read = 0; local 125 while (total_read < MAX_CPU_NAME_LEN - 1 && 126 (bytes_read = ifunc_read(fd, name + total_read, 127 MAX_CPU_NAME_LEN - 1 - total_read)) > 0) { 128 total_read += bytes_read; 137 name[total_read] = 0;
|
/device/google/cuttlefish_common/common/vsoc/lib/ |
circqueue_test.cpp | 79 int total_read = 0; local 83 total_read += ret; 87 total_read += layout->byte_queue.Write(region, buffer_out, remaining); 89 EXPECT_EQ(total_read, total_size); 111 int total_read = 0; local 115 total_read += ret; 118 EXPECT_EQ(total_read, num_packets * packet_size);
|
/device/google/cuttlefish_common/host/libs/adb_connection_maintainer/ |
adb_connection_maintainer.cpp | 73 size_t total_read{}; 75 while (total_read < count) { 76 auto just_read = sock->Read(data.get() + total_read, count - total_read); 81 total_read += just_read;
|
/external/ltp/testcases/kernel/fs/proc/ |
proc01.c | 68 unsigned long long total_read; variable 421 total_read += file_total_read; 470 "total read: %llu bytes, %u objs", total_read,
|
/external/mesa3d/src/compiler/glsl/ |
standalone.cpp | 349 size_t total_read = 0; local 363 size_t bytes = fread(text + total_read, 364 1, size - total_read, fp); 365 if (bytes < size - total_read) { 375 total_read += bytes; 376 } while (total_read < size); 378 text[total_read] = '\0';
|
/external/google-breakpad/src/common/windows/ |
http_upload.cc | 214 DWORD total_read = 0; local 227 total_read += size_read; 235 (total_read == claimed_size));
|
/external/curl/lib/ |
security.c | 236 size_t total_read = 0; local 252 total_read += bytes_read; 265 total_read += bytes_read; 269 return total_read;
|
/external/adhd/cras/src/server/ |
dev_stream.c | 259 unsigned int total_read = 0; local 272 while (total_read < num_frames) { 279 read_frames = num_frames - total_read; 286 total_read += read_frames; 292 return total_read;
|
dev_io.c | 422 unsigned int nread, total_read; local 463 total_read = rc; 466 if (total_read < nread)
|
/external/zlib/src/contrib/minizip/ |
minizip.c | 192 unsigned long total_read = 0; local 212 total_read += size_read;
|
/external/libchrome/base/files/ |
file_util_posix.cc | 483 size_t total_read = 0; local 484 while (total_read < bytes) { 486 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); 489 total_read += bytes_read; 491 return total_read == bytes; [all...] |
/external/webrtc/webrtc/base/ |
stream.cc | 63 size_t total_read = 0, current_read; local 64 while (total_read < buffer_len) { 65 result = Read(static_cast<char*>(buffer) + total_read, 66 buffer_len - total_read, ¤t_read, error); 69 total_read += current_read; 72 *read = total_read;
|
/external/libevent/ |
bufferevent-internal.h | 104 ev_uint64_t total_read; member in struct:bufferevent_rate_limit_group
|
bufferevent_ratelim.c | 298 bev->rate_limiting->group->total_read += bytes; 1073 *total_read_out = grp->total_read; 1081 grp->total_read = grp->total_written = 0;
|
/external/autotest/utils/ |
external_packages.py | 569 total_read = 0 572 while total_read < data_length: 578 total_read += len(data) [all...] |
/external/libevent/test/ |
regress_bufferevent.c | 1232 size_t total_read; member in struct:bufferevent_filter_data_stuck 1242 filter_data->total_read += read_size; [all...] |