Lines Matching refs:i
148 size_t i; in copy_word_list() local
151 for (i = 0; i < list->size; i++) in copy_word_list()
152 copy->words[i] = strdup (list->words[i]); in copy_word_list()
160 size_t i; in free_word_list() local
161 for (i = 0; i < list->size; i++) in free_word_list()
162 free (list->words[i]); in free_word_list()
182 size_t i; in bench_list() local
187 for (i = 0; i < INNER_LOOP_ITERS; i++) in bench_list()
188 tests[i] = copy_word_list (list); in bench_list()
191 for (i = 0; i < INNER_LOOP_ITERS; i++) in bench_list()
192 qsort (tests[i]->words, tests[i]->size, sizeof (char *), compare_words); in bench_list()
198 json_attr_double (json_ctx, "iterations", i); in bench_list()
199 json_attr_double (json_ctx, "mean", (double) cur / i); in bench_list()
201 for (i = 0; i < INNER_LOOP_ITERS; i++) in bench_list()
202 free_word_list (tests[i]); in bench_list()
244 size_t i; in main() local
246 for (i = 0; i < (sizeof (input_files) / sizeof (input_files[0])); i++) in main()
248 char *locale = strchr (input_files[i], '#'); in main()
252 input_files[i]); in main()
257 asprintf (&filename, INPUT_PREFIX "%s", input_files[i]); in main()
258 result = bench_file (json_ctx, input_files[i], filename, locale + 1); in main()