/external/google-breakpad/src/common/ |
D | byte_cursor_unittest.cc | 132 EXPECT_TRUE(cursor.Read(stars, 3)); in TEST() 164 .Read(1, true, &a) in TEST() 165 .Read(1, true, &b) in TEST() 166 .Read(1, true, &c) in TEST() 167 .Read(1, true, &d)); in TEST() 173 EXPECT_FALSE(cursor.Read(1, true, &e)); in TEST() 184 .Read(2, true, &a) in TEST() 185 .Read(2, true, &b) in TEST() 186 .Read(2, true, &c) in TEST() 187 .Read(2, true, &d) in TEST() [all …]
|
/external/sfntly/cpp/src/sfntly/data/ |
D | font_input_stream.cc | 74 int32_t FontInputStream::Read() { in Read() function in sfntly::FontInputStream 78 int32_t b = stream_->Read(); in Read() 85 int32_t FontInputStream::Read(std::vector<uint8_t>* b, int32_t offset, int32_t length) { in Read() function in sfntly::FontInputStream 93 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read); in Read() 98 int32_t FontInputStream::Read(std::vector<uint8_t>* b) { in Read() function in sfntly::FontInputStream 99 return Read(b, 0, b->size()); in Read() 103 return Read(); in ReadChar() 107 return 0xffff & (Read() << 8 | Read()); in ReadUShort() 111 return ((Read() << 8 | Read()) << 16) >> 16; in ReadShort() 115 return 0xffffff & (Read() << 16 | Read() << 8 | Read()); in ReadUInt24() [all …]
|
/external/bsdiff/ |
D | extents_file_unittest.cc | 26 MOCK_METHOD3(Read, bool(void*, size_t, size_t*)); 95 EXPECT_CALL(*mock_file_, Read(_, _, _)).WillOnce(Return(false)); in TEST_F() 99 EXPECT_FALSE(file.Read(nullptr, 1, &bytes_read)); in TEST_F() 116 EXPECT_CALL(*mock_file_, Read(buf, 5, _)).WillOnce(SucceedIO()); in TEST_F() 118 EXPECT_CALL(*mock_file_, Read(buf + 5, 7, _)).WillOnce(SucceedIO()); in TEST_F() 120 EXPECT_CALL(*mock_file_, Read(buf + 12, 3, _)).WillOnce(SucceedIO()); in TEST_F() 126 EXPECT_TRUE(file.Read(buf, 100, &bytes_read)); in TEST_F() 137 EXPECT_CALL(*mock_file_, Read(buf, 2, _)).WillOnce(SucceedIO()); in TEST_F() 139 EXPECT_CALL(*mock_file_, Read(buf, 3, _)).WillOnce(SucceedIO()); in TEST_F() 141 EXPECT_CALL(*mock_file_, Read(buf + 3, 5, _)).WillOnce(SucceedIO()); in TEST_F() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/data/external/ |
D | eu_member_states_raw.txt | 7 Read more about Austria 15 Read more about Belgium 23 Read more about Bulgaria 30 Read more about Croatia 37 Read more about Cyprus 44 Read more about Czech Republic 51 Read more about Denmark 58 Read more about Estonia 65 Read more about Finland 72 Read more about France [all …]
|
/external/libchrome/base/json/ |
D | json_reader_unittest.cc | 252 ListValue::From(JSONReader::Read("[true, false, null]")); in TEST() 258 JSONReader::Read("[true, false, null, ]", JSON_ALLOW_TRAILING_COMMAS); in TEST() 263 std::unique_ptr<ListValue> list = ListValue::From(JSONReader::Read("[]")); in TEST() 270 JSONReader::Read("[[true], [], [false, [], [null]], null]")); in TEST() 276 JSONReader::Read("[[true], [], [false, [], [null, ] , ], null,]", in TEST() 283 EXPECT_FALSE(JSONReader::Read("[[true], [], [false, [], [null]], null")); in TEST() 286 EXPECT_FALSE(JSONReader::Read("[true,, null]")); in TEST() 287 EXPECT_FALSE(JSONReader::Read("[true,, null]", JSON_ALLOW_TRAILING_COMMAS)); in TEST() 290 EXPECT_FALSE(JSONReader::Read("[true null]")); in TEST() 293 EXPECT_FALSE(JSONReader::Read("[true,]")); in TEST() [all …]
|
/external/google-breakpad/src/common/linux/ |
D | elf_symbols_to_module.cc | 100 .Read(4, false, &symbol_.name_offset) in Fetch() 101 .Read(4, false, &symbol_.value) in Fetch() 102 .Read(4, false, &symbol_.size) in Fetch() 103 .Read(1, false, &symbol_.info) in Fetch() 104 .Read(1, false, &other) in Fetch() 105 .Read(2, false, &symbol_.shndx); in Fetch() 109 .Read(4, false, &symbol_.name_offset) in Fetch() 110 .Read(1, false, &symbol_.info) in Fetch() 111 .Read(1, false, &other) in Fetch() 112 .Read(2, false, &symbol_.shndx) in Fetch() [all …]
|
/external/libxml2/python/tests/ |
D | reader3.py | 29 ret = reader.Read() 34 ret = reader.Read() 41 ret = reader.Read() 48 ret = reader.Read() 55 ret = reader.Read() 67 ret = reader.Read() 72 ret = reader.Read() 79 ret = reader.Read() 86 ret = reader.Read() 93 ret = reader.Read() [all …]
|
D | reader.py | 21 ret = reader.Read() 29 ret = reader.Read() 37 ret = reader.Read() 45 ret = reader.Read() 54 ret = reader.Read() 62 ret = reader.Read() 70 ret = reader.Read() 82 ret = reader.Read() 104 ret = reader.Read() 111 ret = reader.Read() [all …]
|
D | walker.py | 41 ret = reader.Read() 44 ret = reader.Read() 81 ret = reader.Read() 84 ret = reader.Read() 119 ret = reader.Read() 122 ret = reader.Read()
|
/external/tensorflow/tensorflow/core/lib/io/ |
D | recordio_test.cc | 85 Status Read(uint64 offset, size_t n, StringPiece* result, in Read() function in tensorflow::io::__anon4999206f0111::StringSource 148 string Read() { in Read() function in tensorflow::io::__anon4999206f0111::RecordioTest 192 TEST_F(RecordioTest, Empty) { ASSERT_EQ("EOF", Read()); } in TEST_F() 199 ASSERT_EQ("foo", Read()); in TEST_F() 200 ASSERT_EQ("bar", Read()); in TEST_F() 201 ASSERT_EQ("", Read()); in TEST_F() 202 ASSERT_EQ("xxxx", Read()); in TEST_F() 203 ASSERT_EQ("EOF", Read()); in TEST_F() 204 ASSERT_EQ("EOF", Read()); // Make sure reads at eof work in TEST_F() 213 ASSERT_EQ("foo", Read()); in TEST_F() [all …]
|
/external/webrtc/webrtc/test/ |
D | rtp_file_reader.cc | 363 TRY_PCAP(Read(data, next_packet_it_->payload_length)); in NextPcap() 391 TRY_PCAP(Read(&magic, false)); in ReadGlobalHeader() 402 TRY_PCAP(Read(&version_major, false)); in ReadGlobalHeader() 403 TRY_PCAP(Read(&version_minor, false)); in ReadGlobalHeader() 413 TRY_PCAP(Read(&this_zone, false)); in ReadGlobalHeader() 414 TRY_PCAP(Read(&sigfigs, false)); in ReadGlobalHeader() 415 TRY_PCAP(Read(&snaplen, false)); in ReadGlobalHeader() 416 TRY_PCAP(Read(&network, false)); in ReadGlobalHeader() 437 TRY_PCAP(Read(&ts_sec, false)); in ReadPacket() 438 TRY_PCAP(Read(&ts_usec, false)); in ReadPacket() [all …]
|
/external/libchrome/ipc/ |
D | ipc_message_utils.h | 118 return ParamTraits<Type>::Read(m, iter, reinterpret_cast<Type* >(p)); in ReadParam() 133 static bool Read(const base::Pickle* m, 145 static bool Read(const base::Pickle* m, 155 static bool Read(const base::Pickle* m, 165 static bool Read(const base::Pickle* m, 175 static bool Read(const base::Pickle* m, 187 static bool Read(const base::Pickle* m, 214 static bool Read(const base::Pickle* m, 228 static bool Read(const base::Pickle* m, 243 static bool Read(const base::Pickle* m, [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 300 unsigned Read; in TEST() local 304 Ty = parseTypeAtBeginning("i32", Read, Error, M, &Mapping); in TEST() 308 ASSERT_TRUE(Read == 3); in TEST() 311 Ty = parseTypeAtBeginning("i13", Read, Error, M, &Mapping); in TEST() 315 ASSERT_TRUE(Read == 3); in TEST() 318 Ty = parseTypeAtBeginning("float", Read, Error, M, &Mapping); in TEST() 321 ASSERT_TRUE(Read == 5); in TEST() 323 Ty = parseTypeAtBeginning("double", Read, Error, M, &Mapping); in TEST() 326 ASSERT_TRUE(Read == 6); in TEST() 330 Ty = parseTypeAtBeginning("%st", Read, Error, M, &Mapping); in TEST() [all …]
|
/external/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 300 unsigned Read; in TEST() local 304 Ty = parseTypeAtBeginning("i32", Read, Error, M, &Mapping); in TEST() 308 ASSERT_TRUE(Read == 3); in TEST() 311 Ty = parseTypeAtBeginning("i13", Read, Error, M, &Mapping); in TEST() 315 ASSERT_TRUE(Read == 3); in TEST() 318 Ty = parseTypeAtBeginning("float", Read, Error, M, &Mapping); in TEST() 321 ASSERT_TRUE(Read == 5); in TEST() 323 Ty = parseTypeAtBeginning("double", Read, Error, M, &Mapping); in TEST() 326 ASSERT_TRUE(Read == 6); in TEST() 330 Ty = parseTypeAtBeginning("%st", Read, Error, M, &Mapping); in TEST() [all …]
|
/external/sfntly/cpp/src/test/ |
D | file_io_test.cc | 50 is.Read(&b2, 0, length); in TestFileInputStream() 58 is.Read(&b2, 0, 100); in TestFileInputStream() 64 is.Read(&b2, 0, 100); in TestFileInputStream() 68 is.Read(&b2, 0, 100); in TestFileInputStream() 74 is.Read(&b2, 0, 100); in TestFileInputStream() 75 is.Read(&b2, 100, 100); in TestFileInputStream() 112 font_is1.Read(&b2, 0, length); in TestFontInputStreamBasic() 120 font_is2.Read(&b2, 0, 100); in TestFontInputStreamBasic() 122 font_is2.Read(&b2, 100, 100); in TestFontInputStreamBasic() 126 font_is2.Read(&b2, 0, 100); in TestFontInputStreamBasic() [all …]
|
D | memory_io_test.cc | 46 EXPECT_EQ(is.Read(), '0'); // position 1 in TestMemoryInputStream() 47 EXPECT_EQ(is.Read(), '1'); // position 2 in TestMemoryInputStream() 48 EXPECT_EQ(is.Read(), '2'); // position 3 in TestMemoryInputStream() 53 EXPECT_EQ(is.Read(&b), 7); // position 10 in TestMemoryInputStream() 57 EXPECT_EQ(is.Read(&b, 7, 10), 10); // position 20 in TestMemoryInputStream() 64 EXPECT_EQ(is.Read(&b), 10); // position 60 in TestMemoryInputStream() 69 EXPECT_EQ(is.Read(&b), 10); // position 50 in TestMemoryInputStream()
|
/external/webrtc/webrtc/base/ |
D | stream_unittest.cc | 27 virtual StreamResult Read(void* buffer, size_t buffer_len, in Read() function in rtc::TestStream 82 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest() 90 EXPECT_EQ(stream->Read(buffer, kBufSize, &bytes, NULL), SR_SUCCESS); in SeekTest() 109 EXPECT_EQ(SR_BLOCK, stream->Read(out, kSize, &bytes, NULL)); in TEST() 125 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize, &bytes, NULL)); in TEST() 130 EXPECT_EQ(SR_BLOCK, stream->Read(out, kSize, &bytes, NULL)); in TEST() 137 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize * 2, &bytes, NULL)); in TEST() 144 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize / 2, &bytes, NULL)); in TEST() 151 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize / 2, &bytes, NULL)); in TEST() 154 EXPECT_EQ(SR_SUCCESS, stream->Read(out, kSize / 2, &bytes, NULL)); in TEST() [all …]
|
/external/puffin/src/ |
D | stream_unittest.cc | 30 ASSERT_TRUE(stream->Read(buf.data(), buf.size())); in TestRead() 40 ASSERT_TRUE(stream->Read(tmp.data(), 0)); in TestRead() 41 ASSERT_FALSE(stream->Read(tmp.data(), 1)); in TestRead() 42 ASSERT_FALSE(stream->Read(tmp.data(), 2)); in TestRead() 43 ASSERT_FALSE(stream->Read(tmp.data(), 3)); in TestRead() 44 ASSERT_FALSE(stream->Read(tmp.data(), 100)); in TestRead() 47 ASSERT_TRUE(stream->Read(tmp.data(), 0)); in TestRead() 48 ASSERT_TRUE(stream->Read(tmp.data(), 1)); in TestRead() 51 ASSERT_FALSE(stream->Read(tmp.data(), 2)); in TestRead() 52 ASSERT_FALSE(stream->Read(tmp.data(), 3)); in TestRead() [all …]
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | scariness_score_test.cc | 43 enum ReadOrWrite { Read = 0, Write = 1 }; enumerator 137 case 1: HeapBuferOverflow<char>(0, Read); break; in main() 138 case 2: HeapBuferOverflow<int>(0, Read); break; in main() 142 case 6: HeapUseAfterFree<char>(0, Read); break; in main() 144 case 8: HeapUseAfterFree<int64_t>(0, Read); break; in main() 147 case 11: StackBufferOverflow<int64_t>(0, Read); break; in main() 149 case 13: StackUseAfterReturn<char>(0, Read); break; in main()
|
/external/libchrome/ui/gfx/geometry/mojo/ |
D | geometry_struct_traits.h | 29 static bool Read(gfx::mojom::InsetsDataView data, gfx::Insets* out) { 41 static bool Read(gfx::mojom::InsetsFDataView data, gfx::InsetsF* out) { 51 static bool Read(gfx::mojom::PointDataView data, gfx::Point* out) { 61 static bool Read(gfx::mojom::PointFDataView data, gfx::PointF* out) { 73 static bool Read(gfx::mojom::RectDataView data, gfx::Rect* out) { 88 static bool Read(gfx::mojom::RectFDataView data, gfx::RectF* out) { 101 static bool Read(gfx::mojom::SizeDataView data, gfx::Size* out) { 114 static bool Read(gfx::mojom::SizeFDataView data, gfx::SizeF* out) { 127 static bool Read(gfx::mojom::Vector2dDataView data, gfx::Vector2d* out) { 138 static bool Read(gfx::mojom::Vector2dFDataView data, gfx::Vector2dF* out) { [all …]
|
/external/libbrillo/brillo/dbus/ |
D | data_serialization.h | 203 inline static bool Read(dbus::MessageReader* reader, bool* value) { 220 inline static bool Read(dbus::MessageReader* reader, uint8_t* value) { 237 inline static bool Read(dbus::MessageReader* reader, int16_t* value) { 256 inline static bool Read(dbus::MessageReader* reader, uint16_t* value) { 273 inline static bool Read(dbus::MessageReader* reader, int32_t* value) { 292 inline static bool Read(dbus::MessageReader* reader, uint32_t* value) { 309 inline static bool Read(dbus::MessageReader* reader, int64_t* value) { 328 inline static bool Read(dbus::MessageReader* reader, uint64_t* value) { 347 inline static bool Read(dbus::MessageReader* reader, double* value) { 367 inline static bool Read(dbus::MessageReader* reader, std::string* value) { [all …]
|
/external/crosvm/devices/src/virtio/input/ |
D | event_source.rs | 12 use std::io::Read; 47 pub trait EventSource: Read + Write + AsRawFd { 85 impl<T: Read> EventSourceImpl<T> { 139 T: Read + Write, 214 T: Read + Write + AsRawFd, 223 impl<T: Read> Read for SocketEventSource<T> { 231 T: Read + Write + AsRawFd, 250 T: Read + Write + AsRawFd, 276 T: Read + Write + AsRawFd, 285 impl<T: Read> Read for EvdevEventSource<T> { [all …]
|
/external/lzma/CPP/7zip/Common/ |
D | LimitedStreams.cpp | 9 STDMETHODIMP CLimitedSequentialInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CLimitedSequentialInStream 20 result = _stream->Read(data, size, &realProcessedSize); in Read() 30 STDMETHODIMP CLimitedInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CLimitedInStream 51 HRESULT res = _stream->Read(data, size, &size); in Read() 88 STDMETHODIMP CClusterInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CClusterInStream 124 HRESULT res = Stream->Read(data, size, &size); in Read() 153 STDMETHODIMP CExtentsStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CExtentsStream 187 HRESULT res = Stream->Read(data, size, &size); in Read() 240 STDMETHODIMP CTailInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CTailInStream 243 HRESULT res = Stream->Read(data, size, &cur); in Read() [all …]
|
/external/llvm/lib/Bitcode/Reader/ |
D | BitstreamReader.cpp | 47 unsigned NumWords = Read(bitc::BlockSizeWidth); in EnterSubBlock() 65 return Cursor.Read((unsigned)Op.getEncodingData()); in readAbbreviatedField() 70 return BitCodeAbbrevOp::DecodeChar6(Cursor.Read(6)); in readAbbreviatedField() 86 Cursor.Read((unsigned)Op.getEncodingData()); in skipAbbreviatedField() 93 Cursor.Read(6); in skipAbbreviatedField() 141 Read((unsigned)EltEnc.getEncodingData()); in skipRecord() 150 Read(6); in skipRecord() 233 Vals.push_back(Read((unsigned)EltEnc.getEncodingData())); in readRecord() 241 Vals.push_back(BitCodeAbbrevOp::DecodeChar6(Read(6))); in readRecord() 287 bool IsLiteral = Read(1); in ReadAbbrevRecord() [all …]
|
/external/rmi4utils/rmidevice/ |
D | rmidevice.cpp | 88 rc = Read(queryAddr, basicQuery, RMI_DEVICE_F01_BASIC_QUERY_LEN); in QueryBasicProperties() 108 rc = Read(queryAddr, m_productID, RMI_PRODUCT_ID_LENGTH); in QueryBasicProperties() 122 rc = Read(queryAddr++, &m_sensorID, 1); in QueryBasicProperties() 133 rc = Read(queryAddr++, infoBuf, 1); in QueryBasicProperties() 144 rc = Read(queryAddr++, &m_ds4QueryLength, 1); in QueryBasicProperties() 153 rc = Read(queryAddr++, &val, 1); in QueryBasicProperties() 172 rc = Read(prodInfoAddr++, infoBuf, PACKAGE_ID_BYTES); in QueryBasicProperties() 182 rc = Read(prodInfoAddr, infoBuf, BUILD_ID_BYTES); in QueryBasicProperties() 282 rc = Read(addr, entry, RMI_DEVICE_PDT_ENTRY_SIZE); in ScanPDT() 316 rc = Read(f01.GetDataBase(), &status, 1); in InBootloader()
|