Home
last modified time | relevance | path

Searched refs:CanConvert (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/Sema/
DSemaFixItUtils.cpp97 bool CanConvert = CompareTypes( in tryToFixConversion() local
100 if (CanConvert) { in tryToFixConversion()
129 bool CanConvert = false; in tryToFixConversion() local
136 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, in tryToFixConversion()
138 if (CanConvert) { in tryToFixConversion()
/external/llvm-project/clang/lib/Sema/
DSemaFixItUtils.cpp96 bool CanConvert = CompareTypes( in tryToFixConversion() local
99 if (CanConvert) { in tryToFixConversion()
128 bool CanConvert = false; in tryToFixConversion() local
135 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, in tryToFixConversion()
137 if (CanConvert) { in tryToFixConversion()
/external/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dconst_first_const_second.pass.cpp38 bool CanCopy = true, bool CanConvert = CanCopy>
45 static_assert(test_convertible<P1, T1Arg, T2>() == CanConvert, ""); in test_sfinae()
47 static_assert(test_convertible<P2, T2, T1Arg>() == CanConvert, ""); in test_sfinae()
DU_V.pass.cpp28 bool CanCopy = true, bool CanConvert = CanCopy>
34 static_assert(test_convertible<P1, T1Arg, T2>() == CanConvert, ""); in test_sfinae()
36 static_assert(test_convertible<P2, T2, T1Arg>() == CanConvert, ""); in test_sfinae()
Drv_pair_U_V.pass.cpp27 bool CanCopy = true, bool CanConvert = CanCopy>
35 static_assert(test_convertible<P1, UP1>() == CanConvert, ""); in test_pair_rv()
37 static_assert(test_convertible<P2, UP2>() == CanConvert, ""); in test_pair_rv()
Dconst_pair_U_V.pass.cpp26 bool CanCopy = true, bool CanConvert = CanCopy>
34 static_assert(test_convertible<P1, UP1>() == CanConvert, ""); in test_pair_const()
36 static_assert(test_convertible<P2, UP2>() == CanConvert, ""); in test_pair_const()
/external/llvm-project/libcxx/test/std/utilities/utility/pairs/pairs.pair/
Dconst_first_const_second.pass.cpp39 bool CanCopy = true, bool CanConvert = CanCopy>
46 static_assert(test_convertible<P1, T1Arg, T2>() == CanConvert, ""); in test_sfinae()
48 static_assert(test_convertible<P2, T2, T1Arg>() == CanConvert, ""); in test_sfinae()
DU_V.pass.cpp29 bool CanCopy = true, bool CanConvert = CanCopy>
35 static_assert(test_convertible<P1, T1Arg, T2>() == CanConvert, ""); in test_sfinae()
37 static_assert(test_convertible<P2, T2, T1Arg>() == CanConvert, ""); in test_sfinae()
Drv_pair_U_V.pass.cpp28 bool CanCopy = true, bool CanConvert = CanCopy>
36 static_assert(test_convertible<P1, UP1>() == CanConvert, ""); in test_pair_rv()
38 static_assert(test_convertible<P2, UP2>() == CanConvert, ""); in test_pair_rv()
Dconst_pair_U_V.pass.cpp26 template <class T1, class U1, bool CanCopy = true, bool CanConvert = CanCopy>
33 static_assert(test_convertible<P1, UP1>() == CanConvert, ""); in test_pair_const()
35 static_assert(test_convertible<P2, UP2>() == CanConvert, ""); in test_pair_const()
/external/vixl/src/aarch32/
Doperands-aarch32.h270 VIXL_ASSERT(CanConvert<T>()); in GetImmediate()
278 VIXL_ASSERT(CanConvert<uint64_t>()); in GetImmediate()
284 VIXL_ASSERT(CanConvert<float>()); in GetImmediate()
289 VIXL_ASSERT(CanConvert<double>()); in GetImmediate()
306 bool CanConvert() const { in CanConvert() function
307 return CanConvert(DataTypeIdentity<T>()); in CanConvert()
311 bool CanConvert(const DataTypeIdentity<T>&) const { in CanConvert() function
318 bool CanConvert(const DataTypeIdentity<uint32_t>&) const { in CanConvert() function
324 bool CanConvert(const DataTypeIdentity<uint64_t>&) const { in CanConvert() function
325 return IsInteger() || CanConvert<uint32_t>(); in CanConvert()
[all …]
Dmacro-assembler-aarch32.cc1322 if (neon_imm.CanConvert<float>()) { in Delegate()
1355 if (neon_imm.CanConvert<uint32_t>()) { in Delegate()
1380 if (neon_imm.CanConvert<uint16_t>()) { in Delegate()
1391 if (neon_imm.CanConvert<uint64_t>()) { in Delegate()
1440 if ((dt.Is(I16) || dt.Is(I32)) && neon_imm.CanConvert<uint32_t>()) { in Delegate()
1464 if (dt.Is(F32) && neon_imm.CanConvert<float>()) { in Delegate()
1473 if (dt.Is(F64) && neon_imm.CanConvert<double>()) { in Delegate()
1501 if (neon_imm.CanConvert<uint32_t>()) { in Delegate()
1526 if (neon_imm.CanConvert<uint16_t>()) { in Delegate()
1537 if (neon_imm.CanConvert<uint64_t>()) { in Delegate()
[all …]
Doperands-aarch32.cc199 if (neon_imm.CanConvert<uint8_t>()) { in ImmediateVmov()
Dassembler-aarch32.cc15003 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vceq()
15043 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vceq()
15175 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vcge()
15215 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vcge()
15349 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vcgt()
15389 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vcgt()
15523 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vcle()
15563 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vcle()
15751 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vclt()
15791 if (operand.GetNeonImmediate().CanConvert<uint32_t>()) { in vclt()
[all …]
/external/flatbuffers/tests/MyGame/Example/
DAnyAmbiguousAliases.cs42 public override bool CanConvert(System.Type objectType) { in CanConvert() method in MyGame.Example.AnyAmbiguousAliasesUnion_JsonConverter
DAny.cs42 public override bool CanConvert(System.Type objectType) { in CanConvert() method in MyGame.Example.AnyUnion_JsonConverter
DAnyUniqueAliases.cs42 public override bool CanConvert(System.Type objectType) { in CanConvert() method in MyGame.Example.AnyUniqueAliasesUnion_JsonConverter
/external/flatbuffers/tests/union_vector/
DCharacter.cs48 public override bool CanConvert(System.Type objectType) { in CanConvert() method in CharacterUnion_JsonConverter