/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/pch/ |
H A D | static-1.c | 4 static int counter; local 5 return counter++;
|
H A D | static-2.c | 4 static int counter; local 5 return counter++;
|
H A D | counter-3.hs | 4 #define counter __COUNTER__
|
H A D | counter-1.hs | 5 #define counter __COUNTER__
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/gomp/appendix-a/ |
H A D | a.22.1.c | 4 int counter = 0; variable 5 #pragma omp threadprivate(counter) 9 counter++; 10 return (counter);
|
H A D | a.22.2.c | 7 static int counter = 0; local 8 #pragma omp threadprivate(counter) 9 counter++; 10 return (counter);
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/ |
H A D | initlist90.C | 6 struct counter struct 10 counter() { ++n; } function in struct:counter 11 counter(const counter&) { ++n; } argument 12 ~counter() { --n; } 15 int counter::n = 0; 19 X () { if (counter::n > 1) throw 1; } 21 counter c; 32 if ( counter::n != 0 )
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | p8269.C | 8 static char* const counter; member in class:Foo_Bar 11 char_ptr Foo_Bar::counter = 0; member in class:Foo_Bar
|
H A D | p4667.C | 4 int counter = 0; variable 10 A() { a = counter++; } 14 B() { b = counter++; } 18 C() { c = counter++; }
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/cpp/ |
H A D | counter-1.c | 8 #define counter __COUNTER__ macro 14 #if counter != 1 15 #error counter != 1
|
/haiku-buildtools/gcc/libvtv/testsuite/libvtv.cc/ |
H A D | template-list2.cc | 12 { counter = 1;} 16 counter--; 17 assert(counter == 0); 21 static int counter; member in class:Subscriptor 24 int Subscriptor::counter; member in class:Subscriptor
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20000224-1.c | 8 int counter = 0; local 10 while (loop_1 > counter) { 13 counter++;
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/allocator_traits/members/ |
H A D | construct.cc | 26 static int counter; member in struct:X 28 X(const X&) { ++counter; } 29 explicit X(int) { ++counter; } 30 X(int, int) { ++counter; } 31 X(int, int, int) { ++counter; } 34 int X::counter = 0; member in class:X 41 fake_allocator() : counter() {} 43 int counter; member in struct:fake_allocator 49 void construct(T* p) { ++counter; } 50 void construct(T* p, int, int) { ++counter; } [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/bind/ |
H A D | ref2.cc | 33 int counter = 0; local 34 std::bind(&inc, _1)(counter); 35 VERIFY(counter == 1 ); 36 std::bind(&inc, std::ref(counter))(); 37 VERIFY(counter == 2 ); 52 int counter = 0; local 53 std::bind(Inc(), _1)(counter); 54 VERIFY(counter == 1 ); 55 std::bind(&Inc::f, Inc(), std::ref(counter))(); 56 VERIFY(counter [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/coarray/ |
H A D | cosubscript_1.f90 | 21 integer :: dim3_max, counter 40 counter = 0 42 counter = counter+1 43 if (counter /= scalar[i,j,k]) call abort() 49 counter = 0 53 counter = counter+1 54 if (counter /= scalar[i,j,k]) then 56 print * , "[", i,",",j,",",k,"] = ",scalar[i,j,k],"/=",counter [all...] |
/haiku-buildtools/gcc/gcc/testsuite/objc.dg/ |
H A D | foreach-4.m | 66 /* We keep how many objects we served in the state->state counter. So the next batch 92 int test_variable, counter, i; 131 counter = 0; 135 counter++; 138 if (counter != 200) 141 printf ("Counter was %d (should be 200)\n", counter); 144 counter = 0; 148 counter++; 151 if (counter != 200) 154 printf ("Counter was %d (should be 200)\n", counter); [all...] |
H A D | foreach-5.m | 64 /* We keep how many objects we served in the state->state counter. So the next batch 90 int test_variable, counter, i; 129 counter = 0; 133 counter++; 136 if (counter != 200) 139 printf ("Counter was %d (should be 200)\n", counter); 142 counter = 0; 146 counter++; 149 if (counter != 200) 152 printf ("Counter was %d (should be 200)\n", counter); [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/locale/global_locale_objects/ |
H A D | 3.cc | 26 // Static counter for use in checking ctors/dtors. 27 static std::size_t counter; variable 33 surf(size_t refs = 0): std::locale::facet(refs) { ++counter; } 34 ~surf() { --counter; } 53 VERIFY( counter == 0 ); 56 VERIFY( counter == 1 ); 60 VERIFY( counter == 1 ); 65 VERIFY( counter == 1 ); 68 VERIFY( counter == 1 ); 71 VERIFY( counter [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/debug/dwarf2/ |
H A D | atomic.c | 6 _Atomic(int) counter; member in struct:Atomics
|
/haiku-buildtools/gcc/gcc/ |
H A D | statistics.c | 43 /* Statistics entry. A integer counter associated to a string ID 65 /* Hash a statistic counter by its string ID. */ 126 /* Helper for statistics_fini_pass. Print the counter difference 133 statistics_counter_t *counter = *slot; local 134 unsigned HOST_WIDE_INT count = counter->count - counter->prev_dumped_count; 137 if (counter->histogram_p) 139 counter->id, counter->val, count); 142 counter 154 statistics_counter_t *counter = *slot; local 185 statistics_counter_t *counter = *slot; local 222 statistics_counter_t *counter = *slot; local 294 statistics_counter_t **counter; local 318 statistics_counter_t *counter; local 352 statistics_counter_t *counter; local [all...] |
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/ |
H A D | cleanup-4.C | 8 static int counter; variable 13 counter += *p; 36 if (counter != 0 + 1 + 2 + 3 + 4 + 5 + 6)
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | singleton.C | 20 if ( counter++ == 0 ) throw "just for the heck of it"; 26 static int counter; member in class:singleton 29 int singleton::counter; member in class:singleton
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | cleanup-4.c | 8 static int counter; variable 13 counter += *p; 36 if (counter != 0 + 1 + 2 + 3 + 4 + 5 + 6)
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/22_locale/facet/ |
H A D | 2.cc | 32 // Static counter for use in checking ctors/dtors. 33 static std::size_t counter; variable 39 surf(size_t refs = 0): std::locale::facet(refs) { ++counter; } 40 ~surf() { --counter; } 53 VERIFY( counter == 0 ); 56 VERIFY( counter == 1 ); 58 VERIFY( counter == 0 ); 61 VERIFY( counter == 0 ); 65 VERIFY( counter == 1 ); 67 VERIFY( counter [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/experimental/optional/assignment/ |
H A D | 5.cc | 24 int counter = 0; variable 28 mixin_counter() { ++counter; } 29 mixin_counter(mixin_counter const&) { ++counter; } 30 ~mixin_counter() { --counter; } 65 VERIFY( counter == 0 );
|