/external/cronet/buildtools/third_party/libc++/trunk/test/std/iterators/predef.iterators/counted.iterator/ |
D | ctor.conv.pass.cpp | 21 class ConvertibleTo class 34 ConvertibleTo() = default; 35 explicit constexpr ConvertibleTo(int *it) : it_(it) {} in ConvertibleTo() function in ConvertibleTo 39 constexpr ConvertibleTo& operator++() {++it_; return *this;} in operator ++() 40 constexpr ConvertibleTo operator++(int) in operator ++() 41 {ConvertibleTo tmp(*this); ++(*this); return tmp;} in operator ++() 56 std::counted_iterator iter1(ConvertibleTo<forward_iterator<int*>>{buffer}, 8); in test() 62 const std::counted_iterator iter1(ConvertibleTo<forward_iterator<int*>>{buffer}, 8); in test()
|
/external/clang/test/SemaObjCXX/ |
D | objc-container-subscripting.mm | 48 struct ConvertibleTo { struct 57 template<typename T> ConvertibleTo<T> makeConvertible(); argument 60 ConvertibleTo<id> x; 61 ConvertibleTo<id> get(); 64 NSMutableArray *test_array_convertibility(ConvertibleTo<NSMutableArray*> toArray, 65 ConvertibleTo<id> toId, 66 ConvertibleTo<int (^)(int)> toBlock, 67 ConvertibleTo<int> toInt, 81 id test_dict_convertibility(ConvertibleTo<NSMutableDictionary*> toDict, 82 ConvertibleTo<id> toId, [all …]
|
D | literals.mm | 54 struct ConvertibleTo { struct 69 template<typename T> ConvertibleTo<T> makeConvertible(); argument 72 ConvertibleTo<id> x; 73 ConvertibleTo<id> get(); 82 void test_convertibility(ConvertibleTo<NSArray*> toArray, 83 ConvertibleTo<id> toId, 84 ConvertibleTo<int (^)(int)> toBlock, 85 ConvertibleTo<int> toInt, 91 …toInt // expected-error{{collection element of type 'ConvertibleTo<int>' is not an Objective-C obj… 97 …makeConvertible<id>, // expected-error{{collection element of type 'ConvertibleTo<id> ()' is not a… [all …]
|
/external/libcxx/test/support/ |
D | poisoned_hash_helper.hpp | 113 struct ConvertibleTo { struct 161 static_assert(can_hash<Hash(ConvertibleTo<Key>&)>(), ""); in test_hash_enabled() 162 static_assert(can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); in test_hash_enabled() 163 static_assert(can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); in test_hash_enabled() 164 static_assert(can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); in test_hash_enabled() 200 static_assert(!can_hash<Hash(ConvertibleTo<Key>&)>(), ""); in test_hash_disabled() 201 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); in test_hash_disabled() 202 static_assert(!can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); in test_hash_disabled() 203 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); in test_hash_disabled()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/support/ |
D | poisoned_hash_helper.h | 111 struct ConvertibleTo { struct 163 static_assert(can_hash<Hash, ConvertibleTo<Key>&>(), ""); in test_hash_enabled() 164 static_assert(can_hash<Hash, ConvertibleTo<Key> const&>(), ""); in test_hash_enabled() 165 static_assert(can_hash<Hash, ConvertibleTo<Key>&&>(), ""); in test_hash_enabled() 166 static_assert(can_hash<Hash, ConvertibleTo<Key> const&&>(), ""); in test_hash_enabled() 202 static_assert(!can_hash<Hash, ConvertibleTo<Key>&>(), ""); in test_hash_disabled() 203 static_assert(!can_hash<Hash, ConvertibleTo<Key> const&>(), ""); in test_hash_disabled() 204 static_assert(!can_hash<Hash, ConvertibleTo<Key>&&>(), ""); in test_hash_disabled() 205 static_assert(!can_hash<Hash, ConvertibleTo<Key> const&&>(), ""); in test_hash_disabled()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/string.view/string.view.comparison/ |
D | less_equal.pass.cpp | 26 struct ConvertibleTo { struct 28 TEST_CONSTEXPR explicit ConvertibleTo(T t) : t_(t) {} in ConvertibleTo() function 54 assert((ConvertibleTo<SV>(v[i]) <= v[j]) == expected); in test() 55 assert((v[i] <= ConvertibleTo<SV>(v[j])) == expected); in test()
|
D | greater_equal.pass.cpp | 26 struct ConvertibleTo { struct 28 TEST_CONSTEXPR explicit ConvertibleTo(T t) : t_(t) {} in ConvertibleTo() argument 54 assert((ConvertibleTo<SV>(v[i]) >= v[j]) == expected); in test() 55 assert((v[i] >= ConvertibleTo<SV>(v[j])) == expected); in test()
|
D | greater.pass.cpp | 26 struct ConvertibleTo { struct 28 TEST_CONSTEXPR explicit ConvertibleTo(T t) : t_(t) {} in ConvertibleTo() function 54 assert((ConvertibleTo<SV>(v[i]) > v[j]) == expected); in test() 55 assert((v[i] > ConvertibleTo<SV>(v[j])) == expected); in test()
|
D | less.pass.cpp | 26 struct ConvertibleTo { struct 28 TEST_CONSTEXPR explicit ConvertibleTo(T t) : t_(t) {} in ConvertibleTo() function 54 assert((ConvertibleTo<SV>(v[i]) < v[j]) == expected); in test() 55 assert((v[i] < ConvertibleTo<SV>(v[j])) == expected); in test()
|
D | equal.pass.cpp | 26 struct ConvertibleTo { struct 28 TEST_CONSTEXPR explicit ConvertibleTo(T t) : t_(t) {} in ConvertibleTo() argument 54 assert((ConvertibleTo<SV>(v[i]) == v[j]) == expected); in test() 55 assert((v[i] == ConvertibleTo<SV>(v[j])) == expected); in test()
|
D | not_equal.pass.cpp | 26 struct ConvertibleTo { struct 28 TEST_CONSTEXPR explicit ConvertibleTo(T t) : t_(t) {} in ConvertibleTo() argument 54 assert((ConvertibleTo<SV>(v[i]) != v[j]) == expected); in test() 55 assert((v[i] != ConvertibleTo<SV>(v[j])) == expected); in test()
|
/external/golang-protobuf/internal/msgfmt/ |
D | format.go | 98 if v := reflect.ValueOf(m); v.Type().ConvertibleTo(protocmpMessageType) {
|
/external/cronet/buildtools/third_party/libc++/trunk/docs/Status/ |
D | Cxx20Issues.csv | 199 "`3194 <https://wg21.link/LWG3194>`__","``ConvertibleTo``\ prose does not match code","Prague","|C…
|