/external/chromium_org/third_party/libvpx/source/libvpx/ |
video_writer.c | 38 VpxVideoWriter *writer = NULL; local 43 writer = malloc(sizeof(*writer)); 44 if (!writer) 47 writer->frame_count = 0; 48 writer->info = *info; 49 writer->file = file; 51 write_header(writer->file, info, 0); 53 return writer; 59 void vpx_video_writer_close(VpxVideoWriter *writer) { [all...] |
/external/libvpx/libvpx/ |
video_writer.c | 38 VpxVideoWriter *writer = NULL; local 43 writer = malloc(sizeof(*writer)); 44 if (!writer) 47 writer->frame_count = 0; 48 writer->info = *info; 49 writer->file = file; 51 write_header(writer->file, info, 0); 53 return writer; 59 void vpx_video_writer_close(VpxVideoWriter *writer) { [all...] |
/external/chromium_org/base/files/ |
important_file_writer_unittest.cc | 50 // of |writer|. 51 void ObserveNextSuccessfulWrite(ImportantFileWriter* writer); 69 ImportantFileWriter* writer) { 70 writer->RegisterOnNextSuccessfulWriteCallback(base::Bind( 100 ImportantFileWriter writer(file_, MessageLoopProxy::current().get()); 101 EXPECT_FALSE(PathExists(writer.path())); 103 writer.WriteNow("foo"); 107 ASSERT_TRUE(PathExists(writer.path())); 108 EXPECT_EQ("foo", GetFileContent(writer.path())); 112 ImportantFileWriter writer(file_, MessageLoopProxy::current().get()) [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
AppendableWriterTest.java | 22 import java.io.Writer; 63 Writer writer = new AppendableWriter(builder); local 65 writer.write("Hello".toCharArray()); 66 writer.write(','); 67 writer.write(0xBEEF0020); // only lower 16 bits are important 68 writer.write("Wo"); 69 writer.write("Whirled".toCharArray(), 3, 2); 70 writer.write("Mad! Mad, I say", 2, 2); 77 Writer writer = new AppendableWriter(builder) local 89 Writer writer = new AppendableWriter(spy); local 106 Writer writer = new AppendableWriter(builder); local [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
Writers.java | 20 import java.io.Writer; 23 * Utilities for dealing with {@code Writer}s. 34 * Makes a {@code PrintWriter} for the given {@code Writer}, 35 * returning the given writer if it already happens to be the right 38 * @param writer {@code non-null;} writer to (possibly) wrap 41 public static PrintWriter printWriterFor(Writer writer) { 42 if (writer instanceof PrintWriter) { 43 return (PrintWriter) writer; [all...] |
/dalvik/dx/src/com/android/dx/util/ |
Writers.java | 20 import java.io.Writer; 23 * Utilities for dealing with {@code Writer}s. 34 * Makes a {@code PrintWriter} for the given {@code Writer}, 35 * returning the given writer if it already happens to be the right 38 * @param writer {@code non-null;} writer to (possibly) wrap 41 public static PrintWriter printWriterFor(Writer writer) { 42 if (writer instanceof PrintWriter) { 43 return (PrintWriter) writer; [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
Writers.java | 20 import java.io.Writer; 23 * Utilities for dealing with {@code Writer}s. 34 * Makes a {@code PrintWriter} for the given {@code Writer}, 35 * returning the given writer if it already happens to be the right 38 * @param writer {@code non-null;} writer to (possibly) wrap 41 public static PrintWriter printWriterFor(Writer writer) { 42 if (writer instanceof PrintWriter) { 43 return (PrintWriter) writer; [all...] |
/external/chromium_org/third_party/skia/tests/ |
Writer32Test.cpp | 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, 16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); 17 writer.flatten(storage.get()); 26 SkWriter32 writer(storage, sizeof(storage)); 27 writer.reserve(40); 32 SkWriter32 writer(storage, sizeof(storage)); 35 writer.writeString(NULL); 37 check_contents(reporter, writer, expected, sizeof(expected)); 41 SkSWriter32<32> writer; local 44 REPORTER_ASSERT(reporter, 0 == writer.bytesWritten()) 60 SkWriter32 writer; local 73 SkSWriter32<32> writer; local 225 SkWriter32 writer; local 240 SkWriter32 writer; local 252 SkSWriter32<8 * sizeof(intptr_t)> writer; local 265 SkSWriter32<1024 * sizeof(intptr_t)> writer; local 286 SkSWriter32<sizeof(array) + 4> writer; local 298 SkWriter32 writer; local [all...] |
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
admx_writer_unittest.py | 30 # Writer configuration. This dictionary contains parameter used by the ADMX 31 # Writer 42 self.writer = admx_writer.GetWriter(config) 43 self.writer.Init() 56 self.writer.BeginTemplate() 57 self.writer.EndTemplate() 59 output = self.writer.GetTemplateText() 90 # Initialize writer to write a policy group. 91 self.writer.BeginTemplate() 93 self.writer.BeginPolicyGroup(empty_policy_group [all...] |
adml_writer_unittest.py | 29 self.writer = adml_writer.GetWriter(config) 30 self.writer.messages = { 40 self.writer.Init() 42 def _InitWriterForAddingPolicyGroups(self, writer): 43 '''Initialize the writer for adding policy groups. This method must be 45 attributes of the writer. 47 writer.BeginTemplate() 49 def _InitWriterForAddingPolicies(self, writer, policy): 50 '''Initialize the writer for adding policies. This method must be 52 attributes of the writer [all...] |
doc_writer_unittest.py | 23 '''A mock dictionary passed to a writer as the dictionary of 34 # Create a writer for the tests. 35 self.writer = doc_writer.GetWriter( 43 self.writer.messages = { 68 self.writer.Init() 72 for key in self.writer._STYLE.keys(): 73 self.writer._STYLE[key] = 'style_%s;' % key 75 self.writer._STYLE['key1'] = 'style1;' 76 self.writer._STYLE['key2'] = 'style2;' 85 self.writer.BeginTemplate( [all...] |
/external/chromium_org/third_party/libxml/src/ |
xmlwriter.c | 3 * xmlwriter.c: XML text writer implementation 100 static int xmlTextWriterOutputNSDecl(xmlTextWriterPtr writer); 112 static int xmlTextWriterWriteIndent(xmlTextWriterPtr writer); 114 xmlTextWriterHandleStateDependencies(xmlTextWriterPtr writer, 119 * @ctxt: a writer context 123 * Handle a writer error 141 * @ctxt: a writer context 146 * Handle a writer error 167 * NOTE: the @out parameter will be deallocated when the writer is closed 305 * NOTE: the @ctxt context will be freed with the resulting writer [all...] |
/external/libxml2/ |
xmlwriter.c | 3 * xmlwriter.c: XML text writer implementation 104 static int xmlTextWriterOutputNSDecl(xmlTextWriterPtr writer); 116 static int xmlTextWriterWriteIndent(xmlTextWriterPtr writer); 118 xmlTextWriterHandleStateDependencies(xmlTextWriterPtr writer, 123 * @ctxt: a writer context 127 * Handle a writer error 145 * @ctxt: a writer context 150 * Handle a writer error 171 * NOTE: the @out parameter will be deallocated when the writer is closed 309 * NOTE: the @ctxt context will be freed with the resulting writer [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/ |
mkvmuxerutil.cpp | 160 int32 SerializeInt(IMkvWriter* writer, int64 value, int32 size) { 161 if (!writer || size < 1 || size > 8) 171 const int32 status = writer->Write(&b, 1); 180 int32 SerializeFloat(IMkvWriter* writer, float f) { 181 if (!writer) 199 const int32 status = writer->Write(&byte, 1); 208 int32 WriteUInt(IMkvWriter* writer, uint64 value) { 209 if (!writer) 214 return WriteUIntSize(writer, value, size); 217 int32 WriteUIntSize(IMkvWriter* writer, uint64 value, int32 size) [all...] |
/external/libvpx/libvpx/third_party/libwebm/ |
mkvmuxerutil.cpp | 140 int32 SerializeInt(IMkvWriter* writer, int64 value, int32 size) { 141 if (!writer || size < 1 || size > 8) 151 const int32 status = writer->Write(&b, 1); 160 int32 SerializeFloat(IMkvWriter* writer, float f) { 161 if (!writer) 179 const int32 status = writer->Write(&byte, 1); 188 int32 WriteUInt(IMkvWriter* writer, uint64 value) { 189 if (!writer) 194 return WriteUIntSize(writer, value, size); 197 int32 WriteUIntSize(IMkvWriter* writer, uint64 value, int32 size) [all...] |
/external/chromium_org/sync/syncable/ |
syncable_base_write_transaction.cc | 13 WriterTag writer, 15 : BaseTransaction(location, name, writer, directory) {
|
/external/chromium_org/dbus/ |
values_util.h | 25 // Appends a basic type value to |writer|. Basic types are BOOLEAN, INTEGER, 29 CHROME_DBUS_EXPORT void AppendBasicTypeValueData(MessageWriter* writer, 32 // Appends a basic type value to |writer| as a variant. Basic types are BOOLEAN, 37 MessageWriter* writer, 40 // Appends a value to |writer|. Value can be a basic type, as well as a 45 CHROME_DBUS_EXPORT void AppendValueData(MessageWriter* writer, 48 // Appends a value to |writer| as a variant. Value can be a basic type, as well 53 CHROME_DBUS_EXPORT void AppendValueDataAsVariant(MessageWriter* writer,
|
/external/chromium_org/third_party/skia/src/core/ |
SkFlattenableSerialization.cpp | 15 SkWriteBuffer writer(SkWriteBuffer::kValidation_Flag); 16 writer.writeFlattenable(flattenable); 17 size_t size = writer.bytesWritten(); 19 writer.writeToMemory(data->writable_data());
|
/external/chromium_org/tools/gn/ |
path_output_unittest.cc | 15 PathOutput writer(build_dir, ESCAPE_NONE); 19 writer.WriteFile(out, SourceFile("//foo/bar.cc")); 25 writer.WriteFile(out, SourceFile("//foo.cc")); 31 writer.WriteFile(out, SourceFile("//out/Debug/foo.cc")); 33 writer.WriteFile(out, SourceFile("//out/Debug/bar/baz.cc")); 40 writer.WriteFile(out, SourceFile("/C:/foo/bar.cc")); 47 writer.WriteFile(out, SourceFile("/foo/bar.cc")); 56 PathOutput writer(build_dir, ESCAPE_NONE); 60 writer.WriteFile(out, SourceFile("//foo/bar.cc")); 66 writer.WriteFile(out, SourceFile("//foo.cc")) [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
asciiTable.py | 8 def toXML(self, writer, ttFont): 13 writer.begintag("source") 14 writer.newline() 15 writer.write_noindent(data.replace("\r", "\n")) 16 writer.newline() 17 writer.endtag("source") 18 writer.newline()
|
/external/deqp/framework/qphelper/ |
qpXmlWriter.c | 21 * \brief XML Writer. 45 static deBool writeEscaped (qpXmlWriter* writer, const char* str) 112 fprintf(writer->outputFile, "%s", buf); 117 fflush(writer->outputFile); 124 qpXmlWriter* writer = (qpXmlWriter*)deCalloc(sizeof(qpXmlWriter)); local 125 if (!writer) 130 writer->outputFile = outputFile; 132 return writer; 135 void qpXmlWriter_destroy (qpXmlWriter* writer) 137 DE_ASSERT(writer); [all...] |
/external/libxml2/include/libxml/ |
xmlwriter.h | 45 XMLPUBFUN void XMLCALL xmlFreeTextWriter(xmlTextWriterPtr writer); 56 xmlTextWriterStartDocument(xmlTextWriterPtr writer, 61 writer); 67 writer); 68 XMLPUBFUN int XMLCALL xmlTextWriterEndComment(xmlTextWriterPtr writer); 70 xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer, 74 xmlTextWriterWriteVFormatComment(xmlTextWriterPtr writer, 79 writer, 87 xmlTextWriterStartElement(xmlTextWriterPtr writer, 90 writer, [all...] |
/external/chromium_org/third_party/libxml/src/include/libxml/ |
xmlwriter.h | 46 XMLPUBFUN void XMLCALL xmlFreeTextWriter(xmlTextWriterPtr writer); 57 xmlTextWriterStartDocument(xmlTextWriterPtr writer, 62 writer); 68 writer); 69 XMLPUBFUN int XMLCALL xmlTextWriterEndComment(xmlTextWriterPtr writer); 71 xmlTextWriterWriteFormatComment(xmlTextWriterPtr writer, 75 xmlTextWriterWriteVFormatComment(xmlTextWriterPtr writer, 80 writer, 88 xmlTextWriterStartElement(xmlTextWriterPtr writer, 91 writer, [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
IOExtensions.cs | 51 public static void close( this TextWriter writer ) 53 writer.Close(); 57 public static void print<T>( this TextWriter writer, T value ) 59 writer.Write( value ); 63 public static void println( this TextWriter writer ) 65 writer.WriteLine(); 69 public static void println<T>( this TextWriter writer, T value ) 71 writer.WriteLine( value ); 75 public static void write<T>( this TextWriter writer, T value ) 77 writer.Write( value ) [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
IOExtensions.cs | 49 public static void close( this TextWriter writer ) 51 writer.Close(); 55 public static void print<T>( this TextWriter writer, T value ) 57 writer.Write( value ); 61 public static void println( this TextWriter writer ) 63 writer.WriteLine(); 67 public static void println<T>( this TextWriter writer, T value ) 69 writer.WriteLine( value ); 73 public static void write<T>( this TextWriter writer, T value ) 75 writer.Write( value ) [all...] |