Lines Matching refs:i
247 int i; in res_create_multi_display_surface() local
261 for (i = 0; i < num_text; ++i) { in res_create_multi_display_surface()
262 if (text[i].key && strcmp(text[i].key, "Frames") == 0 && text[i].text) { in res_create_multi_display_surface()
263 *frames = atoi(text[i].text); in res_create_multi_display_surface()
281 for (i = 0; i < *frames; ++i) { in res_create_multi_display_surface()
282 surface[i] = init_display_surface(width, height / *frames); in res_create_multi_display_surface()
283 if (surface[i] == NULL) { in res_create_multi_display_surface()
310 for (i = 0; i < *frames; ++i) { in res_create_multi_display_surface()
311 if (surface[i]) free(surface[i]); in res_create_multi_display_surface()
376 int i; in matches_locale() local
377 for (i = 0; loc[i] != 0 && loc[i] != '_'; ++i); in matches_locale()
378 if (loc[i] == '_') return 0; in matches_locale()
380 return (strncmp(locale, loc, i) == 0 && locale[i] == '_'); in matches_locale()
435 int i; in res_create_localized_alpha_surface() local
436 for (i = 0; i < h; ++i, ++y) { in res_create_localized_alpha_surface()
438 memcpy(surface->data + i*w, row, w); in res_create_localized_alpha_surface()
444 int i; in res_create_localized_alpha_surface() local
445 for (i = 0; i < h; ++i, ++y) { in res_create_localized_alpha_surface()