Home
last modified time | relevance | path

Searched refs:TEST_CONSTEXPR (Results 1 – 25 of 79) sorted by relevance

1234

/external/libcxx/test/support/
Dconstexpr_char_traits.hpp31 static TEST_CONSTEXPR bool eq(char_type __c1, char_type __c2) TEST_NOEXCEPT in eq()
34 static TEST_CONSTEXPR bool lt(char_type __c1, char_type __c2) TEST_NOEXCEPT in lt()
44 static TEST_CONSTEXPR int_type not_eof(int_type __c) TEST_NOEXCEPT in not_eof()
47 static TEST_CONSTEXPR char_type to_char_type(int_type __c) TEST_NOEXCEPT in to_char_type()
50 static TEST_CONSTEXPR int_type to_int_type(char_type __c) TEST_NOEXCEPT in to_int_type()
53 static TEST_CONSTEXPR bool eq_int_type(int_type __c1, int_type __c2) TEST_NOEXCEPT in eq_int_type()
56 static TEST_CONSTEXPR int_type eof() TEST_NOEXCEPT in eof()
/external/libcxx/test/std/utilities/time/
Drep.h19 TEST_CONSTEXPR Rep() : data_(-1) {} in Rep()
20 explicit TEST_CONSTEXPR Rep(int i) : data_(i) {} in Rep()
22 bool TEST_CONSTEXPR operator==(int i) const {return data_ == i;}
23 bool TEST_CONSTEXPR operator==(const Rep& r) const {return data_ == r.data_;}
/external/libcxx/test/std/iterators/predef.iterators/reverse.iterators/reverse.iter.ops/reverse.iter.opref/
Dop_arrow.pass.cpp70 TEST_CONSTEXPR C() : data_(1) {} in C()
72 TEST_CONSTEXPR int get() const {return data_;} in get()
74 friend TEST_CONSTEXPR bool operator==(const C& x, const C& y) in operator ==()
78 TEST_CONSTEXPR C gC;
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.count/
Dcount_if.pass.cpp25 TEST_CONSTEXPR eq (int val) : v(val) {} in eq()
26 TEST_CONSTEXPR bool operator () (int v2) const { return v == v2; } in operator ()()
31 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.find/
Dfind_if.pass.cpp25 TEST_CONSTEXPR eq (int val) : v(val) {} in eq()
26 TEST_CONSTEXPR bool operator () (int v2) const { return v == v2; } in operator ()()
31 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
Dfind_if_not.pass.cpp25 TEST_CONSTEXPR ne (int val) : v(val) {} in ne()
26 TEST_CONSTEXPR bool operator () (int v2) const { return v != v2; } in operator ()()
31 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/
Dgenerate.pass.cpp26 TEST_CONSTEXPR int operator()() const {return 1;} in operator ()()
31 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
Dgenerate_n.pass.cpp32 TEST_CONSTEXPR int operator()() const {return 2;} in operator ()()
37 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/
Dreplace_if.pass.cpp26 TEST_CONSTEXPR bool equalToTwo(int v) { return v == 2; } in equalToTwo()
29 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
Dreplace_copy_if.pass.cpp27 TEST_CONSTEXPR bool equalToTwo(int v) { return v == 2; } in equalToTwo()
31 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.shuf/
Dresult_type.pass.cpp43 static TEST_CONSTEXPR result_type min() {return Min;} in min()
44 static TEST_CONSTEXPR result_type max() {return Max;} in max()
Deval.pass.cpp41 static TEST_CONSTEXPR result_type min() {return Min;} in min()
42 static TEST_CONSTEXPR result_type max() {return Max;} in max()
/external/libcxx/test/std/numerics/rand/rand.adapt/rand.adapt.ibits/
Dresult_type.pass.cpp43 static TEST_CONSTEXPR result_type min() {return Min;} in min()
44 static TEST_CONSTEXPR result_type max() {return Max;} in max()
Deval.pass.cpp41 static TEST_CONSTEXPR result_type min() {return Min;} in min()
42 static TEST_CONSTEXPR result_type max() {return Max;} in max()
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.all_of/
Dall_of.pass.cpp24 TEST_CONSTEXPR bool operator()(const int& i) const in operator ()()
31 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.adjacent.find/
Dadjacent_find_pred.pass.cpp26 TEST_CONSTEXPR bool eq (int a, int b) { return a == b; } in eq()
28 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/
Dnone_of.pass.cpp24 TEST_CONSTEXPR bool operator()(const int& i) const in operator ()()
31 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/
Dany_of.pass.cpp24 TEST_CONSTEXPR bool operator()(const int& i) const in operator ()()
31 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
Dpartition_copy.pass.cpp27 TEST_CONSTEXPR bool operator()(const int& i) const {return i & 1;} in operator ()()
31 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
Dpartition_point.pass.cpp24 TEST_CONSTEXPR bool operator()(const int& i) const {return i & 1;} in operator ()()
29 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/binary.search/
Dbinary_search.pass.cpp25 TEST_CONSTEXPR bool lt(int a, int b) { return a < b; } in lt()
27 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
Dbinary_search_comp.pass.cpp26 TEST_CONSTEXPR bool lt(int a, int b) { return a < b; } in lt()
28 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/lower.bound/
Dlower_bound.pass.cpp25 TEST_CONSTEXPR bool eq(int a, int b) { return a == b; } in eq()
27 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
Dlower_bound_comp.pass.cpp26 TEST_CONSTEXPR bool lt(int a, int b) { return a < b; } in lt()
28 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()
/external/libcxx/test/std/algorithms/alg.sorting/alg.binary.search/upper.bound/
Dupper_bound_comp.pass.cpp26 TEST_CONSTEXPR bool lt(int a, int b) { return a < b; } in lt()
28 TEST_CONSTEXPR bool test_constexpr() { in test_constexpr()

1234