/external/swiftshader/third_party/subzero/crosstest/ |
H A D | test_cast.h | 22 template <typename FromType, typename ToType> ToType cast(FromType a); 23 template <typename FromType, typename ToType> ToType castBits(FromType a); 29 template <typename FromType, typename ToType> 30 ToType cast(int i, FromType a, int j); 31 template <typename FromType, typename ToType> 32 ToType castBits(int i, FromType a, int j);
|
H A D | test_cast_main.cpp | 96 template <typename FromType> 97 void testValue(FromType Val, size_t &TotalTests, size_t &Passes, 99 COMPARE(cast, FromType, bool, Val, FromTypeString); 100 COMPARE(cast, FromType, uint8_t, Val, FromTypeString); 101 COMPARE(cast, FromType, myint8_t, Val, FromTypeString); 102 COMPARE(cast, FromType, uint16_t, Val, FromTypeString); 103 COMPARE(cast, FromType, int16_t, Val, FromTypeString); 104 COMPARE(cast, FromType, uint32_t, Val, FromTypeString); 105 COMPARE(cast, FromType, int32_t, Val, FromTypeString); 106 COMPARE(cast, FromType, uint6 [all...] |
H A D | test_cast.cpp | 21 template <typename FromType, typename ToType> 22 ToType __attribute__((noinline)) cast(FromType a) { 26 template <typename FromType, typename ToType> 27 ToType __attribute__((noinline)) castBits(FromType a) { 31 template <typename FromType, typename ToType> 32 ToType __attribute__((noinline)) cast(int i, FromType a, int j) { 38 template <typename FromType, typename ToType> 39 ToType __attribute__((noinline)) castBits(int i, FromType a, int j) {
|
/external/clang/lib/AST/ |
H A D | ASTDiagnostic.cpp | 316 static bool FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, 340 QualType FromType = local 341 QualType::getFromOpaquePtr(reinterpret_cast<void*>(TDT.FromType)); 345 if (FormatTemplateTypeDiff(Context, FromType, ToType, TDT.PrintTree, 360 Val = TDT.PrintFromType ? TDT.FromType : TDT.ToType; 481 /// ToTemplateType - The type that FromType is compared to. Only in tree 592 void SetTypeDiff(QualType FromType, QualType ToType, bool FromDefault, argument 596 FlatTree[CurrentNode].FromArgInfo.ArgType = FromType; 757 void GetTypeDiff(QualType &FromType, QualType &ToType) { argument 759 FromType 1070 OnlyPerformTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, const TemplateSpecializationType *&FromArgTST, const TemplateSpecializationType *&ToArgTST) argument 1094 QualType FromType = GetType(FromIter); local 1431 QualType FromType, ToType; local 1587 PrintTypeNames(QualType FromType, QualType ToType, bool FromDefault, bool ToDefault, bool Same) argument 1968 TemplateDiff(raw_ostream &OS, ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColor) argument 2032 FormatTemplateTypeDiff(ASTContext &Context, QualType FromType, QualType ToType, bool PrintTree, bool PrintFromType, bool ElideType, bool ShowColors, raw_ostream &OS) argument [all...] |
/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.h | 103 const TypeDescriptor &FromType; member in struct:__ubsan::FloatCastOverflowData 109 const TypeDescriptor &FromType; member in struct:__ubsan::FloatCastOverflowDataV2
|
H A D | ubsan_handlers.cc | 370 const TypeDescriptor *FromType, *ToType; local 377 FromType = &Data->FromType; 385 FromType = &Data->FromType; 393 << Value(*FromType, From) << *FromType << *ToType;
|
/external/v8/src/crankshaft/ |
H A D | hydrogen-types.cc | 16 HType HType::FromType(AstType* type) { function in class:v8::internal::HType 33 return FromType(type->Convert(temp_zone));
|
H A D | hydrogen-types.h | 67 static HType FromType(AstType* type) WARN_UNUSED_RESULT;
|
/external/llvm/lib/Target/NVPTX/ |
H A D | NVPTX.h | 109 enum FromType { enum in namespace:llvm::NVPTX::PTXLdStInstCode
|
H A D | NVPTXISelDAGToDAG.cpp | 955 unsigned int FromType; local 960 FromType = NVPTX::PTXLdStInstCode::Signed; 962 FromType = NVPTX::PTXLdStInstCode::Float; 964 FromType = NVPTX::PTXLdStInstCode::Unsigned; 1030 getI32Imm(VecType, DL), getI32Imm(FromType, DL), 1083 getI32Imm(VecType, DL), getI32Imm(FromType, DL), 1185 getI32Imm(VecType, DL), getI32Imm(FromType, DL), 1287 getI32Imm(VecType, DL), getI32Imm(FromType, DL),
|
/external/clang/lib/Sema/ |
H A D | SemaOverload.cpp | 214 // Note that FromType has not necessarily been transformed by the 216 // check for their presence as well as checking whether FromType is 236 QualType FromType = getFromType(); local 239 // Note that FromType has not necessarily been transformed by the 243 FromType = Context.getArrayDecayedType(FromType); 245 if (Second == ICK_Pointer_Conversion && FromType->isAnyPointerType()) 294 QualType FromType = getToType(0); local 306 if (FromType->isRealFloatingType()) 308 if (FromType 1307 QualType FromType = From->getType(); local 1387 IsNoReturnConversion(QualType FromType, QualType ToType, QualType &ResultTy) argument 1438 IsVectorConversion(Sema &S, QualType FromType, QualType ToType, ImplicitConversionKind &ICK) argument 1496 QualType FromType = From->getType(); local 1829 IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType) argument 1977 IsFloatingPointPromotion(QualType FromType, QualType ToType) argument 2011 IsComplexPromotion(QualType FromType, QualType ToType) argument 2105 IsPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType& ConvertedType, bool &IncompatibleObjC) argument 2257 isObjCPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType, bool &IncompatibleObjC) argument 2437 isObjCWritebackConversion(QualType FromType, QualType ToType, QualType &ConvertedType) argument 2495 IsBlockPointerConversion(QualType FromType, QualType ToType, QualType& ConvertedType) argument 2595 tryGetFunctionProtoType(QualType FromType) argument 2608 HandleFunctionTypeMismatch(PartialDiagnostic &PDiag, QualType FromType, QualType ToType) argument 2726 QualType FromType = From->getType(); local 2807 IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType &ConvertedType) argument 2853 QualType FromType = From->getType(); local 2929 IsQualificationConversion(QualType FromType, QualType ToType, bool CStyle, bool &ObjCLifetimeConversion) argument 4860 TryObjectArgumentInitialization(Sema &S, SourceLocation Loc, QualType FromType, Expr::Classification FromClassification, CXXMethodDecl *Method, CXXRecordDecl *ActingContext) argument [all...] |
H A D | SemaExprCXX.cpp | 3341 QualType FromType = From->getType(); local 3368 if (Context.hasSameType(FromType, Context.OverloadTy)) { 3379 FromType = From->getType(); 3390 QualType InitialFromType = FromType; 3394 if (const AtomicType *FromAtomic = FromType->getAs<AtomicType>()) { 3395 FromType = FromAtomic->getValueType().getUnqualifiedType(); 3396 From = ImplicitCastExpr::Create(Context, FromType, CK_AtomicToNonAtomic, 3406 FromType = From->getType(); 3411 FromType = Context.getArrayDecayedType(FromType); [all...] |
H A D | SemaExprObjC.cpp | 4237 QualType FromType = SubExpr->getType(); local 4245 } else if (T->isObjCARCBridgableType() && FromType->isCARCBridgableType()) { 4257 << FromType 4265 << FromType << br 4279 } else if (T->isCARCBridgableType() && FromType->isObjCARCBridgableType()) { 4291 SubExpr = ImplicitCastExpr::Create(Context, FromType, 4299 << (FromType->isBlockPointerType()? 1 : 0) 4300 << FromType 4319 << FromType << T << Kind
|
H A D | SemaCast.cpp | 1154 QualType FromType = SrcExpr->getType(); local 1157 FromType = FromType.getUnqualifiedType(); 1162 ToType, FromType,
|
H A D | SemaExpr.cpp | 2586 QualType FromType = From->getType(); local 2591 if (FromType->getAs<PointerType>()) { 2593 FromRecordType = FromType->getPointeeType(); 2597 FromRecordType = FromType; 2606 if (FromType->getAs<PointerType>()) { 2607 FromRecordType = FromType->getPointeeType(); 2610 FromRecordType = FromType; 2618 if (DestType->isDependentType() || FromType->isDependentType()) 2668 FromType = QType; 2704 FromType [all...] |
/external/v8/src/ast/ |
H A D | ast-types.h | 385 static AstTypeBase* FromType(AstType* type) { function in class:v8::internal::AstBitsetType::AstTypeBase 411 return static_cast<AstClassType*>(FromType(type)); 442 return static_cast<AstConstantType*>(FromType(type)); 504 return static_cast<AstRangeType*>(FromType(type)); 533 return static_cast<AstContextType*>(FromType(type)); 561 return static_cast<AstArrayType*>(FromType(type)); 633 return static_cast<AstFunctionType*>(FromType(type)); 660 return static_cast<AstTupleType*>(FromType(type)); 686 return static_cast<AstUnionType*>(FromType(type));
|
/external/v8/src/compiler/ |
H A D | types.h | 302 static TypeBase* FromType(Type* type) { function in class:v8::internal::compiler::BitsetType::TypeBase 331 return static_cast<OtherNumberConstantType*>(FromType(type)); 360 return static_cast<HeapConstantType*>(FromType(type)); 413 return static_cast<RangeType*>(FromType(type)); 482 return static_cast<TupleType*>(FromType(type)); 506 return static_cast<UnionType*>(FromType(type));
|
/external/clang/include/clang/Sema/ |
H A D | Overload.h | 186 /// FromType - The type that this conversion is converting 509 QualType FromType, QualType ToType) { 511 Bad.init(Failure, FromType, ToType); 508 setBad(BadConversionSequence::FailureKind Failure, QualType FromType, QualType ToType) argument
|
H A D | Sema.h | 2270 bool IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType); 2271 bool IsFloatingPointPromotion(QualType FromType, QualType ToType); 2272 bool IsComplexPromotion(QualType FromType, QualType ToType); 2273 bool IsPointerConversion(Expr *From, QualType FromType, QualType ToType, 2276 bool isObjCPointerConversion(QualType FromType, QualType ToType, 2278 bool isObjCWritebackConversion(QualType FromType, QualType ToType, 2280 bool IsBlockPointerConversion(QualType FromType, QualType ToType, 2286 QualType FromType, QualType ToType); 2295 bool IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType, 2302 bool IsQualificationConversion(QualType FromType, QualTyp [all...] |
/external/google-breakpad/src/testing/test/ |
H A D | gmock-actions_test.cc | 519 class FromType { class in namespace:__anon7600 521 explicit FromType(bool* is_converted) : converted_(is_converted) {} function in class:__anon7600::FromType 527 GTEST_DISALLOW_ASSIGN_(FromType); 533 ToType(const FromType& x) { *x.converted() = true; } // NOLINT 538 FromType x(&converted);
|
/external/googletest/googlemock/test/ |
H A D | gmock-actions_test.cc | 585 class FromType { class in namespace:__anon7688 587 explicit FromType(bool* is_converted) : converted_(is_converted) {} function in class:__anon7688::FromType 593 GTEST_DISALLOW_ASSIGN_(FromType); 599 ToType(const FromType& x) { *x.converted() = true; } // NOLINT 604 FromType x(&converted);
|
/external/v8/testing/gmock/test/ |
H A D | gmock-actions_test.cc | 585 class FromType { class in namespace:__anon27940 587 explicit FromType(bool* is_converted) : converted_(is_converted) {} function in class:__anon27940::FromType 593 GTEST_DISALLOW_ASSIGN_(FromType); 599 ToType(const FromType& x) { *x.converted() = true; } // NOLINT 604 FromType x(&converted);
|
/external/clang/lib/Basic/ |
H A D | Diagnostic.cpp | 866 TDT.FromType = getRawArg(ArgNo); 911 TDT.FromType));
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 680 Type *FromType = FromVal->getType(); local 681 if (FromType == ToType && Offset == 0) 686 if (VectorType *VTy = dyn_cast<VectorType>(FromType)) { 687 unsigned FromTypeSize = TD.getTypeAllocSize(FromType);
|
/external/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 1398 intptr_t FromType;
|