/external/guava/guava-tests/test/com/google/common/io/ |
FileBackedOutputStreamTest.java | 47 FileBackedOutputStream out = new FileBackedOutputStream(0, true); local 49 write(out, data, 0, 100, true); 50 final File file = out.getFile(); 53 out.close(); 56 out = null; 58 // times out and throws RuntimeException on failure 81 FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize); local 82 InputSupplier<InputStream> supplier = out.getSupplier(); 88 write(out, data, 0, chunk1, singleByte); 92 File file = out.getFile() 131 FileBackedOutputStream out = new FileBackedOutputStream(50); local 152 FileBackedOutputStream out = new FileBackedOutputStream(Integer.MAX_VALUE); local [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
DisplaySettings.java | 195 XmlSerializer out = new FastXmlSerializer(); local 196 out.setOutput(stream, "utf-8"); 197 out.startDocument(null, true); 198 out.startTag(null, "display-settings"); 201 out.startTag(null, "display"); 202 out.attribute(null, "name", entry.name); 204 out.attribute(null, "overscanLeft", Integer.toString(entry.overscanLeft)); 207 out.attribute(null, "overscanTop", Integer.toString(entry.overscanTop)); 210 out.attribute(null, "overscanRight", Integer.toString(entry.overscanRight)); 213 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();
|
/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/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());
|
/bootable/recovery/ |
interlace-frames.py | 38 out = Image.new("RGB", (w, h*N)) variable 42 out.putpixel((i, j*N+fn), f.getpixel((i, j))) 53 out.save(sys.argv[-1], pnginfo=meta)
|
/cts/hostsidetests/monkey/src/com/android/cts/monkey/ |
CategoryTest.java | 22 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] + " 5000"); local 23 assertTrue(out.contains("cmp=com.android.cts.monkey/.MonkeyActivity")); 24 assertTrue(out.contains("cmp=com.android.cts.monkey/.BaboonActivity")); 28 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] local 30 assertTrue(out.contains("cmp=com.android.cts.monkey/.MonkeyActivity")); 31 assertFalse(out.contains("cmp=com.android.cts.monkey/.BaboonActivity")); 33 out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0] 35 assertFalse(out.contains("cmp=com.android.cts.monkey/.MonkeyActivity")); 36 assertTrue(out.contains("cmp=com.android.cts.monkey/.BaboonActivity")); 40 String out = mDevice.executeShellCommand(MONKEY_CMD + " -v -p " + PKGS[0 local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
ArrayData.java | 110 public void writeTo(AnnotatedOutput out) { 113 out.writeShort(0x300 | DalvOps.NOP); 114 out.writeShort(elemWidth); 115 out.writeInt(initLength); 123 out.writeByte((byte) ((CstLiteral32) cst).getIntBits()); 130 out.writeShort((short) ((CstLiteral32) cst).getIntBits()); 137 out.writeInt(((CstLiteral32) cst).getIntBits()); 144 out.writeLong(((CstLiteral64) cst).getLongBits()); 154 out.writeByte(0x00);
|
/dalvik/dx/src/com/android/dx/dex/code/ |
ArrayData.java | 112 public void writeTo(AnnotatedOutput out) { 115 out.writeShort(Opcodes.FILL_ARRAY_DATA_PAYLOAD); 116 out.writeShort(elemWidth); 117 out.writeInt(initLength); 125 out.writeByte((byte) ((CstLiteral32) cst).getIntBits()); 132 out.writeShort((short) ((CstLiteral32) cst).getIntBits()); 139 out.writeInt(((CstLiteral32) cst).getIntBits()); 146 out.writeLong(((CstLiteral64) cst).getLongBits()); 156 out.writeByte(0x00);
|
/dalvik/libdex/ |
Leb128.h | 46 * Note: We don't check to see if cur is out of 89 * Note: We don't check to see if cur is out of 136 u1 out = data & 0x7f; local 137 if (out != data) { 138 *ptr++ = out | 0x80; 141 *ptr++ = out;
|
/external/arduino/hardware/arduino/cores/arduino/ |
wiring_digital.c | 129 volatile uint8_t *out; local 137 out = portOutputRegister(port); 142 *out &= ~bit; 147 *out |= bit;
|