Searched refs:ok (Results 1 - 25 of 443) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/warn/
H A Dpragma-system_header4.C6 void ok() { } function
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dfnname2.C22 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 Dfnname1.C18 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 Dfnname3.C33 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 Dtest.pl85 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 Dconstexpr-noexcept6.C4 constexpr bool ok() noexcept
10 constexpr auto x = ok();
/haiku-buildtools/gcc/libstdc++-v3/testsuite/23_containers/deque/
H A Dinit-list.cc30 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 Dcheck_construct_destroy.cc30 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 Dinit-list.cc30 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 Dcheck_construct_destroy.cc30 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 Dmedce-1.c5 static int ok = 0; variable
9 ok = 1;
29 if (!ok)
H A Dcompare-1.c9 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 D20020510-1.c13 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 D20020607-2.c12 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 Dcheck_construct_destroy.h33 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 Dinit-list.h30 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 Dcheck_construct_destroy.cc33 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 Dcheck_construct_destroy.cc38 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 Dcheck_construct_destroy.cc31 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 Dallocators.cc31 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 Dref12.C6 bool ok; variable
12 ok = 1;
17 if (!ok)
H A Dctor1.C12 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 Dpr59817-2.c12 int ok; local
13 f2 = (b5 += ok) ? (w7 = 0): (w7 ? 0 : (f2 = ok));
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dfmt_bz_bn_err.f10 logical ok variable in program:badread
13 ok=.true.
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Deh24.C7 int ok; member in struct:A
9 ok = 1;
12 if (! ok)
14 ok = 0;

Completed in 203 milliseconds

1234567891011>>