/external/adhd/cras/src/tests/ |
H A D | checksum_unittest.cc | 17 static TestCase test_case[] = member in namespace:__anon757 26 for (size_t i = 0; i < ARRAY_SIZE(test_case); i++) { 27 const char *input = test_case[i].input; 28 uint32_t output = test_case[i].output;
|
/external/ltp/testcases/kernel/syscalls/clock_getres/ |
H A D | clock_getres01.c | 37 static struct test_case { struct
|
/external/pdfium/fxbarcode/oned/ |
H A D | BC_OnedCode128Writer_unittest.cpp | 36 const TestCase& test_case = kTestCases[i]; local 39 CBC_OnedCode128Writer::Encode128B(test_case.input, &patterns); 40 EXPECT_EQ(test_case.checksum, checksum); 41 ASSERT_EQ(test_case.num_patterns, patterns.size()); 45 EXPECT_EQ(test_case.patterns[j], patterns[j]); 69 const TestCase& test_case = kTestCases[i]; local 72 CBC_OnedCode128Writer::Encode128C(test_case.input, &patterns); 73 EXPECT_EQ(test_case.checksum, checksum); 74 ASSERT_EQ(test_case.num_patterns, patterns.size()); 78 EXPECT_EQ(test_case [all...] |
/external/ltp/testcases/kernel/syscalls/lgetxattr/ |
H A D | lgetxattr02.c | 49 static struct test_case { struct 61 struct test_case *tc = tcase + n;
|
/external/ltp/testcases/kernel/syscalls/listxattr/ |
H A D | listxattr02.c | 55 static struct test_case { struct 68 struct test_case *t = tc + n;
|
/external/ltp/testcases/kernel/syscalls/mq_unlink/ |
H A D | mq_unlink01.c | 35 struct test_case { struct 42 static struct test_case tcase[] = { 86 struct test_case *tc = &tcase[i];
|
/external/ltp/testcases/kernel/syscalls/removexattr/ |
H A D | removexattr02.c | 46 static struct test_case { struct 59 static void verify_removexattr(struct test_case *tc); 84 static void verify_removexattr(struct test_case *tc)
|
/external/nos/test/system-test-harness/src/ |
H A D | aes-cmac-tests.cc | 78 const cmac_data *test_case = &RFC4493_AES_CMAC_DATA[i]; local 80 request.set_key(test_case->K, sizeof(test_case->K)); 82 if (test_case->M_len > 0) { 83 request.set_plain_text(test_case->M, test_case->M_len); 103 for (size_t j = 0; j < sizeof(test_case->CMAC); j++) { 104 ASSERT_EQ(result.cmac()[j] & 0x00ff, test_case->CMAC[j] & 0x00ff);
|
H A D | cavptests.cc | 91 const gcm_data *test_case = &NIST_GCM_DATA[i]; local 94 request.set_key(test_case->key, test_case->key_len / 8); 95 request.set_iv(test_case->IV, test_case->IV_len / 8); 96 request.set_plain_text(test_case->PT, test_case->PT_len / 8); 97 request.set_aad(test_case->AAD, test_case->AAD_len / 8); 98 request.set_tag_len(test_case [all...] |
/external/pdfium/core/fpdfapi/parser/ |
H A D | fpdf_parser_decode_unittest.cpp | 101 const auto& test_case = test_data[i]; local 102 ByteString output = PDF_EncodeText(test_case.input); 103 ASSERT_EQ(test_case.expected_length, output.GetLength()) << "for case " 106 for (size_t j = 0; j < test_case.expected_length; ++j) { 107 EXPECT_EQ(test_case.expected_output[j], str_ptr[j]) << "for case " << i
|
/external/google-breakpad/src/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/googletest/googletest/samples/ |
H A D | sample9_unittest.cc | 140 const TestCase& test_case = *unit_test.GetTestCase(i); local 141 for (int j = 0; j < test_case.total_test_count(); ++j) { 142 const TestInfo& test_info = *test_case.GetTestInfo(j);
|
/external/ltp/testcases/kernel/syscalls/flistxattr/ |
H A D | flistxattr02.c | 49 static struct test_case { struct 60 struct test_case *t = tc + n;
|
/external/ltp/testcases/kernel/syscalls/kcmp/ |
H A D | kcmp01.c | 42 static struct test_case { struct 68 static void do_child(const struct test_case *test) 104 struct test_case *tc = &test_cases[n];
|
H A D | kcmp02.c | 49 static struct test_case { struct 85 struct test_case *test = &test_cases[n];
|
/external/ltp/testcases/kernel/syscalls/llistxattr/ |
H A D | llistxattr02.c | 54 static struct test_case { struct 67 struct test_case *t = tc + n;
|
/external/ltp/testcases/kernel/syscalls/request_key/ |
H A D | request_key02.c | 42 static struct test_case { struct 54 struct test_case *tc = tcases + n;
|
/external/ltp/testcases/kernel/syscalls/sched_getattr/ |
H A D | sched_getattr02.c | 47 static struct test_case { struct 61 static void sched_getattr_verify(const struct test_case *test); 65 static void sched_getattr_verify(const struct test_case *test)
|
/external/ltp/testcases/kernel/syscalls/utils/ |
H A D | mq_timed.h | 23 struct test_case { struct
|
/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/v8/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/vulkan-validation-layers/tests/gtest-1.7.0/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/libchrome/base/test/ |
H A D | gtest_util.cc | 40 const testing::TestCase* test_case = unit_test->GetTestCase(i); local 41 for (int j = 0; j < test_case->total_test_count(); ++j) { 42 const testing::TestInfo* test_info = test_case->GetTestInfo(j); 44 test_data.test_case_name = test_case->name();
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
H A D | clock_nanosleep01.c | 41 struct test_case { struct 57 static struct test_case tcase[] = { 99 struct test_case *tc = &tcase[i];
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
H A D | fchown02.c | 54 struct test_case { struct 70 static void verify_fchown(struct test_case *t)
|