Home
last modified time | relevance | path

Searched refs:ReadRecord (Results 1 – 25 of 42) sorted by relevance

12

/external/cronet/net/dns/
Ddns_response_unittest.cc305 TEST(DnsRecordParserTest, ReadRecord) { in TEST() argument
328 EXPECT_TRUE(parser.ReadRecord(&record)); in TEST()
338 EXPECT_TRUE(parser.ReadRecord(&record)); in TEST()
349 EXPECT_TRUE(parser.ReadRecord(&record)); in TEST()
351 EXPECT_FALSE(parser.ReadRecord(&record)); in TEST()
372 EXPECT_TRUE(parser.ReadRecord(&record)); in TEST()
396 EXPECT_FALSE(parser.ReadRecord(&record)); in TEST()
411 EXPECT_FALSE(parser.ReadRecord(&record)); in TEST()
433 EXPECT_FALSE(parser.ReadRecord(&record)); in TEST()
458 EXPECT_TRUE(parser.ReadRecord(&record1)); in TEST()
[all …]
Ddns_response_fuzzer.cc52 success = parser.ReadRecord(&record); in ValidateParsedResponse()
61 CHECK(!parser.ReadRecord(&record)); in ValidateParsedResponse()
Ddns_record_fuzzer.cc52 while (parser.ReadRecord(&record)) { in LLVMFuzzerTestOneInput()
Drecord_parsed.cc40 if (!parser->ReadRecord(&record)) in CreateFrom()
Ddns_response.h102 bool ReadRecord(DnsResourceRecord* record);
/external/tensorflow/tensorflow/core/lib/io/
Drecord_reader_writer_test.cc92 TF_CHECK_OK(reader.ReadRecord(&offset, &record)); in VerifyFlush()
97 CHECK_EQ(reader.ReadRecord(&offset, &record).code(), error::OUT_OF_RANGE); in VerifyFlush()
146 TF_CHECK_OK(reader.ReadRecord(&offset, &record)); in TEST()
148 TF_CHECK_OK(reader.ReadRecord(&offset, &record)); in TEST()
191 TF_CHECK_OK(reader.ReadRecord(&offset, &record)); in TEST()
262 TF_CHECK_OK(reader.ReadRecord(&offset, &record)); in TEST()
264 TF_CHECK_OK(reader.ReadRecord(&offset, &record)); in TEST()
300 TF_CHECK_OK(reader.ReadRecord(&offset, &record)); in TEST()
302 TF_CHECK_OK(reader.ReadRecord(&offset, &record)); in TEST()
Drecordio_test.cc153 Status s = reader_->ReadRecord(&readpos_, &record); in Read()
187 Status s = reader_->ReadRecord(&offset, &record); in CheckOffsetPastEndReturnsNoRecords()
270 TF_ASSERT_OK(reader.ReadRecord(&offset, &record)) << i; in TestNonSequentialReads()
275 TF_ASSERT_OK(reader.ReadRecord(&offset, &record)); in TestNonSequentialReads()
280 TF_ASSERT_OK(reader.ReadRecord(&offset, &record)); in TestNonSequentialReads()
320 Status status = reader.ReadRecord(&offset, &read); in TestReadError()
326 status = reader.ReadRecord(&offset, &read); in TestReadError()
Drecord_reader.h98 Status ReadRecord(uint64* offset, tstring* record);
146 Status ReadRecord(tstring* record) { in ReadRecord() function
147 return underlying_.ReadRecord(&offset_, record); in ReadRecord()
/external/tensorflow/tensorflow/python/lib/io/
Drecord_io_wrapper.cc57 return reader_->ReadRecord(&offset_, out); in ReadNextRecord()
134 tensorflow::Status ReadRecord(tensorflow::uint64* offset, in ReadRecord() function in __anone2ddfc620111::PyRecordRandomReader
140 return reader_->ReadRecord(offset, out); in ReadRecord()
292 status = self->ReadRecord(&temp_offset, &record); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/core/data/
Dsnapshot_utils.cc730 TF_RETURN_IF_ERROR(record_reader_->ReadRecord(&offset_, &record)); in ReadTensors()
812 TF_RETURN_IF_ERROR(ReadRecord(&metadata_str)); in ReadTensors()
853 TF_RETURN_IF_ERROR(ReadRecord(&c)); in ReadTensorsV0()
857 TF_RETURN_IF_ERROR(ReadRecord(&record_bytes)); in ReadTensorsV0()
876 TF_RETURN_IF_ERROR(ReadRecord(&compressed)); in SnappyUncompress()
920 Status CustomReader::ReadRecord(tstring* record) { in ReadRecord() function in tensorflow::data::snapshot_util::CustomReader
928 Status CustomReader::ReadRecord(absl::Cord* record) { in ReadRecord() function in tensorflow::data::snapshot_util::CustomReader
Dsnapshot_utils.h297 Status ReadRecord(tstring* record);
300 Status ReadRecord(absl::Cord* record);
/external/tensorflow/tensorflow/core/data/service/
Dutils.cc48 TF_RETURN_IF_ERROR(reader.ReadRecord(&offset, &record)); in ReadDatasetDef()
Djournal.cc108 Status s = reader_->ReadRecord(&record); in Read()
/external/leveldb/db/
Dlog_reader.h56 bool ReadRecord(Slice* record, std::string* scratch);
Dlog_test.cc71 if (reader_->ReadRecord(&record, &scratch)) { in Read()
133 ASSERT_TRUE(!offset_reader->ReadRecord(&record, &scratch)); in CheckOffsetPastEndReturnsNoRecords()
151 ASSERT_TRUE(offset_reader->ReadRecord(&record, &scratch)); in CheckInitialOffsetRecord()
Dlog_reader.cc56 bool Reader::ReadRecord(Slice* record, std::string* scratch) { in ReadRecord() function in leveldb::log::Reader
/external/openthread/tests/unit/
Dtest_dns.cpp957 SuccessOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, ptrRecord)); in TestHeaderAndResourceRecords()
983 SuccessOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, ptrRecord)); in TestHeaderAndResourceRecords()
1003 VerifyOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, srvRecord) == kErrorNotFound, in TestHeaderAndResourceRecords()
1026 SuccessOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, srvRecord)); in TestHeaderAndResourceRecords()
1038 SuccessOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, txtRecord)); in TestHeaderAndResourceRecords()
1049 SuccessOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, aaaaRecord)); in TestHeaderAndResourceRecords()
1070 SuccessOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, srvRecord)); in TestHeaderAndResourceRecords()
1076 SuccessOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, txtRecord)); in TestHeaderAndResourceRecords()
1091 SuccessOrQuit(Dns::ResourceRecord::ReadRecord(*message, offset, record)); in TestHeaderAndResourceRecords()
/external/cronet/components/metrics/
Dpersistent_system_profile_unittest.cc48 bool ReadRecord(uint8_t* type, std::string* record) { in ReadRecord() function in metrics::PersistentSystemProfileTest
86 ASSERT_TRUE(ReadRecord(&type, &record)); in TEST_F()
/external/tensorflow/tensorflow/core/summary/
Dsummary_file_writer_test.cc76 reader.ReadRecord(&offset, in SummaryTestHelper()
78 TF_CHECK_OK(reader.ReadRecord(&offset, &record)); in SummaryTestHelper()
Dloader.cc102 Status s = reader.ReadRecord(&offset, &record); in main()
/external/tensorflow/tensorflow/core/kernels/
Dtf_record_reader_op.cc56 Status status = reader_->ReadRecord(&offset_, value); in ReadLocked()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/kernels/
Dtrt_engine_resource_ops_test.cc331 TF_ASSERT_OK(reader->ReadRecord(&offset, &record)); in TEST_P()
339 EXPECT_TRUE(errors::IsOutOfRange(reader->ReadRecord(&offset, &record))); in TEST_P()
/external/openthread/src/core/net/
Ddns_types.hpp1452 …template <class RecordType> static Error ReadRecord(const Message &aMessage, uint16_t &aOffset, Re… in ReadRecord() function in ot::Dns::ResourceRecord
1454 return ReadRecord(aMessage, aOffset, RecordType::kType, aRecord, sizeof(RecordType)); in ReadRecord()
1478 static Error ReadRecord(const Message & aMessage,
/external/tensorflow/tensorflow/core/util/
Devents_writer_test.cc57 Status s = reader->ReadRecord(offset, &record); in ReadEventProto()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dcsv_dataset_op.cc297 ReadRecord(ctx, out_tensors, select_all, in GetNextInternal()
401 Status ReadRecord(IteratorContext* ctx, std::vector<Tensor>* out_tensors, in ReadRecord() function in tensorflow::data::experimental::__anon2abd7c1e0111::CSVDatasetOp::Dataset::Iterator
887 Status s = ReadRecord(nullptr, nullptr, false, empty, empty); in SetupStreamsLocked()

12