/external/srtp/crypto/hash/ |
auth.c | 87 auth_test_case_t *test_case = at->test_data; local 100 if (test_case == NULL) 104 while (test_case != NULL) { 107 if (test_case->tag_length_octets > SELF_TEST_TAG_BUF_OCTETS) 111 status = auth_type_alloc(at, &a, test_case->key_length_octets, 112 test_case->tag_length_octets); 117 status = auth_init(a, test_case->key); 124 octet_string_set_to_zero(tag, test_case->tag_length_octets); 125 status = auth_compute(a, test_case->data, 126 test_case->data_length_octets, tag) [all...] |
/external/srtp/crypto/test/ |
sha1_driver.c | 72 hash_test_case_t *test_case; local 75 test_case = malloc(sizeof(hash_test_case_t)); 76 if (test_case == NULL) 79 tmp_len = hex_string_to_octet_string((char *)test_case->data, hex_data, data_len*2); 83 tmp_len = hex_string_to_octet_string((char *)test_case->hash, hex_hash, hash_len*2); 87 test_case->data_len = data_len; 88 test_case->hash_len = hash_len; 91 test_case->next_test_case = list_head; 92 *list_ptr = test_case; 98 sha1_test_case_validate(const hash_test_case_t *test_case) { 491 hash_test_case_t *test_case; local [all...] |
/external/google-breakpad/src/processor/ |
static_map_unittest.cc | 187 void IteratorTester(int test_case) { 189 iter_test = test_map[test_case].begin(); 190 iter_std = std_map[test_case].begin(); 192 for (; iter_test != test_map[test_case].end() && 193 iter_std != std_map[test_case].end(); 198 ASSERT_TRUE(iter_test == test_map[test_case].end() 199 && iter_std == std_map[test_case].end()); 202 if (!std_map[test_case].empty()) { 204 iter_test = test_map[test_case].end(); 205 iter_std = std_map[test_case].end() 315 int test_case = 0; local 332 int test_case = 1; local 349 int test_case = 2; local 366 int test_case = 3; local [all...] |
static_range_map_unittest.cc | 193 void RunTestCase(int test_case); 352 void TestStaticRangeMap::RunTestCase(int test_case) { 357 const RangeTest* range_tests = range_test_sets[test_case].range_tests; 358 unsigned int range_test_count = range_test_sets[test_case].range_test_count; 387 RetrieveIndexTest(static_range_map.get(), test_case); 391 int test_case = 0; local 392 RunTestCase(test_case); 396 int test_case = 1; local 397 RunTestCase(test_case); 401 int test_case = 2 local 406 int test_case = 3; local 411 int test_case = 0; local [all...] |
/external/srtp/crypto/cipher/ |
cipher.c | 85 const cipher_test_case_t *test_case = ct->test_data; local 100 if (test_case == NULL) 107 while (test_case != NULL) { 110 status = cipher_type_alloc(ct, &c, test_case->key_length_octets); 120 status = cipher_init(c, test_case->key, direction_encrypt); 127 if (test_case->ciphertext_length_octets > SELF_TEST_BUF_OCTETS) { 131 for (i=0; i < test_case->plaintext_length_octets; i++) 132 buffer[i] = test_case->plaintext[i]; 136 test_case->plaintext_length_octets)); 139 status = cipher_set_iv(c, test_case->idx) [all...] |
/external/protobuf/python/google/protobuf/internal/ |
test_util.py | 371 def ExpectAllFieldsSet(test_case, message): 373 test_case.assertTrue(message.HasField('optional_int32')) 374 test_case.assertTrue(message.HasField('optional_int64')) 375 test_case.assertTrue(message.HasField('optional_uint32')) 376 test_case.assertTrue(message.HasField('optional_uint64')) 377 test_case.assertTrue(message.HasField('optional_sint32')) 378 test_case.assertTrue(message.HasField('optional_sint64')) 379 test_case.assertTrue(message.HasField('optional_fixed32')) 380 test_case.assertTrue(message.HasField('optional_fixed64')) 381 test_case.assertTrue(message.HasField('optional_sfixed32') [all...] |
/external/google-breakpad/src/testing/gtest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
gtest_shuffle_test.py | 124 test_case = test.split('.')[0] 125 if not test_case in test_cases: 126 test_cases.append(test_case) 249 [test_case, _] = test.split('.') 250 if test_cases and test_cases[-1] != test_case: 251 test_cases.append(test_case) 252 self.assertEqual(1, test_cases.count(test_case), 254 (test_case, tests))
|
/external/gtest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
gtest_shuffle_test.py | 123 test_case = test.split('.')[0] 124 if not test_case in test_cases: 125 test_cases.append(test_case) 248 [test_case, _] = test.split('.') 249 if test_cases and test_cases[-1] != test_case: 250 test_cases.append(test_case) 251 self.assertEqual(1, test_cases.count(test_case), 253 (test_case, tests))
|
/external/protobuf/gtest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 147 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 148 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 280 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
gtest_shuffle_test.py | 123 test_case = test.split('.')[0] 124 if not test_case in test_cases: 125 test_cases.append(test_case) 248 [test_case, _] = test.split('.') 249 if test_cases and test_cases[-1] != test_case: 250 test_cases.append(test_case) 251 self.assertEqual(1, test_cases.count(test_case), 253 (test_case, tests))
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest-unittest-api_test.cc | 76 const TestCase* test_case = unit_test.GetTestCase(i); local 77 if (0 == strcmp(test_case->name(), name)) 78 return test_case; 86 static TestInfo const** const GetSortedTests(const TestCase* test_case) { 88 new const TestInfo*[test_case->total_test_count()]; 90 for (int i = 0; i < test_case->total_test_count(); ++i) 91 tests[i] = test_case->GetTestInfo(i); 93 std::sort(tests, tests + test_case->total_test_count(), 148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local 149 ASSERT_TRUE(test_case != NULL) 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
/external/chromium-trace/catapult/third_party/typ/typ/tests/ |
test_case_test.py | 15 from typ import test_case namespace 18 class TestFuncs(test_case.MainTestCase): 21 cn = test_case.convert_newlines 29 class TestMainTestCase(test_case.MainTestCase):
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/detail/ |
fwd_decl.hpp | 26 class test_case;
|
/external/v8/build/android/pylib/linker/ |
setup.py | 10 from pylib.linker import test_case namespace 30 test_case.LinkerSharedRelroTest(is_modern_linker=False, 32 test_case.LinkerSharedRelroTest(is_modern_linker=False, 36 test_case.LinkerSharedRelroTest(is_modern_linker=True),
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
unit_test_suite_impl.hpp | 12 // Description : defines test_unit, test_case, test_case_results, test_suite and test_tree_visitor 100 // ************** test_case ************** // 103 class BOOST_TEST_DECL test_case : public test_unit { class in namespace:boost::unit_test 108 test_case( const_string tc_name, callback0<> const& test_func ); 115 ~test_case() {} 176 virtual void visit( test_case const& ) {} 188 BOOST_TEST_DECL void traverse_test_tree( test_case const&, test_tree_visitor& ); 198 traverse_test_tree( static_cast<test_case const&>( tu ), V ); 217 virtual void visit( test_case const& ); 252 inline test_case* [all...] |
/external/bsdiff/ |
extents_unittest.cc | 41 for (const char* test_case : test_cases) { 43 EXPECT_FALSE(ParseExtentStr(test_case, &extents)) << "while testing case \"" 44 << test_case << "\"";
|
/external/sfntly/cpp/src/test/ |
cmap_test.cc | 104 ::std::ostream& operator<<(::std::ostream& os, const CMapTestCase *test_case) { 106 << test_case->font_name() << ", " 107 << test_case->first_platform_id() << ", " 108 << test_case->first_encoding_id() << ", " 109 << test_case->first_charset_name() << ", " 110 << test_case->second_platform_id() << ", " 111 << test_case->second_encoding_id() << ", " 112 << test_case->second_charset_name() << ", " 113 << test_case->low_char() << ", " 114 << test_case->high_char() << ")" [all...] |
/external/google-breakpad/src/testing/gtest/samples/ |
sample9_unittest.cc | 143 const TestCase& test_case = *unit_test.GetTestCase(i); local 144 for (int j = 0; j < test_case.total_test_count(); ++j) { 145 const TestInfo& test_info = *test_case.GetTestInfo(j);
|
/external/protobuf/gtest/samples/ |
sample9_unittest.cc | 143 const TestCase& test_case = *unit_test.GetTestCase(i); local 144 for (int j = 0; j < test_case.total_test_count(); ++j) { 145 const TestInfo& test_info = *test_case.GetTestInfo(j);
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/ |
sample9_unittest.cc | 143 const TestCase& test_case = *unit_test.GetTestCase(i); local 144 for (int j = 0; j < test_case.total_test_count(); ++j) { 145 const TestInfo& test_info = *test_case.GetTestInfo(j);
|
/ndk/sources/third_party/googletest/googletest/samples/ |
sample9_unittest.cc | 143 const TestCase& test_case = *unit_test.GetTestCase(i); local 144 for (int j = 0; j < test_case.total_test_count(); ++j) { 145 const TestInfo& test_info = *test_case.GetTestInfo(j);
|
/external/autotest/server/site_tests/android_ACTS/ |
android_ACTS.py | 53 test_case=None, test_file=None): 56 Exactly one of test_case and test_file should be provided. 62 @param test_case: A string that's passed to act.py's -tc option. 78 if test_case: 79 act_cmd = '%s -tc %s' % (act_base_cmd, test_case) 105 self.job.record(verdict, None, test_case, status=(details or ''))
|