HomeSort by relevance Sort by last modified time
    Searched refs:rawBytes (Results 1 - 25 of 34) sorted by null

1 2

  /dalvik/dx/src/com/android/dx/command/dump/
Args.java 27 boolean rawBytes = false;
BaseDumper.java 39 private final boolean rawBytes;
83 this.rawBytes = args.rawBytes;
89 this.separator = rawBytes ? "|" : "";
117 separator = rawBytes ? "|" : "";
127 boolean rawBytes = getRawBytes();
133 String hex = rawBytes ? hexDump(at, offset - at) : "";
138 String hex = rawBytes ? hexDump(offset, len) : "";
227 return rawBytes;
237 if (rawBytes) {
    [all...]
Main.java 49 parsedArgs.rawBytes = true;
  /external/protobuf/java/src/test/java/com/google/protobuf/
WireFormatTest.java 60 ByteString rawBytes = message.toByteString();
61 assertEquals(rawBytes.size(), message.getSerializedSize());
63 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
71 ByteString rawBytes = message.toByteString();
72 assertEquals(rawBytes.size(), message.getSerializedSize());
74 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes);
85 ByteString rawBytes = message.toByteString();
86 assertEquals(rawBytes.size(), message.getSerializedSize());
88 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
97 ByteString rawBytes = message.toByteString()
    [all...]
DynamicMessageTest.java 151 ByteString rawBytes = message.toByteString();
152 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
157 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes);
165 ByteString rawBytes = message.toByteString();
168 DynamicMessage.parseFrom(TestAllTypes.getDescriptor(), rawBytes);
178 ByteString rawBytes = message.toByteString();
179 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes);
184 assertEquals(TestUtil.getPackedSet().toByteString(), rawBytes);
192 ByteString rawBytes = message.toByteString();
195 DynamicMessage.parseFrom(TestPackedTypes.getDescriptor(), rawBytes);
    [all...]
CodedInputStreamTest.java 278 byte[] rawBytes = message.toByteArray();
279 assertEquals(rawBytes.length, message.getSerializedSize());
281 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
287 new SmallBlockInputStream(rawBytes, blockSize));
295 byte[] rawBytes = message.toByteArray();
299 CodedInputStream input1 = CodedInputStream.newInstance(rawBytes);
300 CodedInputStream input2 = CodedInputStream.newInstance(rawBytes);
319 byte[] rawBytes = new byte[] { 1, 2 };
320 CodedInputStream input = CodedInputStream.newInstance(rawBytes);
336 byte[] rawBytes = new byte[] { 1, 2, 3, 4, 5 }
    [all...]
CodedOutputStreamTest.java 281 byte[] rawBytes = message.toByteArray();
282 assertEqualBytes(TestUtil.getGoldenMessage().toByteArray(), rawBytes);
291 assertEqualBytes(rawBytes, rawOutput.toByteArray());
300 byte[] rawBytes = message.toByteArray();
302 rawBytes);
MicroTest.java     [all...]
NanoTest.java     [all...]
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
DynamicMessageTest.java 168 ByteString rawBytes = message.toByteString();
169 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
174 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes);
182 ByteString rawBytes = message.toByteString();
185 DynamicMessage.parseFrom(TestAllTypes.getDescriptor(), rawBytes);
189 Message message3 = message2.getParserForType().parseFrom(rawBytes);
194 ByteString rawBytes = TestUtil.getAllExtensionsSet().toByteString();
196 TestAllExtensions.getDescriptor(), rawBytes,
202 rawBytes, TestUtil.getExtensionRegistry());
212 ByteString rawBytes = message.toByteString()
    [all...]
WireFormatTest.java 61 ByteString rawBytes = message.toByteString();
62 assertEquals(rawBytes.size(), message.getSerializedSize());
64 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
72 ByteString rawBytes = message.toByteString();
73 assertEquals(rawBytes.size(), message.getSerializedSize());
75 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes);
86 ByteString rawBytes = message.toByteString();
87 assertEquals(rawBytes.size(), message.getSerializedSize());
89 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
98 ByteString rawBytes = message.toByteString()
    [all...]
CodedInputStreamTest.java 278 byte[] rawBytes = message.toByteArray();
279 assertEquals(rawBytes.length, message.getSerializedSize());
281 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes);
287 new SmallBlockInputStream(rawBytes, blockSize));
295 byte[] rawBytes = message.toByteArray();
299 CodedInputStream input1 = CodedInputStream.newInstance(rawBytes);
300 CodedInputStream input2 = CodedInputStream.newInstance(rawBytes);
319 byte[] rawBytes = new byte[] { 1, 2 };
320 CodedInputStream input = CodedInputStream.newInstance(rawBytes);
334 byte[] rawBytes = new byte[] { 1, 2, 3, 4, 5 }
    [all...]
