/external/clang/test/OpenMP/ |
H A D | parallel_sections_default_messages.cpp | 6 #pragma omp parallel sections default // expected-error {{expected '(' after 'default'}} 8 #pragma omp parallel sections default( // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 10 #pragma omp parallel sections default() // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 12 #pragma omp parallel sections default(none // expected-error {{expected ')'}} expected-note {{to match this '('}} 14 #pragma omp parallel sections default(shared), default(shared) // expected-error {{directive '#pragma omp parallel sections' cannot contain more than one 'default' clause}} 16 #pragma omp parallel sections default(x) // expected-error {{expected 'none' or 'shared' in OpenMP clause 'default'}} 26 #pragma omp parallel sections default(none) 31 #pragma omp parallel sections default(none) 33 #pragma omp parallel sections defaul [all...] |
H A D | parallel_sections_messages.cpp | 6 #pragma omp parallel sections // expected-error {{unexpected OpenMP directive '#pragma omp parallel sections'}} 9 #pragma omp parallel sections {// expected-warning {{extra tokens at the end of '#pragma omp parallel sections' are ignored}} 13 #pragma omp parallel sections( // expected-warning {{extra tokens at the end of '#pragma omp parallel sections' are ignored}} 17 #pragma omp parallel sections[ // expected-warning {{extra tokens at the end of '#pragma omp parallel sections' are ignored}} 21 #pragma omp parallel sections] // expected-warning {{extra tokens at the end of '#pragma omp parallel sections' ar [all...] |
H A D | parallel_sections_proc_bind_messages.cpp | 6 #pragma omp parallel sections proc_bind // expected-error {{expected '(' after 'proc_bind'}} 8 #pragma omp parallel sections proc_bind( // expected-error {{expected 'master', 'close' or 'spread' in OpenMP clause 'proc_bind'}} expected-error {{expected ')'}} expected-note {{to match this '('}} 10 #pragma omp parallel sections proc_bind() // expected-error {{expected 'master', 'close' or 'spread' in OpenMP clause 'proc_bind'}} 12 #pragma omp parallel sections proc_bind(master // expected-error {{expected ')'}} expected-note {{to match this '('}} 14 #pragma omp parallel sections proc_bind(close), proc_bind(spread) // expected-error {{directive '#pragma omp parallel sections' cannot contain more than one 'proc_bind' clause}} 16 #pragma omp parallel sections proc_bind(x) // expected-error {{expected 'master', 'close' or 'spread' in OpenMP clause 'proc_bind'}} 19 #pragma omp parallel sections proc_bind(master) 22 #pragma omp parallel sections proc_bind(close) 24 #pragma omp parallel sections proc_bin [all...] |
H A D | parallel_sections_if_messages.cpp | 14 #pragma omp parallel sections if // expected-error {{expected '(' after 'if'}} 18 #pragma omp parallel sections if ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 22 #pragma omp parallel sections if () // expected-error {{expected expression}} 26 #pragma omp parallel sections if (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 30 #pragma omp parallel sections if (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel sections' are ignored}} 34 #pragma omp parallel sections if (argc > 0 ? argv[1] : argv[2]) 38 #pragma omp parallel sections if (foobool(argc)), if (true) // expected-error {{directive '#pragma omp parallel sections' cannot contain more than one 'if' clause}} 42 #pragma omp parallel sections i [all...] |
H A D | parallel_sections_num_threads_messages.cpp | 14 #pragma omp parallel sections num_threads // expected-error {{expected '(' after 'num_threads'}} 16 #pragma omp parallel sections num_threads ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 18 #pragma omp parallel sections num_threads () // expected-error {{expected expression}} 20 #pragma omp parallel sections num_threads (argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 22 #pragma omp parallel sections num_threads (argc)) // expected-warning {{extra tokens at the end of '#pragma omp parallel sections' are ignored}} 24 #pragma omp parallel sections num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}} 26 #pragma omp parallel sections num_threads (foobool(argc)), num_threads (true), num_threads (-5) // expected-error 2 {{directive '#pragma omp parallel sections' cannot contain more than one 'num_threads' clause}} expected-error {{argument to 'num_threads' clause must be a positive integer value}} 28 #pragma omp parallel sections num_thread [all...] |
H A D | sections_misc_messages.c | 5 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp sections'}} 6 #pragma omp sections 8 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp sections'}} 9 #pragma omp sections foo 13 #pragma omp sections 18 // expected-error@+2 {{the statement for '#pragma omp sections' must be a compound statement}} 19 #pragma omp sections 22 #pragma omp sections 25 foo(); // expected-error {{statement in 'omp sections' directive must be enclosed into a section region}} 37 #pragma omp sections [all...] |
H A D | parallel_sections_misc_messages.c | 5 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel sections'}} 6 #pragma omp parallel sections 8 // expected-error@+1 {{unexpected OpenMP directive '#pragma omp parallel sections'}} 9 #pragma omp parallel sections foo 13 #pragma omp parallel sections 18 // expected-error@+2 {{the statement for '#pragma omp parallel sections' must be a compound statement}} 19 #pragma omp parallel sections 22 #pragma omp parallel sections 25 foo(); // expected-error {{statement in 'omp parallel sections' directive must be enclosed into a section region}} 37 #pragma omp parallel sections [all...] |
H A D | parallel_sections_shared_messages.cpp | 66 #pragma omp parallel sections shared // expected-error {{expected '(' after 'shared'}} 68 #pragma omp parallel sections shared( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 70 #pragma omp parallel sections shared() // expected-error {{expected expression}} 72 #pragma omp parallel sections shared(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 74 #pragma omp parallel sections shared(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 76 #pragma omp parallel sections shared(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 78 #pragma omp parallel sections shared(argc) 80 #pragma omp parallel sections shared(S1) // expected-error {{'S1' does not refer to a value}} 82 #pragma omp parallel sections shared(a, b, c, d, f) 84 #pragma omp parallel sections share [all...] |
H A D | parallel_sections_private_messages.cpp | 51 #pragma omp parallel sections private // expected-error {{expected '(' after 'private'}} 55 #pragma omp parallel sections private( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 59 #pragma omp parallel sections private() // expected-error {{expected expression}} 63 #pragma omp parallel sections private(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 67 #pragma omp parallel sections private(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 71 #pragma omp parallel sections private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 75 #pragma omp parallel sections private(argc) 79 #pragma omp parallel sections private(S1) // expected-error {{'S1' does not refer to a value}} 83 #pragma omp parallel sections private(a, b) // expected-error {{private variable with incomplete type 'S1'}} 87 #pragma omp parallel sections privat [all...] |
H A D | sections_private_messages.cpp | 51 #pragma omp sections private // expected-error {{expected '(' after 'private'}} 55 #pragma omp sections private( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 59 #pragma omp sections private() // expected-error {{expected expression}} 63 #pragma omp sections private(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 67 #pragma omp sections private(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 71 #pragma omp sections private(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 75 #pragma omp sections private(argc) 79 #pragma omp sections private(S1) // expected-error {{'S1' does not refer to a value}} 83 #pragma omp sections private(a, b) // expected-error {{private variable with incomplete type 'S1'}} 87 #pragma omp sections privat [all...] |
H A D | parallel_sections_reduction_messages.cpp | 78 #pragma omp parallel sections reduction // expected-error {{expected '(' after 'reduction'}} 82 #pragma omp parallel sections reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp parallel sections' are ignored}} 86 #pragma omp parallel sections reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}} 90 #pragma omp parallel sections reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 94 #pragma omp parallel sections reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} 98 #pragma omp parallel sections reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} 102 #pragma omp parallel sections reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} 106 #pragma omp parallel sections reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{invalid operands to binary expression ('float' and 'float')}} 110 #pragma omp parallel sections reductio [all...] |
H A D | sections_reduction_messages.cpp | 79 #pragma omp sections reduction // expected-error {{expected '(' after 'reduction'}} 84 #pragma omp sections reduction + // expected-error {{expected '(' after 'reduction'}} expected-warning {{extra tokens at the end of '#pragma omp sections' are ignored}} 89 #pragma omp sections reduction( // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected ')'}} expected-note {{to match this '('}} 94 #pragma omp sections reduction(- // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 99 #pragma omp sections reduction() // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} 104 #pragma omp sections reduction(*) // expected-warning {{missing ':' after reduction identifier - ignoring}} expected-error {{expected expression}} 109 #pragma omp sections reduction(\) // expected-error {{expected unqualified-id}} expected-warning {{missing ':' after reduction identifier - ignoring}} 114 #pragma omp sections reduction(& : argc // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{invalid operands to binary expression ('float' and 'float')}} 119 #pragma omp sections reductio [all...] |
H A D | parallel_sections_firstprivate_messages.cpp | 69 #pragma omp parallel sections firstprivate // expected-error {{expected '(' after 'firstprivate'}} 73 #pragma omp parallel sections firstprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 77 #pragma omp parallel sections firstprivate() // expected-error {{expected expression}} 81 #pragma omp parallel sections firstprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 85 #pragma omp parallel sections firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 89 #pragma omp parallel sections firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 93 #pragma omp parallel sections firstprivate(argc) 97 #pragma omp parallel sections firstprivate(S1) // expected-error {{'S1' does not refer to a value}} 101 #pragma omp parallel sections firstprivate(a, b) // expected-error {{firstprivate variable with incomplete type 'S1'}} 105 #pragma omp parallel sections firstprivat [all...] |
H A D | sections_codegen.cpp | 18 #pragma omp sections 30 #pragma omp sections 76 #pragma omp sections nowait
|
H A D | sections_firstprivate_messages.cpp | 70 #pragma omp sections firstprivate // expected-error {{expected '(' after 'firstprivate'}} 75 #pragma omp sections firstprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 80 #pragma omp sections firstprivate() // expected-error {{expected expression}} 85 #pragma omp sections firstprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 90 #pragma omp sections firstprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 95 #pragma omp sections firstprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 100 #pragma omp sections firstprivate(argc) 105 #pragma omp sections firstprivate(S1) // expected-error {{'S1' does not refer to a value}} 110 #pragma omp sections firstprivate(a, b) // expected-error {{firstprivate variable with incomplete type 'S1'}} 115 #pragma omp sections firstprivat [all...] |
H A D | parallel_sections_lastprivate_messages.cpp | 70 #pragma omp parallel sections lastprivate // expected-error {{expected '(' after 'lastprivate'}} 74 #pragma omp parallel sections lastprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 78 #pragma omp parallel sections lastprivate() // expected-error {{expected expression}} 82 #pragma omp parallel sections lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 86 #pragma omp parallel sections lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 90 #pragma omp parallel sections lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 94 #pragma omp parallel sections lastprivate(argc) 98 #pragma omp parallel sections lastprivate(S1) // expected-error {{'S1' does not refer to a value}} 102 #pragma omp parallel sections lastprivate(a, b) // expected-error {{lastprivate variable with incomplete type 'S1'}} 106 #pragma omp parallel sections lastprivat [all...] |
H A D | sections_lastprivate_messages.cpp | 71 #pragma omp sections lastprivate // expected-error {{expected '(' after 'lastprivate'}} 76 #pragma omp sections lastprivate( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 81 #pragma omp sections lastprivate() // expected-error {{expected expression}} 86 #pragma omp sections lastprivate(argc // expected-error {{expected ')'}} expected-note {{to match this '('}} 91 #pragma omp sections lastprivate(argc, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 96 #pragma omp sections lastprivate(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 101 #pragma omp sections lastprivate(argc) 106 #pragma omp sections lastprivate(S1) // expected-error {{'S1' does not refer to a value}} 111 #pragma omp sections lastprivate(a, b) // expected-error {{lastprivate variable with incomplete type 'S1'}} 116 #pragma omp sections lastprivat [all...] |
H A D | parallel_sections_copyin_messages.cpp | 63 #pragma omp parallel sections copyin // expected-error {{expected '(' after 'copyin'}} 67 #pragma omp parallel sections copyin( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 71 #pragma omp parallel sections copyin() // expected-error {{expected expression}} 75 #pragma omp parallel sections copyin(k // expected-error {{expected ')'}} expected-note {{to match this '('}} 79 #pragma omp parallel sections copyin(h, // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}} 83 #pragma omp parallel sections copyin(argc > 0 ? argv[1] : argv[2]) // expected-error {{expected variable name}} 87 #pragma omp parallel sections copyin(l) // expected-error {{'operator=' is a private member of 'S4'}} 91 #pragma omp parallel sections copyin(S1) // expected-error {{'S1' does not refer to a value}} 95 #pragma omp parallel sections copyin(argv[1]) // expected-error {{expected variable name}} 99 #pragma omp parallel sections copyi [all...] |
H A D | parallel_sections_codegen.cpp | 16 #pragma omp parallel sections 29 #pragma omp parallel sections
|
H A D | nesting_of_regions.cpp | 22 #pragma omp sections 27 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a sections region, not a parallel region}} 54 #pragma omp parallel sections 131 #pragma omp sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} 178 #pragma omp parallel sections // expected-error {{OpenMP constructs may not be nested inside a simd region}} 258 #pragma omp sections // expected-error {{region cannot be closely nested inside 'for' region; perhaps you forget to enclose 'omp sections' directive into a parallel region?}} 265 #pragma omp section // expected-error {{'omp section' directive must be closely nested to a sections region, not a for region}} 303 #pragma omp sections // OK 323 #pragma omp parallel sections [all...] |
H A D | parallel_sections_ast_print.cpp | 36 #pragma omp parallel sections 40 #pragma omp parallel sections default(none), private(argc, b) firstprivate(argv) shared(d) if (argc > 0) num_threads(C) copyin(S < T > ::TS) proc_bind(master) reduction(+ : c) reduction(max : e) 44 #pragma omp parallel sections if (C) num_threads(s) proc_bind(close) reduction(^ : e, f) reduction(&& : g) lastprivate(b, c) 57 // CHECK-NEXT: #pragma omp parallel sections 61 // CHECK-NEXT: #pragma omp parallel sections default(none) private(argc,b) firstprivate(argv) shared(d) if(argc > 0) num_threads(5) copyin(S<int>::TS) proc_bind(master) reduction(+: c) reduction(max: e) 65 // CHECK-NEXT: #pragma omp parallel sections if(5) num_threads(s) proc_bind(close) reduction(^: e,f) reduction(&&: g) lastprivate(b,c) 75 // CHECK-NEXT: #pragma omp parallel sections 79 // CHECK-NEXT: #pragma omp parallel sections default(none) private(argc,b) firstprivate(argv) shared(d) if(argc > 0) num_threads(1) copyin(S<long>::TS) proc_bind(master) reduction(+: c) reduction(max: e) 83 // CHECK-NEXT: #pragma omp parallel sections if(1) num_threads(s) proc_bind(close) reduction(^: e,f) reduction(&&: g) lastprivate(b,c) 93 // CHECK-NEXT: #pragma omp parallel sections [all...] |
H A D | sections_ast_print.cpp | 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 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
|
/external/google-breakpad/src/common/linux/ |
H A D | elfutils-inl.h | 49 const typename ElfClass::Shdr* sections, 54 assert(sections != NULL); 62 const char* section_name = section_names + sections[i].sh_name; 63 if (sections[i].sh_type == section_type && 66 return sections + i; 46 FindElfSectionByName( const char* name, typename ElfClass::Word section_type, const typename ElfClass::Shdr* sections, const char* section_names, const char* names_end, int nsection) argument
|
/external/elfutils/src/tests/ |
H A D | run-strip-test.sh | 52 tempfiles testfile.sections 53 testrun ${abs_top_builddir}/src/readelf -S testfile.temp > testfile.sections || status=$? 54 fgrep ' .debug_' testfile.sections && status=1
|
/external/elfutils/src/libdwfl/ |
H A D | derelocate.c | 177 possible target sections we care about. */ 254 struct dwfl_relocation *sections = mod->reloc_info; local 256 if (idx >= sections->count) 260 *shndxp = elf_ndxscn (sections->refs[idx].scn); 262 return sections->refs[idx].name; 303 struct dwfl_relocation *sections = mod->reloc_info; local 305 /* The sections are sorted by address, so we can use binary search. */ 306 size_t l = 0, u = sections->count; 310 if (*addr < sections->refs[idx].start) 312 else if (*addr > sections [all...] |