Home
last modified time | relevance | path

Searched refs:kSizes (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DTArrayTest.cpp76 static int kSizes[] = {0, 1, 5, 10, 15, 20, 25}; in test_swap() local
79 for (size_t dataSizeA = 0; dataSizeA < SK_ARRAY_COUNT(kSizes); ++dataSizeA) { in test_swap()
80 for (size_t dataSizeB = 0; dataSizeB < SK_ARRAY_COUNT(kSizes); ++dataSizeB) { in test_swap()
84 for (int i = 0; i < kSizes[dataSizeA]; ++i) { in test_swap()
87 for (int i = 0; i < kSizes[dataSizeB]; ++i) { in test_swap()
91 REPORTER_ASSERT(reporter, kSizes[dataSizeA] == b->count()); in test_swap()
92 REPORTER_ASSERT(reporter, kSizes[dataSizeB] == a->count()); in test_swap()
94 for (int i = 0; i < kSizes[dataSizeA]; ++i) { in test_swap()
97 for (int i = 0; i < kSizes[dataSizeB]; ++i) { in test_swap()
103 curr = kSizes[dataSizeA]; in test_swap()
[all …]
/external/skia/include/gpu/
DGrTypesPriv.h150 static const size_t kSizes[] = { in GrVertexAttribTypeSize() local
159 return kSizes[type]; in GrVertexAttribTypeSize()
168 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kSizes) == kGrVertexAttribTypeCount); in GrVertexAttribTypeSize()