Home
last modified time | relevance | path

Searched refs:ReadData (Results 1 – 25 of 90) sorted by relevance

1234

/external/pdfium/core/fxcodec/gif/
Dcfx_gifcontext.cpp84 if (!ReadData(&signature, 1)) in GetFrame()
109 if (!ReadData(&extension, 1)) in GetFrame()
143 if (!ReadData(&img_data_size, 1)) in GetFrame()
147 if (!ReadData(&img_data, *img_data_size)) { in GetFrame()
154 if (!ReadData(&img_data_size, 1)) in GetFrame()
238 if (!ReadData(&img_data_size, 1)) in LoadFrame()
242 if (!ReadData(&img_data, *img_data_size)) { in LoadFrame()
275 if (!ReadData(&img_data_size, 1)) in LoadFrame()
279 if (!ReadData(&img_data, *img_data_size)) { in LoadFrame()
351 uint8_t* CFX_GifContext::ReadData(uint8_t** des_buf_pp, uint32_t data_size) { in ReadData() function in CFX_GifContext
[all …]
Dcfx_gifcontext_unittest.cpp17 using CFX_GifContext::ReadData;
52 TEST(CFX_GifContext, ReadData) { in TEST() argument
56 EXPECT_EQ(nullptr, context.ReadData(nullptr, 0)); in TEST()
57 EXPECT_EQ(nullptr, context.ReadData(nullptr, 10)); in TEST()
61 context.ReadData(reinterpret_cast<uint8_t**>(&dest_buffer), 0)); in TEST()
63 context.ReadData(reinterpret_cast<uint8_t**>(&dest_buffer), 10)); in TEST()
69 context.ReadData(reinterpret_cast<uint8_t**>(&dest_buffer), 10)); in TEST()
77 context.ReadData(reinterpret_cast<uint8_t**>(&dest_buffer), 10)); in TEST()
86 context.ReadData(reinterpret_cast<uint8_t**>(&dest_buffer), 5)); in TEST()
94 context.ReadData(reinterpret_cast<uint8_t**>(&dest_buffer), 5)); in TEST()
[all …]
/external/perf_data_converter/src/quipper/
Dfile_reader_test.cc42 EXPECT_FALSE(reader.ReadData(sizeof(dummy), &dummy)); in TEST()
54 EXPECT_TRUE(reader.ReadData(0, NULL)); in TEST()
70 EXPECT_TRUE(reader.ReadData(output.size(), output.data())); in TEST()
104 EXPECT_TRUE(reader.ReadData(10, output.data() + reader.Tell())); in TEST()
106 EXPECT_TRUE(reader.ReadData(5, output.data() + reader.Tell())); in TEST()
108 EXPECT_TRUE(reader.ReadData(5, output.data() + reader.Tell())); in TEST()
110 EXPECT_TRUE(reader.ReadData(6, output.data() + reader.Tell())); in TEST()
134 EXPECT_TRUE(reader.ReadData(10, output.data())); in TEST()
139 EXPECT_TRUE(reader.ReadData(10, output.data())); in TEST()
144 EXPECT_TRUE(reader.ReadData(10, output.data())); in TEST()
[all …]
Dbuffer_reader_test.cc38 EXPECT_FALSE(reader.ReadData(sizeof(dummy), &dummy)); in TEST()
48 EXPECT_TRUE(reader.ReadData(0, NULL)); in TEST()
60 EXPECT_TRUE(reader.ReadData(output.size(), output.data())); in TEST()
87 EXPECT_TRUE(reader.ReadData(10, output.data() + reader.Tell())); in TEST()
89 EXPECT_TRUE(reader.ReadData(5, output.data() + reader.Tell())); in TEST()
91 EXPECT_TRUE(reader.ReadData(5, output.data() + reader.Tell())); in TEST()
93 EXPECT_TRUE(reader.ReadData(6, output.data() + reader.Tell())); in TEST()
114 EXPECT_TRUE(reader.ReadData(10, output.data())); in TEST()
119 EXPECT_TRUE(reader.ReadData(10, output.data())); in TEST()
124 EXPECT_TRUE(reader.ReadData(10, output.data())); in TEST()
[all …]
Ddata_reader.cc22 bool ret = ReadData(size, &(*dest)[0]); in ReadDataString()
29 if (ReadData(size, dest)) return true; in ReadDataValue()
Ddata_reader.h33 virtual bool ReadData(const size_t size, void* dest) = 0;
72 if (!ReadData(sizeof(T), dest)) return false; in ReadIntValue()
Dsample_info_reader.cc107 reader->ReadData(sample->raw_size, sample->raw_data); in ReadRawData()
133 reader->ReadData(sizeof(branch_stack->entries[i].flags), in ReadBranchStack()
277 if (weight > 0 && !reader.ReadData(weight * sizeof(u64), regs)) { in ReadPerfSampleFromData()
293 if (!reader.ReadData(size, data.get())) { in ReadPerfSampleFromData()
Dbuffer_reader.cc11 bool BufferReader::ReadData(const size_t size, void* dest) { in ReadData() function in quipper::BufferReader
Dfile_utils.cc20 if (file_size > 0 && !reader.ReadData(file_size, contents->data())) { in FileToBuffer()
Dfile_reader.h26 bool ReadData(const size_t size, void* dest) override;
Dbuffer_reader.h25 bool ReadData(const size_t size, void* dest) override;
/external/pdfium/core/fxcodec/lbmp/
Dfx_bmp.cpp81 if (!ReadData(reinterpret_cast<uint8_t**>(&pBmp_header), in ReadHeader()
111 if (!ReadData(reinterpret_cast<uint8_t**>(&pBmp_core_header), in ReadHeader()
127 if (!ReadData(reinterpret_cast<uint8_t**>(&pBmp_info_header), in ReadHeader()
152 if (!ReadData(reinterpret_cast<uint8_t**>(&pBmp_info_header), in ReadHeader()
239 if (ReadData(reinterpret_cast<uint8_t**>(&mask), 3 * sizeof(uint32_t)) == in ReadHeader()
267 if (ReadData(&src_pal_ptr, src_pal_size) == nullptr) { in ReadHeader()
346 if (!ReadData(&des_buf, src_row_bytes)) in DecodeRGB()
417 if (!ReadData(&first_byte_ptr, 1)) in DecodeRLE8()
422 if (!ReadData(&first_byte_ptr, 1)) { in DecodeRLE8()
450 if (!ReadData(&delta_ptr, 2)) { in DecodeRLE8()
[all …]
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/
Dignite_client.h32 virtual Status ReadData(uint8_t *buf, const int32_t length) = 0;
35 Status ReadByte(uint8_t *data) { return ReadData(data, 1); } in ReadByte()
38 TF_RETURN_IF_ERROR(ReadData((uint8_t *)data, 2)); in ReadShort()
45 TF_RETURN_IF_ERROR(ReadData((uint8_t *)data, 4)); in ReadInt()
52 TF_RETURN_IF_ERROR(ReadData((uint8_t *)data, 8)); in ReadLong()
Dignite_plain_client.h32 Status ReadData(uint8_t* buf, const int32_t length) override;
/external/tensorflow/tensorflow/contrib/ignite/kernels/igfs/
Digfs_extended_tcp_client.cc24 Status ExtendedTCPClient::ReadData(uint8_t *buf, const int32_t length) { in ReadData() function in tensorflow::ExtendedTCPClient
25 TF_RETURN_IF_ERROR(PlainClient::ReadData(buf, length)); in ReadData()
40 return ReadData(buf, n); in Ignore()
49 TF_RETURN_IF_ERROR(ReadData(&buf, 1)); in ReadBool()
71 Status status = ReadData(buf, length); in ReadString()
/external/libchrome/mojo/core/
Dcore_unittest.cc81 core()->ReadData(h, nullptr, nullptr, nullptr)); in TEST_F()
334 core()->ReadData(ch, &read_options, elements, &num_bytes)); in TEST_F()
344 core()->ReadData(ch, &read_options, elements, &num_bytes)); in TEST_F()
376 core()->ReadData(ch, &read_options, nullptr, &num_bytes)); in TEST_F()
383 core()->ReadData(ch, &read_options, nullptr, &num_bytes)); in TEST_F()
391 core()->ReadData(ch, &read_options, nullptr, &num_bytes)); in TEST_F()
397 core()->ReadData(ch, &read_options, nullptr, &num_bytes)); in TEST_F()
404 core()->ReadData(ch, &read_options, nullptr, &num_bytes)); in TEST_F()
422 core()->ReadData(ch, &read_options, nullptr, &num_bytes)); in TEST_F()
Ddata_pipe_unittest.cc90 MojoResult ReadData(void* elements, in ReadData() function in mojo::core::__anon55bac4b40111::DataPipeTest
187 ASSERT_EQ(MOJO_RESULT_OK, ReadData(&elements[0], &num_bytes)); in TEST_F()
240 ASSERT_EQ(MOJO_RESULT_SHOULD_WAIT, ReadData(elements, &num_bytes)); in TEST_F()
253 ASSERT_EQ(MOJO_RESULT_INVALID_ARGUMENT, ReadData(elements, &num_bytes)); in TEST_F()
286 ASSERT_EQ(MOJO_RESULT_OK, ReadData(elements, &num_bytes)); in TEST_F()
302 ASSERT_EQ(MOJO_RESULT_OK, ReadData(elements, &num_bytes, false, true)); in TEST_F()
317 ReadData(elements, &num_bytes, true, false)); in TEST_F()
325 ASSERT_EQ(MOJO_RESULT_OK, ReadData(elements, &num_bytes, false, false)); in TEST_F()
380 ASSERT_EQ(MOJO_RESULT_OK, ReadData(elements, &num_bytes, true, true)); in TEST_F()
389 ASSERT_EQ(MOJO_RESULT_OK, ReadData(elements, &num_bytes, true, false)); in TEST_F()
[all …]
/external/pdfium/core/fxcrt/
Dcfx_seekablestreamproxy.cpp154 ReadData(reinterpret_cast<uint8_t*>(&bom), 3); in CFX_SeekableStreamProxy()
206 size_t CFX_SeekableStreamProxy::ReadData(uint8_t* pBuffer, size_t iBufferSize) { in ReadData() function in CFX_SeekableStreamProxy
238 size_t iLen = ReadData(reinterpret_cast<uint8_t*>(pStr), iBytes); in ReadString()
254 size_t iLen = ReadData(buf.data(), iBytes); in ReadString()
/external/libchrome/mojo/public/cpp/system/
Ddata_pipe_drainer.cc31 void DataPipeDrainer::ReadData() { in ReadData() function in mojo::DataPipeDrainer
47 ReadData(); in WaitComplete()
Ddata_pipe_drainer.h33 void ReadData();
/external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/
Dignite_dataset_iterator.cc174 TF_RETURN_IF_ERROR(client_->ReadData(err_msg_c, err_msg_length)); in CloseConnection()
253 TF_RETURN_IF_ERROR(client_->ReadData(err_msg_c, length)); in Handshake()
311 TF_RETURN_IF_ERROR(client_->ReadData(err_msg_c, err_msg_length)); in ScanQuery()
363 TF_RETURN_IF_ERROR(client_->ReadData(err_msg_c, err_msg_length)); in LoadNextPage()
386 TF_RETURN_IF_ERROR(client_->ReadData(ptr_, remainder_)); in ReceivePage()
/external/clang/lib/Serialization/
DASTReaderInternals.h181 data_type ReadData(const internal_key_type& k,
234 data_type ReadData(Selector, const unsigned char* d, unsigned DataLen);
284 data_type ReadData(internal_key_ref,const unsigned char *d, unsigned DataLen);
/external/perfetto/src/profiling/memory/
Dheapprofd_end_to_end_test.cc207 helper->ReadData(); in Trace()
453 helper->ReadData(); in NativeStartup()
534 helper->ReadData(); in NativeStartupDenormalizedCmdline()
610 helper->ReadData(); in DiscoverByName()
687 helper->ReadData(); in DiscoverByNameDenormalizedCmdline()
829 helper->ReadData(); in ConcurrentSession()
839 helper_concurrent->ReadData(); in ConcurrentSession()
910 helper->ReadData(); in NativeProfilingActiveAtProcessExit()
/external/perfetto/test/
Dend_to_end_benchmark.cc97 helper.ReadData(); in BenchmarkProducer()
171 helper.ReadData(counter); in BenchmarkConsumer()
186 helper.ReadData(counter); in BenchmarkConsumer()
Dend_to_end_integrationtest.cc264 helper.ReadData(); in TEST_F()
321 helper.ReadData(); in TEST_F()
369 helper.ReadData(); in TEST_F()
417 helper.ReadData(); in TEST_F()
458 helper.ReadData(); in TEST_F()
512 helper.ReadData(); in TEST_F()

1234