Home
last modified time | relevance | path

Searched refs:soa (Results 1 – 12 of 12) sorted by relevance

/third_party/cares/test/
Dares-test-parse-soa.cc19 struct ares_soa_reply* soa = nullptr; in TEST_F() local
20 EXPECT_EQ(ARES_SUCCESS, ares_parse_soa_reply(data.data(), data.size(), &soa)); in TEST_F()
21 ASSERT_NE(nullptr, soa); in TEST_F()
22 EXPECT_EQ("soa1.example.com", std::string(soa->nsname)); in TEST_F()
23 EXPECT_EQ("fred.example.com", std::string(soa->hostmaster)); in TEST_F()
24 EXPECT_EQ(1, soa->serial); in TEST_F()
25 EXPECT_EQ(2, soa->refresh); in TEST_F()
26 EXPECT_EQ(3, soa->retry); in TEST_F()
27 EXPECT_EQ(4, soa->expire); in TEST_F()
28 EXPECT_EQ(5, soa->minttl); in TEST_F()
[all …]
Dares-test-parse-soa-any.cc22 struct ares_soa_reply* soa = nullptr; in TEST_F() local
23 EXPECT_EQ(ARES_SUCCESS, ares_parse_soa_reply(data.data(), data.size(), &soa)); in TEST_F()
24 ASSERT_NE(nullptr, soa); in TEST_F()
25 EXPECT_EQ("soa1.example.com", std::string(soa->nsname)); in TEST_F()
26 EXPECT_EQ("fred.example.com", std::string(soa->hostmaster)); in TEST_F()
27 EXPECT_EQ(1, soa->serial); in TEST_F()
28 EXPECT_EQ(2, soa->refresh); in TEST_F()
29 EXPECT_EQ(3, soa->retry); in TEST_F()
30 EXPECT_EQ(4, soa->expire); in TEST_F()
31 EXPECT_EQ(5, soa->minttl); in TEST_F()
[all …]
Dares-test-fuzz.c42 struct ares_soa_reply* soa = NULL; in LLVMFuzzerTestOneInput() local
43 ares_parse_soa_reply(data, size, &soa); in LLVMFuzzerTestOneInput()
44 if (soa) ares_free_data(soa); in LLVMFuzzerTestOneInput()
DMakefile.inc12 ares-test-parse-soa.cc \
13 ares-test-parse-soa-any.cc \
DMakefile.in139 ares-test-parse-ptr.$(OBJEXT) ares-test-parse-soa.$(OBJEXT) \
140 ares-test-parse-soa-any.$(OBJEXT) \
187 ./$(DEPDIR)/ares-test-parse-soa-any.Po \
188 ./$(DEPDIR)/ares-test-parse-soa.Po \
642 ares-test-parse-soa.cc \
643 ares-test-parse-soa-any.cc \
801 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-soa-any.Po@am__quote@ # am--includ…
802 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ares-test-parse-soa.Po@am__quote@ # am--include-ma…
1339 -rm -f ./$(DEPDIR)/ares-test-parse-soa-any.Po
1340 -rm -f ./$(DEPDIR)/ares-test-parse-soa.Po
[all …]
/third_party/node/deps/cares/src/lib/
Dares_parse_soa_reply.c44 struct ares_soa_reply *soa = NULL; in ares_parse_soa_reply() local
113 soa = ares_malloc_data(ARES_DATATYPE_SOA_REPLY); in ares_parse_soa_reply()
114 if (!soa) in ares_parse_soa_reply()
122 status = ares__expand_name_for_response(aptr, abuf, alen, &soa->nsname, in ares_parse_soa_reply()
133 &soa->hostmaster, &len, 0); in ares_parse_soa_reply()
147 soa->serial = DNS__32BIT(aptr + 0 * 4); in ares_parse_soa_reply()
148 soa->refresh = DNS__32BIT(aptr + 1 * 4); in ares_parse_soa_reply()
149 soa->retry = DNS__32BIT(aptr + 2 * 4); in ares_parse_soa_reply()
150 soa->expire = DNS__32BIT(aptr + 3 * 4); in ares_parse_soa_reply()
151 soa->minttl = DNS__32BIT(aptr + 4 * 4); in ares_parse_soa_reply()
[all …]
/third_party/cares/
Dares_parse_soa_reply.c50 struct ares_soa_reply *soa = NULL; in ares_parse_soa_reply() local
116 soa = ares_malloc_data(ARES_DATATYPE_SOA_REPLY); in ares_parse_soa_reply()
117 if (!soa) in ares_parse_soa_reply()
125 status = ares__expand_name_for_response(aptr, abuf, alen, &soa->nsname, in ares_parse_soa_reply()
136 &soa->hostmaster, &len); in ares_parse_soa_reply()
150 soa->serial = DNS__32BIT(aptr + 0 * 4); in ares_parse_soa_reply()
151 soa->refresh = DNS__32BIT(aptr + 1 * 4); in ares_parse_soa_reply()
152 soa->retry = DNS__32BIT(aptr + 2 * 4); in ares_parse_soa_reply()
153 soa->expire = DNS__32BIT(aptr + 3 * 4); in ares_parse_soa_reply()
154 soa->minttl = DNS__32BIT(aptr + 4 * 4); in ares_parse_soa_reply()
[all …]
/third_party/grpc/test/cpp/naming/utils/
Ddns_server.py45 def __init__(self, soa, records): argument
48 self.soa = soa
112 soa=(common_zone_name, soa_record),
/third_party/python/Lib/test/
Dmime.types1213 text/dns soa zone
/third_party/flutter/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt6514 "soa~e",
/third_party/icu/icu4c/source/data/misc/
DsupplementalData.txt6739 "soa~e",
/third_party/skia/third_party/externals/icu/source/data/misc/
DsupplementalData.txt6763 "soa~e",