Home
last modified time | relevance | path

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

1234567

/external/jmdns/src/javax/jmdns/impl/
DDNSQuestion.java36 public void addAnswers(JmDNSImpl jmDNSImpl, Set<DNSRecord> answers) { in addAnswers() argument
39 answers.add(answer); in addAnswers()
60 public void addAnswers(JmDNSImpl jmDNSImpl, Set<DNSRecord> answers) { in addAnswers() argument
63 answers.add(answer); in addAnswers()
93 public void addAnswers(JmDNSImpl jmDNSImpl, Set<DNSRecord> answers) { in addAnswers() argument
96 this.addAnswersForServiceInfo(jmDNSImpl, answers, (ServiceInfoImpl) serviceInfo); in addAnswers()
101answers.add(new DNSRecord.Pointer("_services._dns-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRec… in addAnswers()
110answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_A, DNSRecordCla… in addAnswers()
113answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_AAAA, DNSRecord… in addAnswers()
133 public void addAnswers(JmDNSImpl jmDNSImpl, Set<DNSRecord> answers) { in addAnswers() argument
[all …]
/external/mockito/src/main/java/org/mockito/internal/stubbing/
DStubberImpl.java7 import org.mockito.internal.stubbing.answers.CallsRealMethods;
8 import org.mockito.internal.stubbing.answers.Returns;
9 import org.mockito.internal.stubbing.answers.ThrowsException;
21 import static org.mockito.internal.stubbing.answers.DoesNothing.doesNothing;
27 private final List<Answer<?>> answers = new LinkedList<Answer<?>>(); field in StubberImpl
39 MockUtil.getInvocationContainer(mock).setAnswersForStubbing(answers); in when()
56 answers.add(new Returns(null)); in doReturnValues()
60 answers.add(new Returns(r)); in doReturnValues()
68 answers.add(new ThrowsException(null)); in doThrow()
72 answers.add(new ThrowsException(throwable)); in doThrow()
[all …]
DStubbedInvocationMatcher.java22 private final Queue<Answer> answers = new ConcurrentLinkedQueue<Answer>(); field in StubbedInvocationMatcher
27 this.answers.add(answer); in StubbedInvocationMatcher()
33 synchronized(answers) { in answer()
34 a = answers.size() == 1 ? answers.peek() : answers.poll(); in answer()
40 answers.add(answer); in addAnswer()
53 return super.toString() + " stubbed with: " + answers; in toString()
DBaseStubbing.java11 import org.mockito.internal.stubbing.answers.CallsRealMethods;
12 import org.mockito.internal.stubbing.answers.Returns;
13 import org.mockito.internal.stubbing.answers.ThrowsException;
/external/autotest/client/cros/netprotos/
Dzeroconf.py146 answers = []
149 answers += QUERY_HANDLERS[q.type](q)
153 answers += handler(q)
155 answers = [ans for ans in answers if not any(True
158 self._send_answers(answers)
161 answers = mdns.ns
165 answers.extend(mdns.an)
167 if answers:
170 for rr in answers: # Answers RRs
208 def _send_answers(self, answers): argument
[all …]
/external/scapy/test/
Dpptp.uts91 assert lcp_echo_reply_pkt.answers(lcp_echo_request_pkt)
92 assert not lcp_echo_request_pkt.answers(lcp_echo_reply_pkt)
97 assert not lcp_echo_non_reply_pkt.answers(lcp_echo_request_pkt)
102 assert not lcp_echo_non_reply_pkt.answers(lcp_echo_request_pkt)
141 assert conf_ack_pkt.answers(conf_req_pkt)
142 assert not conf_req_pkt.answers(conf_ack_pkt)
166 assert conf_nak_pkt.answers(conf_req_pkt)
167 assert not conf_req_pkt.answers(conf_nak_pkt)
191 assert conf_reject_pkt.answers(conf_req_pkt)
192 assert not conf_req_pkt.answers(conf_reject_pkt)
[all …]
Dbluetooth.uts82 assert b.answers(a)
83 assert not a.answers(b)
87 assert b.answers(a)
88 assert not a.answers(b)
/external/skia/tests/
DPathOpsLineParametetersTest.cpp25 static const double answers[][2] = { variable
56 double answersSq = answers[index][inner]; in DEF_TEST()
64 denormalizedDistance[inner], answers[index][inner], in DEF_TEST()
72 if (AlmostEqualUlps(fabs(normalizedDistance[inner]), answers[index][inner])) { in DEF_TEST()
77 normalizedDistance[inner], answers[index][inner]); in DEF_TEST()
/external/skqp/tests/
DPathOpsLineParametetersTest.cpp25 static const double answers[][2] = { variable
56 double answersSq = answers[index][inner]; in DEF_TEST()
64 denormalizedDistance[inner], answers[index][inner], in DEF_TEST()
72 if (AlmostEqualUlps(fabs(normalizedDistance[inner]), answers[index][inner])) { in DEF_TEST()
77 normalizedDistance[inner], answers[index][inner]); in DEF_TEST()
/external/jmdns/src/javax/jmdns/impl/tasks/
DResponder.java101 Set<DNSRecord> answers = new HashSet<DNSRecord>(); in run() local
116 question.addAnswers(this.getDns(), answers); in run() local
123 answers.remove(knownAnswer); in run()
131 if (!answers.isEmpty()) { in run()
142 for (DNSRecord answer : answers) { in run()
/external/scapy/scapy/layers/
Dpptp.py129 def answers(self, other): member in PPTPStartControlConnectionReply
166 def answers(self, other): member in PPTPStopControlConnectionReply
195 def answers(self, other): member in PPTPEchoReply
253 def answers(self, other): member in PPTPOutgoingCallReply
290 def answers(self, other): member in PPTPIncomingCallReply
308 def answers(self, other): member in PPTPIncomingCallConnected
Ddot11.py84 def answers(self, other): member in PrismHeader
86 return self.payload.answers(other.payload)
88 return self.payload.answers(other)
148 def answers(self, other): member in Dot11
156 return self.payload.answers(other.payload)
160 return self.payload.answers(other.payload)
275 def answers(self, other): member in Dot11Auth
Dl2.py156 def answers(self, other): member in Ether
159 return self.payload.answers(other.payload)
179 def answers(self, other): member in Dot3
181 return self.payload.answers(other.payload)
236 def answers(self, other): member in Dot1Q
240 return self.payload.answers(other.payload)
242 return self.payload.answers(other)
292 def answers(self, other): member in ARP
Dppp.py512 def answers(self, other): member in PPP_LCP_Configure
519 def answers(self, other): member in PPP_LCP_Terminate
549 def answers(self, other): member in PPP_LCP_Echo
620 def answers(self, other): member in PPP_PAP_Response
646 def answers(self, other): member in PPP_CHAP
683 def answers(self, other): member in PPP_CHAP_ChallengeResponse
/external/mockito/src/main/java/org/mockito/
DAdditionalAnswers.java9 import org.mockito.internal.stubbing.answers.AnswersWithDelay;
10 import org.mockito.internal.stubbing.answers.ReturnsArgumentAt;
11 import org.mockito.internal.stubbing.answers.ReturnsElementsOf;
25 import static org.mockito.internal.stubbing.answers.AnswerFunctionalInterfaces.toAnswer;
/external/icu/icu4c/source/samples/translit/
DREADME.TXT10 …on file is the answer to the exercises, each step can still be found in the 'answers' subdirectory.
102 The exercise includes answers. These are in the "answers" directory,
104 needs to create are included in the answers directory.
107 answers file into the main directory in order to proceed. E.g.,
/external/ppp/pppd/plugins/pppoatm/
Dans.c47 int questions,answers; in ans() local
60 answers = GET16(answer+6); in ans()
61 if (answers < 1) return TRY_OTHER; in ans()
75 while (answers--) { in ans()
/external/python/cpython2/Lib/distutils/tests/
Dtest_register.py44 def __init__(self, *answers): argument
45 self.answers = answers
50 return self.answers[self.index]
/external/icu/icu4c/source/samples/msgfmt/
DREADME.TXT10 …on file is the answer to the exercises, each step can still be found in the 'answers' subdirectory.
90 The exercise includes answers. These are in the "answers" directory,
94 answers file into the main directory in order to proceed. E.g.,
/external/python/cpython3/Lib/distutils/tests/
Dtest_register.py44 def __init__(self, *answers): argument
45 self.answers = answers
50 return self.answers[self.index]
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/
DDoesNothingTest.java5 package org.mockito.internal.stubbing.answers;
9 import static org.mockito.internal.stubbing.answers.DoesNothing.doesNothing;
/external/icu/icu4c/source/samples/datefmt/
DREADME.TXT9 …on file is the answer to the exercises, each step can still be found in the 'answers' subdirectory.
98 The exercise includes answers. These are in the "answers" directory,
102 answers file into the main directory in order to proceed. E.g.,
/external/jmdns/src/javax/jmdns/impl/tasks/state/
DCanceler.java104 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())… in buildOutgoingForDNS()
117 …for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalH… in buildOutgoingForInfo()
DRenewer.java105 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())… in buildOutgoingForDNS()
118 …for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalH… in buildOutgoingForInfo()
DAnnouncer.java104 …for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())… in buildOutgoingForDNS()
117 …for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalH… in buildOutgoingForInfo()

1234567