Home
last modified time | relevance | path

Searched defs:UnaryTransform (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/cronet/third_party/libc++/src/test/libcxx/algorithms/
H A Dranges_robust_against_copying_comparators.pass.cpp62 struct UnaryTransform { struct
64 constexpr explicit UnaryTransform(int *copies) : copies_(copies) {} in UnaryTransform() argument
65 constexpr UnaryTransform(const UnaryTransform& rhs) : copies_(rhs.copies_) { *copies_ += 1; } in UnaryTransform() function
67 constexpr std::nullptr_t operator()(void*) const { return nullptr; } in operator ()()
H A Drobust_against_copying_comparators.pass.cpp64 struct UnaryTransform { struct
66 TEST_CONSTEXPR explicit UnaryTransform(int *copies) : copies_(copies) {} in UnaryTransform() function
67 …TEST_CONSTEXPR_CXX14 UnaryTransform(const UnaryTransform& rhs) : copies_(rhs.copies_) { *copies_ +… in UnaryTransform() function
69 TEST_CONSTEXPR T operator()(T) const { return 0; } in operator ()()
H A Dranges_robust_against_copying_projections.pass.cpp52 struct UnaryTransform { struct
53 constexpr T operator()(void*) const { return T(); } in operator ()()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/std/algorithms/
H A Drobust_against_adl.compile.pass.cpp39 struct UnaryTransform { TEST_CONSTEXPR std::nullptr_t operator()(void*) const { return nullptr; } }; in operator ()() struct
H A Drobust_re_difference_type.compile.pass.cpp71 struct UnaryTransform { TEST_CONSTEXPR std::nullptr_t operator()(void*) const { return nullptr; } }; in operator ()() struct
/aosp_15_r20/external/cronet/base/ranges/
H A Dalgorithm_unittest.cc569 TEST(RangesTest, UnaryTransform) { in TEST() argument