/external/libcxx/test/support/ |
poisoned_hash_helper.hpp | 113 struct ConvertibleTo { 150 using CKey = ConvertibleTo<Key>; 162 static_assert(can_hash<Hash(ConvertibleTo<Key>&)>(), ""); 163 static_assert(can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); 164 static_assert(can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); 165 static_assert(can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); 190 using CKey = ConvertibleTo<Key>; 202 static_assert(!can_hash<Hash(ConvertibleTo<Key>&)>(), ""); 203 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); 204 static_assert(!can_hash<Hash(ConvertibleTo<Key> &&)>(), "") [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
poisoned_hash_helper.hpp | 113 struct ConvertibleTo { 150 using CKey = ConvertibleTo<Key>; 162 static_assert(can_hash<Hash(ConvertibleTo<Key>&)>(), ""); 163 static_assert(can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); 164 static_assert(can_hash<Hash(ConvertibleTo<Key> &&)>(), ""); 165 static_assert(can_hash<Hash(ConvertibleTo<Key> const&&)>(), ""); 190 using CKey = ConvertibleTo<Key>; 202 static_assert(!can_hash<Hash(ConvertibleTo<Key>&)>(), ""); 203 static_assert(!can_hash<Hash(ConvertibleTo<Key> const&)>(), ""); 204 static_assert(!can_hash<Hash(ConvertibleTo<Key> &&)>(), "") [all...] |
/prebuilts/go/darwin-x86/src/cmd/vet/ |
types.go | 278 if types.ConvertibleTo(typ, errorType) { 281 if stringerType != nil && types.ConvertibleTo(typ, stringerType) {
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
types.go | 278 if types.ConvertibleTo(typ, errorType) { 281 if stringerType != nil && types.ConvertibleTo(typ, stringerType) {
|
/prebuilts/go/darwin-x86/src/go/types/ |
api.go | 366 // ConvertibleTo reports whether a value of type V is convertible to a value of type T. 367 func ConvertibleTo(V, T Type) bool { 369 return x.convertibleTo(nil, T) // config not needed for non-constant x
|
/prebuilts/go/linux-x86/src/go/types/ |
api.go | 366 // ConvertibleTo reports whether a value of type V is convertible to a value of type T. 367 func ConvertibleTo(V, T Type) bool { 369 return x.convertibleTo(nil, T) // config not needed for non-constant x
|
/prebuilts/go/darwin-x86/src/database/sql/ |
convert.go | 367 if dv.Kind() == sv.Kind() && sv.Type().ConvertibleTo(dv.Type()) {
|
/prebuilts/go/linux-x86/src/database/sql/ |
convert.go | 367 if dv.Kind() == sv.Kind() && sv.Type().ConvertibleTo(dv.Type()) {
|
/prebuilts/go/darwin-x86/src/text/template/ |
funcs.go | 145 if intLike(value.Kind()) && intLike(argType.Kind()) && value.Type().ConvertibleTo(argType) {
|
/prebuilts/go/linux-x86/src/text/template/ |
funcs.go | 145 if intLike(value.Kind()) && intLike(argType.Kind()) && value.Type().ConvertibleTo(argType) {
|
/prebuilts/go/darwin-x86/src/reflect/ |
all_test.go | [all...] |
type.go | 102 // ConvertibleTo reports whether a value of the type is convertible to type u. 103 ConvertibleTo(u Type) bool [all...] |
/prebuilts/go/linux-x86/src/reflect/ |
all_test.go | [all...] |
type.go | 102 // ConvertibleTo reports whether a value of the type is convertible to type u. 103 ConvertibleTo(u Type) bool [all...] |