Home
last modified time | relevance | path

Searched refs:kTests (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DPDFJpegEmbedTest.cpp122 } kTests[] = {{"CMYK.jpg", false, SkJFIFInfo::kGrayscale}, in DEF_TEST() local
127 for (size_t i = 0; i < SK_ARRAY_COUNT(kTests); ++i) { in DEF_TEST()
129 load_resource(r, "JpegIdentification", kTests[i].path)); in DEF_TEST()
135 if (isJfif != kTests[i].isJfif) { in DEF_TEST()
136 ERRORF(r, "%s failed isJfif test", kTests[i].path); in DEF_TEST()
142 if (kTests[i].type != info.fType) { in DEF_TEST()
143 ERRORF(r, "%s failed jfif type test", kTests[i].path); in DEF_TEST()
146 INFOF(r, "\nJpegIdentification: %s [%d x %d]\n", kTests[i].path, in DEF_TEST()
/external/webrtc/webrtc/base/
Dstringencode_unittest.cc24 } kTests[] = { in TEST() local
38 for (size_t i = 0; kTests[i].encoded; ++i) { in TEST()
40 ASSERT_EQ(kTests[i].enclen, utf8_decode(kTests[i].encoded, in TEST()
41 kTests[i].encsize, in TEST()
43 unsigned long result = (kTests[i].enclen == 0) ? 0 : kTests[i].decoded; in TEST()
46 if (kTests[i].decoded == 0) { in TEST()
53 ASSERT_EQ(kTests[i].enclen, utf8_encode(buffer, in TEST()
54 kTests[i].encsize, in TEST()
55 kTests[i].decoded)); in TEST()
56 ASSERT_TRUE(memcmp(buffer, kTests[i].encoded, kTests[i].enclen) == 0); in TEST()
[all …]
/external/boringssl/src/crypto/hkdf/
Dhkdf_test.c37 static const hkdf_test_vector_t kTests[] = { variable
221 for (i = 0; i < sizeof(kTests) / sizeof(kTests[0]); i++) { in main()
222 const hkdf_test_vector_t *test = &kTests[i]; in main()
/external/ceres-solver/internal/ceres/
Dnumeric_diff_test_utils.cc108 } kTests[] = { in ExpectCostFunctionEvaluationIsNearlyCorrect() local
129 for (int k = 0; k < CERES_ARRAYSIZE(kTests); ++k) { in ExpectCostFunctionEvaluationIsNearlyCorrect()
130 double *x1 = &(kTests[k].x1[0]); in ExpectCostFunctionEvaluationIsNearlyCorrect()
131 double *x2 = &(kTests[k].x2[0]); in ExpectCostFunctionEvaluationIsNearlyCorrect()