/external/apache-http/src/org/apache/commons/codec/binary/ |
BinaryCodec.java | 25 * Translates between byte arrays and strings of "0"s and "1"s. 29 * from byte[] et. cetera. 48 /** Empty byte array. */ 49 private static final byte[] EMPTY_BYTE_ARRAY = new byte[0]; 51 /** Mask for bit 0 of a byte. */ 54 /** Mask for bit 1 of a byte. */ 57 /** Mask for bit 2 of a byte. */ 60 /** Mask for bit 3 of a byte. */ 63 /** Mask for bit 4 of a byte. * [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
AbstractByteHasherTest.java | 33 TestHasher hasher = new TestHasher(); // byte order insignificant here 34 byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8}; 35 hasher.putByte((byte) 1); 36 hasher.putBytes(new byte[]{2, 3, 4, 5, 6}); 37 hasher.putByte((byte) 7); 38 hasher.putBytes(new byte[]{}); 39 hasher.putBytes(new byte[]{8}); 46 hasher.assertBytes(new byte[]{1, 2}); 52 hasher.assertBytes(new byte[]{1, 2, 3, 4}); 58 hasher.assertBytes(new byte[]{1, 2, 3, 4, 5, 6, 7, 8}) [all...] |
/external/llvm/test/MC/AsmParser/ |
section.s | 4 .byte 1 6 .byte 2 8 .byte 1 10 .byte 2 12 .byte 1 14 .byte 1 16 .byte 1 18 .byte 2 20 .byte 3 22 .byte [all...] |
section_names.s | 4 .byte 1 6 .byte 1 8 .byte 1 10 .byte 1 12 .byte 1 14 .byte 1 16 .byte 1 18 .byte 1 20 .byte 1 22 .byte [all...] |
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/i386/ |
compressed-1.s | 47 .byte 0x4 50 .byte 0x1 57 .byte 0x1 59 .byte 0x1 60 .byte 0xa 63 .byte 0x1 64 .byte 0x9c 66 .byte 0x1 68 .byte 0x1 69 .byte 0x [all...] |
/toolchain/binutils/binutils-2.25/binutils/testsuite/binutils-all/x86-64/ |
compressed-1.s | 42 .byte 0x8 45 .byte 0x1 52 .byte 0x1 54 .byte 0x1 55 .byte 0xa 58 .byte 0x1 59 .byte 0x9c 61 .byte 0x1 63 .byte 0x1 64 .byte 0x [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
dw2-compress-2.s | 47 .byte 0x4 50 .byte 0x1 57 .byte 0x1 59 .byte 0x1 60 .byte 0xa 63 .byte 0x1 64 .byte 0x9c 66 .byte 0x1 68 .byte 0x1 69 .byte 0x [all...] |
x86-64-dw2-compress-2.s | 42 .byte 0x8 45 .byte 0x1 52 .byte 0x1 54 .byte 0x1 55 .byte 0xa 58 .byte 0x1 59 .byte 0x9c 61 .byte 0x1 63 .byte 0x1 64 .byte 0x [all...] |
/external/boringssl/linux-x86_64/crypto/aes/ |
aesni-x86_64.S | 17 .byte 102,15,56,220,209 22 .byte 102,15,56,221,209 27 .byte 0xf3,0xc3 42 .byte 102,15,56,222,209 47 .byte 102,15,56,223,209 52 .byte 0xf3,0xc3 68 .byte 102,15,56,220,209 69 .byte 102,15,56,220,217 72 .byte 102,15,56,220,208 73 .byte 102,15,56,220,21 [all...] |
/external/boringssl/mac-x86_64/crypto/aes/ |
aesni-x86_64.S | 16 .byte 102,15,56,220,209 21 .byte 102,15,56,221,209 26 .byte 0xf3,0xc3 41 .byte 102,15,56,222,209 46 .byte 102,15,56,223,209 51 .byte 0xf3,0xc3 67 .byte 102,15,56,220,209 68 .byte 102,15,56,220,217 71 .byte 102,15,56,220,208 72 .byte 102,15,56,220,21 [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
gcinfo_test.go | 49 verifyGCInfo(t, "heap PtrSlice", escape(&make([]*byte, 10)[0]), trimDead(infoPtr10)) 60 func verifyGCInfo(t *testing.T, name string, p interface{}, mask0 []byte) { 68 func padDead(mask []byte) []byte { 75 return []byte{mask[0], 0} 80 func trimDead(mask []byte) []byte { 94 var infoPtr = []byte{typePointer} 97 *byte 100 var infoPtr10 = []byte{typePointer, typePointer, typePointer, typePointer, typePointer, typePointer, typePointer, typePoi (…) [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
gcinfo_test.go | 49 verifyGCInfo(t, "heap PtrSlice", escape(&make([]*byte, 10)[0]), trimDead(infoPtr10)) 60 func verifyGCInfo(t *testing.T, name string, p interface{}, mask0 []byte) { 68 func padDead(mask []byte) []byte { 75 return []byte{mask[0], 0} 80 func trimDead(mask []byte) []byte { 94 var infoPtr = []byte{typePointer} 97 *byte 100 var infoPtr10 = []byte{typePointer, typePointer, typePointer, typePointer, typePointer, typePointer, typePointer, typePoi (…) [all...] |
/external/pdfium/core/src/fxcrt/ |
fx_basic_utf.cpp | 16 void CFX_UTF8Decoder::Input(uint8_t byte) { 17 if (byte < 0x80) { 19 m_Buffer.AppendChar(byte); 20 } else if (byte < 0xc0) { 25 m_PendingChar |= (byte & 0x3f) << (m_PendingBytes * 6); 29 } else if (byte < 0xe0) { 31 m_PendingChar = (byte & 0x1f) << 6; 32 } else if (byte < 0xf0) { 34 m_PendingChar = (byte & 0x0f) << 12; 35 } else if (byte < 0xf8) [all...] |
/frameworks/base/keystore/java/android/security/keystore/ |
ArrayUtils.java | 35 public static byte[] cloneIfNotEmpty(byte[] array) { 39 public static byte[] concat(byte[] arr1, byte[] arr2) { 44 public static byte[] concat(byte[] arr1, int offset1, int len1, byte[] arr2, int offset2, 51 byte[] result = new byte[len1 + len2] [all...] |
/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
Decoder.java | 10 public static final byte SIG_BOOLEAN = 'Z'; 11 public static final byte SIG_BYTE = 'B'; 12 public static final byte SIG_SHORT = 'S'; 13 public static final byte SIG_INT = 'I'; 14 public static final byte SIG_LONG = 'J'; 15 public static final byte SIG_FLOAT = 'F'; 16 public static final byte SIG_DOUBLE = 'D'; 19 public static final byte SIG_STRING = 'R'; 21 public static final byte SIG_MAP = 'M'; // a map with an short key 26 public Decoder(byte[] buf) [all...] |
/prebuilts/go/darwin-x86/src/hash/crc64/ |
crc64.go | 60 func update(crc uint64, tab *Table, p []byte) uint64 { 63 crc = tab[byte(crc)^v] ^ (crc >> 8) 69 func Update(crc uint64, tab *Table, p []byte) uint64 { 73 func (d *digest) Write(p []byte) (n int, err error) { 80 func (d *digest) Sum(in []byte) []byte { 82 return append(in, byte(s>>56), byte(s>>48), byte(s>>40), byte(s>>32), byte(s>>24), byte(s>>16), byte(s>>8), byte(s) [all...] |
/prebuilts/go/linux-x86/src/hash/crc64/ |
crc64.go | 60 func update(crc uint64, tab *Table, p []byte) uint64 { 63 crc = tab[byte(crc)^v] ^ (crc >> 8) 69 func Update(crc uint64, tab *Table, p []byte) uint64 { 73 func (d *digest) Write(p []byte) (n int, err error) { 80 func (d *digest) Sum(in []byte) []byte { 82 return append(in, byte(s>>56), byte(s>>48), byte(s>>40), byte(s>>32), byte(s>>24), byte(s>>16), byte(s>>8), byte(s) [all...] |
/frameworks/base/rs/java/android/renderscript/ |
Byte2.java | 25 public byte x; 26 public byte y; 31 public Byte2(byte initX, byte initY) { 61 result.x = (byte)(a.x + b.x); 62 result.y = (byte)(a.y + b.y); 72 public void add(byte value) { 84 public static Byte2 add(Byte2 a, byte b) { 86 result.x = (byte)(a.x + b); 87 result.y = (byte)(a.y + b) [all...] |
/prebuilts/go/darwin-x86/src/net/http/fcgi/ |
fcgi_test.go | 18 bytes []byte 20 {0, []byte{0x00}}, 21 {127, []byte{0x7F}}, 22 {128, []byte{0x80, 0x00, 0x00, 0x80}}, 23 {1000, []byte{0x80, 0x00, 0x03, 0xE8}}, 24 {33554431, []byte{0x81, 0xFF, 0xFF, 0xFF}}, 28 b := make([]byte, 4) 48 content []byte 49 raw []byte 52 []byte{1, byte(typeStdout), 0, 1, 0, 0, 0, 0} [all...] |
/prebuilts/go/linux-x86/src/net/http/fcgi/ |
fcgi_test.go | 18 bytes []byte 20 {0, []byte{0x00}}, 21 {127, []byte{0x7F}}, 22 {128, []byte{0x80, 0x00, 0x00, 0x80}}, 23 {1000, []byte{0x80, 0x00, 0x03, 0xE8}}, 24 {33554431, []byte{0x81, 0xFF, 0xFF, 0xFF}}, 28 b := make([]byte, 4) 48 content []byte 49 raw []byte 52 []byte{1, byte(typeStdout), 0, 1, 0, 0, 0, 0} [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/ |
mips16-dwarf2.s | 34 # align section end to 16-byte boundary for easier testing on multiple targets 40 .4byte .Ledebug_info0 - .L1debug_info0 # length 42 .2byte 2 # version 43 .4byte .Ldebug_abbrev0 # abbrev offset 44 .byte 4 # address size 46 .4byte .Ldebug_line0 # DW_AT_stmt_list 47 .4byte .Ltext0 # DW_AT_low_pc 48 .4byte .Letext0 # DW_AT_high_pc 55 .byte 0x0 # DW_CHILDREN_no 62 .byte 0x [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
Byte.java | 31 * The {@code Byte} class wraps a value of primitive type {@code byte} 32 * in an object. An object of type {@code Byte} contains a single 33 * field whose type is {@code byte}. 36 * a {@code byte} to a {@code String} and a {@code String} to a {@code 37 * byte}, as well as other constants and methods useful when dealing 38 * with a {@code byte}. 45 public final class Byte extends Number implements Comparable<Byte> { 48 * A constant holding the minimum value a {@code byte} ca [all...] |
/prebuilts/go/darwin-x86/src/crypto/des/ |
des_test.go | 13 key []byte 14 in []byte 15 out []byte 21 []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, 22 []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, 23 []byte{0x8c, 0xa6, 0x4d, 0xe9, 0xc1, 0xb1, 0x23, 0xa7}}, 25 []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, 26 []byte{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, 27 []byte{0x35, 0x55, 0x50, 0xb2, 0x15, 0x0e, 0x24, 0x51}}, 29 []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} [all...] |
/prebuilts/go/linux-x86/src/crypto/des/ |
des_test.go | 13 key []byte 14 in []byte 15 out []byte 21 []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, 22 []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, 23 []byte{0x8c, 0xa6, 0x4d, 0xe9, 0xc1, 0xb1, 0x23, 0xa7}}, 25 []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}, 26 []byte{0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, 27 []byte{0x35, 0x55, 0x50, 0xb2, 0x15, 0x0e, 0x24, 0x51}}, 29 []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00} [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
DataRecord.java | 21 byte pl; 23 byte[] genders; // EGender 33 byte[] halfPlacements; // EHalfPlacement 34 byte[] halfSupport; // EHalfSupport 44 byte numberSystem; // ENumberSystem 49 byte zeroHandling; // EZeroHandling 50 byte decimalHandling; // EDecimalHandling 51 byte fractionHandling; // EFractionHandling 55 byte useMilliseconds; // EMilliSupport 204 public static final byte NOLIMIT = 0 [all...] |