/external/guava/src/com/google/common/primitives/ |
Longs.java | 51 public static final int BYTES = Long.SIZE / Byte.SIZE; 235 * Returns a big-endian representation of {@code value} in an 8-element byte 238 * byte array {@code {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19}}. 248 public static byte[] toByteArray(long value) { 249 return new byte[] { 250 (byte) (value >> 56), 251 (byte) (value >> 48), 252 (byte) (value >> 40), 253 (byte) (value >> 32), 254 (byte) (value >> 24) [all...] |
Shorts.java | 51 public static final int BYTES = Short.SIZE / Byte.SIZE; 267 * Returns a big-endian representation of {@code value} in a ?-element byte 270 * value {@code ?} would yield the byte array {@code {?}}. 278 public static byte[] toByteArray(short value) { 279 return new byte[] { 280 (byte) (value >> 8), 281 (byte) value}; 287 * ByteBuffer.wrap(bytes).getShort()}. For example, the input byte array 297 public static short fromByteArray(byte[] bytes) {
|
/frameworks/base/obex/javax/obex/ |
ObexHelper.java | 53 * Byte 0: Request or Response Code Byte 1&2: Length of the packet. 122 * Updates the HeaderSet with the headers received in the byte array 136 * <TD>Null Terminated Unicode text, prefixed with 2 byte unsigned integer</TD> 141 * <TD>Byte Sequence, length prefixed with 2 byte unsigned integer</TD> 146 * <TD>1 byte quantity</TD> 151 * <TD>4 byte quantity - transmitted in network byte order (high byte first</TD [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
AsmPrinter.cpp | 512 CommentOS << MMO->getSize() << "-byte Reload\n"; 516 CommentOS << MMO->getSize() << "-byte Folded Reload\n"; 520 CommentOS << MMO->getSize() << "-byte Spill\n"; 524 CommentOS << MMO->getSize() << "-byte Folded Spill\n"; [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
ArraysTest.java | 45 byte[] byteArray; 98 * java.util.Arrays#binarySearch(byte[], byte) 101 // Test for method int java.util.Arrays.binarySearch(byte [], byte) 102 for (byte counter = 0; counter < arraySize; counter++) 103 assertTrue("Binary search on byte[] answered incorrect position", 106 -1, Arrays.binarySearch(intArray, (byte) -1)); 109 Arrays.binarySearch(intArray, (byte) arraySize) == -(arraySize + 1)); 110 for (byte counter = 0; counter < arraySize; counter++ [all...] |
/dalvik/vm/ |
Jni.cpp | 467 LOGI("Adding global ref on byte array %p (len=%d)", [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
FormatterTest.java | [all...] |
ArraysTest.java | 52 static byte[] byteArray; 110 * @tests java.util.Arrays#binarySearch(byte[], byte) 113 // Test for method int java.util.Arrays.binarySearch(byte [], byte) 114 for (byte counter = 0; counter < arraySize; counter++) 115 assertTrue("Binary search on byte[] answered incorrect position", 118 -1, Arrays.binarySearch(intArray, (byte) -1)); 121 Arrays.binarySearch(intArray, (byte) arraySize) == -(arraySize + 1)); 122 for (byte counter = 0; counter < arraySize; counter++ [all...] |
/system/core/libpixelflinger/codeflinger/ |
ARMAssembler.cpp | 429 #pragma mark Byte/half word extract and extend (ARMv6+ only)...
|
/external/qemu/distrib/zlib-1.2.3/ |
trees.c | [all...] |
/external/zlib/contrib/pascal/ |
zlibpas.pas | 28 next_in: PChar; (* next input byte *) 32 next_out: PChar; (* next output byte should be put there *) 226 procedure _memset(P: Pointer; B: Byte; count: Integer); cdecl;
|
/frameworks/base/core/java/android/os/ |
Bundle.java | 393 * Inserts a byte value into the mapping of this Bundle, replacing 397 * @param value a byte 399 public void putByte(String key, byte value) { 618 * Inserts a byte array value into the mapping of this Bundle, replacing 622 * @param value a byte array object, or null 624 public void putByteArray(String key, byte[] value) { 809 * Returns the value associated with the given key, or (byte) 0 if 813 * @return a byte value 815 public byte getByte(String key) { 817 return getByte(key, (byte) 0) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapObexServer.java | 69 private static final byte[] PBAP_TARGET = new byte[] { 70 0x79, 0x61, 0x35, (byte)0xf0, (byte)0xf0, (byte)0xc5, 0x11, (byte)0xd8, 0x09, 0x66, 71 0x08, 0x00, 0x20, 0x0c, (byte)0x9a, 0x66 183 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); 206 byte[] remote = (byte[])request.getHeader(HeaderSet.WHO) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLCanvasImpl.java | 140 int size = BOX_COORDINATES.length * Float.SIZE / Byte.SIZE; 150 xyBuffer.capacity() * (Float.SIZE / Byte.SIZE),
|
/cts/tests/tests/os/src/android/os/cts/ |
BundleTest.java | 278 notes = "getByte should only return the Byte set by putByte", 284 notes = "getByte should only return the Byte set by putByte", 286 args = {java.lang.String.class, byte.class} 290 final byte b = 7; 302 notes = "getByte should only return the Byte set by putByte", 304 args = {java.lang.String.class, byte.class} 308 notes = "getByte should only return the Byte set by putByte", 310 args = {java.lang.String.class, byte.class} 314 final byte b1 = 6; 315 final byte b2 = 7 [all...] |
/dalvik/libnativehelper/include/nativehelper/ |
jni.h | 634 CALL_TYPE(jbyte, Byte) 684 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |
/development/ndk/platforms/android-3/include/ |
jni.h | 634 CALL_TYPE(jbyte, Byte) 684 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
jni.h | 619 CALL_TYPE(jbyte, Byte) 669 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
jni.h | 619 CALL_TYPE(jbyte, Byte) 669 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
jni.h | 619 CALL_TYPE(jbyte, Byte) 669 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
jni.h | 619 CALL_TYPE(jbyte, Byte) 669 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
jni.h | 619 CALL_TYPE(jbyte, Byte) 669 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
jni.h | 619 CALL_TYPE(jbyte, Byte) 669 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/ |
jni.h | 619 CALL_TYPE(jbyte, Byte) 669 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/ |
jni.h | 619 CALL_TYPE(jbyte, Byte) 669 CALL_NONVIRT_TYPE(jbyte, Byte) [all...] |