Home
last modified time | relevance | path

Searched refs:test_num (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/modes/
Dgcm_test.c259 unsigned test_num, const char *description) { in decode_hex() argument
271 fprintf(stderr, "%u: Odd-length %s input.\n", test_num, description); in decode_hex()
277 fprintf(stderr, "%u: malloc failure.\n", test_num); in decode_hex()
286 test_num, description, (unsigned)i); in decode_hex()
301 static int run_test_case(unsigned test_num, const struct test_case *test) { in run_test_case() argument
310 if (!decode_hex(&key, &key_len, test->key, test_num, "key") || in run_test_case()
311 !decode_hex(&plaintext, &plaintext_len, test->plaintext, test_num, in run_test_case()
314 test_num, "additional_data") || in run_test_case()
315 !decode_hex(&nonce, &nonce_len, test->nonce, test_num, "nonce") || in run_test_case()
316 !decode_hex(&ciphertext, &ciphertext_len, test->ciphertext, test_num, in run_test_case()
[all …]
/external/opencv3/modules/ml/test/
Dtest_gbttest.cpp22 int TestTrainPredict(int test_num);
25 int checkPredictError(int test_num);
78 int CV_GBTreesTest::TestTrainPredict(int test_num)
88 switch (test_num)
101 int dataset_num = test_num == 0 ? 0 : 1;
113 if (test_num == 0)
146 code = checkPredictError(test_num);
153 int CV_GBTreesTest::checkPredictError(int test_num)
165 if ( abs( current_error - mean[test_num]) > 6*sigma[test_num] )
169 current_error, mean[test_num], 6*sigma[test_num] );
/external/opencv3/modules/calib3d/test/
Dtest_chesscorners.cpp389 const int test_num = 16; in checkByGenerator() local
391 for(int i = 0; i < test_num; ++i) in checkByGenerator()
393 progress = update_progress( progress, i, test_num, 0 ); in checkByGenerator()