Lines Matching refs:List
4 void while_test(int *List, int Length) { in while_test() argument
15 List[i] = i * 2; in while_test()
21 void do_test(int *List, int Length) { in do_test() argument
27 List[i] = i * 2; in do_test()
35 void for_test(int *List, int Length) { in for_test() argument
41 List[i] = i * 2; in for_test()
48 double List[100]; in for_range_test() local
51 for (int i : List) { in for_range_test()
53 List[i] = i; in for_range_test()
58 void disable_test(int *List, int Length) { in disable_test() argument
62 List[i] = i * 2; in disable_test()
71 void for_define_test(int *List, int Length, int Value) { in for_define_test() argument
76 List[i] = i * Value; in for_define_test()
81 void for_contant_expression_test(int *List, int Length) { in for_contant_expression_test() argument
85 List[i] = i; in for_contant_expression_test()
91 List[i] += i; in for_contant_expression_test()
97 void for_template_test(A *List, int Length, A Value) { in for_template_test() argument
101 List[i] = i * Value; in for_template_test()
107 void for_template_define_test(A *List, int Length, A Value) { in for_template_define_test() argument
115 List[i] = i * Value; in for_template_define_test()
121 void for_template_constant_expression_test(A *List, int Length) { in for_template_constant_expression_test() argument
125 List[i] = i; in for_template_constant_expression_test()
131 List[i] += i; in for_template_constant_expression_test()
138 List[i] += i; in for_template_constant_expression_test()
144 List[i] += i; in for_template_constant_expression_test()
153 void template_test(double *List, int Length) { in template_test() argument
156 for_template_test<double>(List, Length, Value); in template_test()
157 for_template_define_test<double, int>(List, Length, Value); in template_test()
158 for_template_constant_expression_test<double, 2, 4, 8>(List, Length); in template_test()