Searched refs:read_len (Results 1 – 7 of 7) sorted by relevance
/external/chromium/net/base/ |
D | listen_socket_unittest.cc | 144 size_t read_len = 0; in TestClientSendLong() local 145 while (read_len < long_len) { in TestClientSendLong() 150 if (long_string.compare(read_len, len, last_data)) { in TestClientSendLong() 151 ASSERT_EQ(long_string.compare(read_len, len, last_data), 0); in TestClientSendLong() 153 read_len += last_data.length(); in TestClientSendLong() 155 ASSERT_EQ(read_len, long_len); in TestClientSendLong()
|
/external/qemu/hw/ |
D | goldfish_nand.c | 368 size_t read_len = dev->erase_size; in nand_dev_read_file() local 375 if(read_len < dev->erase_size) { in nand_dev_read_file() 377 read_len = dev->erase_size; in nand_dev_read_file() 380 if(len < read_len) in nand_dev_read_file() 381 read_len = len; in nand_dev_read_file() 383 read_len = do_read(dev->fd, dev->data, read_len); in nand_dev_read_file() 389 cpu_memory_rw_debug(cpu_single_env, data, dev->data, read_len, 1); in nand_dev_read_file() 390 data += read_len; in nand_dev_read_file() 391 len -= read_len; in nand_dev_read_file()
|
/external/compiler-rt/lib/asan/ |
D | asan_rtl.cc | 83 size_t read_len = 0; in ReadFileToBuffer() local 94 read_len = 0; in ReadFileToBuffer() 96 while (read_len + kPageSize <= size) { in ReadFileToBuffer() 97 size_t just_read = AsanRead(fd, *buff + read_len, kPageSize); in ReadFileToBuffer() 102 read_len += just_read; in ReadFileToBuffer() 108 return read_len; in ReadFileToBuffer()
|
/external/chromium/net/http/ |
D | partial_data.cc | 418 int read_len = std::min(data_len, cached_min_len_); in CacheRead() local 419 if (!read_len) in CacheRead() 424 rv = entry->ReadSparseData(current_range_start_, data, read_len, in CacheRead() 431 data, read_len, callback); in CacheRead()
|
/external/libsepol/src/ |
D | module.c | 328 uint32_t offset, nel, read_len; in read_helper() local 336 read_len = nel; in read_helper() 338 read_len = _read_helper_bufsize; in read_helper() 339 rc = next_entry(&buf[offset], file, read_len); in read_helper() 342 offset += read_len; in read_helper() 343 nel -= read_len; in read_helper()
|
/external/grub/stage2/ |
D | disk_io.c | 194 int bios_err, read_start = track, read_len = sectors_per_vtrack; in rawread() local 204 read_len = num_sect; in rawread() 209 read_start, read_len, BUFFERSEG); in rawread()
|
/external/openssh/ |
D | misc.c | 871 bandwidth_limit(struct bwlimit *bw, size_t read_len) in bandwidth_limit() argument 881 bw->lamt += read_len; in bandwidth_limit()
|