/external/opencv/cvaux/src/ |
cvfindface.cpp | 50 FaceDetection FD; 51 FD.SetBoosting(false); 52 FD.FindFace(Image); 54 FD.CreateResults(lpSeq); 60 FaceDetection FD; 61 FD.SetBoosting(true); 62 FD.FindFace(Image); 64 FD.CreateResults(lpSeq);
|
/external/clang/lib/AST/ |
DeclFriend.cpp | 40 FriendDecl *FD = new (C) FriendDecl(DC, L, Friend, FriendL); 41 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD); 42 return FD;
|
MicrosoftMangle.cpp | 42 void mangleFunctionEncoding(const FunctionDecl *FD); 70 void mangleFunctionClass(const FunctionDecl *FD); 133 const FunctionDecl *FD = dyn_cast<FunctionDecl>(D); 134 if (FD && (FD->hasAttr<OverloadableAttr>() || isa<CXXMethodDecl>(FD) || 135 !FD->getDeclName().isIdentifier())) 143 if (!FD) { 150 if ((FD && FD->isMain()) || isInCLinkageSpecification(D) [all...] |
/external/clang/examples/analyzer-plugin/ |
MainCallChecker.cpp | 22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl(); 24 if (!FD) 28 IdentifierInfo *II = FD->getIdentifier();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
AdjustedReturnValueChecker.cpp | 61 const FunctionDecl *FD = FT->getDecl(); 62 actualResultTy = FD->getResultType();
|
BuiltinFunctionChecker.cpp | 35 const FunctionDecl *FD = C.getCalleeDecl(CE); 37 if (!FD) 40 unsigned id = FD->getBuiltinID();
|
NoReturnFunctionChecker.cpp | 46 const FunctionDecl *FD = L.getAsFunctionDecl(); 47 if (!FD) 50 if (FD->getAttr<AnalyzerNoReturnAttr>()) 52 else if (const IdentifierInfo *II = FD->getIdentifier()) {
|
AttrNonNullChecker.cpp | 42 const FunctionDecl *FD = X.getAsFunctionDecl(); 43 if (!FD) 46 const NonNullAttr* Att = FD->getAttr<NonNullAttr>();
|
CStringSyntaxChecker.cpp | 58 const FunctionDecl *FD = CE->getDirectCallee(); 59 if (!FD) 61 return (CheckerContext::isCLibraryFunction(FD, "strlen", ASTC) 135 const FunctionDecl *FD = CE->getDirectCallee(); 136 if (!FD) 139 if (CheckerContext::isCLibraryFunction(FD, "strncat", ASTC)) { 160 BR.EmitBasicReport(FD, "Anti-pattern in the argument", "C String API",
|
ChrootChecker.cpp | 65 const FunctionDecl *FD = C.getCalleeDecl(CE); 66 if (!FD) 75 if (FD->getIdentifier() == II_chroot) { 79 if (FD->getIdentifier() == II_chdir) { 125 const FunctionDecl *FD = C.getCalleeDecl(CE); 126 if (!FD) 136 if (FD->getIdentifier() == II_chroot || FD->getIdentifier() == II_chdir)
|
ObjCContainersASTChecker.cpp | 88 const FunctionDecl *FD = CE->getDirectCallee(); 89 if (!FD) 92 IdentifierInfo *II = FD->getIdentifier();
|
MallocOverflowSecurityChecker.cpp | 242 const FunctionDecl *FD = TheCall->getDirectCallee(); 244 if (!FD) 248 IdentifierInfo *FnInfo = FD->getIdentifier();
|
VirtualCallChecker.cpp | 70 const FunctionDecl *FD = WLUnit->getDirectCallee(); 71 if (!FD || !FD->getBody()) 73 Kind &K = VisitedFunctions[FD]; 89 const FunctionDecl *FD = WLUnit->getDirectCallee(); 90 assert(FD && FD->getBody()); 92 if (VisitedFunctions[FD] == PreVisited) { 96 Visit(FD->getBody()); 100 VisitedFunctions[FD] = PostVisited [all...] |
MallocSizeofChecker.cpp | 93 const FunctionDecl *FD = E->getDirectCallee(); 94 if (FD) { 95 IdentifierInfo *II = FD->getIdentifier();
|
/external/clang/lib/Sema/ |
TargetAttributesSema.cpp | 167 FunctionDecl *FD = dyn_cast<FunctionDecl>(D); 168 if (!FD) { 180 if (FD->isInlineSpecified()) { 216 FunctionDecl *FD = dyn_cast<FunctionDecl>(D); 217 if (!FD) { 225 if (FD->isInlineSpecified()) {
|
/external/clang/lib/Analysis/ |
CallGraph.cpp | 28 const Decl *FD; 33 : G(g), FD(D), CallerNode(N) {} 69 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 72 if (!FD->isThisDeclarationADefinition() || 73 FD->isDependentContext()) 76 IdentifierInfo *II = FD->getIdentifier(); 154 if (const FunctionDecl *D = dyn_cast_or_null<FunctionDecl>(FD))
|
/frameworks/compile/slang/ |
slang_rs_export_foreach.cpp | 56 RSContext *Context, const clang::FunctionDecl *FD) { 57 slangAssert(Context && FD); 62 numParams = FD->getNumParams(); 66 if (!isRootRSFunc(FD)) { 68 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 72 << FD->getName() 80 if (FD->getResultType().getCanonicalType() != C.VoidTy) { 82 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 85 "void type")) << FD->getName(); 93 const clang::ParmVarDecl *PVD = FD->getParamDecl(i) [all...] |
slang_rs_export_func.cpp | 36 const clang::FunctionDecl *FD) { 37 slangAssert(DiagEngine && FD); 38 const clang::ASTContext &C = FD->getASTContext(); 39 if (FD->getResultType().getCanonicalType() != C.VoidTy) { 41 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 53 const clang::FunctionDecl *FD) { 54 llvm::StringRef Name = FD->getName(); 59 if (!ValidateFuncDecl(Context->getDiagnostics(), FD)) { 63 F = new RSExportFunc(Context, Name, FD); 66 if (FD->getNumParams() <= 0) [all...] |
slang_rs_context.cpp | 103 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) { 104 slangAssert(!FD->getName().empty() && "Function name should not be empty"); 106 if (!FD->isThisDeclarationADefinition()) { 110 if (FD->getStorageClass() != clang::SC_None) { 112 "static function '%s'\n", FD->getName().str().c_str()); 116 if (RSExportForEach::isSpecialRSFunc(mTargetAPI, FD)) { 119 getDiagnostics(), FD); 120 } else if (RSExportForEach::isRSForEachFunc(mTargetAPI, FD)) { 121 RSExportForEach *EFE = RSExportForEach::Create(this, FD); 129 RSExportFunc *EF = RSExportFunc::Create(this, FD); [all...] |
/external/clang/tools/libclang/ |
IndexDecl.cpp | 35 } else if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 37 PI = FD->param_begin(), PE = FD->param_end(); PI != PE; ++PI) { 279 FunctionDecl *FD = D->getTemplatedDecl(); 280 handleDeclarator(FD, D); 281 if (FD->isThisDeclarationADefinition()) { 282 const Stmt *Body = FD->getBody(); 284 IndexCtx.indexBody(Body, D, FD);
|
/external/clang/include/clang/Analysis/ |
CallGraph.h | 106 bool VisitFunctionDecl(FunctionDecl *FD) { 109 if (includeInGraph(FD)) 113 addNodeForDecl(FD, FD->isGlobal()); 138 Decl *FD; 146 CallGraphNode(Decl *D) : FD(D) {} 165 Decl *getDecl() const { return FD; }
|
/external/clang/include/clang/Basic/ |
FileManager.h | 55 /// or in the virtual file system). If the 'FD' member is valid, then 68 /// FD - The file descriptor for the file entry if it is opened and owned 70 mutable int FD; 75 : Name(0), Device(device), Inode(inode), FileMode(m), FD(-1) {} 77 FileEntry() : Name(0), Device(0), Inode(0), FileMode(0), FD(-1) {} 81 assert(FD == -1 && "Cannot copy a file-owning FileEntry"); 86 assert(FD == -1 && "Cannot assign a file-owning FileEntry");
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 177 const FunctionDecl* FD = cast<FunctionDecl>(DC); 178 if (FD->doesThisDeclarationHaveABody()) 182 Out << *FD; 186 for (FunctionDecl::param_const_iterator I = FD->param_begin(), 187 E = FD->param_end(); I != E; ++I) { 336 FieldDecl *FD = cast<FieldDecl>(*I); 337 Out << "<field> " << *FD << '\n';
|
/external/clang/lib/Parse/ |
ParseCXXInlineMethods.cpp | 118 FunctionDecl *FD = 0; 120 FD = FunTmpl->getTemplatedDecl(); 122 FD = cast<FunctionDecl>(FnD); 123 Actions.CheckForFunctionRedefinition(FD); 125 LateParsedTemplateMap[FD] = LPT; 126 Actions.MarkAsLateParsedTemplate(FD);
|
/external/clang/lib/StaticAnalyzer/Core/ |
ExprEngineCallAndReturn.cpp | 133 bool ExprEngine::shouldInlineDecl(const FunctionDecl *FD, ExplodedNode *Pred) { 134 AnalysisDeclContext *CalleeADC = AMgr.getAnalysisDeclContext(FD); 146 if (Engine.FunctionSummaries->hasReachedMaxBlockCount(FD)) 186 const FunctionDecl *FD = 188 if (!FD || !FD->hasBody(FD)) 196 if (!shouldInlineDecl(FD, Pred)) 200 AnalysisDeclContext *CalleeADC = AMgr.getAnalysisDeclContext(FD); 433 if (const FunctionDecl *FD = L.getAsFunctionDecl() [all...] |