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

12345678910

/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/libcxx/test/support/
H A Dplatform_support.h70 int FD = -1;
73 FD = mkstemp(&Name[0]);
74 if (FD == -1 && errno == EINVAL) {
78 } while (FD == -1);
79 close(FD);
/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/clang/lib/CodeGen/
H A DCGRecordLayout.h99 const FieldDecl *FD,
184 /// field FD.
185 unsigned getLLVMFieldNo(const FieldDecl *FD) const {
186 FD = FD->getCanonicalDecl();
187 assert(FieldInfo.count(FD) && "Invalid field for record!");
188 return FieldInfo.lookup(FD);
203 /// \brief Return the BitFieldInfo that corresponds to the field FD.
204 const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const {
205 FD
[all...]
/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.c31 CAMLprim value llvm_write_bitcode_to_fd(value U, LLVMModuleRef M, value FD) { argument
41 Result = LLVMWriteBitcodeToFD(M, Int_val(FD), 0, Unbuffered);
/external/llvm/lib/Support/
H A DToolOutputFile.cpp45 tool_output_file::tool_output_file(StringRef Filename, int FD) argument
46 : Installer(Filename), OS(FD, true) {}
H A DFileOutputBuffer.cpp73 int FD; local
74 EC = sys::fs::createUniqueFile(Twine(FilePath) + ".tmp%%%%%%%", FD,
85 EC = sys::fs::resize_file(FD, Size);
91 FD, mapped_file_region::readwrite, Size, 0, EC);
92 int Ret = close(FD);
H A DMemoryBuffer.cpp204 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len, argument
206 : MFR(FD, sys::fs::mapped_file_region::readonly,
226 getMemoryBufferForStream(int FD, const Twine &BufferName) { argument
233 ReadBytes = read(FD, Buffer.end(), ChunkSize);
253 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize,
260 int FD; local
261 std::error_code EC = sys::fs::openFileForRead(Filename, FD);
266 getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset,
268 close(FD);
272 static bool shouldUseMmap(int FD, argument
329 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize, uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator, bool IsVolatileSize) argument
407 getOpenFile(int FD, const Twine &Filename, uint64_t FileSize, bool RequiresNullTerminator, bool IsVolatileSize) argument
414 getOpenFileSlice(int FD, const Twine &Filename, uint64_t MapSize, int64_t Offset) argument
[all...]
/external/clang/include/clang/Analysis/DomainSpecific/
H A DCocoaConventions.h37 bool followsCreateRule(const FunctionDecl *FD);
/external/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp48 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) {
49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
52 if (FD->getIdentifier() == NSMakeCollectableII) {
60 } else if (FD->getIdentifier() == CFMakeCollectableII) {
H A DTransUnbridgedCasts.cpp136 if (FunctionDecl *FD = callE->getDirectCallee()) {
137 if (FD->hasAttr<CFReturnsRetainedAttr>()) {
141 if (FD->hasAttr<CFReturnsNotRetainedAttr>()) {
145 if (FD->isGlobal() &&
146 FD->getIdentifier() &&
148 FD->getIdentifier()->getName())) {
149 StringRef fname = FD->getIdentifier()->getName();
156 if (FD->getName() == "CFRetain" &&
157 FD->getNumParams() == 1 &&
158 FD
[all...]
/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]
184 const FunctionDecl *FD = (*(I-1))->getDirectCallee(); local
187 os << " <-- " << *FD; local
[all...]
H A DCheckSecuritySyntaxOnly.cpp87 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD);
94 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
95 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
96 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
97 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
98 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
99 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
100 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD);
101 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD);
102 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD);
119 const FunctionDecl *FD = CE->getDirectCallee(); local
307 checkCall_gets(const CallExpr *CE, const FunctionDecl *FD) argument
343 checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD) argument
383 checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) argument
425 checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) argument
508 checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD) argument
535 checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD) argument
559 checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD) argument
590 checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) argument
613 os1 << '\\'' << *FD << "' is a poor random number generator"; local
617 os2 << "Function '" << *FD local
633 checkCall_random(const CallExpr *CE, const FunctionDecl *FD) argument
661 checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD) argument
688 const FunctionDecl *FD = CE->getDirectCallee(); local
729 os1 << "Return value is not checked in call to '" << *FD << '\\''; local
734 << "' 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 DCStringSyntaxChecker.cpp58 const FunctionDecl *FD = CE->getDirectCallee(); local
59 if (!FD)
61 return (CheckerContext::isCLibraryFunction(FD, "strlen") &&
136 const FunctionDecl *FD = CE->getDirectCallee(); local
137 if (!FD)
140 if (CheckerContext::isCLibraryFunction(FD, "strncat")) {
160 BR.EmitBasicReport(FD, Checker, "Anti-pattern in the argument",
/external/llvm/lib/CodeGen/
H A DGCMetadata.cpp114 GCFunctionInfo *FD = &getAnalysis<GCModuleInfo>().getFunctionInfo(F);
116 OS << "GC roots for " << FD->getFunction().getName() << ":\n";
117 for (GCFunctionInfo::roots_iterator RI = FD->roots_begin(),
118 RE = FD->roots_end();
122 OS << "GC safe points for " << FD->getFunction().getName() << ":\n";
123 for (GCFunctionInfo::iterator PI = FD->begin(), PE = FD->end(); PI != PE;
129 for (GCFunctionInfo::live_iterator RI = FD->live_begin(PI),
130 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
147 typedef FieldDescriptor FD; // avoid line wrapping typedef
[all...]
H A Ddescriptor_unittest.cc1720 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef
1722 EXPECT_STREQ("double" , GetTypeNameForFieldType(FD::TYPE_DOUBLE ));
1723 EXPECT_STREQ("float" , GetTypeNameForFieldType(FD::TYPE_FLOAT ));
1724 EXPECT_STREQ("int64" , GetTypeNameForFieldType(FD::TYPE_INT64 ));
1725 EXPECT_STREQ("uint64" , GetTypeNameForFieldType(FD::TYPE_UINT64 ));
1726 EXPECT_STREQ("int32" , GetTypeNameForFieldType(FD::TYPE_INT32 ));
1727 EXPECT_STREQ("fixed64" , GetTypeNameForFieldType(FD::TYPE_FIXED64 ));
1728 EXPECT_STREQ("fixed32" , GetTypeNameForFieldType(FD::TYPE_FIXED32 ));
1729 EXPECT_STREQ("bool" , GetTypeNameForFieldType(FD::TYPE_BOOL ));
1730 EXPECT_STREQ("string" , GetTypeNameForFieldType(FD
1745 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef
1770 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef
1795 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef
1820 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef
1837 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef
1862 typedef FieldDescriptor FD; // avoid ugly line wrapping typedef
1896 typedef FieldDescriptorProto FD; // avoid ugly line wrapping typedef
[all...]
/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/llvm/lib/Bitcode/Writer/
H A DBitWriter.cpp31 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, argument
33 raw_fd_ostream OS(FD, ShouldClose, Unbuffered);
/external/valgrind/none/tests/mips64/
H A Dmove_instructions.c93 #define TEST3(instruction, FD, FS, cc, offset) \
101 "dmtc1 $zero, $"#FD "\n\t" \
107 "mfc1 %0, $"#FD "\n\t" \
110 : "t0", "t1", "$"#FD, "$"#FS, "$f0", "$f2" \
117 #define TEST3d(instruction, FD, FS, cc, offset) \
125 "dmtc1 $zero, $"#FD "\n\t" \
130 "dmfc1 %0, $"#FD "\n\t" \
133 : "t0", "t1", "$"#FD, "$"#FS, "$f0", "$f2" \
140 #define TEST4(instruction, offset, RTval, FD, FS, RT) \
145 "dmtc1 $zero, $"#FD "\
[all...]
/external/clang/lib/AST/
H A DDeclFriend.cpp50 FriendDecl *FD = new (C, DC, Extra) FriendDecl(DC, L, Friend, FriendL, local
52 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
53 return FD;
/external/llvm/tools/llvm-cov/
H A DTestingSupport.cpp76 int FD; local
78 sys::fs::openFileForWrite(OutputFilename, FD, sys::fs::F_None)) {
83 raw_fd_ostream OS(FD, true);

Completed in 3392 milliseconds

12345678910