Home
last modified time | relevance | path

Searched refs:BYTES (Results 1 – 25 of 31) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/io/
DByteStreamsTest.java476 private static final byte[] BYTES = new byte[] {
490 ByteArrayDataInput in = ByteStreams.newDataInput(BYTES);
501 ByteArrayDataInput in = ByteStreams.newDataInput(BYTES);
502 byte[] actual = new byte[BYTES.length];
504 assertEquals(BYTES, actual);
508 ByteArrayDataInput in = ByteStreams.newDataInput(BYTES);
509 byte[] actual = new byte[BYTES.length * 2];
519 ByteArrayDataInput in = ByteStreams.newDataInput(BYTES);
524 assertEquals(BYTES[0], actual[2]);
525 assertEquals(BYTES[1], actual[3]);
[all …]
/external/guava/guava/src/com/google/common/hash/
DMessageDigestHashFunction.java94 digest.update(scratch.array(), 0, Shorts.BYTES); in putShort()
102 digest.update(scratch.array(), 0, Ints.BYTES); in putInt()
110 digest.update(scratch.array(), 0, Longs.BYTES); in putLong()
138 digest.update(scratch.array(), 0, Chars.BYTES); in putChar()
/external/mesa3d/src/mesa/main/
Dimports.h53 #define MALLOC(BYTES) malloc(BYTES) argument
55 #define CALLOC(BYTES) calloc(1, BYTES) argument
/external/guava/guava/src/com/google/common/primitives/
DChars.java54 public static final int BYTES = Character.SIZE / Byte.SIZE; field in Chars
301 checkArgument(bytes.length >= BYTES, in fromByteArray()
302 "array too small: %s < %s", bytes.length, BYTES); in fromByteArray()
DInts.java54 public static final int BYTES = Integer.SIZE / Byte.SIZE; field in Ints
310 checkArgument(bytes.length >= BYTES, in fromByteArray()
311 "array too small: %s < %s", bytes.length, BYTES); in fromByteArray()
DLongs.java51 public static final int BYTES = Long.SIZE / Byte.SIZE; field in Longs
285 checkArgument(bytes.length >= BYTES, in fromByteArray()
286 "array too small: %s < %s", bytes.length, BYTES); in fromByteArray()
DShorts.java51 public static final int BYTES = Short.SIZE / Byte.SIZE; field in Shorts
307 checkArgument(bytes.length >= BYTES, in fromByteArray()
308 "array too small: %s < %s", bytes.length, BYTES); in fromByteArray()
DFloats.java54 public static final int BYTES = Float.SIZE / Byte.SIZE; field in Floats
DDoubles.java54 public static final int BYTES = Double.SIZE / Byte.SIZE; field in Doubles
/external/oprofile/libop/
Dop_xml_out.h43 BYTES_TABLE, BYTES, enumerator
/external/protobuf/java/src/main/java/com/google/protobuf/
DWireFormat.java125 BYTES (JavaType.BYTE_STRING, WIRETYPE_LENGTH_DELIMITED) { in BYTES() method
DFieldSet.java444 case BYTES : return input.readBytes (); in readPrimitiveField()
546 case BYTES : output.writeBytesNoTag ((ByteString ) value); break; in writeElementNoTag()
669 case BYTES : return CodedOutputStream.computeBytesSizeNoTag ((ByteString )value); in computeElementSizeNoTag()
DTextFormat.java231 case BYTES: in printFieldValue()
996 case BYTES: in mergeField()
/external/guava/guava-tests/test/com/google/common/primitives/
DLongsTest.java213 Longs.fromByteArray(new byte[Longs.BYTES - 1]); in testFromByteArray()
232 byte[] b = new byte[Longs.BYTES]; in testByteArrayRoundTrips()
DIntsTest.java236 Ints.fromByteArray(new byte[Ints.BYTES - 1]); in testFromByteArray()
253 byte[] b = new byte[Ints.BYTES]; in testByteArrayRoundTrips()
DShortsTest.java259 byte[] b = new byte[Shorts.BYTES]; in testByteArrayRoundTrips()
DCharsTest.java226 Chars.fromByteArray(new byte[Chars.BYTES - 1]); in testFromByteArray()
/external/protobuf/src/google/protobuf/
Dextension_set_heavy.cc390 HANDLE_TYPE( BYTES, Bytes, string); in SerializeFieldWithCachedSizesToArray()
419 HANDLE_TYPE( BYTES, Bytes, *string_value); in SerializeFieldWithCachedSizesToArray()
Dextension_set.cc1166 HANDLE_TYPE( BYTES, Bytes, string); in SerializeFieldWithCachedSizes()
1194 HANDLE_TYPE( BYTES, Bytes, *string_value); in SerializeFieldWithCachedSizes()
1304 HANDLE_TYPE( BYTES, Bytes, string); in ByteSize()
1341 HANDLE_TYPE( BYTES, Bytes, *string_value); in ByteSize()
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DShorts.java49 public static final int BYTES = Short.SIZE / Byte.SIZE; field in Shorts
DInts.java49 public static final int BYTES = Integer.SIZE / Byte.SIZE; field in Ints
DLongs.java49 public static final int BYTES = Long.SIZE / Byte.SIZE; field in Longs
DChars.java52 public static final int BYTES = Character.SIZE / Byte.SIZE; field in Chars
/external/dropbear/libtommath/mtest/
Dmpi.h189 #define BYTES CHAR_BIT macro
/external/oprofile/libpp/
Dxml_utils.cpp380 out << open_element(BYTES, true) << init_attr(TABLE_ID, sym_id); in output_symbol_bytes()
389 out << close_element(BYTES); in output_symbol_bytes()

12