/external/srtp/crypto/hash/ |
H A D | 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 [all...] |
/external/srtp/crypto/test/ |
H A D | 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) { argument 491 hash_test_case_t *test_case; local [all...] |
/external/srtp/crypto/cipher/ |
H A D | 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 [all...] |
/external/protobuf/python/google/protobuf/internal/ |
H A D | test_util.py | 355 def ExpectAllFieldsSet(test_case, message): 357 test_case.assertTrue(message.HasField('optional_int32')) 358 test_case.assertTrue(message.HasField('optional_int64')) 359 test_case.assertTrue(message.HasField('optional_uint32')) 360 test_case.assertTrue(message.HasField('optional_uint64')) 361 test_case.assertTrue(message.HasField('optional_sint32')) 362 test_case.assertTrue(message.HasField('optional_sint64')) 363 test_case.assertTrue(message.HasField('optional_fixed32')) 364 test_case.assertTrue(message.HasField('optional_fixed64')) 365 test_case [all...] |
/external/chromium/testing/gtest/test/ |
H A D | 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) { argument 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 ! 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
H A D | 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/gtest/test/ |
H A D | 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) { argument 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 ! 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
H A D | 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/ |
H A D | 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) { argument 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 ! 211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local 280 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local [all...] |
H A D | gtest_shuffle_test.py | 129 test_case = test.split('.')[0] 130 if not test_case in test_cases: 131 test_cases.append(test_case) 254 [test_case, _] = test.split('.') 255 if test_cases and test_cases[-1] != test_case: 256 test_cases.append(test_case) 257 self.assertEqual(1, test_cases.count(test_case), 259 (test_case, tests))
|
/external/chromium/net/ftp/ |
H A D | ftp_directory_listing_parser_unittest.h | 41 const SingleLineTestData& test_case, 46 EXPECT_EQ(test_case.type, entry.type); 47 EXPECT_EQ(UTF8ToUTF16(test_case.filename), entry.name); 48 EXPECT_EQ(test_case.size, entry.size); 54 EXPECT_EQ(test_case.year, time_exploded.year); 55 EXPECT_EQ(test_case.month, time_exploded.month); 56 EXPECT_EQ(test_case.day_of_month, time_exploded.day_of_month); 57 EXPECT_EQ(test_case.hour, time_exploded.hour); 58 EXPECT_EQ(test_case.minute, time_exploded.minute); 40 VerifySingleLineTestCase( const SingleLineTestData& test_case, const std::vector<FtpDirectoryListingEntry>& entries) argument
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
H A D | logtesting.py | 48 def __init__(self, test_case): 52 test_case: A unittest.TestCase instance. 55 self._test_case = test_case 124 def setUp(test_case, logging_level=logging.INFO): 142 test_case: A unittest.TestCase instance. 147 stream = TestLogStream(test_case)
|
H A D | user_unittest.py | 89 for test_case in test_cases: 90 expected, inputs = test_case
|
/external/chromium/chrome/common/ |
H A D | json_value_serializer_perftest.cc | 33 std::string test_case; local 34 EXPECT_TRUE(file_util::ReadFileToString(filename, &test_case)); 35 test_cases_.push_back(test_case);
|
/external/chromium/testing/gtest/samples/ |
H A D | 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/gtest/samples/ |
H A D | 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/ |
H A D | 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/chromium/base/ |
H A D | time_win_unittest.cc | 191 int test_case = 0; local 192 while (cases[test_case].func) { 195 cases[test_case].func(); 204 printf("%s: %1.2fus per call\n", cases[test_case].description, 206 test_case++;
|
/external/webkit/Tools/Scripts/webkitpy/style/ |
H A D | main_unittest.py | 43 def __init__(self, test_case): 44 self._test_case = test_case
|
/external/chromium/base/test/ |
H A D | test_suite.cc | 102 const testing::TestCase& test_case = *instance->GetTestCase(i); local 103 for (int j = 0; j < test_case.total_test_count(); ++j) { 104 if (test_match(*test_case.GetTestInfo(j))) {
|
/external/chromium/chrome/browser/ |
H A D | enumerate_modules_model_unittest_win.cc | 25 ModuleEnumerator::Module test_case; member in struct:NormalizationEntryList 59 ModuleEnumerator::Module test = kNormalizationTestCases[i].test_case; 103 ModuleEnumerator::Module test_case; member in struct:MatchingEntryList 198 ModuleEnumerator::Module test = kMatchineEntryList[i].test_case; 212 string16 test_case; member in struct:CollapsePathList 231 module.location = kCollapsePathList[i].test_case;
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
H A D | gtest.cc | 217 static bool TestCasePassed(const TestCase* test_case) { argument 218 return test_case->should_run() && test_case->Passed(); 222 static bool TestCaseFailed(const TestCase* test_case) { argument 223 return test_case->should_run() && test_case->Failed(); 226 // Returns true iff test_case contains at least one test that should 228 static bool ShouldRunTestCase(const TestCase* test_case) { argument 229 return test_case->should_run(); 1729 const TestCase* const test_case local 2289 PrintTestName(const char * test_case, const char * test) argument 2334 OnTestCaseStart( const TestCase * test_case) argument 2737 PrintXmlTestCase(FILE* out, const TestCase* test_case) argument 3097 TestCase* const test_case = local 3223 TestCase * const test_case = test_case_node->element(); local 3260 const TestCase* const test_case = test_case_node->element(); local [all...] |
/external/chromium/testing/gtest/src/ |
H A D | gtest.cc | 324 static bool TestCasePassed(const TestCase* test_case) { argument 325 return test_case->should_run() && test_case->Passed(); 329 static bool TestCaseFailed(const TestCase* test_case) { argument 330 return test_case->should_run() && test_case->Failed(); 333 // Returns true iff test_case contains at least one test that should 335 static bool ShouldRunTestCase(const TestCase* test_case) { argument 336 return test_case->should_run(); 1953 const TestCase* const test_case local 2689 PrintTestName(const char * test_case, const char * test) argument 2757 OnTestCaseStart(const TestCase& test_case) argument 2809 OnTestCaseEnd(const TestCase& test_case) argument 2837 const TestCase& test_case = *unit_test.GetTestCase(i); local 3272 PrintXmlTestCase(FILE* out, const TestCase& test_case) argument 3371 OnTestCaseStart(const TestCase& test_case) argument 3375 OnTestCaseEnd(const TestCase& test_case) argument 4101 const std::vector<TestCase*>::const_iterator test_case = local 4390 TestCase* const test_case = test_cases_[i]; local 4433 const TestCase* const test_case = test_cases_[i]; local [all...] |
/external/gtest/src/ |
H A D | gtest.cc | 324 static bool TestCasePassed(const TestCase* test_case) { argument 325 return test_case->should_run() && test_case->Passed(); 329 static bool TestCaseFailed(const TestCase* test_case) { argument 330 return test_case->should_run() && test_case->Failed(); 333 // Returns true iff test_case contains at least one test that should 335 static bool ShouldRunTestCase(const TestCase* test_case) { argument 336 return test_case->should_run(); 1953 const TestCase* const test_case local 2689 PrintTestName(const char * test_case, const char * test) argument 2757 OnTestCaseStart(const TestCase& test_case) argument 2809 OnTestCaseEnd(const TestCase& test_case) argument 2837 const TestCase& test_case = *unit_test.GetTestCase(i); local 3272 PrintXmlTestCase(FILE* out, const TestCase& test_case) argument 3371 OnTestCaseStart(const TestCase& test_case) argument 3375 OnTestCaseEnd(const TestCase& test_case) argument 4101 const std::vector<TestCase*>::const_iterator test_case = local 4390 TestCase* const test_case = test_cases_[i]; local 4433 const TestCase* const test_case = test_cases_[i]; local [all...] |
/external/llvm/utils/unittest/googletest/ |
H A D | gtest.cc | 324 static bool TestCasePassed(const TestCase* test_case) { argument 325 return test_case->should_run() && test_case->Passed(); 329 static bool TestCaseFailed(const TestCase* test_case) { argument 330 return test_case->should_run() && test_case->Failed(); 333 // Returns true iff test_case contains at least one test that should 335 static bool ShouldRunTestCase(const TestCase* test_case) { argument 336 return test_case->should_run(); 1953 const TestCase* const test_case local 2661 PrintTestName(const char * test_case, const char * test) argument 2729 OnTestCaseStart(const TestCase& test_case) argument 2781 OnTestCaseEnd(const TestCase& test_case) argument 2809 const TestCase& test_case = *unit_test.GetTestCase(i); local 3244 PrintXmlTestCase(FILE* out, const TestCase& test_case) argument 3343 OnTestCaseStart(const TestCase& test_case) argument 3347 OnTestCaseEnd(const TestCase& test_case) argument 4069 const std::vector<TestCase*>::const_iterator test_case = local 4358 TestCase* const test_case = test_cases_[i]; local 4401 const TestCase* const test_case = test_cases_[i]; local [all...] |