/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;
|
/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
|
/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/services/core/java/com/android/server/net/watchlist/ |
WatchlistSettings.java | 148 XmlSerializer out = new FastXmlSerializer(); local 149 out.setOutput(stream, StandardCharsets.UTF_8.name()); 150 out.startDocument(null, true); 151 out.startTag(null, "network-watchlist-settings"); 152 out.startTag(null, "secret-key"); 153 out.text(HexDump.toHexString(mPrivacySecretKey)); 154 out.endTag(null, "secret-key"); 155 out.endTag(null, "network-watchlist-settings"); 156 out.endDocument();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
ZipOutputStreamTest.java | 84 ZipOutputStream out = local 87 out.close(); 96 try (ZipOutputStream out = new ZipOutputStream(new ByteArrayOutputStream())) { 97 out.setComment(null); 98 out.putNextEntry(new ZipEntry("name")); 99 out.write(new byte[1]); 100 out.closeEntry(); 101 out.finish(); 113 try (ZipOutputStream out = new ZipOutputStream(bos)) { 117 out.putNextEntry(entryWithoutExplicitTime) [all...] |
/frameworks/base/core/java/android/os/ |
StatsDimensionsValue.java | 284 public void writeToParcel(Parcel out, int flags) { 285 out.writeInt(mField); 286 out.writeInt(mValueType); 287 writeValueToParcel(mValueType, mValue, out, flags); 291 private static boolean writeValueToParcel(int valueType, Object value, Parcel out, int flags) { 295 out.writeString((String) value); 298 out.writeInt((Integer) value); 301 out.writeLong((Long) value); 304 out.writeBoolean((Boolean) value); 307 out.writeFloat((Float) value) [all...] |
/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/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/annotation-tools/annotation-file-utilities/tests/ |
ASTInsert.java | 9 PrintStream out; field in class:ASTInsert 29 System.out.println(1); 33 System.out.println(2); 37 System.out.println(-1); 55 Object o = this.out; 80 this.out.println(); 81 System.out.println();
|
/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...] |