CodedOutputStreamTest.java 282 byte[] rawBytes = message.toByteArray();
283 assertEqualBytes(TestUtil.getGoldenMessage().toByteArray(), rawBytes);
292 assertEqualBytes(rawBytes, rawOutput.toByteArray());
301 byte[] rawBytes = message.toByteArray();
303 rawBytes);
313 byte[] rawBytes = message.toByteArray();
314 SparseEnumMessage message2 = SparseEnumMessage.parseFrom(rawBytes);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsBackupHelper.java 79 byte[] rawBytes = byteOutput.toByteArray();
80 data.writeEntityHeader(DB_BACKUP_KEY, rawBytes.length);
81 data.writeEntityData(rawBytes, rawBytes.length);
96 byte[] rawBytes = new byte[data.size()];
97 data.read(rawBytes, 0, data.size());
99 ByteArrayInputStream byteInput = new ByteArrayInputStream(rawBytes);
  /external/protobuf/java/src/main/java/com/google/protobuf/
AbstractMessage.java 452 ByteString rawBytes = null; // If we encounter "message" before "typeId"
487 if (rawBytes != null) {
490 CodedInputStream.newInstance(rawBytes.newInput()));
491 rawBytes = null;
495 // in rawBytes.
496 if (rawBytes != null) {
499 .addLengthDelimited(rawBytes)
501 rawBytes = null;
509 rawBytes = input.readBytes();
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
AbstractMessage.java 620 ByteString rawBytes = null; // If we encounter "message" before "typeId"
652 rawBytes = null;
657 rawBytes = input.readBytes();
668 if (rawBytes != null && typeId != 0) { // Zero is not a valid type ID.
671 rawBytes, extension, extensionRegistry, builder, extensions);
673 if (rawBytes != null) {
675 .addLengthDelimited(rawBytes).build());
709 ByteString rawBytes,
725 subBuilder.mergeFrom(rawBytes, extensionRegistry);
729 .parsePartialFrom(rawBytes, extensionRegistry)
    [all...]
  /external/guava/guava/src/com/google/common/net/
InetAddresses.java 323 ByteBuffer rawBytes = ByteBuffer.allocate(2 * IPV6_PART_COUNT);
326 rawBytes.putShort(parseHextet(parts[i]));
329 rawBytes.putShort((short) 0);
332 rawBytes.putShort(parseHextet(parts[parts.length - i]));
337 return rawBytes.array();
    [all...]
  /frameworks/opt/vcard/java/com/android/vcard/
VCardUtils.java 795 byte[] rawBytes = null;
797 rawBytes = rawString.getBytes(sourceCharset);
800 rawBytes = rawString.getBytes();
805 decodedBytes = QuotedPrintableCodecPort.decodeQuotedPrintable(rawBytes);
808 decodedBytes = rawBytes;
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPhotoManager.java 416 int rawBytes = 0;
422 rawBytes += h.bytes.length;
430 Log.d(TAG, "L1: " + btk(rawBytes) + " + " + btk(bitmapBytes) + " = "
431 + btk(rawBytes + bitmapBytes) + ", " + numHolders + " holders, "
433 + btk(safeDiv(rawBytes, numHolders))
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
PhotoManager.java 573 int rawBytes = 0;
579 rawBytes += h.bytes.length;
584 "L1: " + btk(rawBytes) + " + " + btk(bitmapBytes) + " = "
585 + btk(rawBytes + bitmapBytes) + ", " + numHolders + " holders, "
586 + numBitmaps + " bitmaps, avg: " + btk(safeDiv(rawBytes, numBitmaps)));
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
MessageUtils.java 824 String rawBytes = cursor.getString(columnRawBytes);
827 if (TextUtils.isEmpty(rawBytes)) {
830 return rawBytes;
832 return new EncodedStringValue(charset, PduPersister.getBytes(rawBytes)).getString();
    [all...]
  /frameworks/native/opengl/libs/GLES_trace/
gltrace.proto 639 repeated bytes rawBytes = 6;
  /external/zxing/core/
core.jar 
  /cts/suite/pts/deviceTests/browserbench/assets/octane/
pdfjs.js     [all...]
  /prebuilts/sdk/tools/lib/
dx.jar 

Completed in 4250 milliseconds

1 2