/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
IoUtil.java | 31 public static void pipe(InputStream is, OutputStream out, byte[] buf) throws IOException { 36 out.write(buf, 0, amt); 43 OutputStream out = new FileOutputStream(to); local 45 pipe(in, out, buf); 47 out.close();
|
StandaloneJarProcessor.java | 33 JarOutputStream out = new JarOutputStream(new FileOutputStream(tmpTo)); local 50 out.putNextEntry(entry); 51 out.write(struct.data); 63 out.close();
|
/external/jetty/src/java/org/eclipse/jetty/io/ |
UncheckedPrintWriter.java | 53 public UncheckedPrintWriter(Writer out) 55 this(out,false); 62 * @param out 68 public UncheckedPrintWriter(Writer out, boolean autoFlush) 70 super(out,autoFlush); 82 * @param out 87 public UncheckedPrintWriter(OutputStream out) 89 this(out,false); 98 * @param out 106 public UncheckedPrintWriter(OutputStream out, boolean autoFlush [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
UBJsonWriter.java | 28 final DataOutputStream out; field in class:UBJsonWriter 34 public UBJsonWriter (OutputStream out) { 35 if (!(out instanceof DataOutputStream)) out = new DataOutputStream(out); 36 this.out = (DataOutputStream)out; 85 out.writeByte('i'); 86 out.writeByte(bytes.length); 88 out.writeByte('I') [all...] |
/external/v8/build/android/pylib/device/commands/java/src/org/chromium/android/commands/unzip/ |
Unzip.java | 63 OutputStream out = new BufferedOutputStream(new FileOutputStream(outputFile)); local 67 out.write(bytes, 0, actual_bytes); 70 out.close();
|
/libcore/luni/src/test/java/libcore/javax/net/ |
ServerSocketFactoryTest.java | 80 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 81 transfer(in, out); 82 assertEquals(Arrays.toString(data), Arrays.toString(out.toByteArray())); 107 System.out.println("backlog peaked at " + peak); 124 private void transfer(InputStream in, ByteArrayOutputStream out) throws IOException { 128 out.write(buffer, 0, count);
|
/libcore/ojluni/src/main/java/java/util/zip/ |
DeflaterOutputStream.java | 66 * @param out the output stream 79 public DeflaterOutputStream(OutputStream out, 83 super(out); 84 if (out == null || def == null) { 100 * the 4-argument constructor DeflaterOutputStream(out, def, size, false). 102 * @param out the output stream 107 public DeflaterOutputStream(OutputStream out, Deflater def, int size) { 108 this(out, def, size, false); 115 * @param out the output stream 125 public DeflaterOutputStream(OutputStream out, [all...] |
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
CharSinkTester.java | 96 Writer out = create(); local 97 out.close(); 104 Writer out = create(); local 106 out.write(a, 1000, 0); 107 out.write(a, 0, 0); 108 out.write(new char[] { }); 110 out.close(); 117 Writer out = create(); local 119 out.write(c); 122 out.close() 129 Writer out = create(); local 141 Writer out = create(); local 172 Writer out = create(); local 181 Writer out = create(); local 196 Writer out = create(); local [all...] |
SinkTester.java | 97 OutputStream out = create(); local 98 out.close(); 105 OutputStream out = create(); local 107 out.write(a, 1000, 0); 108 out.write(a, 0, 0); 109 out.write(new byte[] { }); 111 out.close(); 118 OutputStream out = create(); local 120 out.write(b); 123 out.close() 134 OutputStream out = create(); local 156 OutputStream out = create(); local 184 OutputStream out = create(); local 193 OutputStream out = create(); local 208 OutputStream out = create(); local [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
LogoUtils.java | 44 final FileOutputStream out = new FileOutputStream(logoFile); local 48 out.write(buffer, 0, bytesReadCount); 50 out.close();
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
CfTranslator.java | 124 ClassDefItem out = local 131 out.setClassAnnotations(classAnnotations, dexFile); 136 processFields(cf, out, dexFile); 137 processMethods(cf, cfOptions, dexOptions, out, dexFile); 156 return out; 163 * @param out {@code non-null;} output class 167 DirectClassFile cf, ClassDefItem out, DexFile dexFile) { 184 out.addStaticField(fi, constVal); 187 out.addInstanceField(fi); 193 out.addFieldAnnotations(field, annotations, dexFile) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 70 ZipOutputStream out = null; local 72 out = new ZipOutputStream(new BufferedOutputStream(new FileOutputStream(reportFile))); 74 out.putNextEntry(entry); 75 out.write(contents); 81 if (out != null) { 82 out.close();
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TextReport.java | 32 PrintStream out = new PrintStream(outputStream); local 40 printPackage(apiPackage, out); 44 out.println(); 45 out.println(); 49 printPackage(apiPackage, out); 55 printClass(apiClass, out); 61 printConstructor(constructor, out); 67 printMethod(method, out); 75 private static void printPackage(ApiPackage apiPackage, PrintStream out) { 76 out.println(apiPackage.getName() + " [all...] |
/development/samples/Vault/src/com/example/android/vault/ |
Utils.java | 50 final OutputStream out = new FileOutputStream(file); local 52 out.write(data); 54 out.close();
|
/external/emma/core/java12/com/vladium/util/ |
Descriptors.java | 100 final StringBuffer out = new StringBuffer (); local 107 out.append (className); 109 out.append (methodVMName); 116 out.append (methodVMName); 122 out.append (" ("); 128 if (start > 1) out.append (", "); 129 start = typeDescriptorToJavaName (chars, start, shortTypeNames, out); 135 out.append ("): "); 137 typeDescriptorToJavaName (chars, end + 1, shortTypeNames, out); 141 out.append (')') [all...] |
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/ |
StrictLineReader.java | 148 ByteArrayOutputStream out = new ByteArrayOutputStream(end - pos + 80) { local 161 out.write(buf, pos, end - pos); 169 out.write(buf, pos, i - pos); 172 return out.toString();
|
/external/guava/guava/src/com/google/common/io/ |
ByteSink.java | 85 OutputStream out = openStream(); local 86 return (out instanceof BufferedOutputStream) 87 ? (BufferedOutputStream) out 88 : new BufferedOutputStream(out); 101 OutputStream out = closer.register(openStream()); local 102 out.write(bytes); 103 out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330 123 OutputStream out = closer.register(openStream()); local 124 long written = ByteStreams.copy(input, out); 125 out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=133 [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
HashingOutputStreamTest.java | 48 HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); local 50 out.write(b); 60 HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); local 62 out.write(buf); 72 HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); local 74 out.write(buf, 0, 3); 83 HashingOutputStream out = new HashingOutputStream(Hashing.md5(), buffer); local 85 out.write(buf); 87 assertEquals(expectedHash, out.hash());
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
Trans.java | 64 PrintWriter out = null; local 66 out = new PrintWriter(new OutputStreamWriter(new FileOutputStream(outName), "UTF8")); 68 out = new PrintWriter(System.out); 70 trans(trans, inText, in, out, isHTML); 71 out.close(); 75 BufferedReader in, PrintWriter out, boolean isHTML) throws IOException { 98 if (DEBUG) System.out.println("*S:" + line.substring(0, right+1)); 106 if (DEBUG) System.out.println("T:" + line.substring(right+1)); 112 if (DEBUG) System.out.println("T:" + line.substring(right+1, left)) [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
SignatureRemoverTest.java | 103 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 105 assertTrue(remover.filterEntry("META-INF/MANIFEST.MF", in, out)); 116 createManifest(out.toByteArray()));
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/ |
TargetLoader.java | 62 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 66 out.write(buffer, 0, len); 69 return out.toByteArray();
|
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
ExecDump.java | 31 private final PrintStream out; field in class:ExecDump 36 * @param out 39 public ExecDump(final PrintStream out) { 40 this.out = out; 58 out.printf("exec file: %s%n", file); 59 out.println("CLASS ID HITS/PROBES CLASS NAME"); 65 out.printf("Session \"%s\": %s - %s%n", info.getId(), new Date( 72 out.printf("%016x %3d of %3d %s%n", 81 out.println() [all...] |
/external/javassist/sample/evolve/ |
DemoServer.java | 47 public void doReply(InputStream in, OutputStream out, String cmd)
51 runJava(out);
72 super.doReply(in, out, cmd);
76 OutputStreamWriter out = new OutputStreamWriter(outs);
local 77 out.write("HTTP/1.0 200 OK\r\n\r\n");
79 page.show(out);
80 out.close();
|
/external/objenesis/tck/test/org/objenesis/tck/ |
TextReporterTest.java | 71 PrintStream out = new PrintStream(expectedSummaryBuffer); local 72 out.println("Running TCK on platform: Some platform"); 73 out.println(); 74 out.println("Not serializable parent constructor called: Y"); 75 out.println(); 76 out.println(" instantiator1 instantiator2 instantiator3 "); 77 out.println("candidate A n n Y "); 78 out.println("candidate B Y n Y "); 79 out.println("candidate C n n Y "); 80 out.println() [all...] |
/external/protobuf/java/src/test/java/com/google/protobuf/ |
LiteTest.java | 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 131 ObjectOutputStream out = new ObjectOutputStream(baos); local 133 out.writeObject(expected); 135 out.close();
|