/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/ |
Main.java | 134 System.out.println(NAME + " " + versionString()); 135 System.out.println("Protocols: " + protocols()); 148 System.out.println(StatusLine.get(response)); 151 System.out.println(headers.name(i) + ": " + headers.value(i)); 153 System.out.println(); 156 // Stream the response to the System.out as it is returned from the server. 157 Sink out = Okio.sink(System.out); local 160 out.write(source.buffer(), source.buffer().size()); 161 out.flush() [all...] |
/frameworks/base/obex/javax/obex/ |
ClientSession.java | 31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 488 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 489 out.write((byte)opCode); 493 out.write(0x00); 494 out.write(0x03); 496 out.write((byte)((head.length + 3) >> 8)); 497 out.write((byte)(head.length + 3)); 498 out.write(head); 503 mOutput.write(out.toByteArray()); 588 out.write((byte)HeaderSet.AUTH_RESPONSE) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
ViewServer.java | 187 BufferedWriter out = null; local 190 out = new BufferedWriter(new OutputStreamWriter(clientStream), 8 * 1024); 191 out.write(value); 192 out.write("\n"); 193 out.flush(); 198 if (out != null) { 200 out.close(); 296 BufferedWriter out = null; local 298 out = new BufferedWriter(new OutputStreamWriter(mClient.getOutputStream())); 316 out.write("LIST UPDATE\n") [all...] |
/frameworks/multidex/library/test/src/android/support/multidex/ |
ZipUtilTest.java | 50 "out/target/common/obj/JAVA_LIBRARIES/android-support-multidex_intermediates/javalib.jar"); 62 System.out.println("crc is " + crc); 121 OutputStream out = new FileOutputStream(tmp); local 124 out.write(buffer, 0, read); 128 out.close(); 151 OutputStream out = new FileOutputStream(tmp); local 154 out.write(buffer, 0, read); 158 out.close();
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
PasspointManagementObjectManagerTest.java | 71 FileOutputStream out = new FileOutputStream(file); local 76 out.write(line.getBytes(StandardCharsets.UTF_8)); 79 out.flush(); 80 out.close(); 214 // Serialize it back out:
|
/libcore/benchmarks/src/benchmarks/regression/ |
SerializationBenchmark.java | 30 ObjectOutputStream out = new ObjectOutputStream(baos); local 31 out.writeObject(o); 32 out.close(); 87 ObjectOutputStream out = new ObjectOutputStream(baos); local 89 out.reset(); 92 out.close(); 108 ObjectOutputStream out = new ObjectOutputStream(baos); local 110 out.writeObject(o); 111 out.reset(); 114 out.close() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileOutputStreamTest.java | 203 FileOutputStream out = new FileOutputStream(file); local 205 out.write(null, 0, 0); 210 out.close();
|
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipOutputStream.java | 102 * @param out the actual output stream 104 public ZipOutputStream(OutputStream out) { 105 this(out, StandardCharsets.UTF_8); 111 * @param out the actual output stream 118 public ZipOutputStream(OutputStream out, Charset charset) { 119 super(out, new Deflater(Deflater.DEFAULT_COMPRESSION, true)); 323 out.write(b, off, len); 584 OutputStream out = this.out; local 585 out.write((v >>> 0) & 0xff) 594 OutputStream out = this.out; local 606 OutputStream out = this.out; local [all...] |
/libcore/ojluni/src/main/java/sun/nio/cs/ |
StreamEncoder.java | 49 public static StreamEncoder forOutputStreamWriter(OutputStream out, 59 return new StreamEncoder(out, lock, Charset.forName(csn)); 64 public static StreamEncoder forOutputStreamWriter(OutputStream out, 68 return new StreamEncoder(out, lock, cs); 71 public static StreamEncoder forOutputStreamWriter(OutputStream out, 75 return new StreamEncoder(out, lock, enc); 166 private final OutputStream out; field in class:StreamEncoder 174 private StreamEncoder(OutputStream out, Object lock, Charset cs) { 175 this(out, lock, 181 private StreamEncoder(OutputStream out, Object lock, CharsetEncoder enc) [all...] |
/art/runtime/ |
leb128.h | 44 // Note: We don't check to see if cur is out of range here, 88 // Note: We don't check to see if cur is out of range here, 119 uint8_t out = value & 0x7f; local 122 *dest++ = out | 0x80; 123 out = value & 0x7f; 126 *dest++ = out; 133 uint8_t out = value & 0x7f; local 136 dest->push_back(out | 0x80); 137 out = value & 0x7f; 140 dest->push_back(out); 158 uint8_t out = value & 0x7f; local 173 uint8_t out = value & 0x7f; local [all...] |
/art/test/113-multidex/src/ |
Main.java | 19 System.out.println(new FillerA().getClass().getName()); 22 System.out.println(second.getClass().getName());
|
/bionic/libc/bionic/ |
net_if.cpp | 24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 137 struct if_nameindex* out = result; local 139 out->if_index = it->data.if_index; 140 out->if_name = it->data.if_name; 141 ++out; 143 out->if_index = 0; 144 out->if_name = nullptr;
|
/bootable/recovery/mtdutils/ |
flash_image.c | 98 MtdWriteContext *out = mtd_write_partition(partition); local 99 if (out == NULL) die("error writing %s", argv[1]); 103 int wrote = mtd_write_data(out, buf, headerlen); 108 wrote = mtd_write_data(out, buf, len); 113 if (mtd_write_close(out)) die("error closing %s", argv[1]); 117 out = mtd_write_partition(partition); 118 if (out == NULL) die("error re-opening %s", argv[1]); 120 wrote = mtd_write_data(out, header, headerlen); 136 if (mtd_write_data(out, buf, len) != len) 141 if (mtd_write_close(out)) die("error closing %s", argv[1]) [all...] |
/build/tools/rgb2565/ |
to565.c | 32 unsigned short out; local 35 out = to565(in[0],in[1],in[2]); 36 write(1, &out, 2); 44 unsigned short out; local 65 out = to565(rb, gb, bb); 66 write(1, &out, 2); 75 e = r - from565_r(out); 78 e = g - from565_g(out); 81 e = b - from565_b(out);
|
/cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/ |
IcmpMessage.java | 72 StringBuilder out = new StringBuilder(64); local 73 out.append("ICMP payload {"); 74 out.append("\n Type: "); out.append(type); 75 out.append("\n Code: "); out.append(code); 76 out.append("\n Quench: "); out.append(quench); 77 out.append("\n Data: ["); 80 out.append(String.format("\n%4s", "")) [all...] |
/cts/hostsidetests/theme/src/android/theme/cts/ |
ThemeHostTest.java | 138 final FileOutputStream out = new FileOutputStream(tmp); local 142 out.write(buffer, 0, count); 145 out.flush(); 146 out.close();
|
/cts/libs/vogar-expect/src/vogar/ |
Outcome.java | 100 PrintWriter out = new PrintWriter(writer); local 101 t.printStackTrace(out);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ProviderTestUtils.java | 55 StringBuilder out = new StringBuilder(); local 57 out.append(str); 59 return out.toString();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestNanHalf.java | 41 public Target.Floaty out; field in class:TestNanHalf.ArgumentsHalf 46 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 47 script.forEach_testNanHalfHalf(out); 48 verifyResultsNanHalfHalf(out, false); 53 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 54 scriptRelaxed.forEach_testNanHalfHalf(out); 55 verifyResultsNanHalfHalf(out, true); 61 private void verifyResultsNanHalfHalf(Allocation out, boolean relaxed) { 64 out.copyTo(arrayOut); 71 // Figure out what the outputs should have been [all...] |
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni_foreach.cpp | 54 sp<Allocation> out = Allocation::createTyped(mRS, t); local 55 fe_all->forEach_test_i8(in, out); 62 out = Allocation::createTyped(mRS, t); 63 fe_all->forEach_test_i8_2(in, out); 70 out = Allocation::createTyped(mRS, t); 71 fe_all->forEach_test_i8_3(in, out); 78 out = Allocation::createTyped(mRS, t); 79 fe_all->forEach_test_i8_4(in, out); 86 out = Allocation::createTyped(mRS, t); 87 fe_all->forEach_test_i16(in, out); [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
EncodedArrayItem.java | 104 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); local 105 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); 108 encodedForm = out.toByteArray(); 114 protected void writeTo0(DexFile file, AnnotatedOutput out) { 115 boolean annotates = out.annotates(); 118 out.annotate(0, offsetString() + " encoded array"); 125 ValueEncoder encoder = new ValueEncoder(file, out); 128 out.write(encodedForm);
|
/dalvik/dx/src/com/android/dx/command/grep/ |
Grep.java | 36 private final PrintWriter out; field in class:Grep 42 public Grep(final Dex dex, Pattern pattern, final PrintWriter out) { 44 this.out = out; 70 out.println(location() + " " + dex.strings().get(index)); 86 * Prints usages to out. Returns the number of matches found.
|
/dalvik/dx/src/com/android/dx/dex/file/ |
EncodedArrayItem.java | 95 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); local 96 ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); 99 encodedForm = out.toByteArray(); 105 protected void writeTo0(DexFile file, AnnotatedOutput out) { 106 boolean annotates = out.annotates(); 109 out.annotate(0, offsetString() + " encoded array"); 116 ValueEncoder encoder = new ValueEncoder(file, out); 119 out.write(encodedForm);
|
/dalvik/dx/tests/116-leb128/com/android/dx/util/ |
Leb128UtilsTest.java | 63 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(5); local 64 Leb128.writeSignedLeb128(out, value); 65 return out.toByteArray(); 69 ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(5); local 70 Leb128.writeUnsignedLeb128(out, value); 71 return out.toByteArray();
|
/development/ndk/sources/android/ndk_helper/ |
vecmath.cpp | 40 Vec4 out; local 41 out.x_ = x_ * rhs.f_[0] + y_ * rhs.f_[1] + z_ * rhs.f_[2] + w_ * rhs.f_[3]; 42 out.y_ = x_ * rhs.f_[4] + y_ * rhs.f_[5] + z_ * rhs.f_[6] + w_ * rhs.f_[7]; 43 out.z_ = x_ * rhs.f_[8] + y_ * rhs.f_[9] + z_ * rhs.f_[10] + w_ * rhs.f_[11]; 44 out.w_ = x_ * rhs.f_[12] + y_ * rhs.f_[13] + z_ * rhs.f_[14] + w_ * rhs.f_[15]; 45 return out;
|