/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/ |
D | InstructionMethodItem.java | 83 public boolean writeTo(IndentingWriter writer) throws IOException { in writeTo() argument 94 writer.write("#was invalid verification error type: "); in writeTo() 95 writer.printSignedIntAsDec(verificationError); in writeTo() 96 writer.write("\n"); in writeTo() 108 writer.write("#"); in writeTo() 109 writer.write(ex.getMessage()); in writeTo() 110 writer.write("\n"); in writeTo() 117 writer.write("#invalid reference type: "); in writeTo() 118 writer.printSignedIntAsDec(ex.getReferenceType()); in writeTo() 145 writer.write("#invalid payload reference"); in writeTo() [all …]
|
/external/skia/tests/ |
D | Writer32Test.cpp | 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, in check_contents() argument 16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); in check_contents() 17 writer.flatten(storage.get()); in check_contents() 26 SkWriter32 writer(storage, sizeof(storage)); in test_reserve() local 27 writer.reserve(40); in test_reserve() 32 SkWriter32 writer(storage, sizeof(storage)); in test_string_null() local 35 writer.writeString(NULL); in test_string_null() 37 check_contents(reporter, writer, expected, sizeof(expected)); in test_string_null() 41 SkSWriter32<32> writer; in test_rewind() local 44 REPORTER_ASSERT(reporter, 0 == writer.bytesWritten()); in test_rewind() [all …]
|
/external/chromium_org/third_party/skia/tests/ |
D | Writer32Test.cpp | 13 static void check_contents(skiatest::Reporter* reporter, const SkWriter32& writer, in check_contents() argument 16 REPORTER_ASSERT(reporter, writer.bytesWritten() == size); in check_contents() 17 writer.flatten(storage.get()); in check_contents() 26 SkWriter32 writer(storage, sizeof(storage)); in test_reserve() local 27 writer.reserve(40); in test_reserve() 32 SkWriter32 writer(storage, sizeof(storage)); in test_string_null() local 35 writer.writeString(NULL); in test_string_null() 37 check_contents(reporter, writer, expected, sizeof(expected)); in test_string_null() 41 SkSWriter32<32> writer; in test_rewind() local 44 REPORTER_ASSERT(reporter, 0 == writer.bytesWritten()); in test_rewind() [all …]
|
/external/libxml2/ |
D | xmlwriter.c | 104 static int xmlTextWriterOutputNSDecl(xmlTextWriterPtr writer); 116 static int xmlTextWriterWriteIndent(xmlTextWriterPtr writer); 118 xmlTextWriterHandleStateDependencies(xmlTextWriterPtr writer, 479 xmlFreeTextWriter(xmlTextWriterPtr writer) in xmlFreeTextWriter() argument 481 if (writer == NULL) in xmlFreeTextWriter() 484 if (writer->out != NULL) in xmlFreeTextWriter() 485 xmlOutputBufferClose(writer->out); in xmlFreeTextWriter() 487 if (writer->nodes != NULL) in xmlFreeTextWriter() 488 xmlListDelete(writer->nodes); in xmlFreeTextWriter() 490 if (writer->nsstack != NULL) in xmlFreeTextWriter() [all …]
|
/external/chromium_org/third_party/libxml/src/ |
D | xmlwriter.c | 100 static int xmlTextWriterOutputNSDecl(xmlTextWriterPtr writer); 112 static int xmlTextWriterWriteIndent(xmlTextWriterPtr writer); 114 xmlTextWriterHandleStateDependencies(xmlTextWriterPtr writer, 475 xmlFreeTextWriter(xmlTextWriterPtr writer) in xmlFreeTextWriter() argument 477 if (writer == NULL) in xmlFreeTextWriter() 480 if (writer->out != NULL) in xmlFreeTextWriter() 481 xmlOutputBufferClose(writer->out); in xmlFreeTextWriter() 483 if (writer->nodes != NULL) in xmlFreeTextWriter() 484 xmlListDelete(writer->nodes); in xmlFreeTextWriter() 486 if (writer->nsstack != NULL) in xmlFreeTextWriter() [all …]
|
/external/deqp/framework/qphelper/ |
D | qpXmlWriter.c | 45 static deBool writeEscaped (qpXmlWriter* writer, const char* str) in writeEscaped() argument 112 fprintf(writer->outputFile, "%s", buf); in writeEscaped() 117 fflush(writer->outputFile); in writeEscaped() 124 qpXmlWriter* writer = (qpXmlWriter*)deCalloc(sizeof(qpXmlWriter)); in qpXmlWriter_createFileWriter() local 125 if (!writer) in qpXmlWriter_createFileWriter() 130 writer->outputFile = outputFile; in qpXmlWriter_createFileWriter() 132 return writer; in qpXmlWriter_createFileWriter() 135 void qpXmlWriter_destroy (qpXmlWriter* writer) in qpXmlWriter_destroy() argument 137 DE_ASSERT(writer); in qpXmlWriter_destroy() 139 deFree(writer); in qpXmlWriter_destroy() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | InstructionWriter.java | 32 package org.jf.dexlib2.writer; 50 @Nonnull private final DexDataWriter writer; field in InstructionWriter 59 @Nonnull DexDataWriter writer, in makeInstructionWriter() 65 writer, stringSection, typeSection, fieldSection, methodSection); in makeInstructionWriter() 68 InstructionWriter(@Nonnull DexDataWriter writer, in InstructionWriter() argument 73 this.writer = writer; in InstructionWriter() 82 writer.write(instruction.getOpcode().value); in write() 83 writer.write(instruction.getCodeOffset()); in write() 91 writer.write(instruction.getOpcode().value); in write() 92 writer.write(0); in write() [all …]
|
/external/libvpx/libvpx/third_party/libwebm/ |
D | mkvmuxerutil.cpp | 140 int32 SerializeInt(IMkvWriter* writer, int64 value, int32 size) { in SerializeInt() argument 141 if (!writer || size < 1 || size > 8) in SerializeInt() 151 const int32 status = writer->Write(&b, 1); in SerializeInt() 160 int32 SerializeFloat(IMkvWriter* writer, float f) { in SerializeFloat() argument 161 if (!writer) in SerializeFloat() 179 const int32 status = writer->Write(&byte, 1); in SerializeFloat() 188 int32 WriteUInt(IMkvWriter* writer, uint64 value) { in WriteUInt() argument 189 if (!writer) in WriteUInt() 194 return WriteUIntSize(writer, value, size); in WriteUInt() 197 int32 WriteUIntSize(IMkvWriter* writer, uint64 value, int32 size) { in WriteUIntSize() argument [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/ |
D | mkvmuxerutil.cpp | 160 int32 SerializeInt(IMkvWriter* writer, int64 value, int32 size) { in SerializeInt() argument 161 if (!writer || size < 1 || size > 8) in SerializeInt() 171 const int32 status = writer->Write(&b, 1); in SerializeInt() 180 int32 SerializeFloat(IMkvWriter* writer, float f) { in SerializeFloat() argument 181 if (!writer) in SerializeFloat() 199 const int32 status = writer->Write(&byte, 1); in SerializeFloat() 208 int32 WriteUInt(IMkvWriter* writer, uint64 value) { in WriteUInt() argument 209 if (!writer) in WriteUInt() 214 return WriteUIntSize(writer, value, size); in WriteUInt() 217 int32 WriteUIntSize(IMkvWriter* writer, uint64 value, int32 size) { in WriteUIntSize() argument [all …]
|
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
D | admx_writer_unittest.py | 42 self.writer = admx_writer.GetWriter(config) 43 self.writer.Init() 56 self.writer.BeginTemplate() 57 self.writer.EndTemplate() 59 output = self.writer.GetTemplateText() 91 self.writer.BeginTemplate() 93 self.writer.BeginPolicyGroup(empty_policy_group) 94 self.writer.EndPolicyGroup() 96 output = self.GetXMLOfChildren(self._GetPoliciesElement(self.writer._doc)) 101 self._GetCategoriesElement(self.writer._doc)) [all …]
|
D | adml_writer_unittest.py | 29 self.writer = adml_writer.GetWriter(config) 30 self.writer.messages = { 40 self.writer.Init() 42 def _InitWriterForAddingPolicyGroups(self, writer): argument 47 writer.BeginTemplate() 49 def _InitWriterForAddingPolicies(self, writer, policy): argument 54 self._InitWriterForAddingPolicyGroups(writer) 61 writer.BeginPolicyGroup(policy_group) 64 self.writer._string_table_elem.getElementsByTagName('string') 66 self.writer._string_table_elem.removeChild(elem) [all …]
|
D | doc_writer_unittest.py | 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() 87 self.writer._main_div.toxml(), 108 self.writer.messages = { [all …]
|
/external/libxml2/include/libxml/ |
D | 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/base/files/ |
D | important_file_writer_unittest.cc | 51 void ObserveNextSuccessfulWrite(ImportantFileWriter* writer); 69 ImportantFileWriter* writer) { in ObserveNextSuccessfulWrite() argument 70 writer->RegisterOnNextSuccessfulWriteCallback(base::Bind( in ObserveNextSuccessfulWrite() 100 ImportantFileWriter writer(file_, MessageLoopProxy::current().get()); in TEST_F() local 101 EXPECT_FALSE(PathExists(writer.path())); in TEST_F() 103 writer.WriteNow("foo"); in TEST_F() 107 ASSERT_TRUE(PathExists(writer.path())); in TEST_F() 108 EXPECT_EQ("foo", GetFileContent(writer.path())); in TEST_F() 112 ImportantFileWriter writer(file_, MessageLoopProxy::current().get()); in TEST_F() local 113 EXPECT_FALSE(PathExists(writer.path())); in TEST_F() [all …]
|
/external/chromium_org/third_party/libxml/src/include/libxml/ |
D | 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/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
D | ClassDefinition.java | 104 public void writeTo(IndentingWriter writer) throws IOException { in writeTo() argument 105 writeClass(writer); in writeTo() 106 writeSuper(writer); in writeTo() 107 writeSourceFile(writer); in writeTo() 108 writeInterfaces(writer); in writeTo() 109 writeAnnotations(writer); in writeTo() 110 Set<String> staticFields = writeStaticFields(writer); in writeTo() 111 writeInstanceFields(writer, staticFields); in writeTo() 112 Set<String> directMethods = writeDirectMethods(writer); in writeTo() 113 writeVirtualMethods(writer, directMethods); in writeTo() [all …]
|
D | SyntheticAccessCommentMethodItem.java | 51 public boolean writeTo(IndentingWriter writer) throws IOException { in writeTo() argument 52 writer.write("# "); in writeTo() 55 writer.write("invokes: "); in writeTo() 58 writer.write("getter for: "); in writeTo() 61 writer.write("setter for: "); in writeTo() 64 writer.write("++operator for: "); in writeTo() 67 writer.write("operator++ for: "); in writeTo() 70 writer.write("--operator for: "); in writeTo() 73 writer.write("operator-- for: "); in writeTo() 76 writer.write("+= operator for: "); in writeTo() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/ |
D | SeqParameterSet.java | 311 CAVLCWriter writer = new CAVLCWriter(out); in write() local 313 writer.writeNBit(profile_idc, 8, "SPS: profile_idc"); in write() 314 writer.writeBool(constraint_set_0_flag, "SPS: constraint_set_0_flag"); in write() 315 writer.writeBool(constraint_set_1_flag, "SPS: constraint_set_1_flag"); in write() 316 writer.writeBool(constraint_set_2_flag, "SPS: constraint_set_2_flag"); in write() 317 writer.writeBool(constraint_set_3_flag, "SPS: constraint_set_3_flag"); in write() 318 writer.writeNBit(0, 4, "SPS: reserved"); in write() 319 writer.writeNBit(level_idc, 8, "SPS: level_idc"); in write() 320 writer.writeUE(seq_parameter_set_id, "SPS: seq_parameter_set_id"); in write() 324 writer.writeUE(chroma_format_idc.getId(), "SPS: chroma_format_idc"); in write() [all …]
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/ |
D | DexDataWriterTest.java | 32 package org.jf.dexlib2.writer; 49 private DexDataWriter writer; field in DexDataWriterTest 58 writer = new DexDataWriter(output, startPosition, bufferSize); in setup() 64 Assert.assertEquals(startPosition+bytes.length, writer.getPosition()); in expectData() 66 writer.flush(); in expectData() 75 Assert.assertEquals(startPosition+bytes.length, writer.getPosition()); in expectData() 77 writer.flush(); in expectData() 90 writer.write(i); in testWriteByte() 93 writer.write(0x180); in testWriteByte() 102 writer.write(arr); in testWriteByteArray() [all …]
|
/external/chromium_org/tools/gn/ |
D | path_output_unittest.cc | 15 PathOutput writer(build_dir, ESCAPE_NONE); in TEST() local 19 writer.WriteFile(out, SourceFile("//foo/bar.cc")); in TEST() 25 writer.WriteFile(out, SourceFile("//foo.cc")); in TEST() 31 writer.WriteFile(out, SourceFile("//out/Debug/foo.cc")); in TEST() 33 writer.WriteFile(out, SourceFile("//out/Debug/bar/baz.cc")); in TEST() 40 writer.WriteFile(out, SourceFile("/C:/foo/bar.cc")); in TEST() 47 writer.WriteFile(out, SourceFile("/foo/bar.cc")); in TEST() 56 PathOutput writer(build_dir, ESCAPE_NONE); in TEST() local 60 writer.WriteFile(out, SourceFile("//foo/bar.cc")); in TEST() 66 writer.WriteFile(out, SourceFile("//foo.cc")); in TEST() [all …]
|
/external/libvpx/libvpx/ |
D | video_writer.c | 38 VpxVideoWriter *writer = NULL; in vpx_video_writer_open() local 43 writer = malloc(sizeof(*writer)); in vpx_video_writer_open() 44 if (!writer) in vpx_video_writer_open() 47 writer->frame_count = 0; in vpx_video_writer_open() 48 writer->info = *info; in vpx_video_writer_open() 49 writer->file = file; in vpx_video_writer_open() 51 write_header(writer->file, info, 0); in vpx_video_writer_open() 53 return writer; in vpx_video_writer_open() 59 void vpx_video_writer_close(VpxVideoWriter *writer) { in vpx_video_writer_close() argument 60 if (writer) { in vpx_video_writer_close() [all …]
|
/external/chromium_org/third_party/libvpx/source/libvpx/ |
D | video_writer.c | 38 VpxVideoWriter *writer = NULL; in vpx_video_writer_open() local 43 writer = malloc(sizeof(*writer)); in vpx_video_writer_open() 44 if (!writer) in vpx_video_writer_open() 47 writer->frame_count = 0; in vpx_video_writer_open() 48 writer->info = *info; in vpx_video_writer_open() 49 writer->file = file; in vpx_video_writer_open() 51 write_header(writer->file, info, 0); in vpx_video_writer_open() 53 return writer; in vpx_video_writer_open() 59 void vpx_video_writer_close(VpxVideoWriter *writer) { in vpx_video_writer_close() argument 60 if (writer) { in vpx_video_writer_close() [all …]
|
/external/proguard/src/proguard/ |
D | ConfigurationWriter.java | 46 private final PrintWriter writer; field in ConfigurationWriter 73 public ConfigurationWriter(PrintWriter writer) throws IOException in ConfigurationWriter() argument 75 this.writer = writer; in ConfigurationWriter() 84 writer.close(); in close() 99 writer.println(); in write() 105 writer.println(); in write() 153 writer.println(); in write() 164 if (writer.checkError()) in write() 184 writer.print(optionName); in writeJarOptions() 185 writer.print(' '); in writeJarOptions() [all …]
|
/external/chromium_org/chromeos/dbus/ |
D | shill_manager_client.cc | 60 dbus::MessageWriter writer(&method_call); in SetProperty() local 61 writer.AppendString(name); in SetProperty() 62 ShillClientHelper::AppendValueDataAsVariant(&writer, value); in SetProperty() 73 dbus::MessageWriter writer(&method_call); in RequestScan() local 74 writer.AppendString(type); in RequestScan() 86 dbus::MessageWriter writer(&method_call); in EnableTechnology() local 87 writer.AppendString(type); in EnableTechnology() 99 dbus::MessageWriter writer(&method_call); in DisableTechnology() local 100 writer.AppendString(type); in DisableTechnology() 112 dbus::MessageWriter writer(&method_call); in ConfigureService() local [all …]
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | AppendableWriterTest.java | 63 Writer writer = new AppendableWriter(builder); in testWriteMethods() local 65 writer.write("Hello".toCharArray()); in testWriteMethods() 66 writer.write(','); in testWriteMethods() 67 writer.write(0xBEEF0020); // only lower 16 bits are important in testWriteMethods() 68 writer.write("Wo"); in testWriteMethods() 69 writer.write("Whirled".toCharArray(), 3, 2); in testWriteMethods() 70 writer.write("Mad! Mad, I say", 2, 2); in testWriteMethods() 77 Writer writer = new AppendableWriter(builder); in testAppendMethods() local 79 writer.append("Hello,"); in testAppendMethods() 80 writer.append(' '); in testAppendMethods() [all …]
|