Searched refs:KERNEL_X (Results 1 – 2 of 2) sorted by relevance
/external/vboot_reference/tests/ |
D | cgptlib_test.c | 39 #define KERNEL_X 2 /* Overload ROOTFS_A, for some GetNext tests */ macro 1180 FillEntry(e1 + KERNEL_X, 1, 0, 1, 0); in GetNextPrioTest() 1207 FillEntry(e1 + KERNEL_X, 1, 4, 0, 1); in GetNextTriesTest() 1213 EXPECT(KERNEL_X == gpt->current_kernel); in GetNextTriesTest() 1233 FillEntry(e + KERNEL_X, 1, 2, 0, 2); in GptUpdateTest() 1280 EXPECT(KERNEL_X == gpt->current_kernel); in GptUpdateTest() 1281 EXPECT(0 == GetEntrySuccessful(e + KERNEL_X)); in GptUpdateTest() 1282 EXPECT(2 == GetEntryPriority(e + KERNEL_X)); in GptUpdateTest() 1283 EXPECT(2 == GetEntryTries(e + KERNEL_X)); in GptUpdateTest() 1286 EXPECT(0 == GetEntrySuccessful(e + KERNEL_X)); in GptUpdateTest() [all …]
|
/external/libyuv/files/util/ |
D | ssim.cc | 301 const int KERNEL_X = (image_width < KERNEL) ? image_width : KERNEL; in CalcSSIM() local 302 const int start_x = start_max(image_width - 8 + KERNEL_X, KERNEL_X); in CalcSSIM() 316 for (int i = 0; i < KERNEL_X; ++i) { in CalcSSIM() 319 for (int i = KERNEL_X; i < start_x; ++i) { in CalcSSIM() 340 for (int k = 0; k <= KERNEL_X + 1; ++k) { in CalcSSIM()
|