/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 | 22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl(); 24 if (!FD) 28 IdentifierInfo *II = FD->getIdentifier();
|
/external/clang/lib/AST/ |
DeclFriend.cpp | 52 FriendDecl *FD = new (Mem) FriendDecl(DC, L, Friend, FriendL, 54 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD); 55 return FD;
|
InheritViz.cpp | 141 int FD; 144 sys::fs::createTemporaryFile(Self.getAsString(), "dot", FD, Filename); 152 llvm::raw_fd_ostream O(FD, true);
|
Comment.cpp | 157 const FunctionDecl *FD = cast<FunctionDecl>(CommentDecl); 159 ParamVars = ArrayRef<const ParmVarDecl *>(FD->param_begin(), 160 FD->getNumParams()); 161 ResultType = FD->getResultType(); 162 unsigned NumLists = FD->getNumTemplateParameterLists(); 166 FD->getTemplateParameterList(NumLists - 1); 192 const FunctionDecl *FD = FTD->getTemplatedDecl(); 193 ParamVars = ArrayRef<const ParmVarDecl *>(FD->param_begin(), 194 FD->getNumParams()); 195 ResultType = FD->getResultType() [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
BuiltinFunctionChecker.cpp | 35 const FunctionDecl *FD = C.getCalleeDecl(CE); 37 if (!FD) 40 unsigned id = FD->getBuiltinID();
|
CStringSyntaxChecker.cpp | 57 const FunctionDecl *FD = CE->getDirectCallee(); 58 if (!FD) 60 return (CheckerContext::isCLibraryFunction(FD, "strlen") && 136 const FunctionDecl *FD = CE->getDirectCallee(); 137 if (!FD) 140 if (CheckerContext::isCLibraryFunction(FD, "strncat")) { 161 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)
|
NonNullParamChecker.cpp | 47 const Decl *FD = Call.getDecl(); 48 if (!FD) 51 const NonNullAttr *Att = FD->getAttr<NonNullAttr>();
|
ObjCContainersASTChecker.cpp | 86 const FunctionDecl *FD = CE->getDirectCallee(); 87 if (!FD) 90 IdentifierInfo *II = FD->getIdentifier();
|
MallocOverflowSecurityChecker.cpp | 242 const FunctionDecl *FD = TheCall->getDirectCallee(); 244 if (!FD) 248 IdentifierInfo *FnInfo = FD->getIdentifier();
|
UnixAPIChecker.cpp | 333 const FunctionDecl *FD = C.getCalleeDecl(CE); 334 if (!FD || FD->getKind() != Decl::Function) 337 StringRef FName = C.getCalleeName(FD);
|
VirtualCallChecker.cpp | 71 const FunctionDecl *FD = WLUnit->getDirectCallee(); 72 if (!FD || !FD->getBody()) 74 Kind &K = VisitedFunctions[FD]; 90 const FunctionDecl *FD = WLUnit->getDirectCallee(); 91 assert(FD && FD->getBody()); 93 if (VisitedFunctions[FD] == PreVisited) { 97 Visit(FD->getBody()); 101 VisitedFunctions[FD] = PostVisited [all...] |
MallocSizeofChecker.cpp | 94 const FunctionDecl *FD = E->getDirectCallee(); 95 if (FD) { 96 IdentifierInfo *II = FD->getIdentifier();
|
/external/llvm/lib/Support/ |
FileOutputBuffer.cpp | 72 int FD; 73 EC = sys::fs::createUniqueFile(Twine(FilePath) + ".tmp%%%%%%%", FD, 79 FD, true, mapped_file_region::readwrite, Size, 0, EC));
|
/external/clang/lib/Sema/ |
TargetAttributesSema.cpp | 140 FunctionDecl *FD = dyn_cast<FunctionDecl>(D); 141 if (!FD && !isa<VarDecl>(D)) { 153 if (FD && FD->isInlineSpecified()) { 187 FunctionDecl *FD = dyn_cast<FunctionDecl>(D); 188 if (!FD && !isa<VarDecl>(D)) { 196 if (FD && FD->isInlineSpecified()) {
|
/external/clang/unittests/Tooling/ |
RewriterTestContext.h | 64 int FD; 66 llvm::sys::fs::createTemporaryFile(Name, "", FD, Path); 70 llvm::raw_fd_ostream OutStream(FD, true);
|
/frameworks/compile/slang/ |
slang_rs_context.cpp | 105 bool RSContext::processExportFunc(const clang::FunctionDecl *FD) { 106 slangAssert(!FD->getName().empty() && "Function name should not be empty"); 108 if (!FD->isThisDeclarationADefinition()) { 112 if (FD->getStorageClass() != clang::SC_None) { 114 "static function '%s'\n", FD->getName().str().c_str()); 119 if (RSExportForEach::isSpecialRSFunc(mTargetAPI, FD)) { 122 DiagEngine, FD); 123 } else if (RSExportForEach::isRSForEachFunc(mTargetAPI, DiagEngine, FD)) { 124 RSExportForEach *EFE = RSExportForEach::Create(this, FD); 132 RSExportFunc *EF = RSExportFunc::Create(this, FD); [all...] |
slang_rs_export_foreach.cpp | 57 RSContext *Context, const clang::FunctionDecl *FD) { 58 slangAssert(Context && FD); 63 numParams = FD->getNumParams(); 66 if (!isRootRSFunc(FD)) { 68 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()), 72 << FD->getName() 79 mResultType = FD->getResultType().getCanonicalType(); 83 if (FD->hasAttr<clang::KernelAttr>()) { 84 return validateAndConstructKernelParams(Context, FD); 93 clang::FullSourceLoc(FD->getLocation(), DiagEngine->getSourceManager()) [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/chromium_org/third_party/protobuf/src/google/protobuf/ |
dynamic_message.cc | 95 typedef FieldDescriptor FD; // avoid line wrapping 96 if (field->label() == FD::LABEL_REPEATED) { 98 case FD::CPPTYPE_INT32 : return sizeof(RepeatedField<int32 >); 99 case FD::CPPTYPE_INT64 : return sizeof(RepeatedField<int64 >); 100 case FD::CPPTYPE_UINT32 : return sizeof(RepeatedField<uint32 >); 101 case FD::CPPTYPE_UINT64 : return sizeof(RepeatedField<uint64 >); 102 case FD::CPPTYPE_DOUBLE : return sizeof(RepeatedField<double >); 103 case FD::CPPTYPE_FLOAT : return sizeof(RepeatedField<float >); 104 case FD::CPPTYPE_BOOL : return sizeof(RepeatedField<bool >); 105 case FD::CPPTYPE_ENUM : return sizeof(RepeatedField<int >) [all...] |
/external/clang/include/clang/Analysis/ |
CallGraph.h | 97 bool VisitFunctionDecl(FunctionDecl *FD) { 100 if (includeInGraph(FD)) { 102 addNodesForBlocks(FD); 106 addNodeForDecl(FD, FD->isGlobal()); 139 Decl *FD; 145 CallGraphNode(Decl *D) : FD(D) {} 163 Decl *getDecl() const { return FD; }
|
/external/clang/include/clang/Basic/ |
FileManager.h | 58 /// If the 'FD' member is valid, then this FileEntry has an open file 70 /// FD - The file descriptor for the file entry if it is opened and owned 72 mutable int FD; 78 FD(-1) {} 81 : Name(0), UniqueID(0, 0), IsNamedPipe(false), InPCH(false), FD(-1) {} 85 assert(FD == -1 && "Cannot copy a file-owning FileEntry"); 90 assert(FD == -1 && "Cannot assign a file-owning FileEntry");
|
/external/clang/lib/Frontend/ |
ASTConsumers.cpp | 253 const FunctionDecl* FD = cast<FunctionDecl>(DC); 254 if (FD->doesThisDeclarationHaveABody()) 258 Out << *FD; 262 for (FunctionDecl::param_const_iterator I = FD->param_begin(), 263 E = FD->param_end(); I != E; ++I) { 412 FieldDecl *FD = cast<FieldDecl>(*I); 413 Out << "<field> " << *FD << '\n';
|
/external/clang/lib/Parse/ |
ParseCXXInlineMethods.cpp | 126 FunctionDecl *FD = getFunctionDecl(FnD); 127 Actions.CheckForFunctionRedefinition(FD); 129 LateParsedTemplateMap[FD] = LPT; 130 Actions.MarkAsLateParsedTemplate(FD);
|