/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug102.go | 10 var b [0]byte 15 var b1 = [5]byte{'h', 'e', 'l', 'l', 'o'} 19 var b2 = make([]byte, 5)
|
bug149.go | 10 var b1 []byte; 14 b2 := ([]byte)(nil); 18 s3 := string(([]byte)(nil)); // does not compile (literal substitution of b2)
|
issue7944.go | 15 func f(b []byte) { 30 func f2(b []byte) { 39 f(make([]byte, 100))
|
/prebuilts/go/linux-x86/src/hash/adler32/ |
adler32.go | 8 // Adler-32 is composed of two sums accumulated per byte: s1 is 12 // significant-byte first (network) order. 47 func update(d digest, p []byte) digest { 50 var q []byte 65 func (d *digest) Write(p []byte) (nn int, err error) { 72 func (d *digest) Sum(in []byte) []byte { 74 return append(in, byte(s>>24), byte(s>>16), byte(s>>8), byte(s) [all...] |
/prebuilts/go/linux-x86/src/syscall/ |
ztypes_darwin_amd64.go | 31 Pad_cgo_0 [4]byte 73 Pad_cgo_0 [4]byte 125 Pad_cgo_0 [4]byte 131 Buffer *byte 151 Pad_cgo_0 [3]byte 158 Addr [4]byte /* in_addr */ 167 Addr [16]byte /* in6_addr */ 207 Base *byte 212 Multiaddr [4]byte /* in_addr */ 213 Interface [4]byte /* in_addr * [all...] |
ztypes_darwin_arm64.go | 31 Pad_cgo_0 [4]byte 73 Pad_cgo_0 [4]byte 125 Pad_cgo_0 [4]byte 131 Buffer *byte 151 Pad_cgo_0 [3]byte 158 Addr [4]byte /* in_addr */ 167 Addr [16]byte /* in6_addr */ 207 Base *byte 212 Multiaddr [4]byte /* in_addr */ 213 Interface [4]byte /* in_addr * [all...] |
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug102.go | 10 var b [0]byte 15 var b1 = [5]byte{'h', 'e', 'l', 'l', 'o'} 19 var b2 = make([]byte, 5)
|
bug149.go | 10 var b1 []byte; 14 b2 := ([]byte)(nil); 18 s3 := string(([]byte)(nil)); // does not compile (literal substitution of b2)
|
issue7944.go | 15 func f(b []byte) { 30 func f2(b []byte) { 39 f(make([]byte, 100))
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
bitset.h | 10 #define BYTE char 12 typedef BYTE *bitset; 21 #define BITSPERBYTE (8*sizeof(BYTE))
|
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
bitset.h | 10 #define BYTE char 12 typedef BYTE *bitset; 21 #define BITSPERBYTE (8*sizeof(BYTE))
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-mmix/ |
b-twoinsn.s | 5 .byte 0x98,9,1,1,0x3b,0x7f,0x9c,0xe3,0x98,1,0,2,0,0,0,0 6 .byte 0,0,0,0,0xe3,0xfd,0,1,0x98,1,0,2,0,0,0,0 7 .byte 0,0,0,4,0xe3,0xfd,0,4
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-nds32/ |
diff.s | 4 .global BYTE 24 BYTE: 25 .byte .L1-.L0
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
CipherInputStreamTest.java | 37 public TestInputStream(byte[] data) { 56 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 61 if ((byte) cis.read() != data[i]) { 76 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 79 byte res; 81 if ((res = (byte) cis.read()) != data[i]) { 92 * read(byte[] b) method testing. Tests that method returns the correct 97 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 } [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
ByteBuffer.java | 20 * Byte buffer container including length of valid data. 27 private byte[] buffer; 39 this.buffer = new byte[initialCapacity]; 45 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>. 47 public ByteBuffer(byte[] buffer) 55 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>. 58 public ByteBuffer(byte[] buffer, int length) 80 this.buffer = new byte[chunk]; 99 * @param buffer a byte array that will be wrapped with <code>ByteBuffer</code>. 103 public ByteBuffer(byte[] buffer, int offset, int length [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
GZIPInputStreamTest.java | 38 private static final byte[] HELLO_WORLD_GZIPPED = new byte[] { 39 31, -117, 8, 0, 0, 0, 0, 0, 0, 0, // 10 byte header 44 * This is the same as the above, except that the 4th header byte is 2 (FHCRC flag) 49 private static final byte[] HELLO_WORLD_GZIPPED_WITH_HEADER_CRC = new byte[] { 50 31, -117, 8, 2, 0, 0, 0, 0, 0, 0, // 10 byte header 51 29, 38, // 2 byte CRC. 56 * This is the same as {@code HELLO_WORLD_GZIPPED} except that the 4th header byte is 4 61 private static final byte[] HELLO_WORLD_GZIPPED_WITH_EXTRA = new byte[] [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 40 byte[] data = new byte[512]; 56 byte[] data = new byte[512]; 65 byte[] bs = new byte[] { 1, 2, 3, 4 }; 84 byte[] data = new byte[512]; 118 byte[] data = new byte[] { 1, 2, 3, 4 } [all...] |
/developers/build/prebuilts/gradle/CardReader/Application/tests/src/com/example/android/cardreader/tests/ |
SampleTests.java | 80 final byte[] expectedResult = {(byte) 0x00, (byte) 0xA4, 04, (byte) 0x00, (byte) 0x02, 81 (byte) 0x12, (byte) 0x34}; 82 final byte[] result = LoyaltyCardReader.BuildSelectApdu(aid); 94 final byte[] testData = {(byte) 0xc0, (byte) 0xff, (byte) 0xee} [all...] |
/developers/samples/android/connectivity/nfc/CardReader/Application/tests/src/com/example/android/cardreader/tests/ |
SampleTests.java | 80 final byte[] expectedResult = {(byte) 0x00, (byte) 0xA4, 04, (byte) 0x00, (byte) 0x02, 81 (byte) 0x12, (byte) 0x34}; 82 final byte[] result = LoyaltyCardReader.BuildSelectApdu(aid); 94 final byte[] testData = {(byte) 0xc0, (byte) 0xff, (byte) 0xee} [all...] |
/external/kernel-headers/original/uapi/linux/nfsd/ |
nfsfh.h | 37 * The file handle starts with a sequence of four-byte words. 42 * All four-byte values are in host-byte-order. 49 * 0 - 4 byte device id (ms-2-bytes major, ls-2-bytes minor), 4byte inode number 52 * 1 - 4 byte user specified identifier 53 * 2 - 4 byte major, 4 byte minor, 4 byte inode number - DEPRECATED 54 * 3 - 4 byte device id, encoded for user-space, 4 byte inode numbe [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
TfrfBox.java | 45 public byte[] getUserType() {
46 return new byte[]{(byte) 0xd4, (byte) 0x80, (byte) 0x7e, (byte) 0xf2, (byte) 0xca, (byte) 0x39, (byte) 0x46,
47 (byte) 0x95, (byte) 0x8e, (byte) 0x54, 0x26, (byte) 0xcb, (byte) 0x9e, (byte) 0x46, (byte) 0xa7, (byte) (…) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
Hex.java | 19 * Basic hex operations: from byte array to string and vice versa. 39 private static final byte[] DIGITS = new byte['f'+1]; 44 for (byte i = 0; i < 10; i++) { 47 for (byte i = 0; i < 6; i++) { 48 DIGITS['A' + i] = (byte)(10 + i); 49 DIGITS['a' + i] = (byte)(10 + i); 54 * Quickly converts a byte array to a hexadecimal string representation. 56 * @param array byte array, possibly zero-terminated. 58 public static String encodeHex(byte[] array, boolean zeroTerminated) [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
int_encoding.cc | 33 // Read an unsigned LEB128 number. Each byte contains 7 bits of 35 // not. BYTE contains the first byte of the number, and is guaranteed 40 unsigned char byte) 42 uint64_t result = static_cast<uint64_t>(byte & 0x7f); 54 byte = *buffer++; 56 result |= (static_cast<uint64_t>(byte & 0x7f)) << shift; 59 while (byte & 0x80); 67 // numbers, except the last byte may have a sign bit set. 68 // BYTE contains the first byte of the number, and is guarantee [all...] |
/prebuilts/go/darwin-x86/src/bytes/ |
bytes.go | 5 // Package bytes implements functions for the manipulation of byte slices. 14 func equalPortable(a, b []byte) bool { 27 // up to a maximum of n byte slices. Invalid UTF-8 sequences are chopped into individual bytes. 28 func explode(s []byte, n int) [][]byte { 32 a := make([][]byte, n) 51 func Count(s, sep []byte) int { 82 func Contains(b, subslice []byte) bool { 87 func Index(s, sep []byte) int { 117 func indexBytePortable(s []byte, c byte) int [all...] |
/prebuilts/go/linux-x86/src/bytes/ |
bytes.go | 5 // Package bytes implements functions for the manipulation of byte slices. 14 func equalPortable(a, b []byte) bool { 27 // up to a maximum of n byte slices. Invalid UTF-8 sequences are chopped into individual bytes. 28 func explode(s []byte, n int) [][]byte { 32 a := make([][]byte, n) 51 func Count(s, sep []byte) int { 82 func Contains(b, subslice []byte) bool { 87 func Index(s, sep []byte) int { 117 func indexBytePortable(s []byte, c byte) int [all...] |