Home
last modified time | relevance | path

Searched refs:kSizes (Results 1 – 3 of 3) 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/gm/
Dimagetoyuvplanes.cpp52 static const SkISize kSizes[][3] = { variable
67 for (size_t s = 0; s < SK_ARRAY_COUNT(kSizes); ++s) {
70 const SkISize *sizes = kSizes[s];
73 realRowBytes[i] = kRowBytes[s][i] ? kRowBytes[s][i] : kSizes[s][i].fWidth;
/external/skia/include/gpu/
DGrTypesPriv.h159 static const size_t kSizes[] = { in GrSLTypeSize() local
174 return kSizes[type]; in GrSLTypeSize()
248 static const size_t kSizes[] = { in GrVertexAttribTypeSize() local
259 return kSizes[type]; in GrVertexAttribTypeSize()
270 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kSizes) == kGrVertexAttribTypeCount); in GrVertexAttribTypeSize()