/external/vboot_reference/tests/ |
D | vb21_host_misc_tests.c | 34 uint8_t *read_data; 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() 52 TEST_EQ(memcmp(read_data, test_data, read_size), 0, " data"); in file_tests() 53 free(read_data); in file_tests() 62 TEST_SUCC(vb2_read_file(testfile, &read_data, &read_size), in file_tests() 66 TEST_EQ(memcmp(read_data, c, read_size), 0, " data"); in file_tests() 67 free(read_data); in file_tests()
|
/external/webrtc/webrtc/common_audio/ |
D | ring_buffer_unittest.cc | 62 rtc::scoped_ptr<int[]> read_data(new int[buffer_size]); in RandomStressTest() local 92 read_data.get(), in RandomStressTest() 94 int* check_ptr = read_data.get(); in RandomStressTest() 118 int read_data[kDataSize]; in TEST() local 127 SetIncrementingData(read_data, kDataSize, kDataSize); in TEST() 129 reinterpret_cast<void**>(&data_ptr), read_data, kDataSize)); in TEST() 132 CheckIncrementingData(read_data, kDataSize, kDataSize); in TEST() 135 EXPECT_EQ(kDataSize, WebRtc_ReadBuffer(buffer.get(), NULL, read_data, in TEST() 138 CheckIncrementingData(read_data, kDataSize, 0); in TEST()
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testwith.py | 195 mock = mock_open(read_data='foo') 206 mock = mock_open(read_data='foo\nbar\nbaz\n') 218 mock = mock_open(read_data='foo') 228 mock = mock_open(read_data='foo\nbar\nbaz\n') 240 mock = mock_open(read_data='foo\nbar\nbaz\n') 248 mock = mock_open(read_data='foo\nbar\nbaz') 257 mock = mock_open(read_data=b'\xc6') 265 m = mock_open(read_data=b'abc\ndef\nghi\n') 277 m = mock_open(read_data=b'abc\ndef\nghi\n') 288 mock = mock_open(read_data=some_data) [all …]
|
/external/python/mock/mock/tests/ |
D | testwith.py | 186 mock = mock_open(read_data='foo') 196 mock = mock_open(read_data='foo\nbar\nbaz\n') 207 mock = mock_open(read_data='foo') 216 mock = mock_open(read_data='foo\nbar\nbaz\n') 224 mock = mock_open(read_data='foo\nbar\nbaz') 233 mock = mock_open(read_data=b'\xc6') 241 m = mock_open(read_data=b'abc\ndef\nghi\n') 253 m = mock_open(read_data=b'abc\ndef\nghi\n') 264 mock = mock_open(read_data=some_data) 271 mock = mock_open(read_data='foo\nbar\nbaz\n') [all …]
|
/external/u-boot/drivers/ddr/marvell/a38x/ |
D | ddr3_training_bist.c | 77 u32 read_data[MAX_INTERFACE_NUM]; in ddr3_tip_bist_read_result() local 86 ODPG_DATA_RX_WORD_ERR_DATA_HIGH_REG, read_data, in ddr3_tip_bist_read_result() 90 pst_bist_result->bist_fail_high = read_data[if_id]; in ddr3_tip_bist_read_result() 92 ODPG_DATA_RX_WORD_ERR_DATA_LOW_REG, read_data, in ddr3_tip_bist_read_result() 96 pst_bist_result->bist_fail_low = read_data[if_id]; in ddr3_tip_bist_read_result() 99 ODPG_DATA_RX_WORD_ERR_ADDR_REG, read_data, in ddr3_tip_bist_read_result() 103 pst_bist_result->bist_last_fail_addr = read_data[if_id]; in ddr3_tip_bist_read_result() 105 ODPG_DATA_RX_WORD_ERR_CNTR_REG, read_data, in ddr3_tip_bist_read_result() 109 pst_bist_result->bist_error_cnt = read_data[if_id]; in ddr3_tip_bist_read_result() 229 u32 subphy, read_data; in mv_ddr_tip_bist() local [all …]
|
D | ddr3_debug.c | 112 u32 read_data[MAX_INTERFACE_NUM]; in ddr3_tip_reg_dump() local 123 if_id, reg_addr, read_data, in ddr3_tip_reg_dump() 125 printf("0x%x ", read_data[if_id]); in ddr3_tip_reg_dump() 530 u32 read_data[MAX_INTERFACE_NUM]; in ddr3_tip_print_stability_log() local 564 read_data, MASK_ALL_BITS)); in ddr3_tip_print_stability_log() 565 printf("%d,%d,", ((read_data[if_id] & 0x3f0) >> 4), in ddr3_tip_print_stability_log() 566 ((read_data[if_id] & 0xfc00) >> 10)); in ddr3_tip_print_stability_log() 569 read_data, MASK_ALL_BITS)); in ddr3_tip_print_stability_log() 570 printf("%d,%d,", ((read_data[if_id] & 0x3f0) >> 4), in ddr3_tip_print_stability_log() 571 ((read_data[if_id] & 0xfc00) >> 10)); in ddr3_tip_print_stability_log() [all …]
|
D | ddr3_training_ip_engine.c | 704 u32 read_data[MAX_INTERFACE_NUM]; in ddr3_tip_read_training_result() local 796 read_data, in ddr3_tip_read_training_result() 799 if ((read_data[if_id] & in ddr3_tip_read_training_result() 808 read_data in ddr3_tip_read_training_result() 814 = read_data[if_id] + in ddr3_tip_read_training_result()
|
/external/ltp/testcases/kernel/io/stress_cd/ |
D | stress_cd.c | 48 static int read_data(int, unsigned long *); 65 read_data(0, &checksum); in main() 128 read_data(num, &cksum); in thread() 140 static int read_data(int num, unsigned long *cksum) in read_data() function
|
/external/u-boot/drivers/mtd/nand/ |
D | kmeter1_nand.c | 16 #define read_data() in_8(CONFIG_NAND_DATA_REG) macro 75 return read_data(); in kpn_nand_read_byte() 93 buf[i] = read_data(); in kpn_nand_read_buf()
|
/external/autotest/client/site_tests/enterprise_SmbProviderDaemon/ |
D | enterprise_SmbProviderDaemon.py | 119 read_data = self._check_read_file(mount_id, file_id, 0, len(data)) 125 self._check_contents(data, read_data) 319 def _check_contents(self, data, read_data): argument 328 if data != read_data:
|
/external/tensorflow/tensorflow/contrib/ignite/python/ops/ |
D | ignite_dataset_ops.py | 63 self.read_data(length) 66 def read_data(self, length): member in Readable 72 data_buffer = self.read_data(length) 89 def read_data(self, length): member in DataBuffer 163 def read_data(self, length): member in TcpClient 442 payload = DataBuffer(self.read_data(result_length - 25)) 598 inner_data = data.read_data(length) 683 return self.read_data(length).decode("utf-8")
|
/external/libbrillo/brillo/http/ |
D | http_request_unittest.cc | 152 auto read_data = in TEST_F() local 179 [this, &read_data](const SuccessCallback& success_callback) { in TEST_F() 182 .WillOnce(Invoke(read_data)) in TEST_F()
|
/external/python/cpython3/Lib/test/ |
D | test_zipfile.py | 133 read_data = zipopen1.read(256) 134 if not read_data: 136 zipdata1.append(read_data) 141 read_data = zipopen2.read(256) 142 if not read_data: 144 zipdata2.append(read_data) 167 read_data = zipopen1.read(randint(1, 1024)) 168 if not read_data: 170 zipdata1.append(read_data) 186 read_data = zipopen.read1(-1) [all …]
|
D | test_telnetlib.py | 268 read_data = telnet.read_lazy() 269 data += read_data 270 if not read_data:
|
/external/python/cpython2/Lib/test/ |
D | test_telnetlib.py | 282 read_data = telnet.read_lazy() 283 data += read_data 284 if not read_data: 304 read_data = telnet.read_very_lazy() 307 data += read_data 308 if not read_data:
|
D | test_zipfile.py | 130 read_data = zipopen1.read(256) 131 if not read_data: 133 zipdata1.append(read_data) 138 read_data = zipopen2.read(256) 139 if not read_data: 141 zipdata2.append(read_data) 178 read_data = zipopen1.read(randint(1, 1024)) 179 if not read_data: 181 zipdata1.append(read_data) 1403 read_data = zipopen1.read(256) [all …]
|
/external/u-boot/tools/ |
D | proftool.c | 157 static int read_data(FILE *fin, void *buff, int size) in read_data() function 223 if (read_data(fin, call_data, sizeof(*call_data))) in read_calls() 237 err = read_data(fin, &hdr, sizeof(hdr)); in read_profile()
|
/external/python/mock/ |
D | NEWS | 14 read_data is bytes. Initial patch by Aaron Hill. 16 - Issue #21750: mock_open.read_data can now be read from each instance, as it
|
/external/squashfs-tools/kernel-2.4/include/linux/ |
D | squashfs_fs_sb.h | 58 char *read_data; member
|
/external/autotest/client/profilers/powertop/src/ |
D | powertop.c | 423 static void read_data(uint64_t * usage, uint64_t * duration) in read_data() function 825 read_data(&start_usage[0], &start_duration[0]); in main() 876 read_data(&cur_usage[0], &cur_duration[0]); in main() 1166 read_data(&cur_usage[0], &cur_duration[0]); in main()
|
/external/tensorflow/tensorflow/examples/tutorials/word2vec/ |
D | word2vec_basic.py | 68 def read_data(filename): function 74 vocabulary = read_data(filename)
|
/external/python/cpython3/Lib/unittest/ |
D | mock.py | 2332 def _iterate_read_data(read_data): argument 2336 sep = b'\n' if isinstance(read_data, bytes) else '\n' 2337 data_as_list = [l + sep for l in read_data.split(sep)] 2353 def mock_open(mock=None, read_data=''): argument 2373 return type(read_data)().join(_state[0]) 2378 yield type(read_data)() 2398 _state = [_iterate_read_data(read_data), None] 2412 _state[0] = _iterate_read_data(read_data)
|
/external/u-boot/arch/arm/mach-exynos/ |
D | dmc_init_ddr3.c | 260 unsigned int read_data; in dmc_valid_window_test_vector() local 267 read_data = readl(test_addr + i * 4 + ch * 0x80); in dmc_valid_window_test_vector() 268 if ((read_data & mask) != (test_pattern[i] & mask)) in dmc_valid_window_test_vector()
|
/external/curl/lib/ |
D | security.c | 191 static CURLcode read_data(struct connectdata *conn, in read_data() function 256 if(read_data(conn, fd, &conn->in_buffer)) in sec_recv()
|
/external/python/mock/mock/ |
D | mock.py | 2451 def _iterate_read_data(read_data): argument 2455 sep = b'\n' if isinstance(read_data, bytes) else '\n' 2456 data_as_list = [l + sep for l in read_data.split(sep)] 2471 def mock_open(mock=None, read_data=''): argument 2491 return type(read_data)().join(_state[0]) 2516 _state = [_iterate_read_data(read_data), None] 2529 _state[0] = _iterate_read_data(read_data)
|