Home
last modified time | relevance | path

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

12345678910>>...32

/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/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()
Dreader2.py47 ret = reader.Read()
49 ret = reader.Read()
97 while reader.Read() == 1:
147 while reader.Read() == 1:
201 while reader.Read() == 1:
243 while reader.Read() == 1:
Dreader7.py40 ret = reader.Read()
43 ret = reader.Read()
76 ret = reader.Read()
79 ret = reader.Read()
/external/libweave/third_party/chromium/base/json/
Djson_reader_unittest.cc245 root = JSONReader::Read("[true, false, null]"); in TEST()
253 JSONReader::Read("[true, false, null, ]", JSON_ALLOW_TRAILING_COMMAS); in TEST()
257 root = JSONReader::Read("[]"); in TEST()
264 root = JSONReader::Read("[[true], [], [false, [], [null]], null]"); in TEST()
271 root2 = JSONReader::Read("[[true], [], [false, [], [null, ] , ], null,]", in TEST()
276 root = JSONReader::Read("[[true], [], [false, [], [null]], null"); in TEST()
280 root = JSONReader::Read("[true,, null]"); in TEST()
282 root = JSONReader::Read("[true,, null]", JSON_ALLOW_TRAILING_COMMAS); in TEST()
286 root = JSONReader::Read("[true null]"); in TEST()
290 root = JSONReader::Read("[true,]"); in TEST()
[all …]
/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/libchrome/base/json/
Djson_reader_unittest.cc250 root = JSONReader::Read("[true, false, null]"); in TEST()
258 JSONReader::Read("[true, false, null, ]", JSON_ALLOW_TRAILING_COMMAS); in TEST()
262 root = JSONReader::Read("[]"); in TEST()
269 root = JSONReader::Read("[[true], [], [false, [], [null]], null]"); in TEST()
276 root2 = JSONReader::Read("[[true], [], [false, [], [null, ] , ], null,]", in TEST()
281 root = JSONReader::Read("[[true], [], [false, [], [null]], null"); in TEST()
285 root = JSONReader::Read("[true,, null]"); in TEST()
287 root = JSONReader::Read("[true,, null]", JSON_ALLOW_TRAILING_COMMAS); in TEST()
291 root = JSONReader::Read("[true null]"); in TEST()
295 root = JSONReader::Read("[true,]"); in TEST()
[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 argument
144 procedure Read subprogram
148 Ada.Streams.Read (Stream.Back.all, Item, Last);
149 end Read;
151 procedure Read is new ZLib.Read subprogram
152 (Read => Read,
158 Read (Stream.Reader, Item, Last);
159 end Read;
/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/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/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/lzma/CPP/7zip/Common/
DLimitedStreams.cpp8 STDMETHODIMP CLimitedSequentialInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CLimitedSequentialInStream
15 result = _stream->Read(data, sizeToRead, &realProcessedSize); in Read()
25 STDMETHODIMP CLimitedInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CLimitedInStream
44 HRESULT res = _stream->Read(data, size, &size); in Read()
81 STDMETHODIMP CClusterInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CClusterInStream
109 HRESULT res = Stream->Read(data, size, &size); in Read()
138 STDMETHODIMP CExtentsStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CExtentsStream
172 HRESULT res = Stream->Read(data, size, &size); in Read()
225 STDMETHODIMP CTailInStream::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CTailInStream
228 HRESULT res = Stream->Read(data, size, &cur); in Read()
[all …]
DLockedStream.cpp7 HRESULT CLockedInStream::Read(UInt64 startPos, void *data, UInt32 size, in Read() function in CLockedInStream
12 return _stream->Read(data, size, processedSize); in Read()
15 STDMETHODIMP CLockedSequentialInStreamImp::Read(void *data, UInt32 size, UInt32 *processedSize) in Read() function in CLockedSequentialInStreamImp
18 HRESULT result = _lockedInStream->Read(_pos, data, size, &realProcessedSize); in Read()
/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 …]
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dresample_input_audio_file.cc19 bool ResampleInputAudioFile::Read(size_t samples, in Read() function in webrtc::test::ResampleInputAudioFile
26 if (!InputAudioFile::Read(samples_to_read, temp_destination.get())) in Read()
37 bool ResampleInputAudioFile::Read(size_t samples, int16_t* destination) { in Read() function in webrtc::test::ResampleInputAudioFile
39 return Read(samples, output_rate_hz_, destination); in Read()

12345678910>>...32