Home
last modified time | relevance | path

Searched refs:answers (Results 1 – 25 of 84) 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/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()
DZoneTransferIn.java543 Record [] answers = response.getSectionArray(Section.ANSWER); in doxfr() local
563 if (answers.length == 0 && qtype == Type.IXFR) { in doxfr()
570 for (int i = 0; i < answers.length; i++) { in doxfr()
571 parseRR(answers[i]); in doxfr()
/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/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/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/mockito/src/org/mockito/
DAdditionalAnswers.java7 import org.mockito.internal.stubbing.answers.ReturnsArgumentAt;
8 import org.mockito.internal.stubbing.answers.ReturnsElementsOf;
/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/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/skia/src/utils/win/
DSkWGL_win.cpp124 int answers[2]; in selectFormat() local
133 answers); in selectFormat()
135 rankedFormats[i].fCoverageSamples = answers[0]; in selectFormat()
136 rankedFormats[i].fColorSamples = answers[supportsCoverage ? 1 : 0]; in selectFormat()
/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/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.,
/external/mockito/src/org/mockito/internal/stubbing/answers/
DDoesNothing.java5 package org.mockito.internal.stubbing.answers;

1234