Searched defs:FD (Results 1 - 25 of 136) sorted by relevance

123456

/external/llvm/unittests/Support/
H A DLockFileManagerTest.cpp62 int FD; local
63 EC = sys::fs::openFileForWrite(StringRef(TmpFileLock), FD, sys::fs::F_None);
66 int Ret = close(FD);
H A DMemoryBufferTest.cpp175 int FD; local
177 sys::fs::createTemporaryFile("MemoryBufferTest_Slice", "temp", FD, TestPath);
178 raw_fd_ostream OF(FD, true, /*unbuffered=*/true);
H A DSpecialCaseListTest.cpp36 int FD; local
38 sys::fs::createTemporaryFile("SpecialCaseListTest", "temp", FD, Path);
39 raw_fd_ostream OF(FD, true, true);
/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/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 DGraphWriter.cpp67 std::string llvm::createGraphFilename(const Twine &Name, int &FD) { argument
68 FD = -1;
70 std::error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
/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/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/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/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);
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
H A DSkPdfCIDFontDescriptorDictionary_autogen.cpp35 SkPdfDictionary* SkPdfCIDFontDescriptorDictionary::FD(SkPdfNativeDoc* doc) { function in class:SkPdfCIDFontDescriptorDictionary
36 SkPdfNativeObject* ret = get("FD", "");
44 return get("FD", "") != NULL;
/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;
H A DInheritViz.cpp140 int FD; local
143 Self.getAsString(), "dot", FD, Filename)) {
150 llvm::raw_fd_ostream O(FD, true);
H A DComment.cpp158 const FunctionDecl *FD = cast<FunctionDecl>(CommentDecl); local
160 ParamVars = llvm::makeArrayRef(FD->param_begin(), FD->getNumParams());
161 ReturnType = FD->getReturnType();
162 unsigned NumLists = FD->getNumTemplateParameterLists();
166 FD->getTemplateParameterList(NumLists - 1);
191 const FunctionDecl *FD = FTD->getTemplatedDecl(); local
192 ParamVars = llvm::makeArrayRef(FD->param_begin(), FD->getNumParams());
193 ReturnType = FD
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DBuiltinFunctionChecker.cpp35 const FunctionDecl *FD = C.getCalleeDecl(CE); local
37 if (!FD)
40 switch (FD->getBuiltinID()) {
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",
H A DNonNullParamChecker.cpp48 const Decl *FD = Call.getDecl(); local
49 if (!FD)
55 for (const auto *NonNull : FD->specific_attrs<NonNullAttr>()) {
H A DObjCContainersASTChecker.cpp87 const FunctionDecl *FD = CE->getDirectCallee(); local
88 if (!FD)
91 IdentifierInfo *II = FD->getIdentifier();
/external/clang/include/clang/AST/
H A DASTMutationListener.h72 virtual void ResolvedExceptionSpec(const FunctionDecl *FD) {} argument
75 virtual void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType);
H A DDeclFriend.h138 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND))
139 return FD->getSourceRange();
239 inline void CXXRecordDecl::pushFriendDecl(FriendDecl *FD) { argument
240 assert(!FD->NextFriend && "friend already has next friend?");
241 FD->NextFriend = data().FirstFriend;
242 data().FirstFriend = FD;
/external/clang/unittests/Tooling/
H A DRewriterTestContext.h64 int FD; local
65 std::error_code EC = llvm::sys::fs::createTemporaryFile(Name, "", FD, Path);
69 llvm::raw_fd_ostream OutStream(FD, true);
/external/llvm/tools/bugpoint/
H A DOptimizerDriver.cpp72 bool BugDriver::writeProgramToFile(const std::string &Filename, int FD, argument
74 tool_output_file Out(Filename, FD);

Completed in 1572 milliseconds

123456