/external/clang/lib/AST/ |
DeclFriend.cpp | 38 FriendDecl *FD = new (C) FriendDecl(DC, L, Friend, FriendL); 39 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD); 40 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/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/examples/analyzer-plugin/ |
MainCallChecker.cpp | 21 const FunctionDecl *FD = state->getSVal(Callee).getAsFunctionDecl(); 23 if (!FD) 27 IdentifierInfo *II = FD->getIdentifier();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
AdjustedReturnValueChecker.cpp | 60 const FunctionDecl *FD = FT->getDecl(); 61 actualResultTy = FD->getResultType();
|
BuiltinFunctionChecker.cpp | 37 const FunctionDecl *FD = L.getAsFunctionDecl(); 39 if (!FD) 42 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 | 41 const FunctionDecl *FD = X.getAsFunctionDecl(); 42 if (!FD) 45 const NonNullAttr* Att = FD->getAttr<NonNullAttr>();
|
ChrootChecker.cpp | 68 const FunctionDecl *FD = L.getAsFunctionDecl(); 69 if (!FD) 78 if (FD->getIdentifier() == II_chroot) { 82 if (FD->getIdentifier() == II_chdir) { 131 const FunctionDecl *FD = L.getAsFunctionDecl(); 132 if (!FD) 142 if (FD->getIdentifier() == II_chroot || FD->getIdentifier() == II_chdir)
|
PthreadLockChecker.cpp | 61 const FunctionDecl *FD = state->getSVal(Callee).getAsFunctionDecl(); 63 if (!FD) 67 IdentifierInfo *II = FD->getIdentifier();
|
MallocOverflowSecurityChecker.cpp | 243 const FunctionDecl *FD = TheCall->getDirectCallee(); 245 if (!FD) 249 IdentifierInfo *FnInfo = FD->getIdentifier();
|
OSAtomicChecker.cpp | 50 const FunctionDecl *FD = L.getAsFunctionDecl(); 51 if (!FD) 54 const IdentifierInfo *II = FD->getIdentifier();
|
CheckSecuritySyntaxOnly.cpp | 59 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 66 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 67 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 68 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 69 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD); 70 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD); 71 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD); 72 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD); 73 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD); 90 const FunctionDecl *FD = CE->getDirectCallee() [all...] |
/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/examples/wpa/ |
clang-wpa.cpp | 127 FunctionDecl *FD; 129 llvm::tie(FD, TU) = Idxer.getDefinitionFor(Ent); 131 if (!FD) 178 Eng.ExecuteWorkList(AMgr.getStackFrame(FD, TU), AMgr.getMaxNodes());
|
/external/clang/lib/Index/ |
CallGraph.cpp | 28 FunctionDecl *FD; 35 CGBuilder(CallGraph &g, FunctionDecl *fd, Entity E, CallGraphNode *N) 36 : G(g), FD(fd), CallerEnt(E), CallerNode(N) {} 54 CallerNode->addCallee(ASTLocation(FD, CE), CalleeNode); 76 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(*I)) { 77 if (FD->doesThisDeclarationHaveABody()) { 79 Entity Ent = Entity::get(FD, Prog); 84 if (FD->isGlobal()) 88 if (FD->getNameAsString() == "main" [all...] |
/frameworks/compile/slang/ |
slang_rs_context.cpp | 106 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) { 107 slangAssert(!FD->getName().empty() && "Function name should not be empty"); 109 if (!FD->isThisDeclarationADefinition()) { 113 if (FD->getStorageClass() != clang::SC_None) { 115 "static function '%s'\n", FD->getName().str().c_str()); 119 if (RSExportForEach::isRSForEachFunc(mTargetAPI, FD)) { 120 RSExportForEach *EFE = RSExportForEach::Create(this, FD); 126 } else if (RSExportForEach::isSpecialRSFunc(FD)) { 129 getDiagnostics(), FD)) { 135 RSExportFunc *EF = RSExportFunc::Create(this, FD); [all...] |
slang_rs_export_foreach.cpp | 56 RSContext *Context, const clang::FunctionDecl *FD) { 57 slangAssert(Context && FD); 62 if (!isRootRSFunc(FD)) { 66 numParams = FD->getNumParams(); 70 if (FD->getResultType().getCanonicalType() != C.VoidTy) { 72 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 83 const clang::ParmVarDecl *PVD = FD->getParamDecl(i); 94 PVD = FD->getParamDecl(i); 104 clang::FullSourceLoc(FD->getLocation(), 114 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...] |
/external/clang/lib/Parse/ |
ParseCXXInlineMethods.cpp | 113 FunctionDecl *FD = 0; 115 FD = FunTmpl->getTemplatedDecl(); 117 FD = cast<FunctionDecl>(FnD); 118 Actions.CheckForFunctionRedefinition(FD); 120 LateParsedTemplateMap[FD] = LPT; 121 Actions.MarkAsLateParsedTemplate(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 | 176 const FunctionDecl* FD = cast<FunctionDecl>(DC); 177 if (FD->doesThisDeclarationHaveABody()) 181 Out << *FD; 185 for (FunctionDecl::param_const_iterator I = FD->param_begin(), 186 E = FD->param_end(); I != E; ++I) { 335 FieldDecl *FD = cast<FieldDecl>(*I); 336 Out << "<field> " << *FD << '\n';
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 197 FunctionDecl *FD = cast<FunctionDecl>(D); 200 if (FD->isThisDeclarationADefinition() && 201 !FD->isDependentContext()) { 203 FD->getDeclName().getAsString() != Opts.AnalyzeSpecificFunction) 205 DisplayFunction(FD); 206 HandleCode(FD);
|
/external/clang/test/SemaTemplate/ |
default-expr-arguments.cpp | 35 struct FD : F<int> { }; 39 FD fd; local
|
/external/llvm/include/llvm/Support/ |
raw_ostream.h | 297 int FD; 354 /// raw_fd_ostream ctor - FD is the file descriptor that this writes to. If 356 raw_fd_ostream(int fd, bool shouldClose, bool unbuffered=false);
|