Searched refs:BYTES (Results 1 - 25 of 40) sorted by relevance

12

/external/guava/guava-tests/test/com/google/common/io/
H A DByteStreamsTest.java476 private static final byte[] BYTES = new byte[] { field in class:ByteStreamsTest
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[
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DMessageDigestHashFunction.java94 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/
H A Dop_xml_out.h43 BYTES_TABLE, BYTES, enumerator in enum:__anon28436
/external/nanopb-c/tests/backwards_compatibility/
H A Dalltypes_legacy.c53 PB_FIELD( 15, BYTES , REQUIRED, STATIC, AllTypes, req_bytes, req_string, 0),
70 PB_FIELD( 35, BYTES , REPEATED, STATIC, AllTypes, rep_bytes, rep_string, 0),
87 PB_FIELD( 55, BYTES , OPTIONAL, STATIC, AllTypes, opt_bytes, opt_string, &AllTypes_opt_bytes_default),
/external/guava/guava/src/com/google/common/primitives/
H A DChars.java54 public static final int BYTES = Character.SIZE / Byte.SIZE; field in class:Chars
301 checkArgument(bytes.length >= BYTES,
302 "array too small: %s < %s", bytes.length, BYTES);
H A DInts.java54 public static final int BYTES = Integer.SIZE / Byte.SIZE; field in class:Ints
310 checkArgument(bytes.length >= BYTES,
311 "array too small: %s < %s", bytes.length, BYTES);
H A DLongs.java51 public static final int BYTES = Long.SIZE / Byte.SIZE; field in class:Longs
285 checkArgument(bytes.length >= BYTES,
286 "array too small: %s < %s", bytes.length, BYTES);
H A DShorts.java51 public static final int BYTES = Short.SIZE / Byte.SIZE; field in class:Shorts
307 checkArgument(bytes.length >= BYTES,
308 "array too small: %s < %s", bytes.length, BYTES);
H A DDoubles.java54 public static final int BYTES = Double.SIZE / Byte.SIZE; field in class:Doubles
H A DFloats.java54 public static final int BYTES = Float.SIZE / Byte.SIZE; field in class:Floats
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dimports.h52 /** Allocate \p BYTES bytes */
53 #define MALLOC(BYTES) malloc(BYTES)
54 /** Allocate and zero \p BYTES bytes */
55 #define CALLOC(BYTES) calloc(1, BYTES)
/external/mesa3d/src/mesa/main/
H A Dimports.h52 /** Allocate \p BYTES bytes */
53 #define MALLOC(BYTES) malloc(BYTES)
54 /** Allocate and zero \p BYTES bytes */
55 #define CALLOC(BYTES) calloc(1, BYTES)
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DWireFormat.java125 BYTES (JavaType.BYTE_STRING, WIRETYPE_LENGTH_DELIMITED) { method in enum:WireFormat.FieldType
H A DFieldSet.java444 case BYTES : return input.readBytes ();
546 case BYTES : output.writeBytesNoTag ((ByteString ) value); break;
669 case BYTES : return CodedOutputStream.computeBytesSizeNoTag ((ByteString )value);
/external/guava/guava-tests/test/com/google/common/primitives/
H A DIntsTest.java236 Ints.fromByteArray(new byte[Ints.BYTES - 1]);
253 byte[] b = new byte[Ints.BYTES];
H A DLongsTest.java213 Longs.fromByteArray(new byte[Longs.BYTES - 1]);
232 byte[] b = new byte[Longs.BYTES];
H A DCharsTest.java226 Chars.fromByteArray(new byte[Chars.BYTES - 1]);
H A DShortsTest.java259 byte[] b = new byte[Shorts.BYTES];
/external/protobuf/src/google/protobuf/
H A Dextension_set_heavy.cc390 HANDLE_TYPE( BYTES, Bytes, string);
419 HANDLE_TYPE( BYTES, Bytes, *string_value);
H A Dextension_set.cc1166 HANDLE_TYPE( BYTES, Bytes, string);
1194 HANDLE_TYPE( BYTES, Bytes, *string_value);
1304 HANDLE_TYPE( BYTES, Bytes, string);
1341 HANDLE_TYPE( BYTES, Bytes, *string_value);
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
H A DChars.java52 public static final int BYTES = Character.SIZE / Byte.SIZE; field in class:Chars
H A DInts.java49 public static final int BYTES = Integer.SIZE / Byte.SIZE; field in class:Ints
H A DLongs.java49 public static final int BYTES = Long.SIZE / Byte.SIZE; field in class:Longs
H A DShorts.java49 public static final int BYTES = Short.SIZE / Byte.SIZE; field in class:Shorts
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dextension_set.cc1209 HANDLE_TYPE( BYTES, Bytes, string);
1237 HANDLE_TYPE( BYTES, Bytes, *string_value);
1325 HANDLE_TYPE( BYTES, Bytes, string);
1362 HANDLE_TYPE( BYTES, Bytes, *string_value);

Completed in 6029 milliseconds

12