/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
WriteNumberFormatSerialTestData.java | 51 file.write(header.getBytes()); 52 write(file,(Object)nf,"generalInstance", "//NumberFormat.getInstance(Locale.US)"); method 53 write(file,(Object)nfc,"currencyInstance","//NumberFormat.getCurrencyInstance(Locale.US)"); method 54 write(file,(Object)nfp,"percentInstance","//NumberFormat.getPercentInstance(Locale.US)"); method 55 write(file,(Object)nfsp,"scientificInstance","//NumberFormat.getScientificInstance(Locale.US)"); method 56 file.write(footer.getBytes()); 63 private static void write(FileOutputStream file,Object o ,String name,String comment){ method in class:WriteNumberFormatSerialTestData 78 //file.write(myArr); 79 file.write(("\n "+comment).getBytes()); 80 file.write(new String("\n static byte[] "+name+" = new byte[]{ \n").getBytes("UTF-8")) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
WriteNumberFormatSerialTestData.java | 48 file.write(header.getBytes()); 49 write(file,(Object)nf,"generalInstance", "//NumberFormat.getInstance(Locale.US)"); method 50 write(file,(Object)nfc,"currencyInstance","//NumberFormat.getCurrencyInstance(Locale.US)"); method 51 write(file,(Object)nfp,"percentInstance","//NumberFormat.getPercentInstance(Locale.US)"); method 52 write(file,(Object)nfsp,"scientificInstance","//NumberFormat.getScientificInstance(Locale.US)"); method 53 file.write(footer.getBytes()); 60 private static void write(FileOutputStream file,Object o ,String name,String comment){ method in class:WriteNumberFormatSerialTestData 75 //file.write(myArr); 76 file.write(("\n "+comment).getBytes()); 77 file.write(new String("\n static byte[] "+name+" = new byte[]{ \n").getBytes("UTF-8")) [all...] |
/external/javassist/src/main/javassist/bytecode/ |
ByteStream.java | 40 public void write(byte[] data) { method in class:ByteStream 41 write(data, 0, data.length); method 44 public void write(byte[] data, int off, int len) { method in class:ByteStream 50 public void write(int b) { method in class:ByteStream 158 public void write(int pos, int value) { method in class:ByteStream 181 out.write(buf, 0, count);
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
ChainedData.java | 203 public void write(Appendable out, int indent) throws IOException { method in class:ChainedData 205 d.write(out, indent);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
BlockOutputStream.java | 44 // Write a dummy Block Header Size field. The real value is written 46 bufStream.write(0x00); 48 // Write Block Flags. Storing Compressed Size or Uncompressed Size 50 bufStream.write(filters.length - 1); 57 bufStream.write(filterProps); 62 bufStream.write(0x00); 77 // Write the Block Header field to the output stream. 78 out.write(buf); 87 public void write(int b) throws IOException { method in class:BlockOutputStream 89 write(tempBuf, 0, 1) method 92 public void write(byte[] buf, int off, int len) throws IOException { method in class:BlockOutputStream [all...] |
SimpleOutputStream.java | 43 public void write(int b) throws IOException { method in class:SimpleOutputStream 45 write(tempBuf, 0, 1); method 48 public void write(byte[] buf, int off, int len) throws IOException { method in class:SimpleOutputStream 71 // Write out the filtered data. 73 out.write(filterBuf, pos, filtered); 98 out.write(filterBuf, pos, unfiltered);
|
UncompressedLZMA2OutputStream.java | 42 public void write(int b) throws IOException { method in class:UncompressedLZMA2OutputStream 44 write(tempBuf, 0, 1); method 47 public void write(byte[] buf, int off, int len) throws IOException { method in class:UncompressedLZMA2OutputStream 76 outData.write(uncompBuf, 0, uncompPos); 92 out.write(0x00);
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/rangecoder/ |
RangeEncoder.java | 82 public void write(OutputStream out) throws IOException { method in class:RangeEncoder 83 out.write(buf, 0, bufPos);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
GzipSink.java | 65 @Override public void write(Buffer source, long byteCount) throws IOException { method in class:GzipSink 70 deflaterSink.write(source, byteCount); 114 // Write the Gzip header directly into the buffer for the sink to avoid handling IOException.
|
SegmentedByteString.java | 156 @Override public void write(OutputStream out) throws IOException { method in class:SegmentedByteString 162 out.write(segments[s], segmentPos, nextSegmentOffset - segmentOffset); 167 @Override void write(Buffer buffer) { method in class:SegmentedByteString
|
/external/okhttp/okio/okio/src/test/java/okio/ |
DeflaterSinkTest.java | 37 deflaterSink.write(data, data.size()); 49 deflaterSink.write(data, data.size()); 61 deflaterSink.write(data, data.size()); 70 data.write(original); 73 deflaterSink.write(data, data.size()); 85 deflaterSink.write(new Buffer().writeUtf8(repeat('a', byteCount)), byteCount); 99 deflaterSink.write(data, data.size()); 120 deflaterSink.write(new Buffer().writeUtf8(repeat('a', Segment.SIZE)), Segment.SIZE); 143 result.write(buffer, 0, count);
|
SocketTimeoutTest.java | 63 sink.write(new Buffer().write(data), data.length); 75 sink.write(new Buffer().write(data), data.length); 124 out.write(new byte[byteCount]);
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/ |
CachedDependencyResolver.java | 45 cache.write(cacheName, url); 100 <T extends Serializable> boolean write(String id, T object); method in interface:CachedDependencyResolver.Cache 130 public <T extends Serializable> boolean write(String id, T object) { method in class:CachedDependencyResolver.FileCache
|
/external/sl4a/InterpreterForAndroid/src/com/googlecode/android_scripting/ |
UrlDownloaderTask.java | 57 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:UrlDownloaderTask.ProgressReportingOutputStream 58 super.write(buffer, offset, count);
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/ |
InplaceFileConverter.java | 62 baos.write(buffer, 0, n); 82 fos.write(convertedBytes); 106 os.write(replacement[i].getBytes()); 107 os.write(lineTerminator.getBytes());
|
/external/smali/util/src/main/java/org/jf/util/ |
IndentingWriter.java | 47 writer.write(' '); 52 public void write(int chr) throws IOException { method in class:IndentingWriter 54 writer.write(newLine); 61 writer.write(chr); 73 writer.write(chars, start, len); 85 writer.write(str, start, len); 89 public void write(char[] chars) throws IOException { method in class:IndentingWriter 90 write(chars, 0, chars.length); method 94 public void write(char[] chars, int start, int len) throws IOException { method in class:IndentingWriter 101 writer.write(newLine) 113 public void write(String s) throws IOException { method in class:IndentingWriter 114 write(s, 0, s.length()); method 118 public void write(String str, int start, int len) throws IOException { method in class:IndentingWriter [all...] |
/external/testng/src/main/java/org/testng/reporters/ |
Files.java | 41 bw.write(string); 55 os.write(buffer, 0, count); 70 writer.write(buffer, 0, n);
|
/frameworks/base/core/java/android/os/ |
FileBridge.java | 110 IoBridge.write(mTarget, temp, 0, n); 117 IoBridge.write(mServer, temp, 0, MSG_LENGTH); 124 IoBridge.write(mServer, temp, 0, MSG_LENGTH); 167 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH); 180 public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:FileBridge.FileBridgeOutputStream 184 IoBridge.write(mClient, mTemp, 0, MSG_LENGTH); 185 IoBridge.write(mClient, buffer, byteOffset, byteCount); 189 public void write(int oneByte) throws IOException { method in class:FileBridge.FileBridgeOutputStream
|
/frameworks/base/core/java/com/android/internal/util/ |
IndentingPrintWriter.java | 28 * Delays writing indent until first actual write on a newline, enabling indent 44 * next write should be prefixed with the current indent. 104 write('\n'); 108 public void write(int c) { method in class:IndentingPrintWriter 110 write(mSingleChar, 0, 1); method 114 public void write(String s, int off, int len) { method in class:IndentingPrintWriter 117 write(buf, 0, len); method 121 public void write(char[] buf, int offset, int count) { method in class:IndentingPrintWriter 133 super.write(buf, lineStart, lineEnd - lineStart); 143 super.write('\n') [all...] |
LineBreakBufferedWriter.java | 65 * @param out The writer to write to. 75 * @param out The writer to write to. 98 public void write(int c) { method in class:LineBreakBufferedWriter 108 write(new char[] { (char)c }, 0 ,1); method 114 write(lineSeparator); 118 public void write(char[] buf, int off, int len) { method in class:LineBreakBufferedWriter 172 public void write(String s, int off, int len) { method in class:LineBreakBufferedWriter 285 * Helper method, write the given part of the buffer, [start,length), to the output. 290 super.write(buffer, 0, length);
|
/frameworks/base/drm/java/android/drm/ |
DrmOutputStream.java | 76 IoBridge.write(mFd, status.convertedData, 0, status.convertedData.length); 93 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:DrmOutputStream 106 IoBridge.write(mFd, status.convertedData, 0, status.convertedData.length); 113 public void write(int oneByte) throws IOException { method in class:DrmOutputStream
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFilterWriterTest.java | 48 public void write(char[] buffer, int offset, int count) throws IOException { method in class:OldFilterWriterTest.MockWriter 52 public void write(int oneChar) throws IOException { method in class:OldFilterWriterTest.MockWriter 56 public void write(String str, int offset, int count) throws IOException { method in class:OldFilterWriterTest.MockWriter 91 fw.write(0); 92 assertTrue("write(int) has not been called.", called); 97 fw.write(buffer, 0, 5); 98 assertTrue("write(char[], int, int) has not been called.", called); 108 fw.write(buffer, 0, -1); 115 fw.write(buffer, -1, 1); 122 fw.write(buffer, 10, 1) [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipStreamTest.java | 40 outFile.write(zipData, 0, zipData.length); 102 out.write(input, 0, input.length); 128 out.write(input, 0, input.length); 150 contents.write(buf, 0, len);
|
/libcore/ojluni/src/main/java/java/io/ |
BufferedWriter.java | 18 * 2 along with this work; if not, write to the Free Software Foundation, 44 * to wrap a BufferedWriter around any Writer whose write() operations may be 129 out.write(cb, 0, nextChar); 139 public void write(int c) throws IOException { method in class:BufferedWriter 163 * however, then this method will flush the buffer and write the characters 169 * @param len Number of characters to write 173 public void write(char cbuf[], int off, int len) throws IOException { method in class:BufferedWriter 185 flush the buffer and then write the data directly. In this 188 out.write(cbuf, off, len); 209 * method in the {@linkplain java.io.Writer#write(java.lang.String,int,int 219 public void write(String s, int off, int len) throws IOException { method in class:BufferedWriter [all...] |
DataOutputStream.java | 18 * 2 along with this work; if not, write to the Free Software Foundation, 29 * A data output stream lets an application write primitive Java data 51 * Creates a new data output stream to write data to the specified 81 * Implements the <code>write</code> method of <code>OutputStream</code>. 87 public synchronized void write(int b) throws IOException { method in class:DataOutputStream 88 out.write(b); 100 * @param len the number of bytes to write. 104 public synchronized void write(byte b[], int off, int len) method in class:DataOutputStream 107 out.write(b, off, len); 139 out.write(v ? 1 : 0) [all...] |