Home
last modified time | relevance | path

Searched refs:FileWriter (Results 1 – 25 of 116) sorted by relevance

12345

/external/libgav1/libgav1/examples/
Dfile_writer.h31 class FileWriter {
72 static std::unique_ptr<FileWriter> Open(const std::string& file_name,
76 FileWriter() = delete;
77 FileWriter(const FileWriter&) = delete;
78 FileWriter& operator=(const FileWriter&) = delete;
80 FileWriter(FileWriter&&) = default;
81 FileWriter& operator=(FileWriter&&) = default;
84 ~FileWriter();
92 explicit FileWriter(FILE* file) : file_(file) {} in FileWriter() function
Dfile_writer.cc41 const FileWriter::Y4mParameters& y4m_parameters) { in GetY4mColorSpaceString()
82 FileWriter::~FileWriter() { fclose(file_); } in ~FileWriter()
84 std::unique_ptr<FileWriter> FileWriter::Open( in Open()
107 std::unique_ptr<FileWriter> file(new (std::nothrow) FileWriter(raw_file_ptr)); in Open()
123 bool FileWriter::WriteFrame(const DecoderBuffer& frame_buffer) { in WriteFrame()
171 bool FileWriter::WriteY4mFileHeader(const Y4mParameters& y4m_parameters) { in WriteY4mFileHeader()
Dgav1_decode.cc44 libgav1::FileWriter::FileType output_file_type =
45 libgav1::FileWriter::kFileTypeRaw;
131 options->output_file_type = libgav1::FileWriter::kFileTypeRaw; in ParseOptions()
133 options->output_file_type = libgav1::FileWriter::kFileTypeY4m; in ParseOptions()
315 std::unique_ptr<libgav1::FileWriter> file_writer; in main()
395 libgav1::FileWriter::Y4mParameters y4m_parameters; in main()
403 file_writer = libgav1::FileWriter::Open( in main()
/external/llvm-project/llvm/lib/DebugInfo/GSYM/
DFileWriter.cpp18 FileWriter::~FileWriter() { OS.flush(); } in ~FileWriter()
20 void FileWriter::writeSLEB(int64_t S) { in writeSLEB()
27 void FileWriter::writeULEB(uint64_t U) { in writeULEB()
34 void FileWriter::writeU8(uint8_t U) { in writeU8()
38 void FileWriter::writeU16(uint16_t U) { in writeU16()
43 void FileWriter::writeU32(uint32_t U) { in writeU32()
48 void FileWriter::writeU64(uint64_t U) { in writeU64()
53 void FileWriter::fixup32(uint32_t U, uint64_t Offset) { in fixup32()
59 void FileWriter::writeData(llvm::ArrayRef<uint8_t> Data) { in writeData()
63 void FileWriter::writeNullTerminated(llvm::StringRef Str) { in writeNullTerminated()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/
DFileWriter.cpp18 FileWriter::~FileWriter() { OS.flush(); } in ~FileWriter()
20 void FileWriter::writeSLEB(int64_t S) { in writeSLEB()
27 void FileWriter::writeULEB(uint64_t U) { in writeULEB()
34 void FileWriter::writeU8(uint8_t U) { in writeU8()
38 void FileWriter::writeU16(uint16_t U) { in writeU16()
43 void FileWriter::writeU32(uint32_t U) { in writeU32()
48 void FileWriter::writeU64(uint64_t U) { in writeU64()
53 void FileWriter::fixup32(uint32_t U, uint64_t Offset) { in fixup32()
59 void FileWriter::writeData(llvm::ArrayRef<uint8_t> Data) { in writeData()
63 void FileWriter::writeNullTerminated(llvm::StringRef Str) { in writeNullTerminated()
[all …]
/external/testng/src/main/java/org/testng/reporters/
DFileStringBuffer.java6 import java.io.FileWriter;
60 copy(new StringReader(s.toString()), new FileWriter(m_file, true /* append */)); in append()
120 try (FileWriter fw = new FileWriter(m_file, true /* append */)) { in flushToFile()
152 try (FileWriter expectedWriter = new FileWriter(expected)) { in save()
173 FileWriter expectedWriter = new FileWriter(expected); in main()
179 FileWriter actualWriter = new FileWriter(actual); in main()
DFiles.java9 import java.io.FileWriter;
39 FileWriter fw = new FileWriter(f); in writeFile()
/external/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
DFileWriter.h29 class FileWriter {
33 FileWriter(llvm::raw_pwrite_stream &S, llvm::support::endianness B) in FileWriter() function
35 ~FileWriter();
117 FileWriter(const FileWriter &rhs) = delete;
118 void operator=(const FileWriter &rhs) = delete;
DRange.h29 class FileWriter; variable
63 void encode(FileWriter &O, uint64_t BaseAddr) const;
111 void encode(FileWriter &O, uint64_t BaseAddr) const;
DHeader.h22 class FileWriter; variable
120 llvm::Error encode(FileWriter &O) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
DFileWriter.h29 class FileWriter {
33 FileWriter(llvm::raw_pwrite_stream &S, llvm::support::endianness B) in FileWriter() function
35 ~FileWriter();
117 FileWriter(const FileWriter &rhs) = delete;
118 void operator=(const FileWriter &rhs) = delete;
DRange.h28 class FileWriter; variable
62 void encode(FileWriter &O, uint64_t BaseAddr) const;
109 void encode(FileWriter &O, uint64_t BaseAddr) const;
DHeader.h22 class FileWriter; variable
120 llvm::Error encode(FileWriter &O) const;
DGsymCreator.h30 class FileWriter; variable
158 llvm::Error encode(FileWriter &O) const;
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingWriter.c55 static void llvmInitBufferIO(ProfBufferIO *BufferIO, ProfDataWriter *FileWriter, in llvmInitBufferIO() argument
57 BufferIO->FileWriter = FileWriter; in llvmInitBufferIO()
65 lprofCreateBufferIO(ProfDataWriter *FileWriter) { in lprofCreateBufferIO() argument
72 llvmInitBufferIO(&TheBufferIO, FileWriter, Buffer, BufferSize); in lprofCreateBufferIO()
78 FreeHook(BufferIO->FileWriter); in lprofDeleteBufferIO()
96 if (BufferIO->FileWriter->Write(BufferIO->FileWriter, IO, 1)) in lprofBufferIOWrite()
114 if (BufferIO->FileWriter->Write(BufferIO->FileWriter, IO, 1)) in lprofBufferIOFlush()
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DKeyboardTool.java4 import java.io.FileWriter;
78 FileWriter keyboardFileWriter = new FileWriter(outputFile); in parseWindowsKeyboards()
85 FileWriter platformFileWriter = new FileWriter(windowsOutputFolder + "/_platform.xml"); in parseWindowsKeyboards()
/external/tensorflow/tensorflow/python/summary/writer/
Dfake_summary_writer.py36 cls._replaced_summary_writer = writer.FileWriter
37 writer.FileWriter = FakeSummaryWriter
38 writer_cache.FileWriter = FakeSummaryWriter
44 writer.FileWriter = cls._replaced_summary_writer
45 writer_cache.FileWriter = cls._replaced_summary_writer
Dwriter_cache.py24 from tensorflow.python.summary.writer.writer import FileWriter
62 FileWriterCache._cache[logdir] = FileWriter(
/external/compiler-rt/lib/profile/
DInstrProfilingWriter.c47 static void llvmInitBufferIO(ProfBufferIO *BufferIO, WriterCallback FileWriter, in llvmInitBufferIO() argument
50 BufferIO->FileWriter = FileWriter; in llvmInitBufferIO()
57 lprofCreateBufferIO(WriterCallback FileWriter, void *File) { in lprofCreateBufferIO() argument
64 llvmInitBufferIO(&TheBufferIO, FileWriter, File, Buffer, BufferSize); in lprofCreateBufferIO()
86 if (BufferIO->FileWriter(IO, 1, &BufferIO->File)) in lprofBufferIOWrite()
101 if (BufferIO->FileWriter(IO, 1, &BufferIO->File)) in lprofBufferIOFlush()
/external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/
DMain.java58 doc = new PrintWriter(new FileWriter(fn)); in main()
60 jdi = new PrintWriter(new FileWriter(fn)); in main()
62 include = new PrintWriter(new FileWriter(fn)); in main()
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/
DCheckAndroidIcu4JSource.java26 import java.io.FileWriter;
71 FileWriter out = new FileWriter(outputReportFile, false /* append */); in main()
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/
DScriptStorageAdapter.java25 import java.io.FileWriter;
53 FileWriter stream = new FileWriter(script, false /* overwrite */); in writeScript()
/external/testng/src/main/java/org/testng/
DConverter.java16 import java.io.FileWriter;
93 try (FileWriter bw = new FileWriter(newFile)) { in writeFile()
/external/llvm-project/llvm/unittests/DebugInfo/GSYM/
DGSYMTest.cpp184 FileWriter FW(OutStrm, ByteOrder); in TEST()
214 FileWriter FW(OutStrm, ByteOrder); in TestFunctionInfoEncodeError()
249 FileWriter FW(OutStrm, ByteOrder); in TestFunctionInfoEncodeDecode()
326 FileWriter FW(OutStrm, ByteOrder); in TestInlineInfoEncodeDecode()
357 FileWriter FW(OutStrm, ByteOrder); in TestInlineInfoEncodeError()
500 FileWriter FW(OutStrm, ByteOrder); in TEST()
690 FileWriter FW(OutStrm, ByteOrder); in TestFileWriterHelper()
745 FileWriter FW(OutStrm, ByteOrder); in TEST()
768 FileWriter FW(OutStrm, ByteOrder); in TestAddressRangeEncodeDecodeHelper()
806 FileWriter FW(OutStrm, ByteOrder); in TestLineTableHelper()
[all …]
/external/skia/infra/bots/
Dzip_utils_test.py24 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))
45 fw = test_utils.FileWriter(os.path.join(os.getcwd(), 'input'))

12345