/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/ |
H A D | pragma-system_header4.C | 6 void ok() { } function
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/ |
H A D | fnname2.C | 22 bool ok = true; local 24 ok = ok && s[0] == 'z'; 25 ok = ok && s[1] == 'q'; 26 ok = ok && s[2] == 'j'; 27 ok = ok && s[3] == 'x'; 28 ok [all...] |
H A D | fnname1.C | 18 bool ok = true; local 20 ok = ok && s[0] == 'a'; 21 ok = ok && s[1] == 'b'; 22 ok = ok && s[2] == '6'; 23 ok = ok && s[3] == '\0'; 25 return ok [all...] |
H A D | fnname3.C | 33 bool ok = true; local 35 ok = ok && uk9i::fname == 0; 36 ok = ok && !uk9i::obj_exists; 40 ok = ok && uk9i::obj_exists; 41 ok = ok && uk9i::fname != 0; 42 if (ok) [all...] |
/haiku-buildtools/gcc/gmp/demos/perl/ |
H A D | test.pl | 85 ok ($Mytie::val == 123); 87 ok ($t == 456); 89 ok ($Mytie::val == 789); 122 ok (mpz(0) == 0); 123 ok (mpz('0') == 0); 124 ok (mpz(substr('101',1,1)) == 0); 125 ok (mpz(0.0) == 0); 126 ok (mpz(mpz(0)) == 0); 127 ok (mpz(mpq(0)) == 0); 128 ok (mp [all...] |
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/ |
H A D | constexpr-noexcept6.C | 4 constexpr bool ok() noexcept 10 constexpr auto x = ok();
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/deque/ |
H A D | init-list.cc | 30 bool ok = true; local 35 ok = check_construct_destroy("Construct from init-list", 3, 0) && ok; 36 ok &= (c[0] == 2); 37 ok &= (c[1] == 4); 39 ok = check_construct_destroy("Construct from init-list", 3, 3) && ok; 45 ok = check_construct_destroy("Insert init-list", 3, 0) && ok; 46 ok [all...] |
H A D | check_construct_destroy.cc | 30 bool ok = true; local 35 ok = check_construct_destroy("empty container", 0, 0) && ok; 37 ok = check_construct_destroy("empty container", 0, 0) && ok; 43 ok = check_construct_destroy("Construct from range", 10, 0) && ok; 45 ok = check_construct_destroy("Construct from range", 10, 10) && ok; 51 ok [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/vector/ |
H A D | init-list.cc | 30 bool ok = true; local 35 ok = check_construct_destroy("Construct from init-list", 3, 0) && ok; 36 ok &= (c[0] == 2); 37 ok &= (c[1] == 4); 39 ok = check_construct_destroy("Construct from init-list", 3, 3) && ok; 45 ok = check_construct_destroy("Insert init-list", 13, 10) && ok; 46 ok [all...] |
H A D | check_construct_destroy.cc | 30 bool ok = true; local 35 ok = check_construct_destroy("empty container", 0, 0) && ok; 37 ok = check_construct_destroy("empty container", 0, 0) && ok; 43 ok = check_construct_destroy("Construct from range", 10, 0) && ok; 45 ok = check_construct_destroy("Construct from range", 10, 10) && ok; 52 ok [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | medce-1.c | 5 static int ok = 0; variable 9 ok = 1; 29 if (!ok)
|
H A D | compare-1.c | 9 int ieq (int x, int y, int ok) argument 13 if (!ok) abort (); 16 if (ok) abort (); 20 if (!ok) abort (); 23 if (ok) abort (); 27 if (!ok) abort (); 30 if (ok) abort (); 34 if (!ok) abort (); 37 if (ok) abort (); 40 int ine (int x, int y, int ok) argument 50 ilt(int x, int y, int ok) argument 60 ile(int x, int y, int ok) argument 70 igt(int x, int y, int ok) argument 80 ige(int x, int y, int ok) argument [all...] |
H A D | 20020510-1.c | 13 testc (unsigned char c, int ok) argument 17 if (!ok) abort (); 20 if (ok) abort (); 24 tests (unsigned short s, int ok) argument 28 if (!ok) abort (); 31 if (ok) abort (); 35 testi (unsigned int i, int ok) argument 39 if (!ok) abort (); 42 if (ok) abort (); 46 testl (unsigned long l, int ok) argument [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | 20020607-2.c | 12 int test1 (double x, int ok) argument 16 if (!ok) abort (); 19 if (ok) abort (); 22 int test1f (float x, int ok) argument 26 if (!ok) abort (); 29 if (ok) abort (); 32 int test2 (double x, int ok) argument 36 if (!ok) abort (); 39 if (ok) abort (); 42 int test2f (float x, int ok) argument [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/list/ |
H A D | check_construct_destroy.h | 33 bool ok = true; local 38 ok = check_construct_destroy("empty container", 0, 0) && ok; 40 ok = check_construct_destroy("empty container", 0, 0) && ok; 46 ok = check_construct_destroy("Construct from range", 10, 0) && ok; 48 ok = check_construct_destroy("Construct from range", 10, 10) && ok; 54 ok [all...] |
H A D | init-list.h | 30 bool ok = true; local 35 ok = check_construct_destroy("Construct from init-list", 3, 0) && ok; 37 ok &= (*i++ == 2); 38 ok &= (*i++ == 4); 40 ok = check_construct_destroy("Construct from init-list", 3, 3) && ok; 48 ok = check_construct_destroy("Insert init-list", 3, 0) && ok; 49 ok [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/set/ |
H A D | check_construct_destroy.cc | 33 bool ok = true; local 38 ok = check_construct_destroy("empty container", 0, 0) && ok; 40 ok = check_construct_destroy("empty container", 0, 0) && ok; 46 ok = check_construct_destroy("Construct from range", 10, 0) && ok; 48 ok = check_construct_destroy("Construct from range", 10, 10) && ok; 54 ok [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/backward/hash_set/ |
H A D | check_construct_destroy.cc | 38 bool ok = true; local 46 ok = check_construct_destroy("empty container", buckets, 0) && ok; 48 ok = check_construct_destroy("empty container", buckets, buckets) && ok; 54 ok = check_construct_destroy("Construct from range", buckets+10, 0) && ok; 56 ok = check_construct_destroy("Construct from range", buckets+10, buckets+10) && ok; 62 ok [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/ext/slist/ |
H A D | check_construct_destroy.cc | 31 bool ok = true; local 36 ok = check_construct_destroy("empty container", 0, 0) && ok; 38 ok = check_construct_destroy("empty container", 0, 0) && ok; 44 ok = check_construct_destroy("Construct from range", 10, 0) && ok; 46 ok = check_construct_destroy("Construct from range", 10, 10) && ok; 52 ok [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/tuple/cons/ |
H A D | allocators.cc | 31 CannotUse(int = 0, int = 0) : ok(true) { } 33 bool ok; member in struct:CannotUse 42 DoesNotUse(int = 0) : ok(true) { } 43 DoesNotUse(std::allocator_arg_t, MyAlloc, int = 0) : ok(false) { } 44 DoesNotUse(MyAlloc) : ok(false) { } 45 DoesNotUse(int, MyAlloc) : ok(false) { } 47 DoesNotUse(const DoesNotUse&) : ok(true) { } 48 DoesNotUse(std::allocator_arg_t, MyAlloc, const DoesNotUse&) : ok(false) { } 49 DoesNotUse(const DoesNotUse&, MyAlloc) : ok(false) { } 51 DoesNotUse(DoesNotUse&&) : ok(tru 55 bool ok; member in struct:DoesNotUse 82 bool ok; member in struct:UsesWithTag 100 bool ok; member in struct:UsesWithoutTag [all...] |
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/ |
H A D | ref12.C | 6 bool ok; variable 12 ok = 1; 17 if (!ok)
|
H A D | ctor1.C | 12 static int ok; member in struct:A 15 ~A () {ok = ptr == this;} 17 int A::ok = -1; member in class:A 22 static int ok; member in struct:B 25 ~B () {ok = ptr == this;} 27 int B::ok = -1; member in class:B 50 if (A::ok != 1) 52 if (B::ok != 1)
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/graphite/ |
H A D | pr59817-2.c | 12 int ok; local 13 f2 = (b5 += ok) ? (w7 = 0): (w7 ? 0 : (f2 = ok));
|
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/ |
H A D | fmt_bz_bn_err.f | 10 logical ok variable in program:badread 13 ok=.true.
|
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
H A D | eh24.C | 7 int ok; member in struct:A 9 ok = 1; 12 if (! ok) 14 ok = 0;
|