/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...] |
/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...] |
/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...] |
/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);
|
/cts/tests/tests/print/src/android/print/cts/ |
PageRangeAdjustmentTest.java | 50 import org.mockito.stubbing.Answer; 73 new Answer<PrinterDiscoverySessionCallbacks>() { 75 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { 79 new Answer<Void>() { 81 public Void answer(InvocationOnMock invocation) { 99 new Answer<Void>() { 101 public Void answer(InvocationOnMock invocation) throws Throwable { 113 }, new Answer<Void>() { 115 public Void answer(InvocationOnMock invocation) throws Throwable { 127 }, new Answer<Void>() [all...] |
PrintDocumentAdapterContractTest.java | 49 import org.mockito.stubbing.Answer; 73 new Answer<Void>() { 75 public Void answer(InvocationOnMock invocation) throws Throwable { 87 }, new Answer<Void>() { 89 public Void answer(InvocationOnMock invocation) throws Throwable { 101 }, new Answer<Void>() { 103 public Void answer(InvocationOnMock invocation) throws Throwable { 125 // Answer the dialog for the print service cloud warning 197 new Answer<Void>() { 199 public Void answer(InvocationOnMock invocation) throws Throwable 1904 public Void answer(InvocationOnMock invocation) throws Throwable { method [all...] |
PrinterDiscoverySessionLifecycleTest.java | 45 import org.mockito.stubbing.Answer; 72 new Answer<PrinterDiscoverySessionCallbacks>() { 74 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { 78 new Answer<Void>() { 80 public Void answer(InvocationOnMock invocation) { 125 // Answer the dialog for the print service cloud warning 172 new Answer<PrinterDiscoverySessionCallbacks>() { 174 public PrinterDiscoverySessionCallbacks answer(InvocationOnMock invocation) { 178 new Answer<Void>() { 180 public Void answer(InvocationOnMock invocation) 435 public Void answer(InvocationOnMock invocation) throws Throwable { method 483 public Void answer(InvocationOnMock invocation) throws Throwable { method [all...] |
PrinterCapabilitiesTest.java | 41 import org.mockito.stubbing.Answer; 189 new Answer<Void>() { 191 public Void answer(InvocationOnMock invocation) throws Throwable { 209 new Answer<Void>() { 211 public Void answer(InvocationOnMock invocation) throws Throwable { 278 createMockPrinterDiscoverySessionCallbacks(new Answer<Void>() { 280 public Void answer(InvocationOnMock invocation) { 290 }, null, null, null, null, null, new Answer<Void>() { 292 public Void answer(InvocationOnMock invocation) { 300 new Answer<PrinterDiscoverySessionCallbacks>() [all...] |
/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/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/mockito/src/org/mockito/internal/stubbing/answers/ |
Returns.java | 10 import org.mockito.stubbing.Answer;
12 public class Returns implements Answer<Object>, Serializable {
21 public Object answer(InvocationOnMock invocation) throws Throwable {
method in class:Returns
|
ReturnsElementsOf.java | 9 import org.mockito.stubbing.Answer;
33 public class ReturnsElementsOf implements Answer<Object> {
45 public Object answer(InvocationOnMock invocation) throws Throwable {
method in class:ReturnsElementsOf
|
/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/ |
ForwardsInvocations.java | 8 import org.mockito.stubbing.Answer; 14 * Internal answer to forward invocations on a real instance. 18 public class ForwardsInvocations implements Answer<Object>, Serializable { 28 public Object answer(InvocationOnMock invocation) throws Throwable { method in class:ForwardsInvocations
|
ReturnsDeepStubs.java | 16 import org.mockito.stubbing.Answer;
27 * <p>Supports nested generic information, with this answer you can write code like this :
40 public class ReturnsDeepStubs implements Answer<Object>, Serializable {
47 public Object answer(InvocationOnMock invocation) throws Throwable {
method in class:ReturnsDeepStubs 66 return stubbedInvocationMatcher.answer(invocation);
79 * {@link ReturnsDeepStubs} answer in which we will store the returned type generic metadata.
112 container.addAnswer(new Answer<Object>() {
113 public Object answer(InvocationOnMock invocation) throws Throwable {
|
/hardware/libhardware_legacy/ |
qemu.h | 77 /* sends a question to the hw-control channel, then receive an answer in 78 * a user-allocated buffer. returns the length of the answer, or -1 84 char* answer, int answersize );
|
/external/webrtc/talk/session/media/ |
mediasession_unittest.cc | 430 // |expected_direction_in_answer| in an answer if the offer direction is set 451 rtc::scoped_ptr<SessionDescription> answer( 454 GetFirstAudioContentDescription(answer.get()); 457 GetFirstVideoContentDescription(answer.get()); 583 rtc::scoped_ptr<SessionDescription> answer( 592 updated_opts, answer.get())); 766 // Create a typical audio answer, and ensure it matches what we expect. 773 rtc::scoped_ptr<SessionDescription> answer( 775 const ContentInfo* ac = answer->GetContentByName("audio"); 776 const ContentInfo* vc = answer->GetContentByName("video") 1076 rtc::scoped_ptr<SessionDescription> answer; local 2133 rtc::scoped_ptr<SessionDescription> offer, answer; local 2254 rtc::scoped_ptr<SessionDescription> offer, answer; local [all...] |
/external/mockito/src/org/mockito/internal/stubbing/ |
StubberImpl.java | 10 import org.mockito.stubbing.Answer;
19 final List<Answer> answers = new LinkedList<Answer>();
57 public Stubber doAnswer(Answer answer) {
58 answers.add(answer);
|
/external/ipsec-tools/src/racoon/ |
getcertsbyname.c | 208 unsigned char *answer = NULL, *p; local 229 p = realloc(answer, buflen); 237 answer = p; 239 anslen = res_query(name, C_IN, T_CERT, answer, buflen); 250 eom = answer + anslen; 252 hp = (HEADER *)answer; 265 len = dn_expand(answer, eom, cp, hostbuf, sizeof(hostbuf)); 276 /* answer section */ 278 len = dn_expand(answer, eom, cp, hostbuf, sizeof(hostbuf)); 336 if (answer) [all...] |
/external/autotest/client/cros/cellular/wardmodem/state_machines/ |
network_identity_machine.py | 85 answer = '0000000' 86 answer += str(len(self._mnc)) 87 self._check_length_and_respond(answer, length_str)
|
/libcore/ojluni/src/main/java/java/util/stream/ |
AbstractShortCircuitTask.java | 143 * not already found the answer, the result is installed in 186 R answer = sharedResult.get(); local 187 return (answer == null) ? getEmptyResult() : answer;
|
/external/autotest/client/tests/kvm/ |
get_started.py | 33 answer = utils.ask("Would you like to download it from %s?" % url) 34 if answer == 'y': 48 answer = utils.ask("Would you like to check %s? It might take a while" % 50 if answer == 'y':
|
/external/mockito/src/org/mockito/internal/configuration/ |
MockAnnotationProcessor.java | 31 // see @Mock answer default value 32 mockSettings.defaultAnswer(annotation.answer().get());
|