Home
last modified time | relevance | path

Searched refs:record1 (Results 1 – 7 of 7) sorted by relevance

/external/openscreen/discovery/mdns/
Dmdns_records_unittest.cc516 MdnsRecord record1; in TEST() local
517 EXPECT_EQ(record1.MaxWireSize(), UINT64_C(11)); in TEST()
518 EXPECT_EQ(record1.name(), DomainName()); in TEST()
519 EXPECT_EQ(record1.dns_type(), static_cast<DnsType>(0)); in TEST()
520 EXPECT_EQ(record1.dns_class(), static_cast<DnsClass>(0)); in TEST()
521 EXPECT_EQ(record1.record_type(), RecordType::kShared); in TEST()
522 EXPECT_EQ(record1.ttl(), in TEST()
524 EXPECT_EQ(record1.rdata(), Rdata(RawRecordRdata())); in TEST()
540 const MdnsRecord record1(DomainName{"hostname", "local"}, DnsType::kPTR, in TEST() local
571 EXPECT_EQ(record1, record2); in TEST()
[all …]
Dmdns_publisher_unittest.cc242 const MdnsRecord record1 = GetFakeARecord(domain_); in TEST_F() local
245 TestUniqueRecordRegistrationWorkflow(record1, record2); in TEST_F()
249 const MdnsRecord record1 = GetFakeAAAARecord(domain_); in TEST_F() local
252 TestUniqueRecordRegistrationWorkflow(record1, record2); in TEST_F()
256 const MdnsRecord record1 = GetFakeTxtRecord(domain_); in TEST_F() local
259 TestUniqueRecordRegistrationWorkflow(record1, record2); in TEST_F()
263 const MdnsRecord record1 = GetFakeSrvRecord(domain_); in TEST_F() local
266 TestUniqueRecordRegistrationWorkflow(record1, record2); in TEST_F()
Dmdns_reader_unittest.cc671 MdnsRecord record1(DomainName{"record1"}, DnsType::kPTR, DnsClass::kIN, in TEST() local
678 std::vector<MdnsRecord>{record1}, in TEST()
/external/selinux/libsemanage/src/
Ddatabase_join.c184 record1_t *record1 = NULL; in dbase_join_flush() local
207 if (rjtable->split(handle, ptr->data, &record1, &record2) < 0) in dbase_join_flush()
210 if (dtable1->add(handle, dbase1, rkey, record1) < 0) in dbase_join_flush()
217 rtable1->free(record1); in dbase_join_flush()
220 record1 = NULL; in dbase_join_flush()
233 rtable1->free(record1); in dbase_join_flush()
Duser_record.c310 const semanage_user_base_t * record1, in hidden_def()
322 if (record1 == NULL) in hidden_def()
325 name = semanage_user_base_get_name(record1); in hidden_def()
328 if (record1) { in hidden_def()
329 if (semanage_user_base_clone(handle, record1, &tmp_user->base) < in hidden_def()
367 semanage_user_base_get_name(record1)); in hidden_def()
Ddatabase_join.h24 const record1_t * record1,
Duser_internal.h168 const semanage_user_base_t * record1,