HomeSort by relevance Sort by last modified time
    Searched refs:answer (Results 101 - 125 of 901) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/ppp/pppd/plugins/pppoatm/
ans.c 43 unsigned char answer[MAX_ANSWER]; local
50 if ((answer_len = res_search(text,C_IN,wanted,answer,MAX_ANSWER)) < 0)
56 pos = answer+12;
57 if (answer[3] & 15) return TRY_OTHER; /* rcode != 0 */
58 questions = GET16(answer+4);
60 answers = GET16(answer+6);
65 if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)) < 0)
80 if ((name_len = dn_expand(answer,answer+answer_len,pos,name,MAX_NAME)
    [all...]
  /external/mockito/src/test/java/org/mockitousage/stubbing/
StubbingWithCustomAnswerTest.java 10 import org.mockito.stubbing.Answer;
26 when(mock.simpleMethod(anyString())).thenAnswer(new Answer<String>() {
27 public String answer(InvocationOnMock invocation) throws Throwable {
50 .thenAnswer(new Answer<String>() {
51 public String answer(InvocationOnMock invocation) throws Throwable {
56 .thenAnswer(new Answer<String>() {
57 public String answer(InvocationOnMock invocation) throws Throwable {
104 when(mock.simpleMethod(anyString())).thenAnswer(new Answer<String>() {
105 public String answer(InvocationOnMock invocation) throws Throwable {
116 private static class RecordCall implements Answer<Object>
123 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:StubbingWithCustomAnswerTest.RecordCall
    [all...]
  /bionic/libc/dns/resolv/
res_query.c 118 * Formulate a normal query, send, and await answer.
119 * Returned answer is placed in supplied buffer "answer".
120 * Perform preliminary check of answer, returning success only
121 * if no error is indicated and the answer count is nonzero.
125 * Caller must parse answer and determine whether it answers the question.
131 u_char *answer, /* buffer to put answer */
132 int anslen) /* size of answer buffer */
135 HEADER *hp = (HEADER *)(void *)answer;
    [all...]
  /device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
res_query.c 109 * Formulate a normal query, send, and await answer.
110 * Returned answer is placed in supplied buffer "answer".
111 * Perform preliminary check of answer, returning success only
112 * if no error is indicated and the answer count is nonzero.
116 * Caller must parse answer and determine whether it answers the question.
123 u_char *answer, /* buffer to put answer */
124 int anslen /* size of answer buffer */
128 HEADER *hp = (HEADER *) answer;
    [all...]
res_update.c 91 * nameservers for that zone, and await answer.
122 u_char buf[PACKETSZ], answer[PACKETSZ], packet[2*PACKETSZ]; local
128 HEADER *hp = (HEADER *) answer;
205 n = res_send(buf, n, answer, sizeof answer);
217 cp = answer + HFIXEDSZ;
218 eom = answer + n;
246 if ((n = dn_expand(answer, eom, cp, zname,
255 fprintf(stderr, "unknown answer\n");
283 /* answer section must contain the soa record */
    [all...]
  /external/libchrome/sandbox/win/src/
crosscall_client.h 28 // CrossCallReturn* answer)
37 // answer : If the IPC was successful. The server-side answer is here. The
38 // interpretation of the answer is private to client and server.
318 CrossCallReturn* answer) {
322 ResultCode result = ipc_provider.DoCall(call_params, answer);
338 CrossCallReturn* answer) {
343 ResultCode result = ipc_provider.DoCall(call_params, answer);
360 CrossCallReturn* answer) {
366 ResultCode result = ipc_provider.DoCall(call_params, answer);
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
SupplicantStaNetworkHalTest.java 228 public void answer(ISupplicantStaNetwork.getSsidCallback cb) throws RemoteException {
247 public SupplicantStatus answer(ArrayList<Byte> ssid) throws RemoteException {
397 public SupplicantStatus answer(
432 public SupplicantStatus answer(
465 public SupplicantStatus answer(
487 public SupplicantStatus answer(
512 public SupplicantStatus answer(
545 public SupplicantStatus answer(
566 public SupplicantStatus answer(byte[] params)
585 public SupplicantStatus answer(byte[] params
    [all...]
  /external/webrtc/webrtc/tools/rtcbot/test/
simple_offer_answer.js 9 // Test that offer/answer between 2 peers completes successfully.
30 function gotAnswer(answer) {
31 test.log("Got answer");
33 pc2.setLocalDescription(answer, expectedCall, test.fail);
34 pc1.setRemoteDescription(answer, expectedCall, test.fail);
ping_pong.js 14 function gotAnswer(answer) {
15 test.log('bot > ' + answer);
  /external/jmdns/src/javax/jmdns/impl/
DNSMessage.java 232 for (DNSRecord answer : _answers) {
234 buf.append(answer);
237 for (DNSRecord answer : _authoritativeAnswers) {
239 buf.append(answer);
242 for (DNSRecord answer : _additionals) {
244 buf.append(answer);
  /external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
ReturnsDeepStubs.java 18 import org.mockito.stubbing.Answer;
30 * <p>Supports nested generic information, with this answer you can write code like this :
43 public class ReturnsDeepStubs implements Answer<Object>, Serializable {
47 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ReturnsDeepStubs
66 return stubbedInvocationMatcher.answer(invocation);
70 // record deep stub answer
80 return stubbing.answer(invocation);
88 * {@link ReturnsDeepStubs} answer in which we will store the returned type generic metadata.
120 DeeplyStubbedAnswer answer = new DeeplyStubbedAnswer(mock); local
121 return container.addAnswer(answer, false)
155 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ReturnsDeepStubs.DeeplyStubbedAnswer
    [all...]
  /external/webrtc/talk/app/webrtc/
webrtcsession_unittest.cc 744 const webrtc::SessionDescriptionInterface* answer = CreateAnswer(NULL); local
745 // Answer should be NULL as no crypto params in offer.
746 ASSERT_TRUE(answer == NULL);
758 scoped_ptr<SessionDescriptionInterface> answer(CreateAnswer(NULL));
759 ASSERT_TRUE(answer.get() != NULL);
760 VerifyCryptoParams(answer->description());
873 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
1595 SessionDescriptionInterface* answer = local
1648 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
1763 SessionDescriptionInterface* answer = NULL; local
1776 SessionDescriptionInterface* answer = NULL; local
1803 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
1833 JsepSessionDescription* answer = local
1873 SessionDescriptionInterface* answer = NULL; local
1893 JsepSessionDescription* answer = local
1922 JsepSessionDescription* answer = local
1950 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
1975 SessionDescriptionInterface* answer = local
2083 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
2109 SessionDescriptionInterface* answer = local
2119 SessionDescriptionInterface* answer = local
2130 SessionDescriptionInterface* answer = local
2153 SessionDescriptionInterface* answer = CreateRemoteAnswer( local
2298 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
2324 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
2365 SessionDescriptionInterface* answer = local
2494 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer); local
2660 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer, options); local
2718 SessionDescriptionInterface* answer = CreateRemoteAnswer( local
2990 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
3077 SessionDescriptionInterface* answer = local
3130 SessionDescriptionInterface* answer = local
3157 SessionDescriptionInterface* answer = local
3213 SessionDescriptionInterface* answer = CreateAnswer(nullptr); local
3253 SessionDescriptionInterface* answer = local
3319 SessionDescriptionInterface* answer = local
3339 SessionDescriptionInterface* answer = local
3517 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer); local
3530 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
3591 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
3630 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
3750 SessionDescriptionInterface* answer = local
3894 SessionDescriptionInterface* answer = ChangeSDPSctpPort( local
4164 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer); local
4194 SessionDescriptionInterface* answer = CreateRemoteAnswer(offer); local
4227 SessionDescriptionInterface* answer = CreateAnswer(NULL); local
4270 SessionDescriptionInterface* answer = local
    [all...]
  /external/jmdns/src/javax/jmdns/impl/tasks/state/
Announcer.java 104 for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())) {
105 newOut = this.addAnswer(newOut, null, answer);
117 for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) {
118 newOut = this.addAnswer(newOut, null, answer);
Renewer.java 105 for (DNSRecord answer : this.getDns().getLocalHost().answers(DNSRecordClass.UNIQUE, this.getTTL())) {
106 newOut = this.addAnswer(newOut, null, answer);
118 for (DNSRecord answer : info.answers(DNSRecordClass.UNIQUE, this.getTTL(), this.getDns().getLocalHost())) {
119 newOut = this.addAnswer(newOut, null, answer);
  /external/libnl/src/lib/
utils.c 142 int answer; local
153 switch ((answer = tolower(buf[0]))) {
155 answer = default_yes ? 'y' : 'n';
158 return answer == 'y';
  /external/mockito/src/main/java/org/mockito/
Mock.java 32 * &#064;Mock(answer = RETURNS_MOCKS) private UserProvider userProvider;
69 Answers answer() default Answers.RETURNS_DEFAULTS;
  /external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DoesNothing.java 10 import org.mockito.stubbing.Answer;
15 public class DoesNothing implements Answer<Object>, ValidableAnswer, Serializable {
28 public Object answer(InvocationOnMock invocation){ method in class:DoesNothing
ReturnsElementsOf.java 11 import org.mockito.stubbing.Answer;
32 public class ReturnsElementsOf implements Answer<Object> {
44 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ReturnsElementsOf
  /external/mockito/src/main/java/org/mockito/stubbing/
Stubber.java 32 * {@link Mockito#doAnswer(Answer)}
60 * {@link Mockito#doAnswer(Answer)}
124 * Use it for stubbing consecutive calls in {@link Mockito#doAnswer(Answer)} style:
130 * See javadoc for {@link Mockito#doAnswer(Answer)}
132 * @param answer to answer when the stubbed method is called
135 Stubber doAnswer(Answer answer);
  /external/mockito/src/test/java/org/mockito/internal/configuration/
ClassPathLoaderTest.java 5 import org.mockito.stubbing.Answer;
16 ConfigurationAccess.getConfig().overrideDefaultAnswer(new Answer<Object>() {
17 public Object answer(InvocationOnMock invocation) {
  /external/mockito/src/test/java/org/mockitousage/junitrunner/
DeepStubbingWithJUnitRunnerTest.java 14 @Mock(answer = Answers.RETURNS_DEEP_STUBS) private Root root;
  /packages/apps/Dialer/java/com/android/incallui/
AnswerScreenPresenterStub.java 20 import com.android.incallui.answer.protocol.AnswerScreenDelegate;
23 * Stub implementation of the answer screen delegate. Used to keep the answer fragment visible when
  /packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
AnswerMethod.java 17 package com.android.incallui.answer.impl.answermethod;
25 /** A fragment that can be used to answer/reject calls. */
  /prebuilts/go/darwin-x86/src/net/
dnsmsg_test.go 92 answer: []dnsRR{},
121 if g, e := len(msg.answer), 5; g != e {
122 t.Errorf("len(msg.answer) = %d; want %d", g, e)
124 for idx, rr := range msg.answer {
129 t.Errorf("answer[%d] = %T; want *dnsRR_SRV", idx, rr)
137 _, addrs, err := answer(name, "foo:53", msg, uint16(dnsTypeSRV))
169 if g, e := len(msg.answer), 5; g != e {
170 t.Errorf("len(msg.answer) = %d; want %d", g, e)
172 for idx, rr := range msg.answer {
178 t.Errorf("answer[%d] = %T; want *dnsRR_Header", idx, rr
    [all...]
  /prebuilts/go/linux-x86/src/net/
dnsmsg_test.go 92 answer: []dnsRR{},
121 if g, e := len(msg.answer), 5; g != e {
122 t.Errorf("len(msg.answer) = %d; want %d", g, e)
124 for idx, rr := range msg.answer {
129 t.Errorf("answer[%d] = %T; want *dnsRR_SRV", idx, rr)
137 _, addrs, err := answer(name, "foo:53", msg, uint16(dnsTypeSRV))
169 if g, e := len(msg.answer), 5; g != e {
170 t.Errorf("len(msg.answer) = %d; want %d", g, e)
172 for idx, rr := range msg.answer {
178 t.Errorf("answer[%d] = %T; want *dnsRR_Header", idx, rr
    [all...]

Completed in 943 milliseconds

1 2 3 45 6 7 8 91011>>