/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);
|
/frameworks/compile/slang/ |
slang_rs_export_foreach.h | 58 const clang::FunctionDecl *FD) 68 const clang::FunctionDecl *FD); 72 const clang::FunctionDecl *FD); 124 inline static bool isInitRSFunc(const clang::FunctionDecl *FD) { 125 if (!FD) { 128 const llvm::StringRef Name = FD->getName(); 133 inline static bool isRootRSFunc(const clang::FunctionDecl *FD) { 134 if (!FD) { 137 const llvm::StringRef Name = FD->getName(); 142 inline static bool isDtorRSFunc(const clang::FunctionDecl *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...] |
slang_rs_export_func.h | 54 const clang::FunctionDecl *FD) 61 mShouldMangle = Context->getMangleContext().shouldMangleDeclName(FD); 65 Context->getMangleContext().mangleName(FD, BufStm); 74 const clang::FunctionDecl *FD);
|
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_backend.cpp | 67 void RSBackend::AnnotateFunction(clang::FunctionDecl *FD) { 68 if (FD && 69 FD->hasBody() && 70 !SlangRS::IsFunctionInRSHeaderFile(FD, mSourceMgr)) { 72 mRefCount.Visit(FD->getBody()); 83 clang::FunctionDecl *FD = llvm::dyn_cast<clang::FunctionDecl>(*I); 84 if (FD == NULL) 86 if (!FD->getName().startswith("rs")) // Check prefix 88 if (!SlangRS::IsFunctionInRSHeaderFile(FD, mSourceMgr)) 90 clang::FullSourceLoc(FD->getLocation(), mSourceMgr) [all...] |
/external/llvm/include/llvm-c/ |
BitWriter.h | 35 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
|
/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/AST/ |
DeclFriend.cpp | 38 FriendDecl *FD = new (C) FriendDecl(DC, L, Friend, FriendL); 39 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD); 40 return FD;
|
/external/llvm/bindings/ocaml/bitwriter/ |
bitwriter_ocaml.c | 33 CAMLprim value llvm_write_bitcode_to_fd(value U, value M, value FD) { 43 res = LLVMWriteBitcodeToFD((LLVMModuleRef) M, Int_val(FD), 0, Unbuffered);
|
/external/llvm/lib/Bitcode/Writer/ |
BitWriter.cpp | 30 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, 32 raw_fd_ostream OS(FD, ShouldClose, Unbuffered);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
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...] |
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)
|
NoReturnFunctionChecker.cpp | 46 const FunctionDecl *FD = L.getAsFunctionDecl(); 47 if (!FD) 50 if (FD->getAttr<AnalyzerNoReturnAttr>()) 52 else if (const IdentifierInfo *II = FD->getIdentifier()) {
|
BuiltinFunctionChecker.cpp | 37 const FunctionDecl *FD = L.getAsFunctionDecl(); 39 if (!FD) 42 unsigned id = FD->getBuiltinID();
|
/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...] |
/external/clang/lib/CodeGen/ |
CGRecordLayout.h | 154 static CGBitFieldInfo MakeInfo(class CodeGenTypes &Types, const FieldDecl *FD, 161 static CGBitFieldInfo MakeInfo(CodeGenTypes &Types, const FieldDecl *FD, 246 /// field FD. 247 unsigned getLLVMFieldNo(const FieldDecl *FD) const { 248 assert(!FD->isBitField() && "Invalid call for bit-field decl!"); 249 assert(FieldInfo.count(FD) && "Invalid field for record!"); 250 return FieldInfo.lookup(FD); 265 /// \brief Return the BitFieldInfo that corresponds to the field FD. 266 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const { 267 assert(FD->isBitField() && "Invalid call for non bit-field decl!") [all...] |
/external/llvm/lib/CodeGen/ |
GCMetadata.cpp | 157 GCFunctionInfo *FD = &getAnalysis<GCModuleInfo>().getFunctionInfo(F); 159 OS << "GC roots for " << FD->getFunction().getNameStr() << ":\n"; 160 for (GCFunctionInfo::roots_iterator RI = FD->roots_begin(), 161 RE = FD->roots_end(); RI != RE; ++RI) 164 OS << "GC safe points for " << FD->getFunction().getNameStr() << ":\n"; 165 for (GCFunctionInfo::iterator PI = FD->begin(), 166 PE = FD->end(); PI != PE; ++PI) { 171 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI), 172 RE = FD->live_end(PI);;) {
|
/external/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/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/ARCMigrate/ |
TransUnbridgedCasts.cpp | 114 if (FunctionDecl *FD = callE->getDirectCallee()) { 115 if (FD->getAttr<CFReturnsRetainedAttr>()) { 119 if (FD->getAttr<CFReturnsNotRetainedAttr>()) { 123 if (FD->isGlobal() && 124 FD->getIdentifier() && 126 FD->getIdentifier()->getName())) { 127 StringRef fname = FD->getIdentifier()->getName(); 264 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl())) 265 if (FD->getName() == "CFRetain" && FD->getNumParams() == 1 & [all...] |
/external/llvm/lib/Support/ |
raw_ostream.cpp | 434 FD = STDOUT_FILENO; 457 while ((FD = open(Filename, OpenFlags, 0664)) < 0) { 469 /// raw_fd_ostream ctor - FD is the file descriptor that this writes to. If 471 raw_fd_ostream::raw_fd_ostream(int fd, bool shouldClose, bool unbuffered) 472 : raw_ostream(unbuffered), FD(fd), 477 if (fd == STDOUT_FILENO || fd == STDERR_FILENO) 478 setmode(fd, O_BINARY); 482 off_t loc = ::lseek(FD, 0, SEEK_CUR) [all...] |
MemoryBuffer.cpp | 223 int FD = ::open(Filename, OpenFlags); 224 if (FD == -1) 227 error_code ret = getOpenFile(FD, Filename, result, FileSize, FileSize, 229 close(FD); 233 static bool shouldUseMmap(int FD, 255 if (fstat(FD, &FileInfo) == -1) { 276 error_code MemoryBuffer::getOpenFile(int FD, const char *Filename, 290 if (fstat(FD, &FileInfo) == -1) { 298 if (shouldUseMmap(FD, FileSize, MapSize, Offset, RequiresNullTerminator, 304 if (const char *Pages = sys::Path::MapInFilePages(FD, [all...] |
/external/clang/include/clang/AST/ |
DeclFriend.h | 188 inline void CXXRecordDecl::pushFriendDecl(FriendDecl *FD) { 189 assert(FD->NextFriend == 0 && "friend already has next friend?"); 190 FD->NextFriend = data().FirstFriend; 191 data().FirstFriend = FD;
|