/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...] |
/tools/loganalysis/tests/src/com/android/loganalysis/parser/ |
EventsLogParserTest.java | 250 BufferedWriter out = new BufferedWriter(new FileWriter(mTempFile)); local 252 out.write(line); 253 out.newLine(); 255 out.close();
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
Verify.java | 80 System.out.flush(); 115 System.out.format("Successfully parsed %d commands from cmdfile %s\n", 125 System.out.format(format, i++, cmd); 128 System.out.println();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
DoubleTest.java | 31 Allocation out = Allocation.createSized(rs, Element.F32(rs), big); local 33 dc.forEach_times2pi(out); 35 out.copyTo(data); 60 out.destroy();
|
/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 | 66 PrintWriter out = null; local 68 out = new PrintWriter(new OutputStreamWriter(new FileOutputStream(outName), "UTF8")); 70 out = new PrintWriter(System.out); 72 trans(trans, inText, in, out, isHTML); 73 out.close(); 77 BufferedReader in, PrintWriter out, boolean isHTML) throws IOException { 100 if (DEBUG) System.out.println("*S:" + line.substring(0, right+1)); 108 if (DEBUG) System.out.println("T:" + line.substring(right+1)); 114 if (DEBUG) System.out.println("T:" + line.substring(right+1, left)) [all...] |
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/ |
ExecInfoTest.java | 53 out); 54 assertContains("CLASS ID HITS/PROBES CLASS NAME", out); 55 assertContains("Session \"testid\":", out); 56 assertContains("0000000000001234 2 of 3 foo/MyClass", out); 61 final FileOutputStream out = new FileOutputStream(f); local 62 final ExecutionDataWriter writer = new ExecutionDataWriter(out); 66 out.close();
|
/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 | 69 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 73 out.write(buffer, 0, len); 76 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/jarjar/src/main/com/tonicsystems/jarjar/util/ |
StandaloneJarProcessor.java | 33 JarOutputStream out = new JarOutputStream(new FileOutputStream(tmpTo)); local 50 out.putNextEntry(entry); 51 out.write(struct.data); 63 out.close();
|
/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/mockito/src/main/java/org/mockito/internal/invocation/ |
InvocationMatcher.java | 51 LinkedList<InvocationMatcher> out = new LinkedList<InvocationMatcher>(); local 53 out.add(new InvocationMatcher(i)); 55 return out;
|
/external/mockito/src/test/java/org/mockitoutil/ |
TestBase.java | 86 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 87 e.printStackTrace(new PrintStream(out)); 89 out.close(); 91 return out.toString(); 95 * Filters out unwanted line numbers from provided stack trace String.
|
/external/objenesis/tck/src/test/java/org/objenesis/tck/ |
TextReporterTest.java | 97 PrintStream out = new PrintStream(expectedSummaryBuffer); local 98 out.println("Running TCK on platform: Some platform"); 99 out.println(); 100 out.println("Instantiators used: "); 101 out.println(" instantiator1: ConstructorInstantiator"); 102 out.println(" instantiator2: FailingInstantiator"); 103 out.println(" instantiator3: NullInstantiator"); 104 out.println(); 105 out.println("Not serializable parent constructor called as expected: Y"); 106 out.println() [all...] |
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/ |
ScriptStorageAdapter.java | 54 BufferedWriter out = new BufferedWriter(stream); local 55 out.write(data); 56 out.close(); 95 // Filter out any files that don't have interpreters installed. 120 // Filter out any files that don't have interpreters installed.
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
AnnotationDirectoryItem.java | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 58 protected void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) { 59 int classAnnotationsOffset = dexFile.readSmallUint(out.getCursor()); 60 out.annotate(4, "class_annotations_off = %s", 63 int fieldsSize = dexFile.readSmallUint(out.getCursor()); 64 out.annotate(4, "fields_size = %d", fieldsSize); 66 int annotatedMethodsSize = dexFile.readSmallUint(out.getCursor()); 67 out.annotate(4, "annotated_methods_size = %d", annotatedMethodsSize); 69 int annotatedParameterSize = dexFile.readSmallUint(out.getCursor()); 70 out.annotate(4, "annotated_parameters_size = %d", annotatedParameterSize) [all...] |
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
BitmapUtils.java | 32 FileOutputStream out = null; local 45 out = new FileOutputStream(outputFile, false); 46 bitmap.compress(Bitmap.CompressFormat.PNG, 100, out); 47 if (out != null) { 48 out.close();
|