/external/guava/guava/src/com/google/common/io/ |
CharSink.java | 95 Writer out = closer.register(openStream()); local 96 out.append(charSequence); 97 out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330 129 Writer out = closer.register(openBufferedStream()); local 131 out.append(line).append(lineSeparator); 133 out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330 153 Writer out = closer.register(openStream()); local 154 long written = CharStreams.copy(readable, out); 155 out.flush(); // https://code.google.com/p/guava-libraries/issues/detail?id=1330
|
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/ |
ClassFileDumper.java | 70 final OutputStream out = new FileOutputStream(file); local 71 out.write(contents); 72 out.close();
|
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
RemoveDebugInfos.java | 35 final OutputStream out = new FileOutputStream(args[1]); local 36 out.write(writer.toByteArray()); 37 out.close();
|
/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/ |
ExecDumpTest.java | 50 final FileOutputStream out = new FileOutputStream(f); local 51 final ExecutionDataWriter writer = new ExecutionDataWriter(out); 56 out.close();
|
/external/javasqlite/src/main/java/SQLite/ |
StringEncoder.java | 72 StringBuffer out = new StringBuffer(outLen); local 73 out.append((char)shift); 79 out.append((char)1); 80 out.append((char)1); 82 out.append((char)1); 83 out.append((char)2); 85 out.append((char)1); 86 out.append((char)3); 88 out.append(c); 91 return out.toString() 234 StringBuffer out = new StringBuffer(outLen); local [all...] |
/external/jline/src/src/test/java/jline/example/ |
Example.java | 17 System.out.println("Usage: java " + Example.class.getName() 19 System.out.println(" none - no completors"); 20 System.out.println(" simple - a simple completor that comples " 22 System.out 24 System.out.println(" dictionary - a completor that comples " 26 System.out.println(" classes - a completor that comples " 28 System.out 31 System.out.println(" mask - is the character to print in place of " 33 System.out.println("\n E.g - java Example simple su '*'\n" 81 PrintWriter out = new PrintWriter(System.out) local [all...] |
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
VerboseTestRunner.java | 26 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 43 final PrintStream out; field in class:VerboseTestRunner 46 out = System.out; 47 setPrinter(new VerboseResultPrinter(out)); 52 VerboseResultPrinter(PrintStream out) { 53 super(out); 58 out.println("Started " + test); 59 out.flush(); 66 out.println("ended " + test) [all...] |
/external/slf4j/slf4j-jdk14/src/test/java/org/slf4j/issue/ |
LoggerSerializationTest.java | 21 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 66 ObjectOutputStream out = new ObjectOutputStream(baos); local 67 out.writeObject(lh1); 68 out.close();
|
/external/vogar/src/vogar/util/ |
MarkResetConsole.java | 26 private final PrintStream out; field in class:MarkResetConsole 30 public MarkResetConsole(PrintStream out) { 31 this.out = out; 48 out.print(text); 49 out.flush(); 76 System.out.print("\u001b[0G\u001b[K\u001b[1A"); 80 out.print("\u001b[0G\u001b[K"); 81 out.print(markRowContent);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
Latin1Converter.java | 77 ByteBuffer out = new ByteBuffer(buffer.length() * 4 / 3); local 90 out.append((byte) b); 108 out.append(utf8); 121 out.append(readAheadBuffer, 0, readAhead); 132 out.append(utf8); 151 out.append(utf8); 155 return out;
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
AsciiHprofWriter.java | 35 private final PrintWriter out; field in class:AsciiHprofWriter 46 this.out = new PrintWriter(outputStream); 51 out.println(e); 62 out.printf("TRACE %d: (thread=%d)\n", 66 out.printf("\t%s\n", e); 71 out.printf("CPU SAMPLES BEGIN (total = %d) %ta %tb %td %tT %tY\n", 73 out.printf("rank self accum count trace method\n"); 84 out.printf("% 4d% 6.2f%%% 6.2f%% % 7d % 5d %s.%s\n", 89 out.printf("CPU SAMPLES END\n"); 90 out.flush() [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
MemoryBinaryBody.java | 29 //BEGIN android-changed: Stubbing out logging 59 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 60 IOUtils.copy(is, out); 61 out.close(); 62 tempFile = out.toByteArray(); 89 public void writeTo(OutputStream out) throws IOException { 90 IOUtils.copy(getInputStream(),out); local
|
MemoryTextBody.java | 32 //BEGIN android-changed: Stubbing out logging 64 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 65 IOUtils.copy(is, out); 66 out.close(); 67 tempFile = out.toByteArray(); 115 public void writeTo(OutputStream out) throws IOException { 116 IOUtils.copy(new ByteArrayInputStream(tempFile), out);
|
TempFileBinaryBody.java | 27 //BEGIN android-changed: Stubbing out logging 59 OutputStream out = tempFile.getOutputStream(); local 60 IOUtils.copy(is, out); 61 out.close(); 88 public void writeTo(OutputStream out) throws IOException { 89 IOUtils.copy(getInputStream(),out); local
|
TempFileTextBody.java | 30 //BEGIN android-changed: Stubbing out logging 64 OutputStream out = tempFile.getOutputStream(); local 65 IOUtils.copy(is, out); 66 out.close(); 114 public void writeTo(OutputStream out) throws IOException { 115 IOUtils.copy(tempFile.getInputStream(), out); local
|
/packages/services/Car/car-lib/src/android/car/vms/ |
VmsLayerDependency.java | 84 public void writeToParcel(Parcel out, int flags) { 85 out.writeParcelable(mLayer, flags); 86 out.writeParcelableList(new ArrayList<VmsLayer>(mDependency), flags);
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/ |
FakeSocketServerHelper.java | 54 PrintWriter out = null; local 59 out = new PrintWriter(client.getOutputStream(), true); 68 out.print("{\"uid\":1,\"status\":true}"); 69 out.print('\n'); 70 out.flush(); 72 out.print("{\"id\":2,\"result\":true,\"error\":null}"); 73 out.print('\n'); 74 out.flush();
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
LoggingPrintStreamTest.java | 34 TestPrintStream out = new TestPrintStream(); field in class:LoggingPrintStreamTest 43 t.printStackTrace(out); 47 assertEquals(Arrays.asList(lines), out.lines); 52 out.print(4); 53 out.print(o); 54 out.print(2); 55 out.flush(); 56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); 61 out.print(4); 62 out.println(o) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
PipedOutputStreamTest.java | 36 public PReader(PipedOutputStream out) { 38 reader = new PipedInputStream(out); 40 System.out.println("Couldn't start reader"); 68 System.out.println("Exception reading info"); 78 PipedOutputStream out; field in class:PipedOutputStreamTest 91 out = new PipedOutputStream(new PipedInputStream()); 92 out.write('b'); 99 out = new PipedOutputStream(); 100 rt = new Thread(reader = new PReader(out)); 102 out.close() 177 PipedOutputStream out = new PipedOutputStream(pis); local [all...] |
/cts/common/util/src/com/android/compatibility/common/util/ |
ZipUtil.java | 43 ZipOutputStream out = null; local 46 out = new ZipOutputStream(new BufferedOutputStream(fileStream)); 47 addToZip(out, dir, new LinkedList<String>()); 55 out.close(); 62 * @param out the {@link ZipOutputStream} 67 public static void addToZip(ZipOutputStream out, File file, List<String> relativePathSegs) 75 out.putNextEntry(zipEntry); 77 writeToStream(file, out); 79 out.closeEntry(); 88 addToZip(out, subFile, relativePathSegs) [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
ServicePermissionsTest.java | 102 final FileOutputStream out = new FileOutputStream(mTempFile); local 104 serviceBinder.dump(out.getFD(), new String[0]); 118 out.close();
|
/cts/tests/tests/text/src/android/text/cts/ |
AnnotationTest.java | 80 Annotation out = new Annotation(dest); local 81 assertEquals(out.getKey(), mAnnotation.getKey()); 82 assertEquals(out.getValue(), mAnnotation.getValue()); 84 assertEquals(0, out.describeContents());
|
/external/apache-harmony/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...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedOutputStream.java | 58 private final SessionOutputBuffer out; field in class:ChunkedOutputStream 72 * @param out the session output buffer to wrap 76 public ChunkedOutputStream(final SessionOutputBuffer out, int bufferSize) 80 this.out = out; 87 * @param out the output buffer to wrap 90 public ChunkedOutputStream(final SessionOutputBuffer out) 92 this(out, 2048); 97 * Writes the cache out onto the underlying stream 102 this.out.writeLine(Integer.toHexString(this.cachePosition)) [all...] |