/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));
|
/device/google/cuttlefish_common/host/libs/adb_connection_maintainer/ |
adb_connection_maintainer.cpp | 66 size_t total_read{}; 68 while (total_read < count) { 69 auto just_read = sock->Read(data.get() + total_read, count - total_read); 73 total_read += 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 | 112 DWORD n_read, total_read, wbuflen, u8len; local 118 total_read = 0; 122 if (!ReadConsoleW(hStdIn, &wbuf[total_read], wbuflen - total_read, &n_read, NULL)) { 149 total_read += n_read; 150 if (total_read == 0 || wbuf[total_read - 1] == L'\n') { 155 wbuf[total_read] = '\0'; 171 u8len = WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, NULL, 0, NULL, NULL); 173 u8len = WideCharToMultiByte(CP_UTF8, 0, wbuf, total_read, buf, u8len, NULL, NULL) [all...] |
/external/opencv/otherlibs/highgui/ |
cvcap_socket.cpp | 247 long read_count, total_read = 0; local 248 while (total_read < readBufSize) 250 read_count = read(sockd, &readBuf[total_read], readBufSize); 258 total_read += read_count; 262 if (total_read == readBufSize)
|
/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);
|
/toolchain/binutils/binutils-2.27/gold/testsuite/ |
binary_unittest.cc | 47 ssize_t total_read = 0; local 57 total_read += nread; 59 return total_read;
|
/system/core/libunwindstack/ |
Memory.cpp | 50 size_t total_read = 0; local 53 .iov_base = &reinterpret_cast<uint8_t*>(dst)[total_read], .iov_len = len, 65 return total_read; 77 return total_read; 86 return total_read; 88 total_read += rc; 90 return total_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,
|
/system/extras/iotop/ |
iotop.cpp | 245 uint64_t total_read = 0; local 249 total_read += statistics.read(); 272 BytesToKB(total_read) / delay_div,
|
/external/mesa3d/src/compiler/glsl/ |
standalone.cpp | 339 size_t total_read = 0; local 353 size_t bytes = fread(text + total_read, 354 1, size - total_read, fp); 355 if (bytes < size - total_read) { 365 total_read += bytes; 366 } while (total_read < size); 368 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 | 234 size_t total_read = 0; local 250 total_read += bytes_read; 263 total_read += bytes_read; 267 return total_read;
|
/external/adhd/cras/src/server/ |
dev_stream.c | 224 unsigned int total_read = 0; local 237 while (total_read < num_frames) { 244 read_frames = num_frames - total_read; 251 total_read += read_frames; 257 return total_read;
|
audio_thread.c | 1356 unsigned int nread, total_read; local [all...] |
/external/zlib/src/contrib/minizip/ |
minizip.c | 192 unsigned long total_read = 0; local 212 total_read += size_read;
|
/toolchain/binutils/binutils-2.27/zlib/contrib/minizip/ |
minizip.c | 192 unsigned long total_read = 0; local 212 total_read += size_read;
|
/external/libchrome/base/files/ |
file_util_posix.cc | 439 size_t total_read = 0; local 440 while (total_read < bytes) { 442 HANDLE_EINTR(read(fd, buffer + total_read, bytes - total_read)); 445 total_read += bytes_read; 447 return total_read == bytes;
|
/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 | 558 total_read = 0 561 while total_read < data_length: 567 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...] |