Lines Matching refs:argc
101 template<class I, class C> int foomain(I argc, C **argv) {
107 for (int k = 0; k < argc; ++k) ++k;
109 for (int k = 0; k < argc; ++k) ++k;
111 for (int k = 0; k < argc; ++k) ++k;
112 #pragma omp for linear (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
113 for (int k = 0; k < argc; ++k) ++k;
114 #pragma omp for linear (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
115 for (int k = 0; k < argc; ++k) ++k;
116 #pragma omp for linear (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
117 for (int k = 0; k < argc; ++k) ++k;
118 #pragma omp for linear (argc : 5)
119 for (int k = 0; k < argc; ++k) ++k;
121 for (int k = 0; k < argc; ++k) ++k;
125 for (int k = 0; k < argc; ++k) ++k;
127 for (int k = 0; k < argc; ++k) ++k;
129 for (int k = 0; k < argc; ++k) ++k;
131 for (int k = 0; k < argc; ++k) ++k;
133 for (int k = 0; k < argc; ++k) ++k;
139 for (int k = 0; k < argc; ++k) { i = k; v += i; }
142 for (int k = 0; k < argc; ++k) ++k;
145 for (int k = 0; k < argc; ++k) { ++k; v += j; }
147 for (int k = 0; k < argc; ++k) ++k;
159 int main(int argc, char **argv) {
171 for (int k = 0; k < argc; ++k) ++k;
173 for (int k = 0; k < argc; ++k) ++k;
175 for (int k = 0; k < argc; ++k) ++k;
176 #pragma omp for linear (argc // expected-error {{expected ')'}} expected-note {{to match this '('}}
177 for (int k = 0; k < argc; ++k) ++k;
178 #pragma omp for linear (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
179 for (int k = 0; k < argc; ++k) ++k;
180 #pragma omp for linear (argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}}
181 for (int k = 0; k < argc; ++k) ++k;
182 #pragma omp for linear (argc)
183 for (int k = 0; k < argc; ++k) ++k;
185 for (int k = 0; k < argc; ++k) ++k;
189 for (int k = 0; k < argc; ++k) ++k;
191 for (int k = 0; k < argc; ++k) ++k;
195 for (int k = 0; k < argc; ++k) ++k;
197 for (int k = 0; k < argc; ++k) ++k;
202 for (int k = 0; k < argc; ++k) ++k;
204 for (int k = 0; k < argc; ++k) { ++k; i += 4; }
207 for (int k = 0; k < argc; ++k) ++k;
209 for (int k = 0; k < argc; ++k) ++k;
211 foomain<int,char>(argc,argv);