Home
last modified time | relevance | path

Searched refs:answers (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_packet_parser.cpp103 begin = ParseRR(begin, payload, msg.answers); in Parse()
167 answers.emplace_back(); in ParseRR()
169 answers.back().name = UnDotted(answers.back().name); in ParseRR()
171 answers.pop_back(); in ParseRR()
179 answers.pop_back(); in ParseRR()
182 begin = ReadNUint16(begin, answers.back().rtype); in ParseRR()
183 begin = ReadNUint16(begin, answers.back().rclass); in ParseRR()
184 begin = ReadNUint32(begin, answers.back().ttl); in ParseRR()
185 begin = ReadNUint16(begin, answers.back().length); in ParseRR()
186 …return ParseRData(begin, payload, answers.back().rtype, answers.back().length, answers.back().rdat… in ParseRR()
[all …]
H A Dmdns_protocol_impl.cpp496 response.answers.emplace_back(DNSProto::ResourceRecord{.name = Decorated(info.serviceType), in Announce()
501 response.answers.emplace_back(DNSProto::ResourceRecord{.name = name, in Announce()
511 response.answers.emplace_back(DNSProto::ResourceRecord{.name = name, in Announce()
575 if (phase != 0 && response.answers.size() > 0) { in ProcessQuestion()
589 AppendRecord(response.answers, DNSProto::RRTYPE_PTR, name, elem.first); in ProcessQuestionRecord()
607 AppendRecord(response.answers, DNSProto::RRTYPE_SRV, name, in ProcessQuestionRecord()
621 AppendRecord(response.answers, DNSProto::RRTYPE_TXT, name, iter->second.txt); in ProcessQuestionRecord()
628 AppendRecord(response.answers, anyAddrType, name, anyAddr); in ProcessQuestionRecord()
641 for (const auto &answer : msg.answers) { in ProcessAnswer()
/ohos5.0/build/hb/services/
H A Dmenu.py154 def _prompt(self, questions: list, answers=None, **kwargs): argument
157 answers = answers or {}
171 question['choices'] = choices(answers)
186 if not question['when'](answers):
202 _kwargs['default'] = question['default'](answers)
221 answers[name] = answer
230 return answers
/ohos5.0/foundation/communication/dsoftbus/
H A Dconfig.py65 answers = prompt(options_prompt)
66 return answers['option']
/ohos5.0/foundation/communication/netmanager_ext/services/mdnsmanager/include/
H A Dmdns_packet_parser.h160 std::vector<ResourceRecord> answers; member
215 std::vector<DNSProto::ResourceRecord> &answers);
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-reusable.md453 answers: Array<ResourceStr> = [];
938 let answers = ["test1", "test2", "test3",
941 … this.dataSource.pushData(new Question(i.toString(), title, $r('app.media.app_icon'), answers));
962 answers: Array<ResourceStr> = [];
964 constructor(id: string, title: ResourceStr, image: ResourceStr, answers: Array<ResourceStr>) {
968 this.answers = answers;
1003 ForEach(this.itemData?.answers, (item: Resource) => {
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-reusable.md451 answers: Array<ResourceStr> = [];
936 let answers = ["test1", "test2", "test3",
939 … this.dataSource.pushData(new Question(i.toString(), title, $r('app.media.app_icon'), answers));
960 answers: Array<ResourceStr> = [];
962 constructor(id: string, title: ResourceStr, image: ResourceStr, answers: Array<ResourceStr>) {
966 this.answers = answers;
1001 ForEach(this.itemData?.answers, (item: Resource) => {
/ohos5.0/docs/en/contribute/template/
H A Dfaq-template.md65 No need for separate subheadings, provide direct answers with implementation plans and relevant spe…
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-ota-guide.md11 Over the Air (OTA) answers this challenge with the support for remote updating of device systems. B…