/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMasRequest.java | 31 protected static final byte OAP_TAGID_MAX_LIST_COUNT = 0x01; 32 protected static final byte OAP_TAGID_START_OFFSET = 0x02; 33 protected static final byte OAP_TAGID_FILTER_MESSAGE_TYPE = 0x03; 34 protected static final byte OAP_TAGID_FILTER_PERIOD_BEGIN = 0x04; 35 protected static final byte OAP_TAGID_FILTER_PERIOD_END = 0x05; 36 protected static final byte OAP_TAGID_FILTER_READ_STATUS = 0x06; 37 protected static final byte OAP_TAGID_FILTER_RECIPIENT = 0x07; 38 protected static final byte OAP_TAGID_FILTER_ORIGINATOR = 0x08; 39 protected static final byte OAP_TAGID_FILTER_PRIORITY = 0x09; 40 protected static final byte OAP_TAGID_ATTACHMENT = 0x0a [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/spec/ |
AlgorithmParametersTestDES.java | 24 private static final byte[] parameterData = new byte[] { 25 (byte) 0x04, (byte) 0x08, (byte) 0x68, (byte) 0xC8, 26 (byte) 0xFF, (byte) 0x64, (byte) 0x72, (byte) 0xF5 } [all...] |
AlgorithmParametersTestDESede.java | 24 private static final byte[] parameterData = new byte[] { 25 (byte) 0x04, (byte) 0x08, (byte) 0x68, (byte) 0xC8, 26 (byte) 0xFF, (byte) 0x64, (byte) 0x72, (byte) 0xF5 } [all...] |
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/ |
testranges-ia64.s | 6 .byte 1 8 .byte 2 27 .byte 0x4 /* Pointer Size (in bytes) */ 41 .byte 0x0 /* DW_children_no */ 44 .byte 0x0 45 .byte 0x0 49 .byte 0x0 /* DW_children_no */ 54 .byte 0x0 55 .byte 0x0 57 .byte 0x0 /* abbrevs terminator * [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
Utf8.java | 40 * Unicode 3.1, which mandates the rejection of "overlong" byte 41 * sequences as well as rejection of 3-byte surrogate codepoint byte 43 * has been modified to also reject "overlong" byte sequences, but (as 44 * of 2011) still accepts 3-byte surrogate codepoint byte sequences. 46 * <p>The byte sequences considered valid by this class are exactly 54 * Table 3-7. <em>Well Formed UTF-8 Byte Sequences</em>. 56 * <p>This class supports decoding of partial byte sequences, so that the 57 * bytes in a complete UTF-8 byte sequences can be stored in multipl [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
ByteArrayPool.java | 8 * A pool for reusing byte arrays that produces and contains byte arrays of a fixed size. 18 private final Queue<byte[]> tempQueue = Util.createQueue(0); 22 * Returns a constant singleton byte array pool. 31 * Removes all byte arrays from the pool. 40 * Returns a byte array by retrieving one from the pool if the pool is non empty or otherwise by creating a new 41 * byte array. 43 public byte[] getBytes() { 44 byte[] result; 49 result = new byte[TEMP_BYTES_SIZE] [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
m24lr64e.py | 31 # reads the last byte of data in the EEPROM, inverts it, writes 34 # Read the last byte of the EEPROM area 37 byte = nfcTag.readByte(addr) variable 39 print "Read byte: ", format(byte, '02x') 42 byte = (~byte & 0xff) variable 43 nfcTag.writeByte(addr, byte) 44 print "Wrote inverted byte: ", format(byte, '02x' 47 byte = nfcTag.readByte(addr) variable [all...] |
/libcore/ojluni/src/main/java/java/io/ |
ObjectStreamConstants.java | 52 final static byte TC_BASE = 0x70; 57 final static byte TC_NULL = (byte)0x70; 62 final static byte TC_REFERENCE = (byte)0x71; 67 final static byte TC_CLASSDESC = (byte)0x72; 72 final static byte TC_OBJECT = (byte)0x73; 77 final static byte TC_STRING = (byte)0x74 [all...] |
/prebuilts/go/darwin-x86/src/net/http/ |
sniff.go | 21 func DetectContentType(data []byte) string { 26 // Index of the first non-whitespace byte in data. 40 func isWS(b byte) bool { 50 match(data []byte, firstNonWS int) string 73 &maskedSig{mask: []byte("\xFF\xFF\xFF\xFF\xFF"), pat: []byte("<?xml"), skipWS: true, ct: "text/xml; charset=utf-8"}, 75 &exactSig{[]byte("%PDF-"), "application/pdf"}, 76 &exactSig{[]byte("%!PS-Adobe-"), "application/postscript"}, 79 &maskedSig{mask: []byte("\xFF\xFF\x00\x00"), pat: []byte("\xFE\xFF\x00\x00"), ct: "text/plain; charset=utf-16be"} [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
sniff.go | 21 func DetectContentType(data []byte) string { 26 // Index of the first non-whitespace byte in data. 40 func isWS(b byte) bool { 50 match(data []byte, firstNonWS int) string 73 &maskedSig{mask: []byte("\xFF\xFF\xFF\xFF\xFF"), pat: []byte("<?xml"), skipWS: true, ct: "text/xml; charset=utf-8"}, 75 &exactSig{[]byte("%PDF-"), "application/pdf"}, 76 &exactSig{[]byte("%!PS-Adobe-"), "application/postscript"}, 79 &maskedSig{mask: []byte("\xFF\xFF\x00\x00"), pat: []byte("\xFE\xFF\x00\x00"), ct: "text/plain; charset=utf-16be"} [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
TfxdBox.java | 43 public byte[] getUserType() {
44 return new byte[]{(byte) 0x6d, (byte) 0x1d, (byte) 0x9b, (byte) 0x05, (byte) 0x42, (byte) 0xd5, (byte) 0x44,
45 (byte) 0xe6, (byte) 0x80, (byte) 0xe2, 0x14, (byte) 0x1d, (byte) 0xaf, (byte) 0xf7, (byte) 0x57, (byte) (…) [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Byte4.java | 25 public byte x; 26 public byte y; 27 public byte z; 28 public byte w; 33 public Byte4(byte initX, byte initY, byte initZ, byte initW) { 68 result.x = (byte)(a.x + b.x); 69 result.y = (byte)(a.y + b.y) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
UTF16BECharsetEncoderTest.java | 36 specifiedReplacement = new byte[] { -1, -3 }; 37 unibytes = new byte[] { 0, 32, 0, 98, 0, 117, 0, 102, 0, 102, 0, 101, 40 // unibytesWithRep = new byte[] {(byte)0xff, (byte)0xfd,0, 32, 0, 98, 0, 76 // 1st byte: d800-dbff 77 // 2nd byte: dc00-dfff 101 protected byte[] getIllegalByteArray() { 102 return new byte[] { (byte)0xd8, (byte)0x00, (byte)0xdb, (byte)0x00 } [all...] |
UTFCharsetDecoderTest.java | 54 buffer.put((byte) 0xd8); 69 return ByteBuffer.wrap(new byte[] { 32, 98, 117, 102, 102, 101, 114, 70 32, (byte) 0xd0, (byte) 0x9c, (byte) 0xd0, (byte) 0xb0, 71 (byte) 0xd1, (byte) 0x81, (byte) 0xd1, (byte) 0x8e [all...] |
/cts/tests/tests/ndef/src/android/ndef/cts/ |
NdefTest.java | 43 assertEquals(new byte[0], r.getId()); 44 assertEquals(new byte[0], r.getType()); 45 assertEquals(new byte[0], r.getPayload()); 54 new byte[] {1,2,3}, new byte[] {4,5,6}, new byte[] {7,8,9}), 56 new byte[] {1,2,3}, new byte[] {4,5,6}, new byte[] {7,8,9})); 59 new byte[] {1,2,3}, new byte[] {4,5,6}, new byte[] {7,8,9}) [all...] |
/hardware/bsp/intel/peripheral/libmraa/examples/java/ |
I2cCompass.java | 42 final static byte MAX_BUFFER_LENGTH = 6; 43 final static byte CONF_BUFFER_LENGTH = 2; 47 final static byte HMC5883L_CONF_REG_A = 0x00; 48 final static byte HMC5883L_CONF_REG_B = 0x01; 51 final static byte HMC5883L_MODE_REG = 0x02; 54 final static byte HMC5883L_X_MSB_REG = 0; 55 final static byte HMC5883L_X_LSB_REG = 1; 56 final static byte HMC5883L_Z_MSB_REG = 2; 57 final static byte HMC5883L_Z_LSB_REG = 3; 58 final static byte HMC5883L_Y_MSB_REG = 4 [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
SignedBytes.java | 27 * Static utility methods pertaining to {@code byte} primitives that 46 * The largest power of two that can be represented as a signed {@code byte}. 50 public static final byte MAX_POWER_OF_TWO = 1 << 6; 53 * Returns the {@code byte} value that is equal to {@code value}, if possible. 55 * @param value any value in the range of the {@code byte} type 56 * @return the {@code byte} value that equals {@code value} 58 * Byte#MAX_VALUE} or less than {@link Byte#MIN_VALUE} 60 public static byte checkedCast(long value) { 61 byte result = (byte) value [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
BytesTrieBuilder.java | 32 public BytesAsCharSequence(byte[] sequence, int length) { 40 private byte[] s; 45 * Adds a (byte sequence, value) pair. 46 * The byte sequence must be unique. 49 * @param sequence The array that contains the byte sequence, starting at index 0. 50 * @param length The length of the byte sequence. 51 * @param value The value associated with this byte sequence. 55 public BytesTrieBuilder add(byte[] sequence, int length, int value) { 64 * <p>A BytesTrie cannot be empty. At least one (byte sequence, value) pair 68 * which share the builder's byte array, without rebuilding [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
srv.h | 58 BYTE precision; 59 BYTE scale; 60 BYTE sign; 61 BYTE val[MAXNUMERICLEN]; 67 #define SRV_TDS_NULL (BYTE) 0x1f 68 #define SRV_TDS_TEXT (BYTE) 0x23 69 #define SRV_TDS_GUID (BYTE) 0x24 70 #define SRV_TDS_VARBINARY (BYTE) 0x25 71 #define SRV_TDS_INTN (BYTE) 0x26 72 #define SRV_TDS_VARCHAR (BYTE) 0x2 [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
X9IntegerConverter.java | 22 public byte[] integerToBytes( 26 byte[] bytes = s.toByteArray(); 30 byte[] tmp = new byte[qLength]; 38 byte[] tmp = new byte[qLength];
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
Signer.java | 17 * update the internal digest with the byte b 19 public void update(byte b); 22 * update the internal digest with the byte array in 24 public void update(byte[] in, int off, int len); 30 public byte[] generateSignature() 37 public boolean verifySignature(byte[] signature);
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
HexDump.java | 23 public static String dumpHexString(byte[] array) 28 public static String dumpHexString(byte[] array, int offset, int length) 32 byte[] line = new byte[16]; 61 byte b = array[i]; 94 public static String toHexString(byte b) 99 public static String toHexString(byte[] array) 104 public static String toHexString(byte[] array, int offset, int length) 111 byte b = array[i]; 124 public static byte[] toByteArray(byte b [all...] |
/external/llvm/test/CodeGen/AArch64/ |
arm64-vshuffle.ll | 18 ; CHECK: .byte 0 ; 0x0 19 ; CHECK: .byte 0 ; 0x0 20 ; CHECK: .byte 0 ; 0x0 21 ; CHECK: .byte 0 ; 0x0 22 ; CHECK: .byte 1 ; 0x1 23 ; CHECK: .byte 0 ; 0x0 24 ; CHECK: .byte 0 ; 0x0 25 ; CHECK: .byte 0 ; 0x0 49 ; CHECK: .byte 0 ; 0x0 50 ; CHECK: .byte 0 ; 0x [all...] |
/external/v8/src/wasm/ |
module-decoder.h | 16 const byte* module_start, const byte* module_end, 21 FunctionSig* DecodeWasmSignatureForTesting(Zone* zone, const byte* start, 22 const byte* end); 27 const byte* function_start, 28 const byte* function_end);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
x86-64-stack.s | 2 .byte \bytes 3 .byte 0x66, \bytes 4 .byte 0x48, \bytes 5 .byte 0x66, 0x48, \bytes 26 # push with a 1-byte immediate 29 # push with a 4-byte immediate
|