Home
last modified time | relevance | path

Searched refs:TestRead (Results 1 – 5 of 5) sorted by relevance

/external/crosvm/sys_util/src/
Dstruct_util.rs59 struct TestRead { struct
69 let orig = TestRead { in struct_basic_read()
80 std::mem::size_of::<TestRead>(), in struct_basic_read()
83 assert_eq!(mem::size_of::<TestRead>(), mem::size_of_val(&source)); in struct_basic_read()
84 let mut tr: TestRead = Default::default(); in struct_basic_read()
93 let orig = TestRead { in struct_read_past_end()
104 std::mem::size_of::<TestRead>() - 1, in struct_read_past_end()
107 let mut tr: TestRead = Default::default(); in struct_read_past_end()
116 TestRead { in struct_slice_read()
123 TestRead { in struct_slice_read()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Dbyte_io_unittest.cc81 void TestRead(bool big_endian) { in TestRead() function in webrtc::__anon576218aa0111::ByteIoTest
131 TestRead<uint16_t, ByteReader<uint16_t>::ReadBigEndian, sizeof(uint16_t)>( in TEST_F()
138 TestRead<uint32_t, ByteReader<uint32_t, 3>::ReadBigEndian, 3>(true); in TEST_F()
143 TestRead<uint32_t, ByteReader<uint32_t>::ReadBigEndian, sizeof(uint32_t)>( in TEST_F()
150 TestRead<uint64_t, ByteReader<uint64_t>::ReadBigEndian, sizeof(uint64_t)>( in TEST_F()
157 TestRead<int16_t, ByteReader<int16_t>::ReadBigEndian, sizeof(int16_t)>(true); in TEST_F()
163 TestRead<int32_t, ByteReader<int32_t, 3>::ReadBigEndian, 3>(true); in TEST_F()
168 TestRead<int32_t, ByteReader<int32_t>::ReadBigEndian, sizeof(int32_t)>(true); in TEST_F()
174 TestRead<int64_t, ByteReader<int64_t>::ReadBigEndian, sizeof(int64_t)>(true); in TEST_F()
180 TestRead<uint16_t, ByteReader<uint16_t>::ReadLittleEndian, sizeof(uint16_t)>( in TEST_F()
[all …]
/external/libwebm/webm_parser/tests/
Dcallback_test.cc72 void TestRead(Status (Callback::*function)(const T&, Reader*, std::uint64_t*)) { in TestRead() function
91 TestRead(&Callback::OnUnknownElement); in TEST_F()
96 TEST_F(CallbackTest, OnVoid) { TestRead(&Callback::OnVoid); } in TEST_F()
132 TEST_F(CallbackTest, OnFrame) { TestRead(&Callback::OnFrame); } in TEST_F()
/external/puffin/src/
Dstream_unittest.cc25 void TestRead(StreamInterface* stream, const Buffer& data) { in TestRead() function in puffin::StreamTest
164 TestRead(read_stream.get(), buf); in TEST_F()
190 TestRead(stream.get(), buf); in TEST_F()
203 TestRead(read_stream.get(), kPuffsSample1); in TEST_F()
212 TestRead(read_stream.get(), kPuffsSample1); in TEST_F()
260 TestRead(read_stream.get(), data); in TEST_F()
/external/tensorflow/tensorflow/core/lib/strings/
Dordered_code_test.cc103 T TestRead(const string& a) { in TestRead() function
120 EXPECT_EQ(expected, TestRead<T>(OCWrite<T>(expected))); in TestWriteRead()
345 TestRead<uint64>(non_minimal); in TEST()
365 TestRead<int64>(non_minimal); in TEST()