Home
last modified time | relevance | path

Searched refs:e1 (Results 1 – 25 of 1846) sorted by relevance

12345678910>>...74

/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/expected/expected.expected/assign/
Dassign.U.pass.cpp105 std::expected<Traced, int> e1(std::in_place, oldState, 5); in test() local
107 decltype(auto) x = (e1 = u); in test()
109 assert(&x == &e1); in test()
111 assert(e1.has_value()); in test()
112 assert(e1.value().data_ == 10); in test()
121 std::expected<Traced, int> e1(std::in_place, oldState, 5); in test() local
123 decltype(auto) x = (e1 = std::move(u)); in test()
125 assert(&x == &e1); in test()
127 assert(e1.has_value()); in test()
128 assert(e1.value().data_ == 10); in test()
[all …]
Dassign.copy.pass.cpp89 std::expected<Traced, int> e1(std::in_place, oldState, 5); in test() local
91 decltype(auto) x = (e1 = e2); in test()
93 assert(&x == &e1); in test()
95 assert(e1.has_value()); in test()
96 assert(e1.value().data_ == 10); in test()
117 std::expected<TracedNoexcept, Traced> e1(std::in_place, oldState, 5); in test() local
120 decltype(auto) x = (e1 = e2); in test()
122 assert(&x == &e1); in test()
124 assert(!e1.has_value()); in test()
125 assert(e1.error().data_ == 10); in test()
[all …]
Dassign.move.pass.cpp110 std::expected<Traced, int> e1(std::in_place, oldState, 5); in test() local
112 decltype(auto) x = (e1 = std::move(e2)); in test()
114 assert(&x == &e1); in test()
116 assert(e1.has_value()); in test()
117 assert(e1.value().data_ == 10); in test()
138 std::expected<TracedNoexcept, Traced> e1(std::in_place, oldState, 5); in test() local
141 decltype(auto) x = (e1 = std::move(e2)); in test()
143 assert(&x == &e1); in test()
145 assert(!e1.has_value()); in test()
146 assert(e1.error().data_ == 10); in test()
[all …]
/external/toybox/kconfig/
Dexpr.c33 struct expr *expr_alloc_two(enum expr_type type, struct expr *e1, struct expr *e2) in expr_alloc_two() argument
38 e->left.expr = e1; in expr_alloc_two()
53 struct expr *expr_alloc_and(struct expr *e1, struct expr *e2) in expr_alloc_and() argument
55 if (!e1) in expr_alloc_and()
57 return e2 ? expr_alloc_two(E_AND, e1, e2) : e1; in expr_alloc_and()
60 struct expr *expr_alloc_or(struct expr *e1, struct expr *e2) in expr_alloc_or() argument
62 if (!e1) in expr_alloc_or()
64 return e2 ? expr_alloc_two(E_OR, e1, e2) : e1; in expr_alloc_or()
132 #define e1 (*ep1) macro
137 if (e1->type == type) { in __expr_eliminate_eq()
[all …]
/external/selinux/libsepol/tests/
Dtest-ebitmap.c56 ebitmap_t e1, e2; in test_ebitmap_cmp() local
58 ebitmap_init(&e1); in test_ebitmap_cmp()
61 CU_ASSERT(ebitmap_cmp(&e1, &e2)); in test_ebitmap_cmp()
63 CU_ASSERT_EQUAL(ebitmap_set_bit(&e1, 10, 1), 0); in test_ebitmap_cmp()
64 CU_ASSERT_FALSE(ebitmap_cmp(&e1, &e2)); in test_ebitmap_cmp()
66 CU_ASSERT(ebitmap_cmp(&e1, &e2)); in test_ebitmap_cmp()
68 CU_ASSERT_EQUAL(ebitmap_set_bit(&e1, 63, 1), 0); in test_ebitmap_cmp()
69 CU_ASSERT_FALSE(ebitmap_cmp(&e1, &e2)); in test_ebitmap_cmp()
71 CU_ASSERT(ebitmap_cmp(&e1, &e2)); in test_ebitmap_cmp()
73 CU_ASSERT_EQUAL(ebitmap_set_bit(&e1, 64, 1), 0); in test_ebitmap_cmp()
[all …]
/external/python/cpython3/Lib/test/decimaltestdata/
Dremainder.decTest512 remx860 remainder 123.0e1 10000000000000000 -> 1230
516 remx864 remainder 123e1 10000000000000000 -> 1230
517 remx870 remainder 123e1 1000000000000000 -> 1230
518 remx871 remainder 123e1 100000000000000 -> 1230
519 remx872 remainder 123e1 10000000000000 -> 1230
520 remx873 remainder 123e1 1000000000000 -> 1230
521 remx874 remainder 123e1 100000000000 -> 1230
522 remx875 remainder 123e1 10000000000 -> 1230
523 remx876 remainder 123e1 1000000000 -> 1230
524 remx877 remainder 123e1 100000000 -> 1230
[all …]
/external/python/cpython2/Lib/test/decimaltestdata/
Dremainder.decTest512 remx860 remainder 123.0e1 10000000000000000 -> 1230
516 remx864 remainder 123e1 10000000000000000 -> 1230
517 remx870 remainder 123e1 1000000000000000 -> 1230
518 remx871 remainder 123e1 100000000000000 -> 1230
519 remx872 remainder 123e1 10000000000000 -> 1230
520 remx873 remainder 123e1 1000000000000 -> 1230
521 remx874 remainder 123e1 100000000000 -> 1230
522 remx875 remainder 123e1 10000000000 -> 1230
523 remx876 remainder 123e1 1000000000 -> 1230
524 remx877 remainder 123e1 100000000 -> 1230
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/expected/expected.expected/swap/
Dmember.swap.pass.cpp128 std::expected<TrackedMove<true>, TrackedMove<true>> e1(std::in_place, 5); in test() local
131 e1.swap(e2); in test()
133 assert(!e1.has_value()); in test()
134 assert(e1.error().i == 10); in test()
138 assert(e1.error().numberOfMoves == 2); in test()
139 assert(!e1.error().swapCalled); in test()
147 std::expected<TrackedMove<true>, TrackedMove<false>> e1(std::in_place, 5); in test() local
150 e1.swap(e2); in test()
152 assert(!e1.has_value()); in test()
153 assert(e1.error().i == 10); in test()
[all …]
Dfree.swap.pass.cpp112 std::expected<TrackedMove<true>, TrackedMove<true>> e1(std::in_place, 5); in test() local
115 swap(e1, e2); in test()
117 assert(!e1.has_value()); in test()
118 assert(e1.error().i == 10); in test()
122 assert(e1.error().numberOfMoves == 2); in test()
123 assert(!e1.error().swapCalled); in test()
131 std::expected<TrackedMove<true>, TrackedMove<false>> e1(std::in_place, 5); in test() local
134 e1.swap(e2); in test()
136 assert(!e1.has_value()); in test()
137 assert(e1.error().i == 10); in test()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/rand/rand.adapt/rand.adapt.disc/
Dassign.pass.cpp25 E e1(2); in test1() local
26 (void)e1(); in test1()
28 e2 = e1; in test1()
29 assert(e1 == e2); in test1()
30 assert(e1() == e2()); in test1()
31 E::result_type k = e1(); in test1()
32 assert(e1 != e2); in test1()
34 assert(e1 == e2); in test1()
41 E e1(3); in test2() local
42 (void)e1(); in test2()
[all …]
Dcopy.pass.cpp25 E e1; in test1() local
26 (void)e1(); in test1()
27 E e2 = e1; in test1()
28 assert(e1 == e2); in test1()
29 assert(e1() == e2()); in test1()
30 E::result_type k = e1(); in test1()
31 assert(e1 != e2); in test1()
33 assert(e1 == e2); in test1()
40 E e1; in test2() local
41 (void)e1(); in test2()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/rand/rand.eng/rand.eng.mers/
Dassign.pass.cpp27 E e1(2); in test1() local
28 (void)e1(); in test1()
30 e2 = e1; in test1()
31 assert(e1 == e2); in test1()
32 assert(e1() == e2()); in test1()
33 E::result_type k = e1(); in test1()
34 assert(e1 != e2); in test1()
36 assert(e1 == e2); in test1()
43 E e1(3); in test2() local
44 (void)e1(); in test2()
[all …]
Dcopy.pass.cpp27 E e1; in test1() local
28 (void)e1(); in test1()
29 E e2 = e1; in test1()
30 assert(e1 == e2); in test1()
31 assert(e1() == e2()); in test1()
32 E::result_type k = e1(); in test1()
33 assert(e1 != e2); in test1()
35 assert(e1 == e2); in test1()
42 E e1; in test2() local
43 (void)e1(); in test2()
[all …]
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.sub/
Dassign.pass.cpp24 E e1(2); in test1() local
25 (void)e1(); in test1()
27 e2 = e1; in test1()
28 assert(e1 == e2); in test1()
29 assert(e1() == e2()); in test1()
30 E::result_type k = e1(); in test1()
31 assert(e1 != e2); in test1()
33 assert(e1 == e2); in test1()
40 E e1(3); in test2() local
41 (void)e1(); in test2()
[all …]
Dcopy.pass.cpp24 E e1; in test1() local
25 (void)e1(); in test1()
26 E e2 = e1; in test1()
27 assert(e1 == e2); in test1()
28 assert(e1() == e2()); in test1()
29 E::result_type k = e1(); in test1()
30 assert(e1 != e2); in test1()
32 assert(e1 == e2); in test1()
39 E e1; in test2() local
40 (void)e1(); in test2()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/rand/rand.eng/rand.eng.sub/
Dcopy.pass.cpp25 E e1; in test1() local
26 (void)e1(); in test1()
27 E e2 = e1; in test1()
28 assert(e1 == e2); in test1()
29 assert(e1() == e2()); in test1()
30 E::result_type k = e1(); in test1()
31 assert(e1 != e2); in test1()
33 assert(e1 == e2); in test1()
40 E e1; in test2() local
41 (void)e1(); in test2()
[all …]
Dassign.pass.cpp25 E e1(2); in test1() local
26 (void)e1(); in test1()
28 e2 = e1; in test1()
29 assert(e1 == e2); in test1()
30 assert(e1() == e2()); in test1()
31 E::result_type k = e1(); in test1()
32 assert(e1 != e2); in test1()
34 assert(e1 == e2); in test1()
41 E e1(3); in test2() local
42 (void)e1(); in test2()
[all …]
/external/libcxx/test/std/numerics/rand/rand.eng/rand.eng.mers/
Dcopy.pass.cpp26 E e1; in test1() local
27 (void)e1(); in test1()
28 E e2 = e1; in test1()
29 assert(e1 == e2); in test1()
30 assert(e1() == e2()); in test1()
31 E::result_type k = e1(); in test1()
32 assert(e1 != e2); in test1()
34 assert(e1 == e2); in test1()
41 E e1; in test2() local
42 (void)e1(); in test2()
[all …]
Dassign.pass.cpp26 E e1(2); in test1() local
27 (void)e1(); in test1()
29 e2 = e1; in test1()
30 assert(e1 == e2); in test1()
31 assert(e1() == e2()); in test1()
32 E::result_type k = e1(); in test1()
33 assert(e1 != e2); in test1()
35 assert(e1 == e2); in test1()
42 E e1(3); in test2() local
43 (void)e1(); in test2()
[all …]
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.disc/
Dassign.pass.cpp24 E e1(2); in test1() local
25 (void)e1(); in test1()
27 e2 = e1; in test1()
28 assert(e1 == e2); in test1()
29 assert(e1() == e2()); in test1()
30 E::result_type k = e1(); in test1()
31 assert(e1 != e2); in test1()
33 assert(e1 == e2); in test1()
40 E e1(3); in test2() local
41 (void)e1(); in test2()
[all …]
Dcopy.pass.cpp24 E e1; in test1() local
25 (void)e1(); in test1()
26 E e2 = e1; in test1()
27 assert(e1 == e2); in test1()
28 assert(e1() == e2()); in test1()
29 E::result_type k = e1(); in test1()
30 assert(e1 != e2); in test1()
32 assert(e1 == e2); in test1()
39 E e1; in test2() local
40 (void)e1(); in test2()
[all …]
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.ibits/
Dcopy.pass.cpp24 E e1; in test1() local
25 (void)e1(); in test1()
26 E e2 = e1; in test1()
27 assert(e1 == e2); in test1()
28 assert(e1() == e2()); in test1()
29 E::result_type k = e1(); in test1()
30 assert(e1 != e2); in test1()
32 assert(e1 == e2); in test1()
39 E e1; in test2() local
40 (void)e1(); in test2()
[all …]
Dassign.pass.cpp24 E e1(2); in test1() local
25 (void)e1(); in test1()
27 e2 = e1; in test1()
28 assert(e1 == e2); in test1()
29 assert(e1() == e2()); in test1()
30 E::result_type k = e1(); in test1()
31 assert(e1 != e2); in test1()
33 assert(e1 == e2); in test1()
40 E e1(3); in test2() local
41 (void)e1(); in test2()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/rand/rand.adapt/rand.adapt.ibits/
Dassign.pass.cpp25 E e1(2); in test1() local
26 (void)e1(); in test1()
28 e2 = e1; in test1()
29 assert(e1 == e2); in test1()
30 assert(e1() == e2()); in test1()
31 E::result_type k = e1(); in test1()
32 assert(e1 != e2); in test1()
34 assert(e1 == e2); in test1()
41 E e1(3); in test2() local
42 (void)e1(); in test2()
[all …]
Dcopy.pass.cpp25 E e1; in test1() local
26 (void)e1(); in test1()
27 E e2 = e1; in test1()
28 assert(e1 == e2); in test1()
29 assert(e1() == e2()); in test1()
30 E::result_type k = e1(); in test1()
31 assert(e1 != e2); in test1()
33 assert(e1 == e2); in test1()
40 E e1; in test2() local
41 (void)e1(); in test2()
[all …]

12345678910>>...74