Home
last modified time | relevance | path

Searched refs:Read (Results 1 – 25 of 1025) sorted by relevance

12345678910>>...41

/external/google-breakpad/src/common/
Dbyte_cursor_unittest.cc132 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/
Dfont_input_stream.cc67 int32_t FontInputStream::Read() { in Read() function in sfntly::FontInputStream
71 int32_t b = stream_->Read(); in Read()
78 int32_t FontInputStream::Read(ByteVector* b, int32_t offset, int32_t length) { in Read() function in sfntly::FontInputStream
86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read); in Read()
91 int32_t FontInputStream::Read(ByteVector* b) { in Read() function in sfntly::FontInputStream
92 return Read(b, 0, b->size()); in Read()
96 return Read(); in ReadChar()
100 return 0xffff & (Read() << 8 | Read()); in ReadUShort()
104 return ((Read() << 8 | Read()) << 16) >> 16; in ReadShort()
108 return 0xffffff & (Read() << 16 | Read() << 8 | Read()); in ReadUInt24()
[all …]
/external/bsdiff/
Dextents_file_unittest.cc27 MOCK_METHOD3(Read, bool(void*, size_t, size_t*));
96 EXPECT_CALL(*mock_file_, Read(_, _, _)).WillOnce(Return(false)); in TEST_F()
100 EXPECT_FALSE(file.Read(nullptr, 1, &bytes_read)); in TEST_F()
117 EXPECT_CALL(*mock_file_, Read(buf, 5, _)).WillOnce(SucceedIO()); in TEST_F()
119 EXPECT_CALL(*mock_file_, Read(buf + 5, 7, _)).WillOnce(SucceedIO()); in TEST_F()
121 EXPECT_CALL(*mock_file_, Read(buf + 12, 3, _)).WillOnce(SucceedIO()); in TEST_F()
127 EXPECT_TRUE(file.Read(buf, 100, &bytes_read)); in TEST_F()
138 EXPECT_CALL(*mock_file_, Read(buf, 2, _)).WillOnce(SucceedIO()); in TEST_F()
140 EXPECT_CALL(*mock_file_, Read(buf, 3, _)).WillOnce(SucceedIO()); in TEST_F()
142 EXPECT_CALL(*mock_file_, Read(buf + 3, 5, _)).WillOnce(SucceedIO()); in TEST_F()
[all …]
/external/libchrome/base/json/
Djson_reader_unittest.cc268 ListValue::From(JSONReader::Read("[true, false, null]")); in TEST()
274 JSONReader::Read("[true, false, null, ]", JSON_ALLOW_TRAILING_COMMAS); in TEST()
280 std::unique_ptr<ListValue> list = ListValue::From(JSONReader::Read("[]")); in TEST()
288 JSONReader::Read("[[true], [], [false, [], [null]], null]")); in TEST()
294 JSONReader::Read("[[true], [], [false, [], [null, ] , ], null,]", in TEST()
301 EXPECT_FALSE(JSONReader::Read("[[true], [], [false, [], [null]], null")); in TEST()
304 EXPECT_FALSE(JSONReader::Read("[true,, null]")); in TEST()
305 EXPECT_FALSE(JSONReader::Read("[true,, null]", JSON_ALLOW_TRAILING_COMMAS)); in TEST()
308 EXPECT_FALSE(JSONReader::Read("[true null]")); in TEST()
311 EXPECT_FALSE(JSONReader::Read("[true,]")); in TEST()
[all …]
/external/google-breakpad/src/common/linux/
Delf_symbols_to_module.cc100 .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/
Dreader3.py29 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 …]
Dreader.py21 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 …]
Dwalker.py41 ret = reader.Read()
44 ret = reader.Read()
81 ret = reader.Read()
84 ret = reader.Read()
119 ret = reader.Read()
122 ret = reader.Read()
Dreadernext.py21 ret = reader.Read()
29 ret = reader.Read()
37 ret = reader.Read()
45 ret = reader.Read()
68 ret = reader.Read()
/external/webrtc/webrtc/test/
Drtp_file_reader.cc363 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/zlib/src/contrib/ada/
Dread.adb19 procedure Read is subprogram
64 procedure Read argument
71 procedure Read is new ZLib.Read subprogram
72 (Read,
81 procedure Read subprogram
98 end Read;
139 Read (Filter, Buffer, Last);
156 end Read;
Dzlib-streams.adb130 procedure Read subprogram
136 procedure Read subprogspec
144 procedure Read argument
148 Ada.Streams.Read (Stream.Back.all, Item, Last);
149 end Read;
151 procedure Read is new ZLib.Read argument
152 (Read => Read,
158 Read (Stream.Reader, Item, Last);
159 end Read;
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp300 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/
Dfile_io_test.cc50 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 …]
Dmemory_io_test.cc46 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/
Dstream_unittest.cc27 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/compiler-rt/test/asan/TestCases/Linux/
Dscariness_score_test.cc43 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/lzma/C/
D7zStream.c15 RINOK(stream->Read(stream, buf, &processed)); in SeqInStream_Read2()
32 RINOK(stream->Read(stream, buf, &processed)); in SeqInStream_ReadByte()
57 RINOK(stream->Read(stream, buf, &processed)); in LookInStream_Read2()
80 res = p->realStream->Read(p->realStream, p->buf, &size2); in LookToRead_Look_Lookahead()
99 res = p->realStream->Read(p->realStream, p->buf, size); in LookToRead_Look_Exact()
120 return p->realStream->Read(p->realStream, buf, size); in LookToRead_Read()
142 p->s.Read = LookToRead_Read; in LookToRead_CreateVTable()
159 p->s.Read = SecToLook_Read; in SecToLook_CreateVTable()
165 return p->realStream->Read(p->realStream, buf, size); in SecToRead_Read()
170 p->s.Read = SecToRead_Read; in SecToRead_CreateVTable()
/external/libmojo/ipc/
Dipc_message_utils.h112 return ParamTraits<Type>::Read(m, iter, reinterpret_cast<Type* >(p)); in ReadParam()
130 static bool Read(const base::Pickle* m,
143 static bool Read(const base::Pickle* m,
154 static bool Read(const base::Pickle* m,
165 static bool Read(const base::Pickle* m,
178 static bool Read(const base::Pickle* m,
193 static bool Read(const base::Pickle* m,
223 static bool Read(const base::Pickle* m,
240 static bool Read(const base::Pickle* m,
258 static bool Read(const base::Pickle* m,
[all …]
/external/libbrillo/brillo/dbus/
Ddata_serialization.h199 inline static bool Read(dbus::MessageReader* reader, bool* value) {
216 inline static bool Read(dbus::MessageReader* reader, uint8_t* value) {
233 inline static bool Read(dbus::MessageReader* reader, int16_t* value) {
252 inline static bool Read(dbus::MessageReader* reader, uint16_t* value) {
269 inline static bool Read(dbus::MessageReader* reader, int32_t* value) {
288 inline static bool Read(dbus::MessageReader* reader, uint32_t* value) {
305 inline static bool Read(dbus::MessageReader* reader, int64_t* value) {
324 inline static bool Read(dbus::MessageReader* reader, uint64_t* value) {
343 inline static bool Read(dbus::MessageReader* reader, double* value) {
363 inline static bool Read(dbus::MessageReader* reader, std::string* value) {
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h260 Read(static_cast<unsigned>(WordBitNo)); in JumpToBit()
264 uint32_t Read(unsigned NumBits) { in Read() function
304 if (NumBits <= 32) return Read(NumBits); in Read64()
306 uint64_t V = Read(32); in Read64()
307 return V | (uint64_t)Read(NumBits-32) << 32; in Read64()
311 uint32_t Piece = Read(NumBits); in ReadVBR()
324 Piece = Read(NumBits); in ReadVBR()
331 uint32_t Piece = Read(NumBits); in ReadVBR64()
344 Piece = Read(NumBits); in ReadVBR64()
354 return Read(CurCodeSize); in ReadCode()
[all …]
/external/lzma/CPP/7zip/Common/
DLimitedStreams.cpp9 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/
DBitstreamReader.cpp47 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/
Drmidevice.cpp88 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()
/external/google-breakpad/src/google_breakpad/processor/
Dminidump.h149 virtual bool Read(uint32_t expected_size) = 0;
174 bool Read(uint32_t expected_size);
302 bool Read();
345 bool Read(uint32_t aExpectedSize);
424 bool Read();
513 bool Read(uint32_t expected_size);
568 bool Read(uint32_t expected_size);
621 bool Read(uint32_t expected_size);
659 bool Read(uint32_t expected_size);
714 bool Read(uint32_t expected_size);
[all …]

12345678910>>...41