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

1234567891011

/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/std/utilities/meta/meta.trans/meta.trans.other/
H A Dresult_of11.pass.cpp28 struct FD : public F {}; struct in inherits:F
62 test_result_of_imp<PMD(FD &), char &>();
63 test_result_of_imp<PMD(FD const &), char const &>();
64 test_result_of_imp<PMD(FD volatile &), char volatile &>();
65 test_result_of_imp<PMD(FD const volatile &), char const volatile &>();
67 test_result_of_imp<PMD(FD &&), char &&>();
68 test_result_of_imp<PMD(FD const &&), char const &&>();
69 test_result_of_imp<PMD(FD volatile &&), char volatile &&>();
70 test_result_of_imp<PMD(FD const volatile &&), char const volatile &&>();
72 test_result_of_imp<PMD(FD ), cha
[all...]
/external/libcxx/test/support/
H A Dplatform_support.h84 int FD = -1;
87 FD = mkstemp(&Name[0]);
88 if (FD == -1 && errno == EINVAL) {
92 } while (FD == -1);
93 close(FD);
/external/libmicrohttpd/src/include/
H A Dautoinit_funcs.h81 #define GNUC_SET_INIT_AND_DEINIT(FI,FD) \
84 void __attribute__ ((destructor)) _GNUC_deinit_helper_##FD(void) \
85 { (void)(FD)(); } \
88 #define _SET_INIT_AND_DEINIT_FUNCS(FI,FD) GNUC_SET_INIT_AND_DEINIT(FI,FD)
196 #define W32_SET_INIT_AND_DEINIT(FI,FD) \
197 void __cdecl _W32_deinit_helper_##FD(void) \
198 { (void)(FD)(); } \
200 { (void)(FI)(); atexit(_W32_deinit_helper_##FD); return 0; } \
207 #define W32_SET_INIT_AND_DEINIT(FI,FD) \
[all...]
/external/swiftshader/third_party/LLVM/include/llvm-c/
H A DBitWriter.h35 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
/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/llvm/unittests/Support/
H A Draw_pwrite_stream_test.cpp37 int FD; local
38 sys::fs::createTemporaryFile("foo", "bar", FD, Path);
39 raw_fd_ostream OS(FD, true);
55 int FD; local
56 sys::fs::openFileForWrite("/dev/null", FD, sys::fs::F_None);
57 raw_fd_ostream OS(FD, true);
H A DReplaceFileTest.cpp33 int FD = 0; local
34 if (std::error_code ec = fs::openFileForWrite(FilePath, FD, fs::F_None))
38 raw_fd_ostream OS(FD, ShouldClose);
45 int FD; member in class:__anon13709::ScopedFD
51 explicit ScopedFD(int Descriptor) : FD(Descriptor) {}
52 ~ScopedFD() { Process::SafelyCloseFileDescriptor(FD); }
/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);
93 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD);
94 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD);
95 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD);
96 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD);
97 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD);
98 void checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD);
99 void checkCall_rand(const CallExpr *CE, const FunctionDecl *FD);
100 void checkCall_random(const CallExpr *CE, const FunctionDecl *FD);
101 void checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD);
118 const FunctionDecl *FD = CE->getDirectCallee(); local
306 checkCall_gets(const CallExpr *CE, const FunctionDecl *FD) argument
342 checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD) argument
382 checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD) argument
424 checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD) argument
507 checkCall_strcpy(const CallExpr *CE, const FunctionDecl *FD) argument
534 checkCall_strcat(const CallExpr *CE, const FunctionDecl *FD) argument
558 checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD) argument
589 checkCall_rand(const CallExpr *CE, const FunctionDecl *FD) argument
612 os1 << '\\'' << *FD << "' is a poor random number generator"; local
616 os2 << "Function '" << *FD local
632 checkCall_random(const CallExpr *CE, const FunctionDecl *FD) argument
660 checkCall_vfork(const CallExpr *CE, const FunctionDecl *FD) argument
687 const FunctionDecl *FD = CE->getDirectCallee(); local
728 os1 << "Return value is not checked in call to '" << *FD << '\\''; local
733 << "' is not checked. If an error occurs in '" << *FD local
[all...]
H A DChrootChecker.cpp66 const FunctionDecl *FD = C.getCalleeDecl(CE); local
67 if (!FD)
76 if (FD->getIdentifier() == II_chroot) {
80 if (FD->getIdentifier() == II_chdir) {
126 const FunctionDecl *FD = C.getCalleeDecl(CE); local
127 if (!FD)
137 if (FD->getIdentifier() == II_chroot || FD->getIdentifier() == II_chdir)
/external/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp46 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD, argument
51 unsigned BId = FD->getBuiltinID();
55 StringRef BName = FD->getASTContext().BuiltinInfo.getName(BId);
60 const IdentifierInfo *II = FD->getIdentifier();
68 if (!FD->getDeclContext()->getRedeclContext()->isTranslationUnit())
74 if (!FD->isInlined() && !FD->isExternallyVisible())
/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 DMemoryBuffer.cpp210 MemoryBufferMMapFile(bool RequiresNullTerminator, int FD, uint64_t Len, argument
212 : MFR(FD, sys::fs::mapped_file_region::readonly,
236 getMemoryBufferForStream(int FD, const Twine &BufferName) { argument
243 ReadBytes = read(FD, Buffer.end(), ChunkSize);
263 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize,
270 int FD; local
271 std::error_code EC = sys::fs::openFileForRead(Filename, FD);
276 getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset,
278 close(FD);
282 static bool shouldUseMmap(int FD, argument
339 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize, uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator, bool IsVolatileSize) argument
417 getOpenFile(int FD, const Twine &Filename, uint64_t FileSize, bool RequiresNullTerminator, bool IsVolatileSize) argument
424 getOpenFileSlice(int FD, const Twine &Filename, uint64_t MapSize, int64_t Offset) argument
[all...]
/external/swiftshader/third_party/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/swiftshader/third_party/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.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) {
/external/llvm/include/llvm-c/
H A DBitWriter.h41 int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose,
/external/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp60 bool VisitFunctionDecl(FunctionDecl *FD) { argument
61 if (FD->isLateTemplateParsed() &&
62 ParsedTemplates.count(FD->getNameAsString()))
63 LateParsedDecls.insert(FD);
71 for (const FunctionDecl *FD : v.LateParsedDecls) {
72 clang::LateParsedTemplate* LPT = sema.LateParsedTemplateMap.lookup(FD);
74 llvm::errs() << "late-parsed-decl: \"" << FD->getNameAsString() << "\"\n";
/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/swiftshader/third_party/LLVM/lib/CodeGen/
H A DGCMetadata.cpp157 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/
H A Ddynamic_message.cc112 typedef FieldDescriptor FD; // avoid line wrapping typedef
113 if (field->label() == FD::LABEL_REPEATED) {
115 case FD::CPPTYPE_INT32 : return sizeof(RepeatedField<int32 >);
116 case FD::CPPTYPE_INT64 : return sizeof(RepeatedField<int64 >);
117 case FD::CPPTYPE_UINT32 : return sizeof(RepeatedField<uint32 >);
118 case FD::CPPTYPE_UINT64 : return sizeof(RepeatedField<uint64 >);
119 case FD::CPPTYPE_DOUBLE : return sizeof(RepeatedField<double >);
120 case FD::CPPTYPE_FLOAT : return sizeof(RepeatedField<float >);
121 case FD::CPPTYPE_BOOL : return sizeof(RepeatedField<bool >);
122 case FD
169 typedef FieldDescriptor FD; // avoid 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}}

Completed in 1242 milliseconds

1234567891011