/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/ |
PacketUserauthInfoResponse.java | 17 String[] responses; field in class:PacketUserauthInfoResponse 19 public PacketUserauthInfoResponse(String[] responses) 21 this.responses = responses; 30 tw.writeUINT32(responses.length); 31 for (int i = 0; i < responses.length; i++) 32 tw.writeString(responses[i]);
|
/external/opencv/ml/src/ |
mltestset.cpp | 62 CvMat** responses, 75 if( responses ) 76 *responses = NULL; 84 if( !responses ) 85 CV_ERROR( CV_StsNullPtr, "responses parameter must be not NULL" ); 106 CV_CALL( *responses = cvCreateMat( 1, num_samples, CV_32SC1 ) ); 147 CV_MAT_ELEM( **responses, int, 0, elem.i ) = cur_class; 162 if( responses ) 163 cvReleaseMat( responses );
|
ml_inner_functions.cpp | 630 cvPreprocessOrderedResponses( const CvMat* responses, const CvMat* sample_idx, int sample_all ) 643 if( !CV_IS_MAT(responses) ) 646 if( responses->rows != 1 && responses->cols != 1 ) 649 if( responses->rows + responses->cols - 1 != sample_count ) 653 r_type = CV_MAT_TYPE(responses->type); 657 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1 1755 int* responses; local [all...] |
_ml.h | 289 const CvMat* responses, int response_type, 342 CvMat* cvPreprocessOrderedResponses( const CvMat* responses, 345 CvMat* cvPreprocessCategoricalResponses( const CvMat* responses,
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/ |
RecordingReceiver.java | 27 * Records received HTTP responses so they can be later retrieved by tests. 32 private final List<RecordedResponse> responses = new ArrayList<RecordedResponse>(); field in class:RecordingReceiver 35 responses.add(new RecordedResponse(failure.request(), null, null, failure)); 40 responses.add(new RecordedResponse( 52 for (RecordedResponse recordedResponse : responses) {
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
QuickResponseActivity.java | 37 * This presents the user with list if quick responses to be populated in an email 67 // Populate responses 68 String[] responses = Utils.getQuickResponses(this); local 69 Arrays.sort(responses); 72 mResponses = new String[responses.length + 1]; 74 for (i = 0; i < responses.length; i++) { 75 mResponses[i] = responses[i];
|
/system/security/keystore/ |
keystore_cli.cpp | 30 static const char* responses[] = { variable 55 printf(#cmd ": %s (%d)\n", responses[ret], ret); \ 73 printf(#cmd ": %s (%d)\n", responses[ret], ret); \ 96 printf(#cmd ": %s (%d)\n", responses[ret], ret); \ 117 printf(#cmd ": %s (%d)\n", responses[ret], ret); \ 137 fprintf(stderr, "%s: " #cmd ": %s (%d)\n", argv[0], responses[ret], ret); \ 155 fprintf(stderr, "saw: %s (%d)\n", responses[ret], ret);
|
/external/chromium_org/components/autofill/core/browser/ |
autofill_download_unittest.cc | 58 // AutofillDownloadManager. Then it records responses to different initiated 61 // go over the wire, but allow calling back HTTP responses directly. 62 // The responses in test are out of order and verify: successful query request, 215 const char *responses[] = { local 234 FakeOnURLFetchComplete(fetcher, 200, std::string(responses[1])); 242 FakeOnURLFetchComplete(fetcher, 404, std::string(responses[2])); 246 FakeOnURLFetchComplete(fetcher, 200, std::string(responses[0])); 270 EXPECT_EQ(responses[0], responses_.front().response); 300 FakeOnURLFetchComplete(fetcher, 500, std::string(responses[0])); 325 FakeOnURLFetchComplete(fetcher, 503, std::string(responses[2])) 384 const char *responses[] = { local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SplitTouchView.java | 56 String[] responses = getResources().getStringArray(R.array.cheese_responses); 57 String response = responses[responseIndex++ % responses.length];
|
/external/openssh/ |
auth-bsdauth.c | 91 bsdauth_respond(void *ctx, u_int numresponses, char **responses) 105 authok = auth_userresponse(authctxt->as, responses[0], 0); 107 debug3("bsdauth_respond: <%s> = <%d>", responses[0], authok);
|
auth-skey.c | 75 skey_respond(void *ctx, u_int numresponses, char **responses) 82 skey_passcheck(authctxt->pw->pw_name, responses[0]) != -1)
|
/external/chromium/chrome/browser/autofill/ |
autofill_download_unittest.cc | 43 // AutofillDownloadManager. Then it records responses to different initiated 46 // go over the wire, but allow calling back HTTP responses directly. 47 // The responses in test are out of order and verify: successful query request, 222 const char *responses[] = { local 244 std::string(responses[1])); 254 std::string(responses[2])); 260 std::string(responses[0])); 284 EXPECT_EQ(responses[0], helper.responses_.front().response); 319 std::string(responses[0])); 346 std::string(responses[2])) 419 const char *responses[] = { local [all...] |
/frameworks/base/core/java/android/net/arp/ |
ArpPeer.java | 152 int responses = 0; local 154 if(peer.doArp(timeoutMillis) != null) responses++; 156 if (DBG) Log.d(TAG, "ARP test result: " + responses + "/" + numArpPings); 157 success = (responses >= minArpResponses);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
FakeHttpLayer.java | 74 * @param responses A list of responses that are returned to matching requests in order from first to last. 76 public void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) { 77 addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, responses)); 110 throw new RuntimeException("Unexpected call to execute, no pending responses are available. See Robolectric.addPendingResponse(). Request was: " + 191 private List<? extends HttpResponse> responses; field in class:FakeHttpLayer.RequestMatcherResponseRule 208 public RequestMatcherResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) { 210 this.responses = responses; 225 if (responses.isEmpty()) [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/transport/ |
MockTransport.java | 65 Transaction(String pattern, String[] responses) { 68 mResponses = responses; 124 * @param responses Strings to reply with 126 public void expect(String pattern, String[] responses) { 127 Transaction pair = new Transaction(pattern, responses); 135 public void expectLiterally(String literal, String[] responses) { 136 expect("^" + Pattern.quote(literal) + "$", responses); 245 * supports banners, multi-line responses, and any other cases where we respond without 304 * If the string was expected, we push the corresponding responses into the mQueuedInput
|
/packages/services/Telephony/src/com/android/phone/ |
RejectWithTextMessageManager.java | 53 // Preference keys for the 4 "canned responses"; see RespondViaSmsManager$Settings. 64 * Read the (customizable) canned responses from SharedPreferences, 80 final ArrayList<String> responses = new ArrayList<String>(NUM_CANNED_RESPONSES); local 85 responses.add(0, prefs.getString(KEY_CANNED_RESPONSE_PREF_1, 87 responses.add(1, prefs.getString(KEY_CANNED_RESPONSE_PREF_2, 89 responses.add(2, prefs.getString(KEY_CANNED_RESPONSE_PREF_3, 91 responses.add(3, prefs.getString(KEY_CANNED_RESPONSE_PREF_4, 93 return responses;
|
/external/chromium_org/remoting/host/ |
pam_authorization_factory_posix.cc | 41 struct pam_response** responses, 126 struct pam_response** responses, 130 *responses = static_cast<struct pam_response*>(
|
/external/wpa_supplicant_8/src/radius/ |
radius_client.h | 87 * responses - radiusAccClientResponses 89 u32 responses; member in struct:hostapd_radius_server
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/auth/ |
AuthenticationManager.java | 383 String[] responses; local 387 responses = cb.replyToChallenge(pui.getName(), pui.getInstruction(), pui.getNumPrompts(), pui 395 if (responses == null) 398 PacketUserauthInfoResponse puir = new PacketUserauthInfoResponse(responses);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
BaseHTTPServer.py | 226 # The default request version. This only affects responses up until 358 short, long = self.responses[code] 387 if code in self.responses: 388 message = self.responses[code][0] 512 responses = { variable in class:BaseHTTPRequestHandler 570 502: ('Bad Gateway', 'Invalid responses from another server/proxy.'),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
BaseHTTPServer.py | 226 # The default request version. This only affects responses up until 358 short, long = self.responses[code] 387 if code in self.responses: 388 message = self.responses[code][0] 512 responses = { variable in class:BaseHTTPRequestHandler 570 502: ('Bad Gateway', 'Invalid responses from another server/proxy.'),
|
/cts/tests/tests/net/src/android/net/http/cts/ |
ApacheHttpClientTest.java | 104 List<HttpResponse> responses = new ArrayList<HttpResponse>(); local 109 responses.add(response); 113 assertDownloadResponse("Download " + i, SMALL_DOWNLOAD_SIZE, responses.get(i));
|
/external/chromium_org/third_party/openssl/openssl/crypto/ocsp/ |
ocsp_cl.c | 222 return sk_OCSP_SINGLERESP_num(bs->tbsResponseData->responses); 230 return sk_OCSP_SINGLERESP_value(bs->tbsResponseData->responses, idx); 243 sresp = bs->tbsResponseData->responses; 297 /* Maybe check for multiple responses and give an error? */ 308 * Also to avoid accepting very old responses without a nextUpdate field an optional maxage
|
ocsp_prn.c | 230 if (BIO_printf(bp,"\n Responses:\n") <= 0) goto err; 231 for (i = 0; i < sk_OCSP_SINGLERESP_num(rd->responses); i++) 233 if (! sk_OCSP_SINGLERESP_value(rd->responses, i)) continue; 234 single = sk_OCSP_SINGLERESP_value(rd->responses, i);
|
ocsp_srv.c | 68 /* Utility functions related to sending OCSP responses and extracting 134 if(!rsp->tbsResponseData->responses && 135 !(rsp->tbsResponseData->responses = sk_OCSP_SINGLERESP_new_null())) 188 if (!(sk_OCSP_SINGLERESP_push(rsp->tbsResponseData->responses, single)))
|