Home
last modified time | relevance | path

Searched refs:write (Results 1 – 25 of 2563) sorted by relevance

12345678910>>...103

/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/
DBinaryOutputCapsule.java72 public void write(byte value, String name, byte defVal) throws IOException { in write() method in BinaryOutputCapsule
76 write(value); in write()
79 public void write(byte[] value, String name, byte[] defVal) in write() method in BinaryOutputCapsule
84 write(value); in write()
87 public void write(byte[][] value, String name, byte[][] defVal) in write() method in BinaryOutputCapsule
92 write(value); in write()
95 public void write(int value, String name, int defVal) throws IOException { in write() method in BinaryOutputCapsule
99 write(value); in write()
102 public void write(int[] value, String name, int[] defVal) in write() method in BinaryOutputCapsule
107 write(value); in write()
[all …]
/external/xmlwriter/src/org/jheer/
DXMLWriter.java91 public void write(String s) throws IOException { in write() method in XMLWriter
92 m_out.write(s); in write()
102 m_out.write(s); in writeln()
103 m_out.write("\n"); in writeln()
110 m_out.write("\n"); in writeln()
119 m_out.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); in begin()
133 m_out.write(header); in begin()
144 m_out.write("<!-- "); in comment()
145 m_out.write(comment); in comment()
146 m_out.write(" -->"); in comment()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
DShortArrayCodeOutput.java57 public void write(short codeUnit) { in write() method in ShortArrayCodeOutput
63 public void write(short u0, short u1) { in write() method in ShortArrayCodeOutput
64 write(u0); in write()
65 write(u1); in write()
69 public void write(short u0, short u1, short u2) { in write() method in ShortArrayCodeOutput
70 write(u0); in write()
71 write(u1); in write()
72 write(u2); in write()
76 public void write(short u0, short u1, short u2, short u3) { in write() method in ShortArrayCodeOutput
77 write(u0); in write()
[all …]
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/
DMjpegFileWriter.java47 aviOutput.write(rh.toBytes()); in MjpegFileWriter()
48 aviOutput.write(new AVIMainHeader().toBytes()); in MjpegFileWriter()
49 aviOutput.write(new AVIStreamList().toBytes()); in MjpegFileWriter()
50 aviOutput.write(new AVIStreamHeader().toBytes()); in MjpegFileWriter()
51 aviOutput.write(new AVIStreamFormat().toBytes()); in MjpegFileWriter()
52 aviOutput.write(new AVIJunk().toBytes()); in MjpegFileWriter()
54 aviOutput.write(new AVIMovieList().toBytes()); in MjpegFileWriter()
73 aviOutput.write(fcc); in addImage()
74 aviOutput.write(intBytes(swapInt(useLength))); in addImage()
75 aviOutput.write(imagedata); in addImage()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
DBufferedOutputStreamTest.java42 os.write(fileString.getBytes(), 0, 500); in test_ConstructorLjava_io_OutputStream()
52 os.write(fileString.getBytes(), 0, 500); in test_ConstructorLjava_io_OutputStreamI()
104 os.write(fileString.getBytes(), 0, 500); in test_flush()
119 public void write(int b) { in write() method in BufferedOutputStreamTest.MockOutputStream
133 os.write(fileString.getBytes(), 0, 500); in test_write$BII()
139 os.write(fileString.getBytes(), 500, 513); in test_write$BII()
151 bos.write("a".getBytes()); in test_write$BII()
152 bos.write("bcde".getBytes()); in test_write$BII()
157 bos.write("ab".getBytes()); in test_write$BII()
158 bos.write("cd".getBytes()); in test_write$BII()
[all …]
DBufferedWriterTest.java42 sw.write("Hi"); in test_ConstructorLjava_io_Writer()
57 public void write(char[] buf, int off, int len) throws IOException { in write() method in BufferedWriterTest.MockWriter
86 bw.write(testString); in test_close()
96 bw.write('a'); in test_close()
123 bw.write("This should not cause a flush"); in test_flush()
135 bw.write("Hello"); in test_newLine()
137 bw.write("World"); in test_newLine()
148 bw.write(testCharArray, 500, 1000); in test_write$CII()
162 bWriter.write(nullCharArray, -1, -1); in test_write_$CII_Exception()
169 bWriter.write(nullCharArray, -1, 0); in test_write_$CII_Exception()
[all …]
DOutputStreamWriterTest.java102 writer.write(source); in testFlush()
116 writer.write((char[]) null, -1, -1); in testWritecharArrayintint()
124 writer.write((char[]) null, 1, -1); in testWritecharArrayintint()
131 writer.write((char[]) null, 1, 1); in testWritecharArrayintint()
137 writer.write(new char[0], 0, 1); in testWritecharArrayintint()
143 writer.write(chars, -1, 1); in testWritecharArrayintint()
149 writer.write(chars, 0, -1); in testWritecharArrayintint()
155 writer.write(chars, 1, chars.length); in testWritecharArrayintint()
160 writer.write(chars, 1, 2); in testWritecharArrayintint()
163 writer.write(chars, 0, chars.length); in testWritecharArrayintint()
[all …]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/Format/
DInstructionMethodItem.java63 writer.write(' '); in writeTo()
71 writer.write(' '); in writeTo()
73 writer.write(", "); in writeTo()
78 writer.write(' '); in writeTo()
83 writer.write(' '); in writeTo()
85 writer.write(", "); in writeTo()
90 writer.write(' '); in writeTo()
92 writer.write(", "); in writeTo()
98 writer.write(' '); in writeTo()
104 writer.write(' '); in writeTo()
[all …]
/external/protobuf/python/google/protobuf/internal/
Dencoder.py338 def EncodeVarint(write, value): argument
342 write(local_chr(0x80|bits))
345 return write(local_chr(bits))
355 def EncodeSignedVarint(write, value): argument
361 write(local_chr(0x80|bits))
364 return write(local_chr(bits))
407 def EncodePackedField(write, value): argument
408 write(tag_bytes)
412 local_EncodeVarint(write, size)
414 encode_value(write, element)
[all …]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DDebugMethodItem.java52 writer.write(".line "); in writeLine()
57 writer.write(".prologue"); in writeEndPrologue()
61 writer.write(".epilogue"); in writeBeginEpilogue()
67 writer.write(".local "); in writeStartLocal()
69 writer.write(", "); in writeStartLocal()
70 writer.write(name.getStringValue()); in writeStartLocal()
71 writer.write(':'); in writeStartLocal()
72 writer.write(type.getTypeDescriptor()); in writeStartLocal()
74 writer.write(",\""); in writeStartLocal()
75 writer.write(signature.getStringValue()); in writeStartLocal()
[all …]
DClassDefinition.java142 writer.write(".class "); in writeClass()
144 writer.write(classDefItem.getClassType().getTypeDescriptor()); in writeClass()
145 writer.write('\n'); in writeClass()
150 writer.write(accessFlag.toString()); in writeAccessFlags()
151 writer.write(' '); in writeAccessFlags()
158 writer.write(".super "); in writeSuper()
159 writer.write(superClass.getTypeDescriptor()); in writeSuper()
160 writer.write('\n'); in writeSuper()
167 writer.write(".source \""); in writeSourceFile()
169 writer.write("\"\n"); in writeSourceFile()
[all …]
DReferenceFormatter.java56 writer.write(item.getContainingClass().getTypeDescriptor()); in writeMethodReference()
57 writer.write("->"); in writeMethodReference()
58 writer.write(item.getMethodName().getStringValue()); in writeMethodReference()
59 writer.write(item.getPrototype().getPrototypeString()); in writeMethodReference()
63 writer.write(item.getContainingClass().getTypeDescriptor()); in writeFieldReference()
64 writer.write("->"); in writeFieldReference()
65 writer.write(item.getFieldName().getStringValue()); in writeFieldReference()
66 writer.write(':'); in writeFieldReference()
67 writer.write(item.getFieldType().getTypeDescriptor()); in writeFieldReference()
71 writer.write('"'); in writeStringReference()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/export/
DOutputCapsule.java52 public void write(byte value, String name, byte defVal) throws IOException; in write() method
53 public void write(byte[] value, String name, byte[] defVal) throws IOException; in write() method
54 public void write(byte[][] value, String name, byte[][] defVal) throws IOException; in write() method
59 public void write(int value, String name, int defVal) throws IOException; in write() method
60 public void write(int[] value, String name, int[] defVal) throws IOException; in write() method
61 public void write(int[][] value, String name, int[][] defVal) throws IOException; in write() method
66 public void write(float value, String name, float defVal) throws IOException; in write() method
67 public void write(float[] value, String name, float[] defVal) throws IOException; in write() method
68 public void write(float[][] value, String name, float[][] defVal) throws IOException; in write() method
73 public void write(double value, String name, double defVal) throws IOException; in write() method
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DXMLWriter.java506 write("<?xml"); in startDocument()
508 write(" version=\"1.0\""); in startDocument()
510 write(" version=\""); in startDocument()
511 write(version); in startDocument()
512 write("\""); in startDocument()
515 write(" encoding=\""); in startDocument()
516 write(outputEncoding); in startDocument()
517 write("\""); in startDocument()
520 write(" standalone=\"yes\"?>\n"); in startDocument()
522 write(" standalone=\""); in startDocument()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DToStream.java196 m_writer.write(CDATA_DELIMITER_CLOSE); in closeCDATA()
310 writer.write("<!ELEMENT "); in elementDecl()
311 writer.write(name); in elementDecl()
312 writer.write(' '); in elementDecl()
313 writer.write(model); in elementDecl()
314 writer.write('>'); in elementDecl()
315 writer.write(m_lineSep, 0, m_lineSepLen); in elementDecl()
366 writer.write("<!ENTITY "); in outputEntityDecl()
367 writer.write(name); in outputEntityDecl()
368 writer.write(" \""); in outputEntityDecl()
[all …]
DToXMLStream.java143 writer.write("<?xml version=\""); in startDocumentInternal()
144 writer.write(version); in startDocumentInternal()
145 writer.write("\" encoding=\""); in startDocumentInternal()
146 writer.write(encoding); in startDocumentInternal()
147 writer.write('\"'); in startDocumentInternal()
148 writer.write(standalone); in startDocumentInternal()
149 writer.write("?>"); in startDocumentInternal()
163 writer.write(m_lineSep, 0, m_lineSepLen); in startDocumentInternal()
283 writer.write("<?"); in processingInstruction()
284 writer.write(target); in processingInstruction()
[all …]
/external/webkit/LayoutTests/fast/dom/HTMLLabelElement/script-tests/
Dlabel-control.js4 document.write("<label id='test1'><input id='inputId1'></label>");
8 document.write("<label id='test2' for='inputId2'></label><input id='inputId2' type='number'>");
13 document.write("<label id='test3'><p><input id='inputId3' type='date'></p></label>");
18 document.write("<label id='test4'><fieldset><input id='inputId4'></fieldset></label>");
23 document.write("<label id='test5'><legend><input id='inputId5'></legend></label>");
28 document.write("<label id='test6'><optgroup><input id='inputId6'></optgroup></label>");
33 document.write("<label id='test7'><option><input id='inputId7'></option></label>");
37 document.write("<label for='foo' id='test8'><input id='inputId8'></label>");
41 document.write("<label for='divId' id='test9'><input id='inputId9'></label><div id='divId'></div>");
46 document.write("<label for='fsId' id='test10'><input id='inputId10'></label><fieldset id='fsId'></f…
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/
DDEROutputStream.java30 write((byte)(size | 0x80)); in writeLength()
34 write((byte)(length >> i)); in writeLength()
39 write((byte)length); in writeLength()
48 write(tag); in writeEncoded()
50 write(bytes); in writeEncoded()
58 write(flags | tagNo); in writeTag()
62 write(flags | 0x1f); in writeTag()
65 write(tagNo); in writeTag()
81 write(stack, pos, stack.length - pos); in writeTag()
91 write(bytes); in writeEncoded()
[all …]
/external/smali/util/src/main/java/org/jf/util/
DIndentingWriter.java46 public void write(int chr) throws IOException { in write() method in IndentingWriter
49 writer.write(newLine); in write()
54 writer.write(' '); in write()
58 writer.write(chr); in write()
64 public void write(char[] chars) throws IOException { in write() method in IndentingWriter
67 write(chr); in write()
73 public void write(char[] chars, int start, int len) throws IOException { in write() method in IndentingWriter
77 write(chars[start++]); in write()
83 public void write(String s) throws IOException { in write() method in IndentingWriter
86 write(s.charAt(i)); in write()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DJavaExpression.java91 public void write(PrintWriter out) { in cast()
92 stringExpr.write(out); in cast()
121 public void write(PrintWriter out) { in cast()
122 expression.write(out); in cast()
177 public abstract void write(PrintWriter out);
182 write(new PrintWriter(out));
199 public void write(PrintWriter out) {
209 param.write(out);
232 public void write(PrintWriter out) {
233 instance.write(out);
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/
DBase64Encoder.java67 out.write(encodingTable[(a1 >>> 2) & 0x3f]); in encode()
68 out.write(encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3f]); in encode()
69 out.write(encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3f]); in encode()
70 out.write(encodingTable[a3 & 0x3f]); in encode()
88 out.write(encodingTable[b1]); in encode()
89 out.write(encodingTable[b2]); in encode()
90 out.write(padding); in encode()
91 out.write(padding); in encode()
101 out.write(encodingTable[b1]); in encode()
102 out.write(encodingTable[b2]); in encode()
[all …]
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
DSinkChannelTest.java85 sink.write(buf); in test_write_LByteBuffer()
114 sink.write(ByteBuffer.wrap(strbytes)); in test_write_LByteBuffer_mutliThread()
153 sink.write(nullBuf); in test_write_LByteBuffer_Exception()
163 int written = sink.write(buffer); in test_write_LByteBuffer_SourceClosed()
172 sink.write(buffer); in test_write_LByteBuffer_SinkClosed()
190 sink.write(bufArray); in test_write_$LByteBuffer()
218 sink.write(nullBufArrayRef); in test_write_$LByteBuffer_Exception()
228 sink.write(nullBufArray); in test_write_$LByteBuffer_Exception()
239 long written = sink.write(bufArray); in test_write_$LByteBuffer_SourceClosed()
252 sink.write(bufArray); in test_write_$LByteBuffer_SinkClosed()
[all …]
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
DUtf8Utils.java184 writer.write('\\'); in writeEscapedChar()
186 writer.write(c); in writeEscapedChar()
190 case '\n': writer.write("\\n"); return; in writeEscapedChar()
191 case '\r': writer.write("\\r"); return; in writeEscapedChar()
192 case '\t': writer.write("\\t"); return; in writeEscapedChar()
196 writer.write("\\u"); in writeEscapedChar()
197 writer.write(Character.forDigit(c >> 12, 16)); in writeEscapedChar()
198 writer.write(Character.forDigit((c >> 8) & 0x0f, 16)); in writeEscapedChar()
199 writer.write(Character.forDigit((c >> 4) & 0x0f, 16)); in writeEscapedChar()
200 writer.write(Character.forDigit(c & 0x0f, 16)); in writeEscapedChar()
[all …]
/external/webkit/Source/WebCore/html/parser/
Dcreate-html-entity-table62 sys.stderr.write("Usage: %s -o OUTPUT_FILE INPUT_FILE\n" % program_name)
77 output_file.write("""/*
114 output_file.write("const UChar %sEntityName[] = %s;" % (
118 output_file.write("""
127 output_file.write(' { %sEntityName, %s, %s },' % (
133 output_file.write("""};
136 output_file.write("const HTMLEntityTableEntry* uppercaseOffset[] = {")
138 output_file.write(offset_table_entry(index[letter]))
139 output_file.write(offset_table_entry(index['a']))
140 output_file.write("""};
[all …]
/external/webkit/LayoutTests/dom/xhtml/level2/html/
DHTMLDocument19.js104 doc.write("<html>");
109 doc.write("<html xmlns='http://www.w3.org/1999/xhtml'>");
112 doc.write("<body>");
113 doc.write("<title>Replacement</title>");
114 doc.write("</body>");
115 doc.write("<p>");
116 doc.write("Hello, World.");
117 doc.write("</p>");
118 doc.write("</body>");
119 doc.write("</html>");

12345678910>>...103