Lines Matching refs:idx
13 uint32_t idx = 0; in test_snapshot_should_not_leak_memory() local
23 for(idx = 0; idx < NUM_SNAPSHOTS; idx++) { in test_snapshot_should_not_leak_memory()
24 snapshots[idx] = lv_snapshot_take(lv_screen_active(), LV_COLOR_FORMAT_NATIVE_WITH_ALPHA); in test_snapshot_should_not_leak_memory()
25 TEST_ASSERT_NOT_NULL(snapshots[idx]); in test_snapshot_should_not_leak_memory()
28 for(idx = 0; idx < NUM_SNAPSHOTS; idx++) { in test_snapshot_should_not_leak_memory()
29 lv_draw_buf_destroy(snapshots[idx]); in test_snapshot_should_not_leak_memory()
40 uint32_t idx = 0; in test_snapshot_with_transform_should_not_leak_memory() local
55 for(idx = 0; idx < NUM_SNAPSHOTS; idx++) { in test_snapshot_with_transform_should_not_leak_memory()
56 snapshots[idx] = lv_snapshot_take(lv_screen_active(), LV_COLOR_FORMAT_NATIVE_WITH_ALPHA); in test_snapshot_with_transform_should_not_leak_memory()
57 TEST_ASSERT_NOT_NULL(snapshots[idx]); in test_snapshot_with_transform_should_not_leak_memory()
60 for(idx = 0; idx < NUM_SNAPSHOTS; idx++) { in test_snapshot_with_transform_should_not_leak_memory()
61 lv_draw_buf_destroy(snapshots[idx]); in test_snapshot_with_transform_should_not_leak_memory()