/external/chromium_org/third_party/libsrtp/srtp/crypto/hash/ |
auth.c | 87 const auth_test_case_t *test_case = 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/chromium_org/components/autofill/core/browser/ |
autofill_regexes_unittest.cc | 38 const TestCase& test_case = kPositiveCases[i]; local 39 SCOPED_TRACE(test_case.input); 40 SCOPED_TRACE(test_case.pattern); 41 EXPECT_TRUE(autofill::MatchesPattern(ASCIIToUTF16(test_case.input), 42 ASCIIToUTF16(test_case.pattern))); 58 const TestCase& test_case = kNegativeCases[i]; local 59 SCOPED_TRACE(test_case.input); 60 SCOPED_TRACE(test_case.pattern); 61 EXPECT_FALSE(autofill::MatchesPattern(ASCIIToUTF16(test_case.input), 62 ASCIIToUTF16(test_case.pattern))) [all...] |
/external/chromium_org/third_party/libsrtp/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) { 506 hash_test_case_t *test_case; local [all...] |
/external/chromium_org/third_party/libsrtp/srtp/crypto/cipher/ |
cipher.c | 85 const cipher_test_case_t *test_case = 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/chromium_org/net/android/tools/ |
proxy_test_cases.py | 287 for test_case in test_cases: 288 print ("TEST_F(ProxyConfigServiceAndroidTest, %s) {" % test_case["name"]) 289 if "description" in test_case: 290 self._GenerateDescription(test_case["description"]); 291 self._GenerateConfiguration(test_case["properties"]) 292 self._GenerateMappings(test_case["mappings"]) 313 for test_case in test_cases: 314 if test_case.has_key("cpp-only"): 316 if "description" in test_case: 317 self._GenerateDescription(test_case["description"]) [all...] |
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
test_util.py | 367 def ExpectAllFieldsSet(test_case, message): 369 test_case.assertTrue(message.HasField('optional_int32')) 370 test_case.assertTrue(message.HasField('optional_int64')) 371 test_case.assertTrue(message.HasField('optional_uint32')) 372 test_case.assertTrue(message.HasField('optional_uint64')) 373 test_case.assertTrue(message.HasField('optional_sint32')) 374 test_case.assertTrue(message.HasField('optional_sint64')) 375 test_case.assertTrue(message.HasField('optional_fixed32')) 376 test_case.assertTrue(message.HasField('optional_fixed64')) 377 test_case.assertTrue(message.HasField('optional_sfixed32') [all...] |
/external/chromium_org/net/ftp/ |
ftp_directory_listing_parser_unittest.h | 40 const SingleLineTestData& test_case, 45 EXPECT_EQ(test_case.type, entry.type); 46 EXPECT_EQ(base::UTF8ToUTF16(test_case.filename), entry.name); 47 EXPECT_EQ(test_case.size, entry.size); 53 EXPECT_EQ(test_case.year, time_exploded.year); 54 EXPECT_EQ(test_case.month, time_exploded.month); 55 EXPECT_EQ(test_case.day_of_month, time_exploded.day_of_month); 56 EXPECT_EQ(test_case.hour, time_exploded.hour); 57 EXPECT_EQ(test_case.minute, time_exploded.minute);
|
/external/chromium_org/chrome/test/ppapi/ |
ppapi_test.h | 47 const std::string& test_case) = 0; 50 GURL GetTestFileUrl(const std::string& test_case); 51 virtual void RunTest(const std::string& test_case); 52 virtual void RunTestViaHTTP(const std::string& test_case); 53 virtual void RunTestWithSSLServer(const std::string& test_case); 54 virtual void RunTestWithWebSocketServer(const std::string& test_case); 55 virtual void RunTestIfAudioOutputAvailable(const std::string& test_case); 57 const std::string& test_case); 84 // Gets the URL of the the given |test_case| for the given HTTP test server. 87 const std::string& test_case, [all...] |
ppapi_test.cc | 152 GURL PPAPITestBase::GetTestFileUrl(const std::string& test_case) { 157 test_path = test_path.Append(FILE_PATH_LITERAL("test_case.html")); 165 std::string query = BuildQuery(std::string(), test_case); 170 void PPAPITestBase::RunTest(const std::string& test_case) { 171 GURL url = GetTestFileUrl(test_case); 175 void PPAPITestBase::RunTestViaHTTP(const std::string& test_case) { 184 RunTestURL(GetTestURL(http_server, test_case, std::string())); 187 void PPAPITestBase::RunTestWithSSLServer(const std::string& test_case) { 205 test_case, 209 void PPAPITestBase::RunTestWithWebSocketServer(const std::string& test_case) { [all...] |
/external/chromium_org/chrome/android/host_driven_tests/ |
DummyTest.py | 11 from pylib.host_driven import test_case namespace 15 class DummyTest(test_case.HostDrivenTestCase):
|
/external/chromium_org/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** 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/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...] |
/external/chromium_org/chrome/browser/chromeos/net/ |
onc_utils_unittest.cc | 31 base::DictionaryValue* test_case; local 32 (*it)->GetAsDictionary(&test_case); 35 test_case->GetDictionary("ONC_ProxySettings", &onc_proxy_settings); 38 test_case->GetDictionary("ProxyConfig", &expected_proxy_config);
|
/external/chromium_org/content/test/ |
fileapi_test_file_set.cc | 42 const FileSystemTestCaseRecord& test_case) { 43 base::FilePath path = root_path.Append(test_case.path); 44 if (test_case.is_directory) { 51 if (test_case.data_file_size) { 52 std::string content = base::RandBytesAsString(test_case.data_file_size); 53 EXPECT_LE(test_case.data_file_size, kint32max);
|
/external/chromium_org/content/test/ppapi/ |
ppapi_test.h | 52 const std::string& test_case) = 0; 55 GURL GetTestFileUrl(const std::string& test_case); 56 virtual void RunTest(const std::string& test_case); 60 virtual void RunTestAndReload(const std::string& test_case); 77 const std::string& test_case) OVERRIDE;
|
/external/chromium_org/build/android/pylib/gtest/ |
test_package.py | 92 test_case = test.split()[0] 93 if test_case.endswith('.'): 94 current = test_case
|
/external/chromium_org/base/test/ |
gtest_xml_util.h | 31 virtual void OnTestCaseStart(const testing::TestCase& test_case) OVERRIDE; 34 virtual void OnTestCaseEnd(const testing::TestCase& test_case) OVERRIDE;
|
/external/chromium_org/build/android/pylib/linker/ |
setup.py | 11 from pylib.linker import test_case namespace 26 test_case.LinkerLibraryAddressTest, 27 test_case.LinkerSharedRelroTest, 28 test_case.LinkerRandomizationTest ]
|
/external/chromium_org/ui/base/ime/win/ |
imm32_manager_unittest.cc | 73 const InputModeTestCase& test_case = GetParam(); local 78 IMM32Manager::ConvertInputModeToImmFlags(test_case.input_mode, 79 test_case.conversion_mode, 83 EXPECT_EQ(test_case.expected_open, open); 84 EXPECT_EQ(test_case.expected_conversion_mode, conversion_mode);
|
tsf_input_scope_unittest.cc | 106 const GetInputScopesTestCase& test_case = GetParam(); local 109 test_case.input_type, test_case.input_mode); 111 EXPECT_EQ(test_case.expected_size, input_scopes.size()); 112 for (size_t i = 0; i < test_case.expected_size; ++i) 113 EXPECT_EQ(test_case.expected_input_scopes[i], input_scopes[i]);
|
/external/chromium_org/chrome/browser/download/ |
download_item_model_unittest.cc | 179 const TestCase& test_case = kTestCases[i]; local 180 SetupInterruptedDownloadItem(test_case.reason); 181 EXPECT_STREQ(test_case.expected_status, 266 const TestCase& test_case = kTestCases[i]; local 267 SetupInterruptedDownloadItem(test_case.reason); 273 test_case.expected_tooltip, 339 const TestCase& test_case = kTestCases[i]; local 343 .WillRepeatedly(Return(test_case.received_bytes)); 345 .WillRepeatedly(Return(test_case.total_bytes)); 349 Return(test_case.time_remaining_known))) 411 const TestCase& test_case = kTestCases[i]; local [all...] |
/external/chromium_org/content/browser/shared_worker/ |
worker_browsertest.cc | 33 GURL GetTestURL(const std::string& test_case, const std::string& query) { 35 "workers", test_case.c_str()); 40 const std::string& test_case, 42 GURL url = GetTestURL(test_case, query); 50 void RunTest(const std::string& test_case, const std::string& query) { 51 RunTest(shell(), test_case, query); local
|
/cts/tests/tests/nativeopengl/standalone/jni/ |
GLTestHelper.cpp | 119 virtual void OnTestCaseStart(const TestCase& test_case) { 121 test_case.test_to_run_count(), 122 test_case.name()); 150 virtual void OnTestCaseEnd(const TestCase& test_case) { 152 test_case.test_to_run_count(), test_case.name(), 153 test_case.elapsed_time()); 168 const TestCase& test_case = *unit_test.GetTestCase(i); local 170 if (!test_case.should_run() || test_case.failed_test_count() == 0) [all...] |
/external/chromium_org/content/browser/fileapi/ |
dragged_file_util_unittest.cc | 262 const FileSystemTestCaseRecord& test_case = local 264 base::FilePath path(test_case.path); 276 SetUpOneFileSystemTestCase(toplevel_root_map_[toplevel], test_case); 296 const FileSystemTestCaseRecord& test_case = local 299 FileSystemURL url = GetFileSystemURL(base::FilePath(test_case.path)); 311 if (!test_case.is_directory) 312 ASSERT_EQ(test_case.data_file_size, info.size); 313 ASSERT_EQ(test_case.is_directory, info.is_directory); 314 ASSERT_EQ(GetTestCasePlatformPath(test_case.path), 330 const FileSystemTestCaseRecord& test_case = kUnregisteredCases[i] local 333 SetUpOneFileSystemTestCase(root_path(), test_case); local 345 const FileSystemTestCaseRecord& test_case = kUnregisteredCases[i]; local 355 const FileSystemTestCaseRecord& test_case = local 416 const FileSystemTestCaseRecord& test_case = local 501 const FileSystemTestCaseRecord& test_case = local 529 const FileSystemTestCaseRecord& test_case = local [all...] |
/external/chromium_org/chrome/test/nacl/ |
nacl_browsertest_util.h | 180 # define MAYBE_NONSFI(test_case) test_case 182 # define MAYBE_NONSFI(test_case) DISABLED_##test_case 188 # define MAYBE_PNACL_NONSFI(test_case) test_case 190 # define MAYBE_PNACL_NONSFI(test_case) DISABLED_##test_case
|