/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ValueEncoder.java | 46 * Handler for writing out {@code encoded_values} and parts 102 private final AnnotatedOutput out; field in class:ValueEncoder 108 * @param out {@code non-null;} output stream to write to 110 public ValueEncoder(DexFile file, AnnotatedOutput out) { 115 if (out == null) { 116 throw new NullPointerException("out == null"); 120 this.out = out; 124 * Writes out the encoded form of the given constant. 184 out.writeByte(type) [all...] |
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);
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
ValueEncoder.java | 44 * Handler for writing out {@code encoded_values} and parts 100 private final AnnotatedOutput out; field in class:ValueEncoder 106 * @param out {@code non-null;} output stream to write to 108 public ValueEncoder(DexFile file, AnnotatedOutput out) { 113 if (out == null) { 114 throw new NullPointerException("out == null"); 118 this.out = out; 122 * Writes out the encoded form of the given constant. 182 out.writeByte(type) [all...] |
/frameworks/base/obex/javax/obex/ |
ObexHelper.java | 30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 339 * <code>false</code> if it should not be nulled out 353 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 363 out.write((byte)HeaderSet.CONNECTION_ID); 364 out.write(headImpl.mConnectionID); 370 out.write((byte)HeaderSet.COUNT); 372 out.write(value); 381 out.write((byte)HeaderSet.NAME); 386 out.write(lengthArray); 387 out.write(value) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
ViewServer.java | 184 BufferedWriter out = null; local 187 out = new BufferedWriter(new OutputStreamWriter(clientStream), 8 * 1024); 188 out.write(value); 189 out.write("\n"); 190 out.flush(); 195 if (out != null) { 197 out.close(); 293 BufferedWriter out = null; local 295 out = new BufferedWriter(new OutputStreamWriter(mClient.getOutputStream())); 313 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();
|
/libcore/benchmarks/src/benchmarks/regression/ |
SerializationBenchmark.java | 29 ObjectOutputStream out = new ObjectOutputStream(baos); local 30 out.writeObject(o); 31 out.close(); 86 ObjectOutputStream out = new ObjectOutputStream(baos); local 88 out.reset(); 91 out.close(); 107 ObjectOutputStream out = new ObjectOutputStream(baos); local 109 out.writeObject(o); 110 out.reset(); 113 out.close() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileOutputStreamTest.java | 201 FileOutputStream out = new FileOutputStream(file); local 203 out.write(null, 0, 0); 208 out.close();
|
/art/runtime/ |
leb128.h | 41 // Note: We don't check to see if cur is out of range here, 85 // Note: We don't check to see if cur is out of range here, 116 uint8_t out = value & 0x7f; local 119 *dest++ = out | 0x80; 120 out = value & 0x7f; 123 *dest++ = out; 129 uint8_t out = value & 0x7f; local 131 *dest++ = out | 0x80; 133 out = value & 0x7f; 136 *dest++ = out; 151 uint8_t out = value & 0x7f; local 170 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/tests/ |
wchar_test.cpp | 91 char out[MB_LEN_MAX]; local 97 EXPECT_EQ(static_cast<size_t>(-1), wcrtomb(out, 0x00a2, &ps)); 109 EXPECT_EQ(1U, wcrtomb(out, L'\0', &ps)); 236 wchar_t out[8]; local 238 out[0] = 'x'; 239 ASSERT_EQ(0, mbtowc(out, "hello", 0)); 240 ASSERT_EQ('x', out[0]); 242 ASSERT_EQ(0, mbtowc(out, "hello", 0)); 243 ASSERT_EQ(0, mbtowc(out, "", 0)); 244 ASSERT_EQ(1, mbtowc(out, "hello", 1)) 255 wchar_t out[8]; local 301 wchar_t out; local 335 wchar_t out[4]; local 378 wchar_t out; local [all...] |
/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/theme/src/android/theme/cts/ |
ThemeHostTest.java | 237 final FileOutputStream out = new FileOutputStream(tmp); local 240 out.write(buffer, 0, count); 242 out.flush(); 243 out.close();
|
/cts/libs/vogar-expect/src/vogar/ |
Outcome.java | 100 PrintWriter out = new PrintWriter(writer); local 101 t.printStackTrace(out);
|
/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;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TextSwitcher1.java | 53 Animation out = AnimationUtils.loadAnimation(this, local 56 mSwitcher.setOutAnimation(out);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
TreeRewriter.java | 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 103 System.out.println(((Tree)oldTree).toStringTree()+" -> "+
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
BitStringTest.java | 94 DerOutputStream out = new DerOutputStream(asn1, local 97 (byte[]) validBitstring[i][1], out.encoded)); 240 DerOutputStream out = new DerOutputStream(encoder, local 243 (byte[]) testcaseBoolean[i][1], out.encoded));
|
SequenceOfTest.java | 97 DerOutputStream out = new DerOutputStream(sequenceOf, local 100 (byte[]) testcases[i][1], out.encoded));
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CertificateRequestTest.java | 75 HandshakeIODataStream out = new HandshakeIODataStream(); local 76 message.send(out); 77 byte[] encoded = out.getData(1000); 78 assertEquals("incorrect out data length", message.length(), encoded.length);
|
ServerKeyExchangeTest.java | 49 HandshakeIODataStream out = new HandshakeIODataStream(); local 50 message.send(out); 51 byte[] encoded = out.getData(1000); 52 assertEquals("incorrect out data length", message.length(), 103 HandshakeIODataStream out = new HandshakeIODataStream(); local 104 message.send(out); 105 byte[] encoded = out.getData(1000); 106 assertEquals("incorrect out data length", message.length(), 152 HandshakeIODataStream out = new HandshakeIODataStream(); local 153 message.send(out); [all...] |