Searched refs:FD (Results 1 - 25 of 160) sorted by relevance

1234567

/external/opencv/cvaux/src/
H A Dcvfindface.cpp50 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 DBitWriter.h41 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
/external/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp70 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 DCheckSecuritySyntaxOnly.cpp83 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
90 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
91 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
92 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
93 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
94 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
95 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
96 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD);
97 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD);
98 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD);
115 const FunctionDecl *FD = CE->getDirectCallee(); local
302 checkCall_gets(const CallExpr *CE, const FunctionDecl *FD) argument
340 checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD) argument
382 checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) argument
426 checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) argument
510 checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD) argument
538 checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD) argument
563 checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD) argument
595 checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) argument
620 os1 << '\\'' << *FD << "' is a poor random number generator"; local
624 os2 << "Function '" << *FD local
640 checkCall_random(const CallExpr *CE, const FunctionDecl *FD) argument
670 checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD) argument
698 const FunctionDecl *FD = CE->getDirectCallee(); local
740 os1 << "Return value is not checked in call to '" << *FD << '\\''; local
745 << "' is not checked. If an error occurs in '" << *FD local
[all...]
H A DChrootChecker.cpp65 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 DNoReturnFunctionChecker.cpp46 const FunctionDecl *FD = L.getAsFunctionDecl(); local
47 if (!FD)
50 if (FD->getAttr<AnalyzerNoReturnAttr>())
52 else if (const IdentifierInfo *II = FD->getIdentifier()) {
H A DBuiltinFunctionChecker.cpp35 const FunctionDecl *FD = C.getCalleeDecl(CE); local
37 if (!FD)
40 unsigned id = FD->getBuiltinID();
H A DCStringSyntaxChecker.cpp58 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",
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp39 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 DMainCallChecker.cpp22 const FunctionDecl *FD = state->getSVal(Callee, LC).getAsFunctionDecl(); local
24 if (!FD)
28 IdentifierInfo *II = FD->getIdentifier();
/external/llvm/bindings/ocaml/bitwriter/
H A Dbitwriter_ocaml.c33 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 DBitWriter.cpp30 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 DCocoaConventions.h37 bool followsCreateRule(const FunctionDecl *FD);
/external/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp54 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 DTransUnbridgedCasts.cpp119 if (FunctionDecl *FD = callE->getDirectCallee()) {
120 if (FD->getAttr<CFReturnsRetainedAttr>()) {
124 if (FD->getAttr<CFReturnsNotRetainedAttr>()) {
128 if (FD->isGlobal() &&
129 FD->getIdentifier() &&
131 FD->getIdentifier()->getName())) {
132 StringRef fname = FD->getIdentifier()->getName();
139 if (FD->getName() == "CFRetain" &&
140 FD->getNumParams() == 1 &&
141 FD
[all...]
/external/clang/lib/CodeGen/
H A DCGRecordLayout.h149 static CGBitFieldInfo MakeInfo(class CodeGenTypes &Types, const FieldDecl *FD,
156 static CGBitFieldInfo MakeInfo(CodeGenTypes &Types, const FieldDecl *FD,
241 /// field FD.
242 unsigned getLLVMFieldNo(const FieldDecl *FD) const {
243 assert(!FD->isBitField() && "Invalid call for bit-field decl!");
244 assert(FieldInfo.count(FD) && "Invalid field for record!");
245 return FieldInfo.lookup(FD);
260 /// \brief Return the BitFieldInfo that corresponds to the field FD.
261 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const {
262 assert(FD
[all...]
/external/llvm/lib/CodeGen/
H A DGCMetadata.cpp157 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 Ddynamic_message.cc95 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/AST/
H A DDeclFriend.cpp46 FriendDecl *FD = new (C) FriendDecl(DC, L, Friend, FriendL); local
47 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
48 return FD;
H A DComment.cpp170 const FunctionDecl *FD = cast<FunctionDecl>(ThisDecl); local
172 ParamVars = ArrayRef<const ParmVarDecl *>(FD->param_begin(),
173 FD->getNumParams());
174 ResultType = FD->getResultType();
175 unsigned NumLists = FD->getNumTemplateParameterLists();
179 FD->getTemplateParameterList(NumLists - 1);
205 const FunctionDecl *FD = FTD->getTemplatedDecl(); local
206 ParamVars = ArrayRef<const ParmVarDecl *>(FD->param_begin(),
207 FD->getNumParams());
208 ResultType = FD
[all...]
/external/llvm/lib/Support/
H A Draw_ostream.cpp435 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 DMemoryBuffer.cpp230 int FD = ::open(Filename, OpenFlags); local
231 if (FD == -1)
234 error_code ret = getOpenFile(FD, Filename, result, FileSize, FileSize,
236 close(FD);
240 static bool shouldUseMmap(int FD, argument
262 if (fstat(FD, &FileInfo) == -1) {
283 error_code MemoryBuffer::getOpenFile(int FD, const char *Filename, argument
297 if (fstat(FD, &FileInfo) == -1) {
305 if (shouldUseMmap(FD, FileSize, MapSize, Offset, RequiresNullTerminator,
311 if (const char *Pages = sys::Path::MapInFilePages(FD,
[all...]
/external/bluetooth/bluedroid/conf/
H A Dauto_pair_devlist.conf13 AddressBlacklist=00:02:C7,00:16:FE,00:19:C1,00:1B:FB,00:1E:3D,00:21:4F,00:23:06,00:24:33,00:A0:79,00:0E:6D,00:13:E0,00:21:E8,00:60:57,00:0E:9F,00:12:1C,00:18:91,00:18:96,00:13:04,00:16:FD,00:22:A0,00:0B:4C,00:60:6F,00:23:3D,00:C0:59,00:0A:30,00:1E:AE,00:1C:D7,00:80:F0,00:12:8A,00:09:93,00:80:37,00:26:7E
/external/clang/lib/Sema/
H A DTargetAttributesSema.cpp174 FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local
175 if (!FD && !isa<VarDecl>(D)) {
187 if (FD && FD->isInlineSpecified()) {
217 FunctionDecl *FD = dyn_cast<FunctionDecl>(D); local
218 if (!FD && !isa<VarDecl>(D)) {
226 if (FD && FD->isInlineSpecified()) {
/external/clang/include/clang/Basic/
H A DFileManager.h57 /// If the 'FD' member is valid, then this FileEntry has an open file
69 /// FD - The file descriptor for the file entry if it is opened and owned
71 mutable int FD; member in class:clang::FileEntry
76 : Name(0), Device(device), Inode(inode), FileMode(m), FD(-1) {}
78 FileEntry() : Name(0), Device(0), Inode(0), FileMode(0), FD(-1) {}
82 assert(FD == -1 && "Cannot copy a file-owning FileEntry");
87 assert(FD == -1 && "Cannot assign a file-owning FileEntry");

Completed in 382 milliseconds

1234567