/external/clang/test/OpenMP/ |
parallel_for_simd_lastprivate_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 65 int foomain(int argc, char **argv) { 71 for (int k = 0; k < argc; ++k) 74 for (int k = 0; k < argc; ++k) 77 for (int k = 0; k < argc; ++k) 79 #pragma omp parallel for simd lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 80 for (int k = 0; k < argc; ++k) 82 #pragma omp parallel for simd lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 83 for (int k = 0; k < argc; ++k [all...] |
taskloop_lastprivate_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 66 int foomain(int argc, char **argv) { 73 for (int k = 0; k < argc; ++k) 77 for (int k = 0; k < argc; ++k) 81 for (int k = 0; k < argc; ++k) 84 #pragma omp taskloop lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 85 for (int k = 0; k < argc; ++k) 88 #pragma omp taskloop lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 89 for (int k = 0; k < argc; ++k [all...] |
cancel_messages.cpp | 3 int main(int argc, char **argv) { 13 if (argc) 15 if (argc) { 40 while (argc) 42 while (argc) { 47 while (argc) 51 } while (argc); 52 switch (argc) 54 switch (argc) 57 switch (argc) [all...] |
for_linear_messages.cpp | 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 [all...] |
simd_private_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 41 template<class I, class C> int foomain(I argc, C **argv) { 47 for (int k = 0; k < argc; ++k) ++k; 49 for (int k = 0; k < argc; ++k) ++k; 51 for (int k = 0; k < argc; ++k) ++k; 52 #pragma omp simd private (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 53 for (int k = 0; k < argc; ++k) ++k; 54 #pragma omp simd private (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 55 for (int k = 0; k < argc; ++k) ++k [all...] |
sections_ast_print.cpp | 12 T tmain(T argc) { 13 T b = argc, c, d, e, f, g; 17 #pragma omp sections private(argc, b), firstprivate(c, d), lastprivate(d, f) reduction(- : g) nowait 22 // CHECK-NEXT: #pragma omp sections private(argc,b) firstprivate(c,d) lastprivate(d,f) reduction(-: g) nowait 29 int main(int argc, char **argv) { 30 int b = argc, c, d, e, f, g; 34 #pragma omp sections private(argc, b), firstprivate(argv, c), lastprivate(d, f) reduction(+ : g) nowait 42 // CHECK-NEXT: #pragma omp sections private(argc,b) firstprivate(argv,c) lastprivate(d,f) reduction(+: g) nowait 49 return (tmain<int, 5>(argc) + tmain<char, 1>(argv[0][0]));
|
parallel_for_lastprivate_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 66 int foomain(int argc, char **argv) { 72 for (int k = 0; k < argc; ++k) 75 for (int k = 0; k < argc; ++k) 78 for (int k = 0; k < argc; ++k) 80 #pragma omp parallel for lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 81 for (int k = 0; k < argc; ++k) 83 #pragma omp parallel for lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 84 for (int k = 0; k < argc; ++k [all...] |
taskloop_final_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 13 int tmain(T argc, S **argv) { 23 #pragma omp taskloop final(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 26 #pragma omp taskloop final(argc)) // expected-warning {{extra tokens at the end of '#pragma omp taskloop' are ignored}} 29 #pragma omp taskloop final(argc > 0 ? argv[1] : argv[2]) 32 #pragma omp taskloop final(foobool(argc)), final(true) // expected-error {{directive '#pragma omp taskloop' cannot contain more than one 'final' clause}} 41 #pragma omp taskloop final(argc argc) // expected-error {{expected ')'}} expected-note {{to match this '('}} 44 #pragma omp taskloop final(argc) [all...] |
teams_num_teams_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 13 T tmain(T argc) { 31 #pragma omp teams num_teams(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 34 #pragma omp teams num_teams(argc)) // expected-warning {{extra tokens at the end of '#pragma omp teams' are ignored}} 37 #pragma omp teams num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} 40 #pragma omp teams num_teams(argc + argc) 43 #pragma omp teams num_teams(argc), num_teams (argc+1) // expected-error {{directive '#pragma omp teams' cannot contain more than one 'num_teams' clau (…) [all...] |
teams_thread_limit_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 13 T tmain(T argc) { 31 #pragma omp teams thread_limit(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 34 #pragma omp teams thread_limit(argc)) // expected-warning {{extra tokens at the end of '#pragma omp teams' are ignored}} 37 #pragma omp teams thread_limit(argc > 0 ? a[1] : a[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}} 40 #pragma omp teams thread_limit(argc + argc) 43 #pragma omp teams thread_limit(argc), thread_limit (argc+1) // expected-error {{directive '#pragma omp teams' cannot contain more than one 'thread_limit' c (…) [all...] |
distribute_private_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 45 int main(int argc, char **argv) { 53 for (int k = 0; k < argc; ++k) ++k; 55 for (int k = 0; k < argc; ++k) ++k; 57 for (int k = 0; k < argc; ++k) ++k; 58 #pragma omp distribute private (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 59 for (int k = 0; k < argc; ++k) ++k; 60 #pragma omp distribute private (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 61 for (int k = 0; k < argc; ++k) ++k [all...] |
simd_lastprivate_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 65 int foomain(I argc, C **argv) { 71 for (int k = 0; k < argc; ++k) 74 for (int k = 0; k < argc; ++k) 77 for (int k = 0; k < argc; ++k) 79 #pragma omp simd lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 80 for (int k = 0; k < argc; ++k) 82 #pragma omp simd lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 83 for (int k = 0; k < argc; ++k [all...] |
distribute_firstprivate_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 58 int main(int argc, char **argv) { 67 for (i = 0; i < argc; ++i) foo(); 69 for (i = 0; i < argc; ++i) foo(); 71 for (i = 0; i < argc; ++i) foo(); 74 #pragma omp distribute firstprivate (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 75 for (i = 0; i < argc; ++i) foo(); 78 #pragma omp distribute firstprivate (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 79 for (i = 0; i < argc; ++i) foo() [all...] |
for_simd_aligned_messages.cpp | 107 template<class I, class C> int foomain(I argc, C **argv) { 108 I e(argc); 109 I g(argc); 115 for (I k = 0; k < argc; ++k) ++k; 117 for (I k = 0; k < argc; ++k) ++k; 119 for (I k = 0; k < argc; ++k) ++k; 120 #pragma omp for simd aligned (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 121 for (I k = 0; k < argc; ++k) ++k; 122 #pragma omp for simd aligned (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 123 for (I k = 0; k < argc; ++k) ++k [all...] |
simd_aligned_messages.cpp | 107 template<class I, class C> int foomain(I argc, C **argv) { 108 I e(argc); 109 I g(argc); 115 for (I k = 0; k < argc; ++k) ++k; 117 for (I k = 0; k < argc; ++k) ++k; 119 for (I k = 0; k < argc; ++k) ++k; 120 #pragma omp simd aligned (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 121 for (I k = 0; k < argc; ++k) ++k; 122 #pragma omp simd aligned (argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 123 for (I k = 0; k < argc; ++k) ++k [all...] |
taskloop_grainsize_messages.cpp | 6 bool foobool(int argc) { 7 return argc; 13 int tmain(T argc, S **argv) { 23 #pragma omp taskloop grainsize (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 26 #pragma omp taskloop grainsize (argc)) // expected-warning {{extra tokens at the end of '#pragma omp taskloop' are ignored}} 29 #pragma omp taskloop grainsize (argc > 0 ? argv[1][0] : argv[2][argc]) 32 #pragma omp taskloop grainsize (foobool(argc)), grainsize (true) // expected-error {{directive '#pragma omp taskloop' cannot contain more than one 'grainsize' clause}} 38 #pragma omp taskloop grainsize (argc argc) // expected-error {{expected ')'}} expected-note {{to match this '('} [all...] |
/external/iw/ |
connect.c | 13 struct nl_msg *msg, int argc, char **argv, 20 if (argc < 1) 26 argc--; 29 if (argc) { 34 argc--; 39 if (argc) { 43 argc--; 47 if (!argc) 54 argc--; 56 return parse_keys(msg, argv, argc); [all...] |
/system/core/toolbox/ |
start_stop.cpp | 16 static int start_stop(bool start, int argc, char* argv[]) { 19 if (argc > 2) { 21 } else if (argc == 2) { 37 extern "C" int start_main(int argc, char* argv[]) { 38 return start_stop(true, argc, argv); 41 extern "C" int stop_main(int argc, char* argv[]) { 42 return start_stop(false, argc, argv);
|
toolbox.c | 9 static int toolbox_main(int argc, char **argv) 12 if (argc > 1) { 13 return main(argc - 1, argv + 1); 43 int main(int argc, char **argv) 54 if((argc > 1) && (argv[1][0] == '@')) { 56 argc--; 66 return tools[i].func(argc, argv);
|
/frameworks/base/tools/aapt/ |
Main.cpp | 260 int main(int argc, char* const argv[]) 271 if (argc < 2) { 299 argc -= 2; 305 while (argc && argv[0][0] == '-') { 318 argc--; 320 if (!argc) { 331 argc--; 333 if (!argc) { 363 argc--; 365 if (!argc) { [all...] |
/external/e2fsprogs/lib/ss/ |
execute_cmd.c | 25 static int check_request_table PROTOTYPE((ss_request_table *rqtbl, int argc, 27 static int really_execute_command PROTOTYPE((int sci_idx, int argc, 63 * check_request_table(rqtbl, argc, argv, sci_idx) 72 * argc (int) 84 static int check_request_table(register ss_request_table *rqtbl, int argc, 98 info->argc = argc; 104 (request->function)(argc, (const char *const *) argv, 114 * really_execute_command(sci_idx, argc, argv) 117 * Fills in the argc, argv values in the subsystem entry an 166 register int i, argc; local 199 int argc, ret; local [all...] |
/external/google-breakpad/src/testing/src/ |
gmock.cc | 127 void InitGoogleMockImpl(int* argc, CharType** argv) { 130 InitGoogleTest(argc, argv); 131 if (*argc <= 0) return; 133 for (int i = 1; i != *argc; i++) { 142 // that argv has (*argc + 1) elements, the last one always being 145 for (int j = i; j != *argc; j++) { 150 (*argc)--; 164 // removed from argv, and *argc is decremented. 172 GTEST_API_ void InitGoogleMock(int* argc, char** argv) { 173 internal::InitGoogleMockImpl(argc, argv) [all...] |
/external/icu/icu4c/source/tools/gencmn/ |
gencmn.c | 49 main(int argc, char* argv[]) { 53 U_MAIN_INIT_ARGS(argc, argv); 56 argc=u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options); 59 if(argc<0) { 62 argv[-argc]); 63 } else if(argc<2) { 64 argc=-1; 67 if(argc<0 || options[0].doesOccur || options[1].doesOccur) { 68 FILE *where = argc < 0 ? stderr : stdout [all...] |
/external/e2fsprogs/debugfs/ |
extent_inode.c | 49 static int common_extent_args_process(int argc, char *argv[], int min_argc, 53 if (common_args_process(argc, argv, min_argc, max_argc, cmd, 66 void do_extent_open(int argc, char *argv[]) 76 if (argc == 1) { 84 if (common_inode_args_process(argc, argv, &inode, 0)) 110 void do_extent_close(int argc, char *argv[]) 114 if (common_args_process(argc, argv, 1, 1, 132 static void generic_goto_node(const char *my_name, int argc, 138 if (my_name && common_args_process(argc, argv, 1, 1, 155 void do_current_node(int argc, char *argv[] [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
wpa_cli.c | 461 static int write_cmd(char *buf, size_t buflen, const char *cmd, int argc, 475 for (i = 0; i < argc; i++) { 492 int argc, char *argv[]) 495 if (argc < min_args) { 501 if (write_cmd(buf, sizeof(buf), cmd, argc, argv) < 0) 507 static int wpa_cli_cmd_ifname(struct wpa_ctrl *ctrl, int argc, char *argv[]) 513 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) 515 if (argc > 0 && os_strcmp(argv[0], "verbose") == 0) 517 if (argc > 0 && os_strcmp(argv[0], "wps") == 0) 519 if (argc > 0 && os_strcmp(argv[0], "driver") == 0 3969 int argc = 0; local 4026 int argc; local [all...] |