/external/mockito/src/main/java/org/mockito/internal/stubbing/ |
D | StubberImpl.java | 9 import static org.mockito.internal.stubbing.answers.DoesNothing.doesNothing; 14 import org.mockito.internal.stubbing.answers.CallsRealMethods; 15 import org.mockito.internal.stubbing.answers.Returns; 16 import org.mockito.internal.stubbing.answers.ThrowsException; 17 import org.mockito.internal.stubbing.answers.ThrowsExceptionClass; 25 private final List<Answer<?>> answers = new LinkedList<Answer<?>>(); field in StubberImpl 37 MockUtil.getMockHandler(mock).setAnswersForStubbing(answers); in when() 53 answers.add(new Returns(null)); in doReturnValues() 57 answers.add(new Returns(r)); in doReturnValues() 65 answers.add(new ThrowsException(null)); in doThrow() [all …]
|
D | StubbedInvocationMatcher.java | 21 private final Queue<Answer> answers = new ConcurrentLinkedQueue<Answer>(); field in StubbedInvocationMatcher 26 this.answers.add(answer); in StubbedInvocationMatcher() 32 synchronized(answers) { in answer() 33 a = answers.size() == 1 ? answers.peek() : answers.poll(); in answer() 39 answers.add(answer); in addAnswer() 52 return super.toString() + " stubbed with: " + answers; in toString()
|
D | BaseStubbing.java | 7 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;
|
D | InvocationContainerImpl.java | 97 public void setAnswersForStubbing(List<Answer<?>> answers) { in setAnswersForStubbing() argument 98 answersForStubbing.addAll(answers); in setAnswersForStubbing()
|
/external/jmdns/src/javax/jmdns/impl/ |
D | DNSQuestion.java | 36 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() 101 …answers.add(new DNSRecord.Pointer("_services._dns-sd._udp.local.", DNSRecordClass.CLASS_IN, DNSRec… in addAnswers() 110 …answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_A, DNSRecordCla… in addAnswers() 113 …answers.add(jmDNSImpl.getLocalHost().getDNSReverseAddressRecord(DNSRecordType.TYPE_AAAA, DNSRecord… in addAnswers() 133 public void addAnswers(JmDNSImpl jmDNSImpl, Set<DNSRecord> answers) { in addAnswers() argument [all …]
|
/external/autotest/client/cros/netprotos/ |
D | zeroconf.py | 146 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/skia/tests/ |
D | PathOpsLineParametetersTest.cpp | 25 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()
|
D | RoundRectTest.cpp | 420 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/ |
D | Responder.java | 101 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/ppp/pppd/plugins/pppoatm/ |
D | ans.c | 47 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/ |
D | README.TXT | 10 …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/mockito/src/main/java/org/mockito/internal/handler/ |
D | MockHandlerImpl.java | 17 import org.mockito.internal.stubbing.answers.DefaultAnswerValidator; 114 public void setAnswersForStubbing(List<Answer<?>> answers) { in setAnswersForStubbing() argument 115 invocationContainerImpl.setAnswersForStubbing(answers); in setAnswersForStubbing()
|
D | NullResultGuardian.java | 47 public void setAnswersForStubbing(List<Answer<?>> answers) { in setAnswersForStubbing() argument 48 delegate.setAnswersForStubbing(answers); in setAnswersForStubbing()
|
D | InvocationNotifierHandler.java | 70 public void setAnswersForStubbing(List<Answer<?>> answers) { in setAnswersForStubbing() argument 71 mockHandler.setAnswersForStubbing(answers); in setAnswersForStubbing()
|
/external/mockito/src/test/java/org/mockito/internal/junit/ |
D | UnusedStubbingsTest.java | 6 import org.mockito.internal.stubbing.answers.DoesNothing; 14 import static org.mockito.internal.stubbing.answers.DoesNothing.doesNothing;
|
/external/mockito/src/main/java/org/mockito/ |
D | AdditionalAnswers.java | 8 import org.mockito.internal.stubbing.answers.ReturnsArgumentAt; 9 import org.mockito.internal.stubbing.answers.ReturnsElementsOf; 23 import static org.mockito.internal.stubbing.answers.AnswerFunctionalInterfaces.toAnswer;
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/answers/ |
D | DoesNothingTest.java | 5 package org.mockito.internal.stubbing.answers; 9 import static org.mockito.internal.stubbing.answers.DoesNothing.doesNothing;
|
/external/icu/icu4c/source/samples/msgfmt/ |
D | README.TXT | 10 …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/icu/icu4c/source/samples/datefmt/ |
D | README.TXT | 9 …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/ |
D | Canceler.java | 104 …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()
|
D | Announcer.java | 104 …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()
|
D | Renewer.java | 105 …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/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
D | dnsproxy.py | 77 answers = self.resolver.query(hostname, rdtype) 88 if answers: 89 ip = str(answers[0])
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/ |
D | InvocationContainerImplStubbingTest.java | 17 import org.mockito.internal.stubbing.answers.Returns; 18 import org.mockito.internal.stubbing.answers.ThrowsException;
|
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/ |
D | package-info.java | 9 package org.mockito.internal.stubbing.answers;
|