/external/vboot_reference/tests/ |
D | vb21_host_misc_tests.c | 35 uint32_t read_size; in file_tests() local 42 TEST_EQ(vb2_read_file(testfile, &read_data, &read_size), in file_tests() 49 TEST_SUCC(vb2_read_file(testfile, &read_data, &read_size), in file_tests() 51 TEST_EQ(read_size, sizeof(test_data), " data size"); in file_tests() 52 TEST_EQ(memcmp(read_data, test_data, read_size), 0, " data"); in file_tests() 62 TEST_SUCC(vb2_read_file(testfile, &read_data, &read_size), in file_tests() 64 TEST_EQ(read_size, c->total_size, " data size"); in file_tests() 66 TEST_EQ(memcmp(read_data, c, read_size), 0, " data"); in file_tests()
|
/external/libmojo/mojo/edk/system/ |
D | message_pipe_perftest.cc | 109 uint32_t read_size = static_cast<uint32_t>(buffer.size()); in RunPingPongClient() local 111 &read_size, nullptr, in RunPingPongClient() 116 if (read_size == 0) in RunPingPongClient() 120 read_size, in RunPingPongClient()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_syntax_parser.cpp | 60 bool CPDF_SyntaxParser::ReadChar(FX_FILESIZE read_pos, uint32_t read_size) { in ReadChar() argument 61 if (static_cast<FX_FILESIZE>(read_pos + read_size) > m_FileLen) { in ReadChar() 62 if (m_FileLen < static_cast<FX_FILESIZE>(read_size)) { in ReadChar() 64 read_size = static_cast<uint32_t>(m_FileLen); in ReadChar() 66 read_pos = m_FileLen - read_size; in ReadChar() 69 if (!m_pFileAccess->ReadBlock(m_pFileBuf, read_pos, read_size)) in ReadChar() 83 uint32_t read_size = m_BufSize; in GetNextChar() local 84 read_size = std::min(read_size, static_cast<uint32_t>(m_FileLen)); in GetNextChar() 85 if (!ReadChar(read_pos, read_size)) in GetNextChar() 104 uint32_t read_size = m_BufSize; in GetCharAtBackward() local [all …]
|
/external/ltp/utils/ffsb-6.0-rc2/ |
D | fileops.c | 99 uint64_t read_size = ft_get_read_size(ft); in ffsb_readfile() local 112 assert(filesize >= read_size); in ffsb_readfile() 116 uint64_t range = filesize - read_size; in ffsb_readfile() 122 iterations = read_size / read_blocksize; in ffsb_readfile() 123 last = read_size % read_blocksize; in ffsb_readfile() 140 " aborting\n\n", read_size, in ffsb_readfile() 163 iterations = readfile_helper(fd, read_size, in ffsb_readfile() 172 iterations = read_size / read_blocksize; in ffsb_readfile() 185 ft_incr_op(ft, opnum, iterations, read_size); in ffsb_readfile() 186 ft_add_readbytes(ft, read_size); in ffsb_readfile()
|
D | ffsb_tg.c | 180 tg->read_size = rs; in tg_set_read_size() 227 return tg->read_size; in tg_get_read_size() 274 printf("\t read_size = %llu\t(%s)\n", tg->read_size, in tg_print_config_helper() 275 ffsb_printsize(buf, tg->read_size, 256)); in tg_print_config_helper()
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 168 int result = 0, read_size; in nl_getmsg() local 179 result = read_size = nl_recvmsg(sd, request, seq, buff, bufsize, &msg_flags); in nl_getmsg() 180 if (read_size < 0 || (msg_flags & MSG_TRUNC)) { in nl_getmsg() 185 if (read_size == 0) in nl_getmsg() 188 … (nh = (struct nlmsghdr *) buff; NLMSG_OK(nh, read_size); nh = (struct nlmsghdr *) NLMSG_NEXT(nh, … in nl_getmsg()
|
/external/libbrillo/brillo/http/ |
D | http_connection_curl.cc | 229 size_t read_size = 0; in read_callback() local 231 &read_size, nullptr); in read_callback() 232 VLOG_IF(3, success) << "Sending data: " << std::string{ptr, read_size}; in read_callback() 233 return success ? read_size : CURL_READFUNC_ABORT; in read_callback()
|
/external/v8/src/ |
D | startup-data-util.cc | 62 int read_size = static_cast<int>(fread(const_cast<char*>(startup_data->data), in Load() local 66 if (startup_data->raw_size == read_size) { in Load()
|
/external/ltp/utils/ffsb-6.0-rc2/examples/ |
D | profile_everything | 73 read_size = 40k 115 # read_size = 4096
|
/external/libbrillo/brillo/streams/ |
D | stream_unittest.cc | 100 size_t read_size = 0; in TEST() local 103 auto success_callback = [](size_t* read_size, bool* succeeded,size_t size) { in TEST() argument 104 *read_size = size; in TEST() 126 base::Unretained(&read_size), in TEST() 130 EXPECT_EQ(0u, read_size); in TEST() 141 base::Unretained(&read_size), in TEST() 157 EXPECT_EQ(7u, read_size); in TEST()
|
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-ffsb-config/ |
D | ffsb-config2 | 21 read_size=4096
|
D | ffsb-config1 | 21 read_size=4096
|
D | ffsb-config0 | 21 read_size=4096
|
D | ffsb-config6 | 26 read_size=4096
|
D | ffsb-config5 | 26 read_size=4096
|
D | ffsb-config4 | 26 read_size=4096
|
D | ffsb-config7 | 26 read_size=4096
|
D | ffsb-config3 | 26 read_size=4096
|
/external/strace/tests-mx32/ |
D | perf_event_open.c | 163 uint32_t read_size; in print_event_attr() local 175 read_size = in print_event_attr() 183 if (read_size > available_size) { in print_event_attr() 198 memcpy(attr, attr_ptr, read_size); in print_event_attr()
|
/external/strace/tests-m32/ |
D | perf_event_open.c | 163 uint32_t read_size; in print_event_attr() local 175 read_size = in print_event_attr() 183 if (read_size > available_size) { in print_event_attr() 198 memcpy(attr, attr_ptr, read_size); in print_event_attr()
|
/external/strace/tests/ |
D | perf_event_open.c | 163 uint32_t read_size; in print_event_attr() local 175 read_size = in print_event_attr() 183 if (read_size > available_size) { in print_event_attr() 198 memcpy(attr, attr_ptr, read_size); in print_event_attr()
|
/external/kernel-headers/original/uapi/sound/ |
D | usb_stream.h | 42 unsigned read_size; member
|
/external/autotest/client/tests/ffsb/ |
D | profile.cfg.sample | 23 read_size=5242880 # 5 MB
|
/external/bsdiff/ |
D | bspatch.cc | 86 unsigned int read_size = std::min( in ReadBZ2() local 88 stream->avail_out = read_size; in ReadBZ2() 92 size -= read_size - stream->avail_out; in ReadBZ2()
|
/external/squashfs-tools/kernel-2.4/include/linux/ |
D | squashfs_fs_sb.h | 57 unsigned int read_size; member
|