/sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/ |
WindowsLoader.java | 36 BufferedWriter out = null; local 37 System.out.println("protocol = " + protocol); 38 System.out.println("version = " + server); 46 out = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())); 49 out.write("LIST"); 50 out.newLine(); 51 out.flush(); 80 if (out != null) { 81 out.close();
|
/system/core/libsparse/ |
simg2img.c | 41 int out; local 51 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 52 if (out < 0) { 74 lseek(out, SEEK_SET, 0); 76 ret = sparse_file_write(s, out, false, false, false); 85 close(out);
|
/cts/libs/vogar-expect/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/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
Process2Test.java | 42 OutputStream out = p.getOutputStream(); local 43 assertTrue("getOutputStream() returned non-buffered stream: " + out, (out instanceof BufferedOutputStream)); 45 out.close();
|
/external/apache-http/src/org/apache/http/entity/ |
SerializableEntity.java | 63 ObjectOutputStream out = new ObjectOutputStream(baos); local 64 out.writeObject(ser); 65 out.flush(); 98 ObjectOutputStream out = new ObjectOutputStream(outstream); local 99 out.writeObject(this.objRef); 100 out.flush();
|
/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/jmonkeyengine/engine/src/core/com/jme3/animation/ |
CompactQuaternionArray.java | 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
73 OutputCapsule out = ex.getCapsule(this);
local 74 out.write(array, "array", null);
75 out.write(index, "index", null);
|
CompactVector3Array.java | 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
73 OutputCapsule out = ex.getCapsule(this);
local 74 out.write(array, "array", null);
75 out.write(index, "index", null);
|
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/ |
FolderConverter.java | 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 60 System.out.println("Usage: java -jar FolderConverter <input folder>"); 61 System.out.println(); 62 System.out.println(" Converts files from input to output"); 69 FileOutputStream out = new FileOutputStream(jarFile); local 70 jarOut = new JarOutputStream(out);
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
dump.java | 25 * INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 50 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); local 53 out.enableAnnotations(120, true); 57 dexFile.writeTo(out); 61 out.finishAnnotating(); 67 out.writeAnnotationsTo(writer); 85 byte[] bytes = out.toByteArray();
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/ |
ArrayEncodedSubValue.java | 25 * INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 68 public void writeValue(AnnotatedOutput out) { 69 if (out.annotates()) 71 out.annotate("array_size: 0x" + Integer.toHexString(values.length) + " (" + values.length + ")"); 72 out.writeUnsignedLeb128(values.length); 75 out.annotate(0, "[" + index++ + "] array_element"); 76 out.indent(); 77 encodedValue.writeValue(out); 78 out.deindent(); 81 out.writeUnsignedLeb128(values.length) [all...] |
/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...] |
/libcore/luni/src/main/java/java/io/ |
BufferedOutputStream.java | 50 * Constructs a new {@code BufferedOutputStream}, providing {@code out} with a buffer 53 * @param out the {@code OutputStream} the buffer writes to. 55 public BufferedOutputStream(OutputStream out) { 56 this(out, 8192); 60 * Constructs a new {@code BufferedOutputStream}, providing {@code out} with {@code size} bytes 63 * @param out the {@code OutputStream} the buffer writes to. 67 public BufferedOutputStream(OutputStream out, int size) { 68 super(out); 76 * Flushes this stream to ensure all pending data is written out to the 86 out.flush() [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Explicit.java | 78 public void encodeContent(BerOutputStream out) { 79 out.encodeExplicit(this); 82 public void setEncodingContent(BerOutputStream out) { 83 out.getExplicitLength(this);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
GZIPInputStreamTest.java | 64 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 68 out.write(buffer, 0, count); 71 return out.toByteArray();
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/ |
AlgNameMapperTest.java | 52 PrintStream out = new PrintStream(errBuffer); local 68 out.append("Error encountered checking " + HARDCODED_ALIASES[i][1] + "\n"); 69 e.printStackTrace(out); 73 out.flush(); 86 PrintStream out = new PrintStream(errBuffer); local 99 out.append("Error encountered checking " + HARDCODED_ALIASES[i][1] + "\n"); 100 e.printStackTrace(out); 104 out.flush();
|
/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
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/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...] |
/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...] |
/cts/suite/cts/hostTests/jank/app/src/com/android/cts/jank/ |
CtsJankTestBase.java | 51 Scanner out = null; local 58 out = new Scanner(p.getInputStream()); 62 if (out.hasNextLine()) { 63 outStr.append(out.nextLine()); 89 if (out != null) { 90 out.close();
|
/cts/tests/tests/security/src/android/security/cts/ |
ServicePermissionsTest.java | 98 final FileOutputStream out = new FileOutputStream(mTempFile); local 100 serviceBinder.dump(out.getFD(), new String[0]); 110 out.close();
|