Home
last modified time | relevance | path

Searched refs:answers (Results 1 – 25 of 94) 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/chromium_org/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 PathOpsLineParametersTest()
62 denormalizedDistance[inner], answers[index][inner], in PathOpsLineParametersTest()
70 if (AlmostEqualUlps(fabs(normalizedDistance[inner]), answers[index][inner])) { in PathOpsLineParametersTest()
75 normalizedDistance[inner], answers[index][inner]); in PathOpsLineParametersTest()
DRoundRectTest.cpp281 bool answers[kNumRRects][8][kNumSteps] = { in test_round_rect_contains_rect() local
346 test_direction(reporter, rrects[i], 0, 1, 0, 1, kNumSteps, answers[i][0]); // NW in test_round_rect_contains_rect()
347 test_direction(reporter, rrects[i], 19.5f, 0, 0, 1, kNumSteps, answers[i][1]); // N in test_round_rect_contains_rect()
348 test_direction(reporter, rrects[i], 40, -1, 0, 1, kNumSteps, answers[i][2]); // NE in test_round_rect_contains_rect()
349 test_direction(reporter, rrects[i], 40, -1, 19.5f, 0, kNumSteps, answers[i][3]); // E in test_round_rect_contains_rect()
350 test_direction(reporter, rrects[i], 40, -1, 40, -1, kNumSteps, answers[i][4]); // SE in test_round_rect_contains_rect()
351 test_direction(reporter, rrects[i], 19.5f, 0, 40, -1, kNumSteps, answers[i][5]); // S in test_round_rect_contains_rect()
352 test_direction(reporter, rrects[i], 0, 1, 40, -1, kNumSteps, answers[i][6]); // SW in test_round_rect_contains_rect()
353 test_direction(reporter, rrects[i], 0, 1, 19.5f, 0, kNumSteps, answers[i][7]); // W in test_round_rect_contains_rect()
DPathOpsCubicQuadIntersectionTest.cpp18 SkDPoint answers[2]; member
87 found |= quadCubicTests[index].answers[idx2].approximatelyEqual(xy1); in PathOpsCubicQuadIntersectionTest()
/external/smack/src/org/xbill/DNS/
DCache.java520 return cr.answers(); in findRecords()
603 RRset [] answers, auth, addl; in addMessage() local
620 answers = in.getSectionRRsets(Section.ANSWER); in addMessage()
621 for (int i = 0; i < answers.length; i++) { in addMessage()
622 if (answers[i].getDClass() != qclass) in addMessage()
624 int type = answers[i].getType(); in addMessage()
625 Name name = answers[i].getName(); in addMessage()
630 addRRset(answers[i], cred); in addMessage()
636 response.addRRset(answers[i]); in addMessage()
638 markAdditional(answers[i], additionalNames); in addMessage()
[all …]
DLookup.java48 private Record [] answers; field in Lookup
189 answers = null; in reset()
408 RRset [] rrsets = response.answers(); in processResponse()
420 answers = (Record []) l.toArray(new Record[l.size()]); in processResponse()
431 answers = null; in processResponse()
538 return answers; in run()
543 return answers; in run()
574 return answers; in run()
596 return answers; in getAnswers()
/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/chromium_org/third_party/sqlite/src/test/
Dmalloc_common.tcl572 set answers [list {1 {out of memory}} $catchres]
573 set str [join $answers " OR "]
584 if {[lsearch -exact $answers $res]>=0} { set res $str }
629 set answers [list {1 {out of memory}} {0 {}}]
636 set answers [list {0 {}}]
639 set str [join $answers " OR "]
651 if {[lsearch $answers $res]>=0} {
/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()
/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/mockito/src/org/mockito/
DAdditionalAnswers.java7 import org.mockito.internal.stubbing.answers.ReturnsArgumentAt;
8 import org.mockito.internal.stubbing.answers.ReturnsElementsOf;
/external/icu4c/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/icu4c/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/qemu/telephony/
Dsim_card.c332 static const struct { const char* cmd; const char* answer; } answers[] = in asimcard_io() local
440 for (nn = 0; answers[nn].cmd != NULL; nn++) { in asimcard_io()
441 if ( !strcmp( answers[nn].cmd, cmd ) ) { in asimcard_io()
442 return answers[nn].answer; in asimcard_io()
/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()
/external/icu4c/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.,

1234