Home
last modified time | relevance | path

Searched refs:FPT (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp321 if (!FPT) in checkCall_bcmp()
325 if (FPT->getNumParams() != 3) in checkCall_bcmp()
363 if (!FPT) in checkCall_bcopy()
367 if (FPT->getNumParams() != 3) in checkCall_bcopy()
406 if (!FPT) in checkCall_bzero()
410 if (FPT->getNumParams() != 2) in checkCall_bzero()
448 if (!FPT) in checkCall_gets()
452 if (FPT->getNumParams() != 1) in checkCall_gets()
484 if (!FPT) in checkCall_getpw()
528 if(!FPT) in checkCall_mktemp()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp233 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in isFuncTypeConvertible() local
234 for (unsigned i = 0, e = FPT->getNumParams(); i != e; i++) in isFuncTypeConvertible()
235 if (!isFuncParamTypeConvertible(FPT->getParamType(i))) in isFuncTypeConvertible()
327 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in ConvertFunctionType() local
328 for (unsigned i = 0, e = FPT->getNumParams(); i != e; i++) in ConvertFunctionType()
329 if (const RecordType *RT = FPT->getParamType(i)->getAs<RecordType>()) in ConvertFunctionType()
349 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { in ConvertFunctionType() local
351 CanQual<FunctionProtoType>::CreateUnsafe(QualType(FPT, 0)), FD); in ConvertFunctionType()
H A DCGExprCXX.cpp58 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in commonEmitCXXMemberOrOperatorCall() local
71 CGF.EmitCallArgs(Args, FPT, drop_begin(CE->arguments(), ArgsToSkip), in commonEmitCXXMemberOrOperatorCall()
75 FPT->getNumParams() == 0 && in commonEmitCXXMemberOrOperatorCall()
91 Args, FPT, CallInfo.ReqArgs, CallInfo.PrefixSize); in EmitCXXMemberOrOperatorCall()
425 const FunctionProtoType *FPT = in EmitCXXMemberPointerCallExpr() local
458 RequiredArgs::forPrototypePlus(FPT, 1, /*FD=*/nullptr); in EmitCXXMemberPointerCallExpr()
461 EmitCallArgs(Args, FPT, E->arguments()); in EmitCXXMemberPointerCallExpr()
1356 auto AI = FPT->param_type_begin(), AE = FPT->param_type_end(); in getUsualDeleteParams()
1429 const FunctionProtoType *FPT = in Emit() local
1435 DeleteArgs.add(Traits::get(CGF, Ptr), FPT->getParamType(0)); in Emit()
[all …]
H A DCGVTables.cpp161 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); in GenerateVarArgsThunk() local
162 QualType ResultType = FPT->getReturnType(); in GenerateVarArgsThunk()
235 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); in StartThunk() local
244 ResultType = FPT->getReturnType(); in StartThunk()
326 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); in EmitCallAndReturnForThunk() local
330 CallArgs, FPT, RequiredArgs::forPrototypePlus(FPT, 1, MD), PrefixArgs); in EmitCallAndReturnForThunk()
350 : FPT->getReturnType(); in EmitCallAndReturnForThunk()
H A DCGCXXABI.cpp54 const FunctionProtoType *FPT = in EmitLoadOfMemberFunctionPointer() local
59 CGM.getTypes().arrangeCXXMethodType(RD, FPT, /*FD=*/nullptr)); in EmitLoadOfMemberFunctionPointer()
61 return CGCallee::forDirect(FnPtr, FPT); in EmitLoadOfMemberFunctionPointer()
H A DCGCall.cpp142 if (!FPT->hasExtParameterInfos()) { in appendParameterTypes()
145 prefix.append(FPT->param_type_begin(), FPT->param_type_end()); in appendParameterTypes()
153 prefix.reserve(prefix.size() + FPT->getNumParams()); in appendParameterTypes()
155 auto ExtInfos = FPT->getExtParameterInfos(); in appendParameterTypes()
156 assert(ExtInfos.size() == FPT->getNumParams()); in appendParameterTypes()
158 prefix.push_back(FPT->getParamType(I)); in appendParameterTypes()
410 CanQual<FunctionProtoType> FPT = GetFormalType(D); in arrangeCXXConstructorCall() local
420 FunctionType::ExtInfo Info = FPT->getExtInfo(); in arrangeCXXConstructorCall()
1682 if (!isFuncTypeConvertible(FPT)) in GetFunctionTypeForVTable()
1697 if (!FPT) in AddAttributesFromFunctionProtoType()
[all …]
H A DMicrosoftCXXABI.cpp1253 const FunctionProtoType *FPT = CD->getType()->castAs<FunctionProtoType>(); in buildStructorSignature() local
1255 if (FPT->isVariadic()) { in buildStructorSignature()
1437 if (FPT->isVariadic()) in addImplicitStructorParams()
1529 const FunctionProtoType *FPT = D->getType()->castAs<FunctionProtoType>(); in addImplicitConstructorArgs() local
1537 if (FPT->isVariadic()) { in addImplicitConstructorArgs()
2745 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in EmitMemberFunctionPointer() local
2749 if (Types.isFuncTypeConvertible(FPT)) { in EmitMemberFunctionPointer()
3294 const FunctionProtoType *FPT = in EmitLoadOfMemberFunctionPointer() local
3298 CGM.getTypes().arrangeCXXMethodType(RD, FPT, /*FD=*/nullptr)); in EmitLoadOfMemberFunctionPointer()
3338 CGCallee Callee(FPT, FunctionPointer); in EmitLoadOfMemberFunctionPointer()
[all …]
H A DCGClass.cpp2045 const FunctionProtoType *FPT = D->getType()->castAs<FunctionProtoType>(); in EmitCXXConstructorCall() local
2049 EmitCallArgs(Args, FPT, E->arguments(), E->getConstructor(), in EmitCXXConstructorCall()
2282 const FunctionProtoType *FPT = D->getType()->castAs<FunctionProtoType>(); in EmitSynthesizedCXXCopyCtorCall() local
2290 QualType QT = *(FPT->param_type_begin()); in EmitSynthesizedCXXCopyCtorCall()
2296 EmitCallArgs(Args, FPT, drop_begin(E->arguments(), 1), E->getConstructor(), in EmitSynthesizedCXXCopyCtorCall()
2810 const FunctionProtoType *FPT = in EmitForwardingCallToLambda() local
2812 QualType resultType = FPT->getReturnType(); in EmitForwardingCallToLambda()
H A DCGDebugInfo.cpp1168 else if (const auto *FPT = dyn_cast<FunctionProtoType>(Ty)) { in CreateType() local
1169 for (const QualType &ParamType : FPT->param_types()) in CreateType()
1171 if (FPT->isVariadic()) in CreateType()
2612 const FunctionProtoType *FPT = in CreateType() local
2616 CXXMethodDecl::getThisType(FPT, Ty->getMostRecentCXXRecordDecl()), in CreateType()
2617 FPT, U), in CreateType()
3362 else if (auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() local
3363 if (FPT->getNumParams() > 1) in getOrCreateFunctionType()
3364 SelfDeclTy = FPT->getParamType(0); in getOrCreateFunctionType()
3389 if (const auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() local
[all …]
/freebsd-12.1/lib/libc/stdio/
H A Dprintflocal.h47 #define FPT 0x100 /* Floating point number */ macro
H A Dvfprintf.c741 flags |= FPT; in __vfprintf()
978 if ((flags & FPT) == 0) { in __vfprintf()
H A Dvfwprintf.c806 flags |= FPT; in __vfwprintf()
1039 if ((flags & FPT) == 0) { in __vfwprintf()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExceptionSpec.cpp189 Sema::ResolveExceptionSpec(SourceLocation Loc, const FunctionProtoType *FPT) { in ResolveExceptionSpec() argument
190 if (FPT->getExceptionSpecType() == EST_Unparsed) { in ResolveExceptionSpec()
195 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) in ResolveExceptionSpec()
196 return FPT; in ResolveExceptionSpec()
198 FunctionDecl *SourceDecl = FPT->getExceptionSpecDecl(); in ResolveExceptionSpec()
H A DSemaLambda.cpp388 const FunctionProtoType *FPT = MethodType->castAs<FunctionProtoType>(); in startLambdaDefinition() local
389 QualType Result = FPT->getReturnType(); in startLambdaDefinition()
392 MethodType = Context.getFunctionType(Result, FPT->getParamTypes(), in startLambdaDefinition()
393 FPT->getExtProtoInfo()); in startLambdaDefinition()
H A DSema.cpp1434 auto *FPT = DD->getType()->getAs<FunctionProtoType>(); in checkEscapingByref() local
1435 S.ResolveExceptionSpec(Loc, FPT); in checkEscapingByref()
1725 if (const FunctionProtoType *FPT = in tryExprAsCall() local
1727 if (FPT->getNumParams() == 0) in tryExprAsCall()
H A DSemaDecl.cpp8512 const FunctionProtoType *FPT = in ActOnFunctionDeclarator() local
8634 getLangOpts().CPlusPlus11 && FPT && !FPT->hasExceptionSpec()) in ActOnFunctionDeclarator()
8636 FPT->getReturnType(), FPT->getParamTypes(), in ActOnFunctionDeclarator()
10025 const FunctionProtoType *FPT = in CheckFunctionDeclaration() local
10029 MD->setType(Context.getFunctionType(FPT->getReturnType(), in CheckFunctionDeclaration()
10253 if (auto *FPT = T->getAs<FunctionProtoType>()) in CheckFunctionDeclaration() local
10254 if (FPT->isNothrow()) in CheckFunctionDeclaration()
10260 bool AnyNoexcept = HasNoexcept(FPT->getReturnType()); in CheckFunctionDeclaration()
10261 for (QualType T : FPT->param_types()) in CheckFunctionDeclaration()
12980 ResolveExceptionSpec(D->getLocation(), FPT); in ActOnStartOfFunctionDef()
[all …]
/freebsd-12.1/contrib/file/magic/Magdir/
H A Ddatabase202 >>>>>>>>>>>>28 ubyte&0x02 2 \b, with memo .FPT
334 # dBase memo files .DBT or .FPT
349 # dBASE III DBT without version, dBASE IV DBT , FoxPro FPT , or many ZIP , DBF garbage
351 # unusual dBASE III DBT like angest.dbt, dBASE IV DBT with block size 0 , FoxPro FPT , or garbage …
353 # FoxPro FPT , unusual dBASE III DBT like biblio.dbt or garbage
436 # Print the information of FoxPro FPT memo file
438 >0 belong x FoxPro FPT
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDecl.cpp2834 const auto *FPT = getType()->castAs<FunctionProtoType>(); in isReplaceableGlobalAllocationFunction() local
2835 if (FPT->getNumParams() == 0 || FPT->getNumParams() > 3 || FPT->isVariadic()) in isReplaceableGlobalAllocationFunction()
2840 if (FPT->getNumParams() == 1) in isReplaceableGlobalAllocationFunction()
2844 QualType Ty = FPT->getParamType(Params); in isReplaceableGlobalAllocationFunction()
2849 Ty = Params < FPT->getNumParams() ? FPT->getParamType(Params) : QualType(); in isReplaceableGlobalAllocationFunction()
2881 return Params == FPT->getNumParams(); in isReplaceableGlobalAllocationFunction()
3056 const auto *FPT = getType()->getAs<FunctionProtoType>(); in getNumParams() local
3057 return FPT ? FPT->getNumParams() : 0; in getNumParams()
H A DASTDiagnostic.cpp82 const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT); in Desugar() local
83 if (FPT) { in Desugar()
84 for (QualType SugarPT : FPT->param_types()) { in Desugar()
97 QT = FPT ? Context.getFunctionType(RT, Args, FPT->getExtProtoInfo()) in Desugar()
H A DType.cpp3565 const auto *FPT = cast<FunctionProtoType>(T); in computeCachedProperties() local
3566 CachedProperties result = Cache::get(FPT->getReturnType()); in computeCachedProperties()
3567 for (const auto &ai : FPT->param_types()) in computeCachedProperties()
3650 const auto *FPT = cast<FunctionProtoType>(T); in computeTypeLinkageInfo() local
3651 LinkageInfo LV = computeTypeLinkageInfo(FPT->getReturnType()); in computeTypeLinkageInfo()
3652 for (const auto &ai : FPT->param_types()) in computeTypeLinkageInfo()
H A DASTContext.cpp2730 const auto *FPT = cast<FunctionProtoType>(T); in adjustFunctionType() local
2731 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in adjustFunctionType()
2733 Result = getFunctionType(FPT->getReturnType(), FPT->getParamTypes(), EPI); in adjustFunctionType()
2743 const auto *FPT = FD->getType()->castAs<FunctionProtoType>(); in adjustDeducedFunctionResultType() local
2744 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in adjustDeducedFunctionResultType()
3664 if (FunctionProtoType *FPT = in getFunctionTypeInternal() local
3666 QualType Existing = QualType(FPT, 0); in getFunctionTypeInternal()
3674 EPI.ExceptionSpec.NoexceptExpr == FPT->getNoexceptExpr()) in getFunctionTypeInternal()
6851 if (const auto *FPT = dyn_cast<FunctionProtoType>(FT)) { in getObjCEncodingForTypeImpl() local
6852 for (const auto &I : FPT->param_types()) in getObjCEncodingForTypeImpl()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1525 Instruction *InstCombiner::visitFPTrunc(FPTruncInst &FPT) { in visitFPTrunc() argument
1526 if (Instruction *I = commonCastTransforms(FPT)) in visitFPTrunc()
1536 Type *Ty = FPT.getType(); in visitFPTrunc()
1537 BinaryOperator *OpI = dyn_cast<BinaryOperator>(FPT.getOperand(0)); in visitFPTrunc()
1630 if (auto *II = dyn_cast<IntrinsicInst>(FPT.getOperand(0))) { in visitFPTrunc()
1656 Function *Overload = Intrinsic::getDeclaration(FPT.getModule(), in visitFPTrunc()
1668 if (Instruction *I = shrinkInsertElt(FPT, Builder)) in visitFPTrunc()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp3481 auto *FPT = FD->getType()->getAs<FunctionProtoType>(); in attachPreviousDeclImpl() local
3483 if (FPT && PrevFPT) { in attachPreviousDeclImpl()
3486 bool IsUnresolved = isUnresolvedExceptionSpec(FPT->getExceptionSpecType()); in attachPreviousDeclImpl()
3495 bool IsUndeduced = isUndeducedReturnType(FPT->getReturnType()); in attachPreviousDeclImpl()
3500 (IsUndeduced ? PrevFPT : FPT)->getReturnType()}); in attachPreviousDeclImpl()
4403 auto *FPT = FD->getType()->castAs<FunctionProtoType>(); in UpdateDecl() local
4406 if (isUnresolvedExceptionSpec(FPT->getExceptionSpecType())) { in UpdateDecl()
4408 FPT->getReturnType(), FPT->getParamTypes(), in UpdateDecl()
4409 FPT->getExtProtoInfo().withExceptionSpec(ESI))); in UpdateDecl()
/freebsd-12.1/contrib/sendmail/libsm/
H A Dvfprintf.c156 #define FPT 0x100 /* Floating point number */ macro
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DTypeLoc.h1332 if (auto *FPT = dyn_cast<FunctionProtoType>(getTypePtr())) { in hasExceptionSpec() local
1333 return FPT->hasExceptionSpec(); in hasExceptionSpec()

12