Home
last modified time | relevance | path

Searched refs:read_data (Results 1 – 18 of 18) sorted by relevance

/external/vboot_reference/tests/
Dvb21_host_misc_tests.c34 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/
Dring_buffer_unittest.cc62 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/libweave/src/test/
Dfake_stream.cc17 const std::string& read_data) in FakeStream() argument
18 : task_runner_{task_runner}, read_data_{read_data} {} in FakeStream()
/external/libbrillo/brillo/http/
Dhttp_request_unittest.cc152 auto read_data = in TEST_F() local
178 [this, &read_data, &resp_data](const SuccessCallback& success_callback) { in TEST_F()
181 .WillOnce(Invoke(read_data)) in TEST_F()
/external/libweave/include/weave/test/
Dfake_stream.h26 FakeStream(provider::TaskRunner* task_runner, const std::string& read_data);
/external/squashfs-tools/kernel-2.4/include/linux/
Dsquashfs_fs_sb.h58 char *read_data; member
/external/autotest/client/profilers/powertop/src/
Dpowertop.c423 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/curl/lib/
Dsecurity.c190 static CURLcode read_data(struct connectdata *conn, in read_data() function
252 if(read_data(conn, fd, &conn->in_buffer)) in sec_recv()
/external/dbus/dbus/
Ddbus-spawn.c353 read_data (DBusBabysitter *sitter, in read_data() function
512 if (read_data (sitter, sitter->socket_to_babysitter) != READ_STATUS_OK) in handle_babysitter_socket()
528 if (read_data (sitter, sitter->error_pipe_from_child) != READ_STATUS_OK) in handle_error_pipe()
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c172 c_buffer = compressed ? msblk->read_data : buffer; in squashfs_read_data()
194 c_buffer = compressed ? msblk->read_data : buffer; in squashfs_read_data()
1033 if (!(msblk->read_data = kmalloc(msblk->read_size, GFP_KERNEL))) { in squashfs_read_super()
1114 kfree(msblk->read_data); in squashfs_read_super()
1988 kfree(sbi->read_data); in squashfs_put_super()
1997 sbi->read_data = NULL; in squashfs_put_super()
/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.cc327 ReadableFontDataPtr read_data = InternalReadData(); in SubDataSizeToSerialize() local
328 if (!read_data) in SubDataSizeToSerialize()
330 return read_data->Length(); in SubDataSizeToSerialize()
/external/blktrace/
Dblkparse.c2090 static int read_data(int fd, void *buffer, int bytes, int block, int *fdblock) in read_data() function
2169 ret = read_data(fd, bit, sizeof(*bit), should_block, fdblock); in read_events()
2194 if (read_data(fd, ptr + sizeof(*bit), pdu_len, 1, fdblock)) { in read_events()
2323 ret = read_data(pci->fd, bit, sizeof(*bit), 1, &pci->fdblock); in ms_prime()
2340 ret = read_data(pci->fd, ptr + sizeof(*bit), pdu_len, in ms_prime()
/external/libnfc-nci/src/nfc/tags/
Drw_t3t.c1498 tRW_READ_DATA read_data; in rw_t3t_act_handle_check_ndef_rsp() local
1523 read_data.status = NFC_STATUS_OK; in rw_t3t_act_handle_check_ndef_rsp()
1543 read_data.p_data = p_msg_rsp; in rw_t3t_act_handle_check_ndef_rsp()
1544 (*(rw_cb.p_cback)) (RW_T3T_CHECK_EVT, (tRW_DATA *) &read_data); in rw_t3t_act_handle_check_ndef_rsp()
/external/fio/
Dclient.c94 static int read_data(int fd, void *data, size_t size) in read_data() function
726 if (read_data(fd, p, len)) { in __fio_client_send_local_ini()
1378 rep->error = read_data(fd, &rep->data, sb.st_size); in send_file()
/external/chromium-trace/catapult/telemetry/third_party/mock/
Dmock.py2319 def mock_open(mock=None, read_data=''): argument
2346 handle.read.return_value = read_data
/external/chromium-trace/catapult/third_party/mock/
Dmock.py2319 def mock_open(mock=None, read_data=''): argument
2346 handle.read.return_value = read_data
/external/squashfs-tools/
DCHANGES313 6. Odd behaviour of MIPS memcpy in read_data() routine worked-around.
434 4. Bug introduced into the read_data() routine when sped up to use data
/external/dbus/
DChangeLog.pre-1-2904 * dbus/dbus-spawn.c: (read_data),