/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;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
BERSequence.java | 58 ASN1OutputStream out) 61 out.write(BERTags.SEQUENCE | BERTags.CONSTRUCTED); 62 out.write(0x80); 67 out.writeObject((ASN1Encodable)e.nextElement()); 70 out.write(0x00); 71 out.write(0x00);
|
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
id_mapping_helper_unittest.cc | 23 std::string out; local 24 if (dictionary.GetString(path, &out)) { 25 return (out == expected_value);
|
/external/chromium_org/chrome/browser/net/ |
disk_cache_dir_policy_handler_unittest.cc | 52 std::string out; local 53 ASSERT_TRUE(value->GetAsString(&out)); 54 EXPECT_NE(std::string::npos, out.find("foo")); 55 EXPECT_EQ(std::string::npos, out.find("${user_name}"));
|
/external/chromium_org/native_client_sdk/src/libraries/error_handling/ |
string_stream.c | 43 int out; local 46 out = ssvprintf(stream, format, args); 49 return out;
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
UnfoldShortCircuit.cpp | 33 TInfoSinkBase &out = mOutputHLSL->getBodyStream(); local 51 out << "bool s" << i << ";\n"; 53 out << "{\n"; 57 out << "s" << i << " = "; 60 out << ";\n"; 61 out << "if (!s" << i << ")\n" 65 out << " s" << i << " = "; 68 out << ";\n" 71 out << "}\n"; 82 out << "bool s" << i << ";\n" 114 TInfoSinkBase &out = mOutputHLSL->getBodyStream(); local [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/bio/ |
printf.c | 34 * The word 'cryptographic' can be left out if the rouines from the library 49 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 71 char buf[256], *out, out_malloced = 0; local 83 out = OPENSSL_malloc(requested_len + 1); 85 if (out == NULL) { 91 out_len = vsnprintf(out, requested_len + 1, format, args); 95 out = buf; 98 ret = BIO_write(bio, out, out_len); 100 OPENSSL_free(out);
|
/external/chromium_org/third_party/boringssl/src/crypto/perlasm/ |
x86_64-xlate.pl | 140 sub out { 196 sub out { 237 sub out { 336 sub out { 357 sub out { 425 sub out { 664 sub out { 873 if ($label=label->re(\$line)) { print $label->out(); } 876 printf "%s",directive->out(); 907 $insn = $opcode->out($#args>=1?$args[$#args]->size():$sz) 139 sub out { subroutine 195 sub out { subroutine 236 sub out { subroutine 335 sub out { subroutine 356 sub out { subroutine 424 sub out { subroutine 663 sub out { subroutine [all...] |
/external/chromium_org/third_party/icu/source/samples/case/ |
case.cpp | 15 U_CFUNC int c_main(UFILE *out); 17 void printUnicodeString(UFILE *out, const UnicodeString &s) { 19 u_fprintf(out, "\"%S\"", other.getTerminatedBuffer()); 25 UFILE *out; local 27 out = u_finit(stdout, NULL, NULL); 28 if(!out) { 32 ucnv_setFromUCallBack(u_fgetConverter(out), UCNV_FROM_U_CALLBACK_ESCAPE, 35 u_fprintf(out, "Warning- couldn't set the substitute callback - err %s\n", u_errorName(status)); 40 u_fprintf(out,"ICU Case Mapping Sample Program\n\n"); 41 u_fprintf(out, "C++ Case Mapping\n\n") [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tstnrapi.cpp | 80 UnicodeString out, out2; local 86 copy.getText(out); 88 if( out!=out2 || 138 Normalizer::normalize(s, UNORM_NONE, 0, out, status); 139 if(out!=s) {
|