Home
last modified time | relevance | path

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

1234

/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/org/mockito/internal/stubbing/
DStubberImpl.java8 import org.mockito.internal.stubbing.answers.*;
19 final List<Answer> answers = new LinkedList<Answer>(); field in StubberImpl
33 mockUtil.getMockHandler(mock).setAnswersForStubbing(answers); in when()
38 answers.add(new Returns(toBeReturned)); in doReturn()
43 answers.add(new ThrowsException(toBeThrown)); in doThrow()
48 answers.add(new ThrowsExceptionClass(toBeThrown)); in doThrow()
53 answers.add(new DoesNothing()); in doNothing()
58 answers.add(answer); in doAnswer()
63 answers.add(new CallsRealMethods()); in doCallRealMethod()
DStubbedInvocationMatcher.java20 private final Queue<Answer> answers = new ConcurrentLinkedQueue<Answer>(); field in StubbedInvocationMatcher
25 this.answers.add(answer); in StubbedInvocationMatcher()
31 synchronized(answers) { in answer()
32 a = answers.size() == 1 ? answers.peek() : answers.poll(); in answer()
38 answers.add(answer); in addAnswer()
51 return super.toString() + " stubbed with: " + answers; in toString()
DBaseStubbing.java7 import org.mockito.internal.stubbing.answers.CallsRealMethods;
8 import org.mockito.internal.stubbing.answers.Returns;
9 import org.mockito.internal.stubbing.answers.ThrowsException;
10 import org.mockito.internal.stubbing.answers.ThrowsExceptionClass;
DVoidMethodStubbableImpl.java7 import org.mockito.internal.stubbing.answers.DoesNothing;
8 import org.mockito.internal.stubbing.answers.ThrowsException;
DInvocationContainerImpl.java10 import org.mockito.internal.stubbing.answers.AnswersValidator;
94 public void setAnswersForStubbing(List<Answer> answers) { in setAnswersForStubbing() argument
95 answersForStubbing.addAll(answers); in setAnswersForStubbing()
/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/v8/test/webkit/
Dinteger-extremes.js33 var answers = [ variable
161 shouldBe("min.toString()", answers[valueBits-8][0]);
162 shouldBe("(min - 1).toString()", answers[valueBits-8][1]);
163 shouldBe("max.toString()", answers[valueBits-8][2]);
164 shouldBe("(max + 1).toString()", answers[valueBits-8][3]);
Dchar-at.js74 var answers = [['""', 'NaN'], variable
117 var result = answers[i];
/external/skia/tests/
DPathOpsLineParametetersTest.cpp25 static const double answers[][2] = { variable
54 double answersSq = answers[index][inner]; in DEF_TEST()
62 denormalizedDistance[inner], answers[index][inner], in DEF_TEST()
70 if (AlmostEqualUlps(fabs(normalizedDistance[inner]), answers[index][inner])) { in DEF_TEST()
75 normalizedDistance[inner], answers[index][inner]); in DEF_TEST()
DRoundRectTest.cpp420 bool answers[kNumRRects][8][kNumSteps] = { in test_round_rect_contains_rect() local
485 test_direction(reporter, rrects[i], 0, 1, 0, 1, kNumSteps, answers[i][0]); // NW in test_round_rect_contains_rect()
486 test_direction(reporter, rrects[i], 19.5f, 0, 0, 1, kNumSteps, answers[i][1]); // N in test_round_rect_contains_rect()
487 test_direction(reporter, rrects[i], 40, -1, 0, 1, kNumSteps, answers[i][2]); // NE in test_round_rect_contains_rect()
488 test_direction(reporter, rrects[i], 40, -1, 19.5f, 0, kNumSteps, answers[i][3]); // E in test_round_rect_contains_rect()
489 test_direction(reporter, rrects[i], 40, -1, 40, -1, kNumSteps, answers[i][4]); // SE in test_round_rect_contains_rect()
490 test_direction(reporter, rrects[i], 19.5f, 0, 40, -1, kNumSteps, answers[i][5]); // S in test_round_rect_contains_rect()
491 test_direction(reporter, rrects[i], 0, 1, 40, -1, kNumSteps, answers[i][6]); // SW in test_round_rect_contains_rect()
492 test_direction(reporter, rrects[i], 0, 1, 19.5f, 0, kNumSteps, answers[i][7]); // W in test_round_rect_contains_rect()
/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/mockito/src/org/mockito/stubbing/answers/
DReturnsElementsOf.java5 package org.mockito.stubbing.answers;
23 public class ReturnsElementsOf extends org.mockito.internal.stubbing.answers.ReturnsElementsOf {
/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/icu/icu4c/source/samples/translit/
DREADME.TXT7 …on file is the answer to the exercises, each step can still be found in the 'answers' subdirectory.
99 The exercise includes answers. These are in the "answers" directory,
101 needs to create are included in the answers directory.
104 answers file into the main directory in order to proceed. E.g.,
/external/mockito/src/org/mockito/internal/handler/
DNullResultGuardian.java49 public void setAnswersForStubbing(List answers) { in setAnswersForStubbing() argument
50 delegate.setAnswersForStubbing(answers); in setAnswersForStubbing()
DInvocationNotifierHandler.java76 public void setAnswersForStubbing(List<Answer> answers) { in setAnswersForStubbing() argument
77 mockHandler.setAnswersForStubbing(answers); in setAnswersForStubbing()
DMockHandlerImpl.java114 public void setAnswersForStubbing(List<Answer> answers) { in setAnswersForStubbing() argument
115 invocationContainerImpl.setAnswersForStubbing(answers); in setAnswersForStubbing()
/external/mockito/src/org/mockito/
DAdditionalAnswers.java7 import org.mockito.internal.stubbing.answers.ReturnsArgumentAt;
8 import org.mockito.internal.stubbing.answers.ReturnsElementsOf;
/external/icu/icu4c/source/samples/msgfmt/
DREADME.TXT7 …on file is the answer to the exercises, each step can still be found in the 'answers' subdirectory.
87 The exercise includes answers. These are in the "answers" directory,
91 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()
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()
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()
/external/icu/icu4c/source/samples/datefmt/
DREADME.TXT6 …on file is the answer to the exercises, each step can still be found in the 'answers' subdirectory.
95 The exercise includes answers. These are in the "answers" directory,
99 answers file into the main directory in order to proceed. E.g.,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/mturk/
Dreviewable_hits.doctest108 >>> len(assignment.answers) > 0
112 >>> assignment.answers # doctest: +ELLIPSIS
115 >>> answer = assignment.answers[0][0]

1234