Home
last modified time | relevance | path

Searched refs:responses (Results 1 – 25 of 76) sorted by relevance

1234

/external/opencv/ml/src/
Dmltestset.cpp62 CvMat** responses, in cvCreateTestSet() argument
75 if( responses ) in cvCreateTestSet()
76 *responses = NULL; in cvCreateTestSet()
84 if( !responses ) in cvCreateTestSet()
106 CV_CALL( *responses = cvCreateMat( 1, num_samples, CV_32SC1 ) ); in cvCreateTestSet()
147 CV_MAT_ELEM( **responses, int, 0, elem.i ) = cur_class; in cvCreateTestSet()
162 if( responses ) in cvCreateTestSet()
163 cvReleaseMat( responses ); in cvCreateTestSet()
Dml_inner_functions.cpp630 cvPreprocessOrderedResponses( const CvMat* responses, const CvMat* sample_idx, int sample_all ) in cvPreprocessOrderedResponses() argument
643 if( !CV_IS_MAT(responses) ) in cvPreprocessOrderedResponses()
646 if( responses->rows != 1 && responses->cols != 1 ) in cvPreprocessOrderedResponses()
649 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessOrderedResponses()
653 r_type = CV_MAT_TYPE(responses->type); in cvPreprocessOrderedResponses()
657 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1; in cvPreprocessOrderedResponses()
659 if( r_type == CV_32FC1 && CV_IS_MAT_CONT(responses->type) && !sample_idx ) in cvPreprocessOrderedResponses()
661 out_responses = (CvMat*)responses; in cvPreprocessOrderedResponses()
681 const float* src = responses->data.fl; in cvPreprocessOrderedResponses()
691 const int* src = responses->data.i; in cvPreprocessOrderedResponses()
[all …]
Dmlboost.cpp248 const int* responses = data->get_class_labels(node); in find_split_ord_class() local
264 rcw[responses[idx]] -= w; in find_split_ord_class()
280 idx = responses[idx]; in find_split_ord_class()
304 idx = responses[idx]; in find_split_ord_class()
335 const int* responses = data->get_class_labels(node); in CV_IMPLEMENT_QSORT_EX() local
359 k = responses[i]; in CV_IMPLEMENT_QSORT_EX()
444 const float* responses = data->get_ord_responses(node); in find_split_ord_reg() local
457 rsum -= responses[idx]*w; in find_split_ord_reg()
466 double t = responses[idx]*w; in find_split_ord_reg()
492 const float* responses = data->get_ord_responses(node); in find_split_cat_reg() local
[all …]
Dmlsvm.cpp1317 const CvMat* responses, CvMemStorage* temp_storage, double* alpha ) in do_train() argument
1338 responses->data.i, 0, 0, temp_storage, alpha, df->rho )) in do_train()
1394 cvSortSamplesByClasses( samples, responses, class_ranges, 0 ); in do_train()
1529 CvMat* responses = 0; in train() local
1553 &responses, &class_labels, &var_idx )); in train()
1571 if( !do_train( svm_type, sample_count, var_count, samples, responses, temp_storage, alpha )) in train()
1581 cvReleaseMat( &responses ); in train()
1596 CvMat* responses = 0; in train_auto() local
1706 &responses, &class_labels, &var_idx )); in train_auto()
1730 size_t resp_elem_size = CV_ELEM_SIZE(responses->type); in train_auto()
[all …]
D_ml.h289 const CvMat* responses, int response_type,
342 CvMat* cvPreprocessOrderedResponses( const CvMat* responses,
345 CvMat* cvPreprocessCategoricalResponses( const CvMat* responses,
Dmltree.cpp679 float* responses, bool get_class_idx ) in get_vectors() argument
770 if( responses ) in get_vectors()
780 responses[i] = (float)val; in get_vectors()
789 responses[i] = src[idx]; in get_vectors()
1458 const int* responses = data->get_class_labels(node); in calc_node_dir() local
1465 double w = priors[responses[i]]; in calc_node_dir()
1497 const int* responses = data->get_class_labels(node); in calc_node_dir() local
1504 double w = priors[responses[idx]]; in calc_node_dir()
1512 double w = priors[responses[idx]]; in calc_node_dir()
1570 const int* responses = data->get_class_labels(node); in find_split_ord_class() local
[all …]
Dmlcnn.cpp55 const CvMat* responses, const CvStatModelParams* params,
63 const CvMat* responses,
169 CvMat* responses = 0;
185 &n_images, &img_size, &img_size, &responses,
194 CV_CALL( icvTrainCNNetwork( cnn_model->network, out_train_data, responses,
205 cvReleaseMat( &responses );
213 const CvMat* responses,
231 const int n_images = responses->cols;
256 int* right_etal_idx = responses->data.i;
294 cvGetRow( etalons, &etalon, responses->data.i[worst_img_idx] );
[all …]
Dmlknearest.cpp97 CvMat* responses = 0; in train() local
115 &_count, &_dims, &_dims_all, &responses, 0, 0 )); in train()
139 memcpy( _samples + 1, responses->data.fl, _rsize ); in train()
/external/chromium_org/components/autofill/core/browser/
Dautofill_download_manager_unittest.cc219 const char *responses[] = { in TEST_F() local
238 FakeOnURLFetchComplete(fetcher, 200, std::string(responses[1])); in TEST_F()
246 FakeOnURLFetchComplete(fetcher, 404, std::string(responses[2])); in TEST_F()
250 FakeOnURLFetchComplete(fetcher, 200, std::string(responses[0])); in TEST_F()
274 EXPECT_EQ(responses[0], responses_.front().response); in TEST_F()
304 FakeOnURLFetchComplete(fetcher, 500, std::string(responses[0])); in TEST_F()
329 FakeOnURLFetchComplete(fetcher, 503, std::string(responses[2])); in TEST_F()
387 const char *responses[] = { in TEST_F() local
419 FakeOnURLFetchComplete(fetcher, 200, std::string(responses[0])); in TEST_F()
421 EXPECT_EQ(responses[0], responses_.front().response); in TEST_F()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordingReceiver.java36 private final List<RecordedResponse> responses = new ArrayList<RecordedResponse>(); field in RecordingReceiver
39 responses.add(new RecordedResponse(failure.request(), null, null, failure)); in onFailure()
58 responses.add(new RecordedResponse( in onResponse()
77 for (Iterator<RecordedResponse> i = responses.iterator(); i.hasNext(); ) { in await()
94 for (RecordedResponse recordedResponse : responses) { in assertNoResponse()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayer.java76 …c void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) { in addHttpResponseRule() argument
77 addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, responses)); in addHttpResponseRule()
191 private List<? extends HttpResponse> responses; field in FakeHttpLayer.RequestMatcherResponseRule
208 …RequestMatcherResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) { in RequestMatcherResponseRule() argument
210 this.responses = responses; in RequestMatcherResponseRule()
225 if (responses.isEmpty()) { in getResponse()
228 return responses.remove(0); in getResponse()
/external/chromium_org/net/cert/
Dct_objects_extractor_openssl.cc98 bool FindMatchingSingleResponse(CBS* responses, in FindMatchingSingleResponse() argument
129 while (CBS_len(responses) > 0) { in FindMatchingSingleResponse()
131 if (!CBS_get_asn1(responses, &single_response, CBS_ASN1_SEQUENCE) || in FindMatchingSingleResponse()
299 CBS basic_response, response_data, responses; in ExtractSCTListFromOCSPResponse() local
319 !CBS_get_asn1(&response_data, &responses, CBS_ASN1_SEQUENCE)) { in ExtractSCTListFromOCSPResponse()
324 if (!FindMatchingSingleResponse(&responses, issuer, cert_serial_number, in ExtractSCTListFromOCSPResponse()
/external/okhttp/mockwebserver/
DREADME.md10 makes HTTP and HTTPS calls. It lets you specify which responses to return and
14 testing everything. You can even copy & paste HTTP responses from your real web
16 awkward-to-reproduce situations like 500 errors or slow-loading responses.
36 // Schedule some responses.
84 Mock responses default to an empty response body and a `200` status code.
116 By default MockWebServer uses a queue to specify a series of responses. Use a
/external/chromium_org/tools/memory_inspector/memory_inspector/unittest/mock_adb/
Dadb25 responses = json.load(f)
34 for (cmd, planned_response) in responses.iteritems():
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
DCacheTest.cpp484 MatchAllAndBatchTestCache(WebVector<WebServiceWorkerResponse>& responses) in MatchAllAndBatchTestCache() argument
485 : m_responses(responses) { } in MatchAllAndBatchTestCache()
523 …Vector<v8::Handle<v8::Value> > responses = toImplArray<v8::Handle<v8::Value> >(scriptValue.v8Value… in TEST_F() local
524 EXPECT_EQ(expectedUrls.size(), responses.size()); in TEST_F()
525 for (int i = 0, minsize = std::min(expectedUrls.size(), responses.size()); i < minsize; ++i) { in TEST_F()
526 Response* response = V8Response::toImplWithTypeCheck(isolate(), responses[i]); in TEST_F()
534responses = toImplArray<v8::Handle<v8::Value> >(scriptValue.v8Value(), 0, isolate(), exceptionStat… in TEST_F()
535 EXPECT_EQ(expectedUrls.size(), responses.size()); in TEST_F()
536 for (int i = 0, minsize = std::min(expectedUrls.size(), responses.size()); i < minsize; ++i) { in TEST_F()
537 Response* response = V8Response::toImplWithTypeCheck(isolate(), responses[i]); in TEST_F()
/external/llvm/test/Analysis/BasicAA/
D2007-08-01-NoAliasAndGEP.ll5 ; CHECK: 9 no alias responses
6 ; CHECK: 6 may alias responses
/external/chromium_org/content/renderer/service_worker/
Dservice_worker_cache_storage_dispatcher.cc110 const std::vector<ServiceWorkerResponse>& responses) { in WebResponsesFromResponses() argument
112 web_responses(responses.size()); in WebResponsesFromResponses()
113 for (size_t i = 0; i < responses.size(); ++i) in WebResponsesFromResponses()
114 PopulateWebResponseFromResponse(responses[i], &(web_responses[i])); in WebResponsesFromResponses()
389 const std::vector<ServiceWorkerResponse>& responses) { in OnCacheMatchAllSuccess() argument
394 web_responses = WebResponsesFromResponses(responses); in OnCacheMatchAllSuccess()
414 const std::vector<ServiceWorkerResponse>& responses) { in OnCacheBatchSuccess() argument
419 web_responses = WebResponsesFromResponses(responses); in OnCacheBatchSuccess()
/external/chromium_org/remoting/host/
Dpam_authorization_factory_posix.cc42 struct pam_response** responses,
131 struct pam_response** responses, in PamConversation() argument
135 *responses = static_cast<struct pam_response*>( in PamConversation()
/external/okhttp/
DCHANGELOG.md33 * Fix 1.5.0 regression where conditional cache responses could corrupt the
67 * Fix: Cache SPDY responses even if the response body is closed prematurely.
69 * Fix: Support Shoutcast HTTP responses like `ICY 200 OK`.
91 * Fix: Persist proper `Content-Encoding` header to cache for GZip responses.
113 * Fix bug when caching SPDY responses.
139 * Fix: ClassCastException when caching responses that were redirected from
/external/openssl/crypto/ocsp/
Docsp_srv.c134 if(!rsp->tbsResponseData->responses && in OCSP_basic_add1_status()
135 !(rsp->tbsResponseData->responses = sk_OCSP_SINGLERESP_new_null())) in OCSP_basic_add1_status()
188 if (!(sk_OCSP_SINGLERESP_push(rsp->tbsResponseData->responses, single))) in OCSP_basic_add1_status()
Docsp_cl.c222 return sk_OCSP_SINGLERESP_num(bs->tbsResponseData->responses); in OCSP_resp_count()
230 return sk_OCSP_SINGLERESP_value(bs->tbsResponseData->responses, idx); in OCSP_resp_get0()
243 sresp = bs->tbsResponseData->responses; in OCSP_resp_find()
Docsp_prn.c231 for (i = 0; i < sk_OCSP_SINGLERESP_num(rd->responses); i++) in OCSP_RESPONSE_print()
233 if (! sk_OCSP_SINGLERESP_value(rd->responses, i)) continue; in OCSP_RESPONSE_print()
234 single = sk_OCSP_SINGLERESP_value(rd->responses, i); in OCSP_RESPONSE_print()
/external/chromium_org/components/policy/core/common/cloud/
Dcomponent_cloud_policy_service.cc397 const CloudPolicyClient::ResponseMap& responses = in OnPolicyFetched() local
398 core_->client()->responses(); in OnPolicyFetched()
399 for (CloudPolicyClient::ResponseMap::const_iterator it = responses.begin(); in OnPolicyFetched()
400 it != responses.end(); ++it) { in OnPolicyFetched()
/external/chromium_org/base/files/
Dfile_path_watcher_kqueue.cc341 EventVector responses(last_entry); in Watch() local
344 &responses[0], last_entry, NULL)); in Watch()
345 if (!AreKeventValuesValid(&responses[0], count)) { in Watch()
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
Dinspector_network.py227 responses = self._inspector_network.GetResponseData()
228 events = [r.AsTimelineEvent() for r in list(responses)]

1234