/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/ |
ClassInfoTest.java | 48 FileOutputStream out = new FileOutputStream(f); local 51 out.write(b); 54 out.close();
|
/external/javassist/src/main/javassist/tools/ |
Dump.java | 50 PrintWriter out = new PrintWriter(System.out, true); local 51 out.println("*** constant pool ***"); 52 w.getConstPool().print(out); 53 out.println(); 54 out.println("*** members ***"); 55 ClassFilePrinter.print(w, out);
|
/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/ |
AbstractTestHttpServer.java | 31 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 53 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 58 out.write(buffer, 0, count); 60 bytes = out.toByteArray();
|
/external/proguard/src/proguard/gui/ |
TextAreaOutputStream.java | 67 ByteArrayOutputStream out = (ByteArrayOutputStream)super.out; local 70 String text = out.toString(); 77 out.reset();
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
CountOutputStream.java | 24 private final OutputStream out; field in class:CountOutputStream 31 * @param out an <code>OutputStream</code> 33 CountOutputStream(OutputStream out) 35 this.out = out; 45 out.write(buf, off, len); 56 out.write(buf); 67 out.write(b);
|
/frameworks/base/tools/preload/ |
WritePreloadedClassFile.java | 57 Writer out = new BufferedWriter(new OutputStreamWriter( local 61 out.write("# Classes which are preloaded by" 63 out.write("# Automatically generated by frameworks/base/tools/preload/" 65 out.write("# MIN_LOAD_TIME_MICROS=" + MIN_LOAD_TIME_MICROS + "\n"); 66 out.write("# MIN_PROCESSES=" + MIN_PROCESSES + "\n"); 93 System.out.println(initialSize 109 System.out.println("Added " + (toPreload.size() - initialSize) 112 System.out.println(toPreload.size() 121 out.write(loadedClass.name + "\n"); 124 out.close() [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
ExportAction.java | 54 PrintWriter out = new PrintWriter(lastSaveFile); local 55 out.println(serialized); 56 out.close();
|
/libcore/ojluni/src/main/java/java/io/ |
BufferedOutputStream.java | 56 * @param out the underlying output stream. 58 public BufferedOutputStream(OutputStream out) { 59 this(out, 8192); 67 * @param out the underlying output stream. 71 public BufferedOutputStream(OutputStream out, int size) { 72 super(out); 82 out.write(buf, 0, count); 122 out.write(b, off, len); 134 * output bytes to be written out to the underlying output stream. 137 * @see java.io.FilterOutputStream#out [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
CopyUtils.java | 61 * copy( new BufferedInputStream( in ), new BufferedOutputStream( out ) ); 71 * runs out). 287 OutputStreamWriter out = new OutputStreamWriter(output); local 288 copy(input, out); 291 out.flush(); 311 OutputStreamWriter out = new OutputStreamWriter(output); local 312 copy(in, out); 315 out.flush();
|
/external/guava/guava-tests/test/com/google/common/io/ |
FileBackedOutputStreamTest.java | 46 FileBackedOutputStream out = new FileBackedOutputStream(0, true); local 48 write(out, data, 0, 100, true); 49 final File file = out.getFile(); 52 out.close(); 55 out = null; 57 // times out and throws RuntimeException on failure 80 FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize); local 81 ByteSource source = out.asByteSource(); 87 write(out, data, 0, chunk1, singleByte); 90 File file = out.getFile() 129 FileBackedOutputStream out = new FileBackedOutputStream(50); local 150 FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE); local [all...] |
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
FastXmlSerializerTest.java | 48 final XmlSerializer out = new FastXmlSerializer(); local 49 out.setOutput(stream, "utf-8"); 50 out.startDocument(null, true); 51 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 53 out.startTag(null, "string"); 54 out.attribute(null, "name", "meow"); 55 out.text(""); 56 out.endTag(null, "string"); 58 out.endDocument(); 68 final XmlSerializer out = new FastXmlSerializer() local [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
DisplaySettings.java | 204 XmlSerializer out = new FastXmlSerializer(); local 205 out.setOutput(stream, StandardCharsets.UTF_8.name()); 206 out.startDocument(null, true); 207 out.startTag(null, "display-settings"); 210 out.startTag(null, "display"); 211 out.attribute(null, "name", entry.name); 213 out.attribute(null, "overscanLeft", Integer.toString(entry.overscanLeft)); 216 out.attribute(null, "overscanTop", Integer.toString(entry.overscanTop)); 219 out.attribute(null, "overscanRight", Integer.toString(entry.overscanRight)); 222 out.attribute(null, "overscanBottom", Integer.toString(entry.overscanBottom)) [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_GetLocal.java | 45 FileOutputStream out = new FileOutputStream(temp); local 49 out.write(buf, 0, result); 52 out.close(); 65 FileOutputStream out = new FileOutputStream(temp); local 69 out.write(buf, 0, result); 72 out.close(); 81 ByteArrayOutputStream out = new ByteArrayOutputStream(256); local 85 out.write(buf, 0, result); 87 return new ByteArrayInputStream(out.toByteArray());
|
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionOutputBuffer.java | 54 private final SessionOutputBuffer out; field in class:LoggingSessionOutputBuffer 61 * @param out The session output buffer. 64 public LoggingSessionOutputBuffer(final SessionOutputBuffer out, final Wire wire) { 66 this.out = out; 71 this.out.write(b, off, len); 78 this.out.write(b); 85 this.out.write(b); 92 this.out.flush(); 96 this.out.writeLine(buffer) [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthOutputStream.java | 58 private final SessionOutputBuffer out; field in class:ContentLengthOutputStream 75 * @param out The data transmitter to wrap 81 public ContentLengthOutputStream(final SessionOutputBuffer out, long contentLength) { 83 if (out == null) { 89 this.out = out; 101 this.out.flush(); 106 this.out.flush(); 118 this.out.write(b, off, len); 132 this.out.write(b) [all...] |
/external/doclava/src/com/google/doclava/ |
JarUtils.java | 68 FileOutputStream out = new FileOutputStream(dest); local 76 out.write(buffer, 0, s); 85 out.close();
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/resources/ |
Resources.java | 126 final OutputStream out = folder.createFile(name); local 130 out.write(buffer, 0, len); 133 out.close();
|
/frameworks/base/core/java/android/util/ |
Base64OutputStream.java | 40 * @param out the OutputStream to write the encoded data to 44 public Base64OutputStream(OutputStream out, int flags) { 45 this(out, flags, true); 53 * @param out the OutputStream to write the encoded data to 60 public Base64OutputStream(OutputStream out, int flags, boolean encode) { 61 super(out); 80 // internal buffer full; write it out. 115 out.close(); 117 out.flush(); 141 out.write(coder.output, 0, coder.op) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/http/multipart/ |
MultipartTest.java | 37 BufferedWriter out = new BufferedWriter(outFile); local 39 out.write(filebuffer.toString()); 40 out.flush(); 42 out.close(); 113 // System.out.print(output.toString()); 116 // System.out.print(os.toString());
|
/libcore/benchmarks/src/benchmarks/ |
ZipFileBenchmark.java | 58 protected void writeEntries(ZipOutputStream out, int entryCount, long entrySize) 66 out.putNextEntry(ze); 71 out.write(writeBuffer, 0, byteCount); 74 out.closeEntry(); 77 out.close();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidGZIPStreamTest.java | 84 GZIPOutputStream out = new GZIPOutputStream(bytesOut); local 87 out.write(input, 0, input.length); 88 //out.finish(); 90 out.close();
|
/libcore/support/src/test/java/tests/support/ |
Support_GetLocal.java | 45 FileOutputStream out = new FileOutputStream(temp); local 49 out.write(buf, 0, result); 52 out.close(); 65 FileOutputStream out = new FileOutputStream(temp); local 69 out.write(buf, 0, result); 72 out.close(); 81 ByteArrayOutputStream out = new ByteArrayOutputStream(256); local 85 out.write(buf, 0, result); 87 return new ByteArrayInputStream(out.toByteArray());
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
BlockingHttpClient.java | 74 OutputStream out = new BufferedOutputStream(mConnection.getOutputStream()); local 75 out.write(request); 76 out.flush(); 77 out.close();
|
/art/compiler/optimizing/ |
intrinsics_utils.h | 66 Location out = invoke_->GetLocations()->Out(); variable 67 if (out.IsValid()) { 68 DCHECK(out.IsRegister()); // TODO: Replace this when we support output in memory. 69 DCHECK(!invoke_->GetLocations()->GetLiveRegisters()->ContainsCoreRegister(out.reg())); 70 codegen->MoveFromReturnRegister(out, invoke_->GetType());
|
/art/runtime/lambda/ |
art_lambda_method.cc | 53 // of the nested lambdas recursively. In practice it's probably better to flatten out 63 ShortyFieldType out; local 64 while ((long_type = ShortyFieldType::ParseFromFieldTypeDescriptor(long_type, &out))
|