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

1 2

  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/
GcEventContainer.java 162 new EventValueDescription("Freed Bytes", EventValueType.LONG, ValueType.BYTES),
163 new EventValueDescription("Soft Limit", EventValueType.LONG, ValueType.BYTES),
165 ValueType.BYTES),
167 ValueType.BYTES),
170 new EventValueDescription("Allocated Bytes (aggregate)", EventValueType.LONG,
171 ValueType.BYTES),
172 new EventValueDescription("Actual Size", EventValueType.LONG, ValueType.BYTES),
173 new EventValueDescription("Allowed Size", EventValueType.LONG, ValueType.BYTES),
176 new EventValueDescription("Allocated Bytes", EventValueType.LONG
    [all...]
EventValueDescription.java 44 BYTES(2),
104 * {@link #mValueType} is set to {@link ValueType#BYTES} by default. It set to
113 mValueType = ValueType.BYTES;
  /frameworks/base/core/tests/coretests/src/android/util/
Base64Test.java 57 /** Assert that actual equals the first len bytes of expected. */
65 /** Assert that actual equals the first len bytes of expected. */
73 /** Assert that actual equals the first len bytes of expected. */
123 private static final byte[] BYTES = { (byte) 0xff, (byte) 0xee, (byte) 0xdd,
128 assertEquals(BYTES, 0, Base64.decode("", 0));
129 assertEquals(BYTES, 1, Base64.decode("/w==", 0));
130 assertEquals(BYTES, 2, Base64.decode("/+4=", 0));
131 assertEquals(BYTES, 3, Base64.decode("/+7d", 0));
132 assertEquals(BYTES, 4, Base64.decode("/+7dzA==", 0));
133 assertEquals(BYTES, 5, Base64.decode("/+7dzLs=", 0))
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
ByteStreamsTest.java 25 import com.google.common.primitives.Bytes;
455 byte[] bytes = newPreFilledByteArray(100);
456 skipHelper(0, 0, new ByteArrayInputStream(bytes));
457 skipHelper(50, 50, new ByteArrayInputStream(bytes));
458 skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 1));
459 skipHelper(50, 50, new SlowSkipper(new ByteArrayInputStream(bytes), 0));
460 skipHelper(100, -1, new ByteArrayInputStream(bytes));
462 skipHelper(101, 0, new ByteArrayInputStream(bytes));
476 private static final byte[] BYTES = new byte[] {
490 ByteArrayDataInput in = ByteStreams.newDataInput(BYTES);
    [all...]
  /external/guava/guava/src/com/google/common/hash/
MessageDigestHashFunction.java 78 @Override public Hasher putBytes(byte[] bytes) {
80 digest.update(bytes);
84 @Override public Hasher putBytes(byte[] bytes, int off, int len) {
86 checkPositionIndexes(off, off + len, bytes.length);
87 digest.update(bytes, off, len);
94 digest.update(scratch.array(), 0, Shorts.BYTES);
102 digest.update(scratch.array(), 0, Ints.BYTES);
110 digest.update(scratch.array(), 0, Longs.BYTES);
138 digest.update(scratch.array(), 0, Chars.BYTES);
  /external/oprofile/libop/
op_xml_out.h 43 BYTES_TABLE, BYTES,
  /external/guava/guava/src/com/google/common/primitives/
Chars.java 51 * The number of bytes required to represent a primitive {@code char}
54 public static final int BYTES = Character.SIZE / Byte.SIZE;
289 * stored in the first 2 bytes of {@code bytes}; equivalent to {@code
290 * ByteBuffer.wrap(bytes).getChar()}. For example, the input byte array
296 * @throws IllegalArgumentException if {@code bytes} has fewer than 2
300 public static char fromByteArray(byte[] bytes) {
301 checkArgument(bytes.length >= BYTES,
302 "array too small: %s < %s", bytes.length, BYTES)
    [all...]
Ints.java 51 * The number of bytes required to represent a primitive {@code int}
54 public static final int BYTES = Integer.SIZE / Byte.SIZE;
298 * the first 4 bytes of {@code bytes}; equivalent to {@code
299 * ByteBuffer.wrap(bytes).getInt()}. For example, the input byte array {@code
306 * @throws IllegalArgumentException if {@code bytes} has fewer than 4 elements
309 public static int fromByteArray(byte[] bytes) {
310 checkArgument(bytes.length >= BYTES,
311 "array too small: %s < %s", bytes.length, BYTES)
    [all...]
Longs.java 48 * The number of bytes required to represent a primitive {@code long}
51 public static final int BYTES = Long.SIZE / Byte.SIZE;
272 * stored in the first 8 bytes of {@code bytes}; equivalent to {@code
273 * ByteBuffer.wrap(bytes).getLong()}. For example, the input byte array
280 * @throws IllegalArgumentException if {@code bytes} has fewer than 8
284 public static long fromByteArray(byte[] bytes) {
285 checkArgument(bytes.length >= BYTES,
286 "array too small: %s < %s", bytes.length, BYTES)
    [all...]
Shorts.java 48 * The number of bytes required to represent a primitive {@code short}
51 public static final int BYTES = Short.SIZE / Byte.SIZE;
295 * stored in the first 2 bytes of {@code bytes}; equivalent to {@code
296 * ByteBuffer.wrap(bytes).getShort()}. For example, the input byte array
302 * @throws IllegalArgumentException if {@code bytes} has fewer than 2
306 public static short fromByteArray(byte[] bytes) {
307 checkArgument(bytes.length >= BYTES,
308 "array too small: %s < %s", bytes.length, BYTES)
    [all...]
Doubles.java 49 * The number of bytes required to represent a primitive {@code double}
54 public static final int BYTES = Double.SIZE / Byte.SIZE;
Floats.java 49 * The number of bytes required to represent a primitive {@code float}
54 public static final int BYTES = Float.SIZE / Byte.SIZE;
  /external/mesa3d/src/mesa/main/
imports.h 52 /** Allocate \p BYTES bytes */
53 #define MALLOC(BYTES) malloc(BYTES)
54 /** Allocate and zero \p BYTES bytes */
55 #define CALLOC(BYTES) calloc(1, BYTES)
71 * Both pointers/offsets are expressed in bytes.
506 _mesa_align_malloc( size_t bytes, unsigned long alignment )
    [all...]
  /external/protobuf/java/src/main/java/com/google/protobuf/
WireFormat.java 125 BYTES (JavaType.BYTE_STRING, WIRETYPE_LENGTH_DELIMITED) {
FieldSet.java 444 case BYTES : return input.readBytes ();
546 case BYTES : output.writeBytesNoTag ((ByteString ) value); break;
623 * Compute the number of bytes that would be needed to encode a
644 * Compute the number of bytes that would be needed to encode a
669 case BYTES : return CodedOutputStream.computeBytesSizeNoTag ((ByteString )value);
686 * Compute the number of bytes needed to encode a particular field.
  /system/core/libcutils/
mq.c 55 /** Listens for bytes coming from remote peers. */
56 typedef void BytesListener(Credentials credentials, char* bytes, size_t size);
72 /** A generic packet of bytes. */
73 BYTES,
83 /** Reading bytes. */
92 /** Packet size. Used for BYTES. */
110 /** Buffer of bytes. Used with BYTES. */
111 Buffer* bytes; member in union:OutgoingPacket::__anon44113
460 /** Writes packet bytes to peer. *
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
IntsTest.java 236 Ints.fromByteArray(new byte[Ints.BYTES - 1]);
253 byte[] b = new byte[Ints.BYTES];
LongsTest.java 213 Longs.fromByteArray(new byte[Longs.BYTES - 1]);
232 byte[] b = new byte[Longs.BYTES];
  /external/protobuf/src/google/protobuf/
extension_set_heavy.cc 390 HANDLE_TYPE( BYTES, Bytes, string);
419 HANDLE_TYPE( BYTES, Bytes, *string_value);
  /external/dropbear/libtommath/mtest/
mpi.h 189 #define BYTES CHAR_BIT
  /external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
Chars.java 49 * The number of bytes required to represent a primitive {@code char}
52 public static final int BYTES = Character.SIZE / Byte.SIZE;
Ints.java 46 * The number of bytes required to represent a primitive {@code int}
49 public static final int BYTES = Integer.SIZE / Byte.SIZE;
Longs.java 46 * The number of bytes required to represent a primitive {@code long}
49 public static final int BYTES = Long.SIZE / Byte.SIZE;
Shorts.java 46 * The number of bytes required to represent a primitive {@code short}
49 public static final int BYTES = Short.SIZE / Byte.SIZE;
  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
NativeCryptoTest.java     [all...]

Completed in 2189 milliseconds

1 2