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

123456789

/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
H A Dloopadsz.asm2 foo: a32 loop foo ; 67 E2 FD
3 bar: loop bar, ecx ; 67 E2 FD
6 baz: a16 loop baz ; 67 E2 FD
7 qux: loop qux, cx ; 67 E2 FD
/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/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp39 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, argument
44 unsigned BId = FD->getBuiltinID();
48 StringRef BName = FD->getASTContext().BuiltinInfo.GetName(BId);
53 const IdentifierInfo *II = FD->getIdentifier();
60 const DeclContext *DC = FD->getDeclContext();
71 if (!FD->isInlined() && !FD->isExternallyVisible())
/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.cpp71 const FunctionDecl *FD = WLUnit->getDirectCallee(); local
72 if (!FD || !FD->getBody())
74 Kind &K = VisitedFunctions[FD];
90 const FunctionDecl *FD = WLUnit->getDirectCallee(); local
91 assert(FD && FD->getBody());
93 if (VisitedFunctions[FD] == PreVisited) {
97 Visit(FD->getBody());
101 VisitedFunctions[FD]
177 const FunctionDecl *FD = (*(I-1))->getDirectCallee(); local
180 os << " <-- " << *FD; local
[all...]
H A DCheckSecuritySyntaxOnly.cpp76 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
83 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
84 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
85 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
86 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
87 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
88 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
89 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD);
90 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD);
91 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD);
108 const FunctionDecl *FD = CE->getDirectCallee(); local
296 checkCall_gets(const CallExpr *CE, const FunctionDecl *FD) argument
333 checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD) argument
374 checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) argument
417 checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) argument
501 checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD) argument
529 checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD) argument
554 checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD) argument
585 checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) argument
609 os1 << '\\'' << *FD << "' is a poor random number generator"; local
613 os2 << "Function '" << *FD local
629 checkCall_random(const CallExpr *CE, const FunctionDecl *FD) argument
658 checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD) argument
686 const FunctionDecl *FD = CE->getDirectCallee(); local
727 os1 << "Return value is not checked in call to '" << *FD << '\\''; local
732 << "' 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 DBuiltinFunctionChecker.cpp35 const FunctionDecl *FD = C.getCalleeDecl(CE); local
37 if (!FD)
40 unsigned id = FD->getBuiltinID();
H A DCStringSyntaxChecker.cpp57 const FunctionDecl *FD = CE->getDirectCallee(); local
58 if (!FD)
60 return (CheckerContext::isCLibraryFunction(FD, "strlen") &&
136 const FunctionDecl *FD = CE->getDirectCallee(); local
137 if (!FD)
140 if (CheckerContext::isCLibraryFunction(FD, "strncat")) {
161 BR.EmitBasicReport(FD, "Anti-pattern in the argument", "C String API",
/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/llvm/lib/Support/
H A DToolOutputFile.cpp47 tool_output_file::tool_output_file(const char *Filename, int FD) argument
48 : Installer(Filename), OS(FD, true) {
H A DMemoryBuffer.cpp199 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len, argument
201 : MFR(FD, false, sys::fs::mapped_file_region::readonly,
220 static error_code getMemoryBufferForStream(int FD, argument
229 ReadBytes = read(FD, Buffer.end(), ChunkSize);
251 static error_code getOpenFileImpl(int FD, const char *Filename,
260 int FD; local
261 error_code EC = sys::fs::openFileForRead(Filename, FD);
265 error_code ret = getOpenFileImpl(FD, Filename, result, FileSize, FileSize, 0,
267 close(FD);
271 static bool shouldUseMmap(int FD, argument
313 getOpenFileImpl(int FD, const char *Filename, OwningPtr<MemoryBuffer> &result, uint64_t FileSize, uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator) argument
393 getOpenFile(int FD, const char *Filename, OwningPtr<MemoryBuffer> &Result, uint64_t FileSize, bool RequiresNullTerminator) argument
401 getOpenFileSlice(int FD, const char *Filename, OwningPtr<MemoryBuffer> &Result, uint64_t MapSize, int64_t Offset) argument
[all...]
H A Draw_ostream.cpp437 FD = STDOUT_FILENO;
447 error_code EC = sys::fs::openFileForWrite(Filename, FD, Flags);
459 /// raw_fd_ostream ctor - FD is the file descriptor that this writes to. If
462 : raw_ostream(unbuffered), FD(fd),
472 off_t loc = ::lseek(FD, 0, SEEK_CUR);
480 if (FD >= 0) {
483 while (::close(FD) != 0)
494 // on FD == 2.
495 if (FD == 2) return;
508 assert(FD >
[all...]
/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.cpp128 if (FunctionDecl *FD = callE->getDirectCallee()) {
129 if (FD->getAttr<CFReturnsRetainedAttr>()) {
133 if (FD->getAttr<CFReturnsNotRetainedAttr>()) {
137 if (FD->isGlobal() &&
138 FD->getIdentifier() &&
140 FD->getIdentifier()->getName())) {
141 StringRef fname = FD->getIdentifier()->getName();
148 if (FD->getName() == "CFRetain" &&
149 FD->getNumParams() == 1 &&
150 FD
[all...]
/external/clang/lib/CodeGen/
H A DCGRecordLayout.h99 const FieldDecl *FD,
184 /// field FD.
185 unsigned getLLVMFieldNo(const FieldDecl *FD) const {
186 assert(FieldInfo.count(FD) && "Invalid field for record!");
187 return FieldInfo.lookup(FD);
202 /// \brief Return the BitFieldInfo that corresponds to the field FD.
203 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const {
204 assert(FD->isBitField() && "Invalid call for non bit-field decl!");
206 it = BitFields.find(FD);
/external/llvm/lib/CodeGen/
H A DGCMetadata.cpp145 GCFunctionInfo *FD = &getAnalysis<GCModuleInfo>().getFunctionInfo(F);
147 OS << "GC roots for " << FD->getFunction().getName() << ":\n";
148 for (GCFunctionInfo::roots_iterator RI = FD->roots_begin(),
149 RE = FD->roots_end(); RI != RE; ++RI)
152 OS << "GC safe points for " << FD->getFunction().getName() << ":\n";
153 for (GCFunctionInfo::iterator PI = FD->begin(),
154 PE = FD->end(); PI != PE; ++PI) {
159 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI),
160 RE = FD->live_end(PI);;) {
/external/clang/test/Preprocessor/
H A Ducn-pp-identifier.c62 extern int PASTE(\u, 00FD); // expected-warning{{\u used with no following hex digits}}
63 extern int PASTE(\u0, 0FD); // expected-warning{{incomplete universal character name}}
/external/chromium_org/third_party/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/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.cpp52 FriendDecl *FD = new (Mem) FriendDecl(DC, L, Friend, FriendL, local
54 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
55 return FD;
/external/llvm/lib/Support/Unix/
H A DProgram.inc96 static bool RedirectIO(const StringRef *Path, int FD, std::string* ErrMsg) {
107 int InFD = open(File.c_str(), FD == 0 ? O_RDONLY : O_WRONLY|O_CREAT, 0666);
110 + (FD == 0 ? "input" : "output"));
114 // Install it as the requested FD
115 if (dup2(InFD, FD) == -1) {
120 close(InFD); // Close the original FD
125 static bool RedirectIO_PS(const std::string *Path, int FD, std::string *ErrMsg,
137 FileActions, FD, File,
138 FD == 0 ? O_RDONLY : O_WRONLY | O_CREAT, 0666))
216 // to the FD alread
[all...]

Completed in 773 milliseconds

123456789