Home
last modified time | relevance | path

Searched refs:testAlignment (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DUnpackAlignmentTest.cpp90 void testAlignment(int alignment, unsigned int offset, GLenum format, GLenum type) in testAlignment() function in __anon0e3b8f1e0111::UnpackAlignmentTest
140 testAlignment(1, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
145 testAlignment(1, 7 * 3, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
150 testAlignment(1, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
155 testAlignment(1, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
160 testAlignment(1, 7 * 2, GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P()
165 testAlignment(1, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
170 testAlignment(1, 7, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
175 testAlignment(1, 7, GL_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
180 testAlignment(2, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DUnpackAlignmentTest.cpp90 void testAlignment(int alignment, unsigned int offset, GLenum format, GLenum type) in testAlignment() function in __anon62d1b8330111::UnpackAlignmentTest
140 testAlignment(1, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
145 testAlignment(1, 7 * 3, GL_RGB, GL_UNSIGNED_BYTE); in TEST_P()
150 testAlignment(1, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4); in TEST_P()
155 testAlignment(1, 7 * 2, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1); in TEST_P()
160 testAlignment(1, 7 * 2, GL_RGB, GL_UNSIGNED_SHORT_5_6_5); in TEST_P()
165 testAlignment(1, 7 * 2, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
170 testAlignment(1, 7, GL_LUMINANCE, GL_UNSIGNED_BYTE); in TEST_P()
175 testAlignment(1, 7, GL_ALPHA, GL_UNSIGNED_BYTE); in TEST_P()
180 testAlignment(2, 7 * 4, GL_RGBA, GL_UNSIGNED_BYTE); in TEST_P()
[all …]
/third_party/gptfdisk/
Dgpt.cc216 uint32_t i, numSegments, testAlignment = sectorAlignment; in Verify() local
406 testAlignment = physBlockSize / blockSize; in Verify()
407 testAlignment = max(testAlignment, sectorAlignment); in Verify()
408 if (testAlignment == 0) // Should not happen; just being paranoid. in Verify()
409 testAlignment = sectorAlignment; in Verify()
411 if ((partitions[i].IsUsed()) && (partitions[i].GetFirstLBA() % testAlignment) != 0) { in Verify()
413 << testAlignment << "-sector boundary. This may\nresult " in Verify()
417 if ((partitions[i].IsUsed()) && ((partitions[i].GetLastLBA() + 1) % testAlignment) != 0) { in Verify()
419 << testAlignment << "-sector boundary. This may\nresult " in Verify()