Lines Matching refs:config
43 font_stress_config_t config; member
127 for(int i = 0; i < ctx->config.label_cnt; i++) { in font_stress_label_delete_all()
138 uint32_t label_index = lv_rand(0, ctx->config.label_cnt - 1); in font_stress_update()
139 uint32_t font_index = lv_rand(0, ctx->config.font_cnt - 1); in font_stress_update()
150 const char * pathname = ctx->config.font_name_arr[font_index]; in font_stress_update()
200 g_ctx.config.label_cnt = MAX_LABEL_CNT; in setUp()
201 g_ctx.label_arr = lv_malloc_zeroed(sizeof(lv_obj_t *) * g_ctx.config.label_cnt); in setUp()
223 g_ctx.config.loop_cnt = MAX_LOOP_CNT; in test_font_stress()
224 g_ctx.config.font_name_arr = font_name_arr; in test_font_stress()
225 g_ctx.config.font_cnt = sizeof(font_name_arr) / sizeof(font_name_arr[0]); in test_font_stress()
229 for(uint32_t i = 0; g_ctx.config.loop_cnt > 0; g_ctx.config.loop_cnt--) { in test_font_stress()
233 if(g_ctx.config.loop_cnt % CAPTURE_SKIP_FRAMES == 0) { in test_font_stress()
262 g_ctx.config.loop_cnt = MAX_LOOP_CNT; in test_font_manager_stress()
263 g_ctx.config.font_name_arr = font_name_arr; in test_font_manager_stress()
264 g_ctx.config.font_cnt = sizeof(font_name_arr) / sizeof(font_name_arr[0]); in test_font_manager_stress()
268 for(uint32_t i = 0; g_ctx.config.loop_cnt > 0; g_ctx.config.loop_cnt--) { in test_font_manager_stress()
272 if(g_ctx.config.loop_cnt % CAPTURE_SKIP_FRAMES == 0) { in test_font_manager_stress()