/external/opencv/cvaux/src/ |
H A D | cvfindface.cpp | 50 FaceDetection FD; local 51 FD.SetBoosting(false); 52 FD.FindFace(Image); 54 FD.CreateResults(lpSeq); 60 FaceDetection FD; local 61 FD.SetBoosting(true); 62 FD.FindFace(Image); 64 FD.CreateResults(lpSeq);
|
/external/llvm/include/llvm-c/ |
H A D | BitWriter.h | 41 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | VirtualCallChecker.cpp | 70 const FunctionDecl *FD = WLUnit->getDirectCallee(); local 71 if (!FD || !FD->getBody()) 73 Kind &K = VisitedFunctions[FD]; 89 const FunctionDecl *FD = WLUnit->getDirectCallee(); local 90 assert(FD && FD->getBody()); 92 if (VisitedFunctions[FD] == PreVisited) { 96 Visit(FD->getBody()); 100 VisitedFunctions[FD] 176 const FunctionDecl *FD = (*(I-1))->getDirectCallee(); local 179 os << " <-- " << *FD; local [all...] |
H A D | CheckSecuritySyntaxOnly.cpp | 82 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 89 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 90 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 91 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 92 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD); 93 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD); 94 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD); 95 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD); 96 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD); 97 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD); 114 const FunctionDecl *FD = CE->getDirectCallee(); local 301 checkCall_gets(const CallExpr *CE, const FunctionDecl *FD) argument 339 checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD) argument 381 checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) argument 425 checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) argument 509 checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD) argument 537 checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD) argument 562 checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD) argument 594 checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) argument 619 os1 << '\\'' << *FD << "' is a poor random number generator"; local 623 os2 << "Function '" << *FD local 639 checkCall_random(const CallExpr *CE, const FunctionDecl *FD) argument 669 checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD) argument 697 const FunctionDecl *FD = CE->getDirectCallee(); local 739 os1 << "Return value is not checked in call to '" << *FD << '\\''; local 744 << "' is not checked. If an error occurs in '" << *FD local [all...] |
H A D | ChrootChecker.cpp | 65 const FunctionDecl *FD = C.getCalleeDecl(CE); local 66 if (!FD) 75 if (FD->getIdentifier() == II_chroot) { 79 if (FD->getIdentifier() == II_chdir) { 125 const FunctionDecl *FD = C.getCalleeDecl(CE); local 126 if (!FD) 136 if (FD->getIdentifier() == II_chroot || FD->getIdentifier() == II_chdir)
|
H A D | NoReturnFunctionChecker.cpp | 46 const FunctionDecl *FD = L.getAsFunctionDecl(); local 47 if (!FD) 50 if (FD->getAttr<AnalyzerNoReturnAttr>()) 52 else if (const IdentifierInfo *II = FD->getIdentifier()) {
|
H A D | BuiltinFunctionChecker.cpp | 35 const FunctionDecl *FD = C.getCalleeDecl(CE); local 37 if (!FD) 40 unsigned id = FD->getBuiltinID();
|
H A D | CStringSyntaxChecker.cpp | 58 const FunctionDecl *FD = CE->getDirectCallee(); local 59 if (!FD) 61 return (CheckerContext::isCLibraryFunction(FD, "strlen", ASTC) 135 const FunctionDecl *FD = CE->getDirectCallee(); local 136 if (!FD) 139 if (CheckerContext::isCLibraryFunction(FD, "strncat", ASTC)) { 160 BR.EmitBasicReport(FD, "Anti-pattern in the argument", "C String API",
|
H A D | AdjustedReturnValueChecker.cpp | 61 const FunctionDecl *FD = FT->getDecl(); local 62 actualResultTy = FD->getResultType();
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerContext.cpp | 39 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, argument 41 return isCLibraryFunction(FD, Name, getASTContext()); 44 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, argument 49 unsigned BId = FD->getBuiltinID(); 56 const IdentifierInfo *II = FD->getIdentifier();
|
/external/clang/examples/analyzer-plugin/ |
H A D | MainCallChecker.cpp | 22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl(); local 24 if (!FD) 28 IdentifierInfo *II = FD->getIdentifier();
|
/external/clang/lib/AST/ |
H A D | DeclFriend.cpp | 40 FriendDecl *FD = new (C) FriendDecl(DC, L, Friend, FriendL); local 41 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD); 42 return FD;
|
/external/llvm/bindings/ocaml/bitwriter/ |
H A D | bitwriter_ocaml.c | 33 CAMLprim value llvm_write_bitcode_to_fd(value U, value M, value FD) { argument 43 res = LLVMWriteBitcodeToFD((LLVMModuleRef) M, Int_val(FD), 0, Unbuffered);
|
/external/llvm/lib/Bitcode/Writer/ |
H A D | BitWriter.cpp | 30 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, argument 32 raw_fd_ostream OS(FD, ShouldClose, Unbuffered);
|
/external/clang/include/clang/Analysis/DomainSpecific/ |
H A D | CocoaConventions.h | 37 bool followsCreateRule(const FunctionDecl *FD);
|
/external/clang/lib/ARCMigrate/ |
H A D | TransGCCalls.cpp | 54 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) { 55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) 58 if (FD->getIdentifier() == NSMakeCollectableII) { 66 } else if (FD->getIdentifier() == CFMakeCollectableII) {
|
H A D | TransUnbridgedCasts.cpp | 115 if (FunctionDecl *FD = callE->getDirectCallee()) { 116 if (FD->getAttr<CFReturnsRetainedAttr>()) { 120 if (FD->getAttr<CFReturnsNotRetainedAttr>()) { 124 if (FD->isGlobal() && 125 FD->getIdentifier() && 127 FD->getIdentifier()->getName())) { 128 StringRef fname = FD->getIdentifier()->getName(); 135 if (FD->getName() == "CFRetain" && 136 FD->getNumParams() == 1 && 137 FD [all...] |
/external/clang/lib/CodeGen/ |
H A D | 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 [all...] |
/external/llvm/lib/CodeGen/ |
H A D | GCMetadata.cpp | 157 GCFunctionInfo *FD = &getAnalysis<GCModuleInfo>().getFunctionInfo(F); 159 OS << "GC roots for " << FD->getFunction().getName() << ":\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().getName() << ":\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/ |
H A D | dynamic_message.cc | 95 typedef FieldDescriptor FD; // avoid line wrapping typedef 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 [all...] |
/external/clang/lib/Analysis/ |
H A D | CallGraph.cpp | 28 const Decl *FD; member in class:__anon3098::CGBuilder 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))
|
/external/llvm/lib/Support/ |
H A D | raw_ostream.cpp | 435 FD = STDOUT_FILENO; 458 while ((FD = open(Filename, OpenFlags, 0664)) < 0) { 470 /// raw_fd_ostream ctor - FD is the file descriptor that this writes to. If 473 : raw_ostream(unbuffered), FD(fd), 483 off_t loc = ::lseek(FD, 0, SEEK_CUR); 491 if (FD >= 0) { 494 while (::close(FD) != 0) 505 // on FD == 2. 506 if (FD == 2) return; 519 assert(FD > [all...] |
H A D | MemoryBuffer.cpp | 221 int FD = ::open(Filename, OpenFlags); local 222 if (FD == -1) 225 error_code ret = getOpenFile(FD, Filename, result, FileSize, FileSize, 227 close(FD); 231 static bool shouldUseMmap(int FD, argument 253 if (fstat(FD, &FileInfo) == -1) { 274 error_code MemoryBuffer::getOpenFile(int FD, const char *Filename, argument 288 if (fstat(FD, &FileInfo) == -1) { 296 if (shouldUseMmap(FD, FileSize, MapSize, Offset, RequiresNullTerminator, 302 if (const char *Pages = sys::Path::MapInFilePages(FD, [all...] |
/external/clang/include/clang/Basic/ |
H A D | 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; member in class:clang::FileEntry 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/linux-tools-perf/util/ |
H A D | evsel.c | 16 #define FD(e, x, y) (*(int *)xyarray__entry(e->fd, x, y)) macro 60 FD(evsel, cpu, thread) = -1; 111 close(FD(evsel, cpu, thread)); 112 FD(evsel, cpu, thread) = -1; 138 if (FD(evsel, cpu, thread) < 0) 144 if (readn(FD(evsel, cpu, thread), &count, nv * sizeof(u64)) < 0) 170 if (FD(evsel, cpu, thread) < 0) 173 if (readn(FD(evsel, cpu, thread), 229 FD(evsel, cpu, thread) = sys_perf_event_open(&evsel->attr, 233 if (FD(evse [all...] |