/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/ |
TestCharset.java | 74 bs1.put((byte)(lead>>8)); 75 bs1.put((byte)(lead&0xFF)); 76 bs1.put((byte)(trail>>8)); 77 bs1.put((byte)(trail&0xFF)); 79 bs2.put((byte)(lead&0xFF)); 80 bs2.put((byte)(lead>>8)); 81 bs2.put((byte)(trail&0xFF)); 82 bs2.put((byte)(trail>>8)); 86 bs1.put((byte)0x00); 87 bs1.put((byte)(c)) [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacTest.java | 301 byte[] buf = new byte[10]; 305 macs[i].update((byte) 0); 330 macs[i].doFinal(new byte[10]); 335 macs[i].doFinal(new byte[10], 0); 343 * Test for <code>doFinal(byte[] output, int outOffset)</code> method 357 byte[] b = { (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0 } [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneNumberUtilsTest.java | 78 byte [] b = new byte[20]; 79 b[0] = (byte) 0x81; b[1] = (byte) 0x71; b[2] = (byte) 0x00; b[3] = (byte) 0x55; 80 b[4] = (byte) 0x05; b[5] = (byte) 0x20; b[6] = (byte) 0xF0; 84 b[0] = (byte) 0x80; b[1] = (byte) 0x71; b[2] = (byte) 0x00; b[3] = (byte) 0x55 [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerConstructorsTest.java | 29 * Constructors: BigInteger(byte[] a), BigInteger(int sign, byte[] a), 38 byte aBytes[] = {}; 51 byte aBytes[] = {12, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, 3, 91}; 52 byte rBytes[] = {12, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, 3, 91}; 54 byte resBytes[] = new byte[rBytes.length]; 67 byte aBytes[] = {12, 56, 100}; 68 byte rBytes[] = {12, 56, 100}; 70 byte resBytes[] = new byte[rBytes.length] [all...] |
BigIntegerNotTest.java | 35 byte aBytes[] = {-128, 9, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, -117, 23, 87, -25, -75}; 36 byte bBytes[] = {-2, -3, -4, -4, 5, 14, 23, 39, 48, 57, 66, 5, 14, 23}; 39 byte rBytes[] = {0, -128, 9, 56, 100, 0, 0, 1, 1, 90, 1, -32, 0, 10, -126, 21, 82, -31, -96}; 43 byte resBytes[] = new byte[rBytes.length]; 55 byte aBytes[] = {-2, -3, -4, -4, 5, 14, 23, 39, 48, 57, 66, 5, 14, 23}; 56 byte bBytes[] = {-128, 9, 56, 100, -2, -76, 89, 45, 91, 3, -15, 35, 26, -117, 23, 87, -25, -75}; 59 byte rBytes[] = {73, -92, -48, 4, 12, 6, 4, 32, 48, 64, 0, 8, 2}; 63 byte resBytes[] = new byte[rBytes.length] [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
EventMod.java | 36 public static final byte Count = 1; 38 public static final byte Conditional = 2; 40 public static final byte ThreadOnly = 3; 42 public static final byte ClassOnly = 4; 44 public static final byte ClassMatch = 5; 46 public static final byte ClassExclude = 6; 48 public static final byte LocationOnly = 7; 50 public static final byte ExceptionOnly = 8; 52 public static final byte FieldOnly = 9; 54 public static final byte Step = 10 [all...] |
/external/proguard/src/proguard/evaluation/value/ |
CompositeIntegerValue.java | 31 public static final byte ADD = '+'; 32 public static final byte SUBTRACT = '-'; 33 public static final byte MULTIPLY = '*'; 34 public static final byte DIVIDE = '/'; 35 public static final byte REMAINDER = '%'; 36 public static final byte SHIFT_LEFT = '<'; 37 public static final byte SHIFT_RIGHT = '>'; 38 public static final byte UNSIGNED_SHIFT_RIGHT = '}'; 39 public static final byte AND = '&'; 40 public static final byte OR = '|' [all...] |
CompositeLongValue.java | 31 public static final byte ADD = '+'; 32 public static final byte SUBTRACT = '-'; 33 public static final byte MULTIPLY = '*'; 34 public static final byte DIVIDE = '/'; 35 public static final byte REMAINDER = '%'; 36 public static final byte SHIFT_LEFT = '<'; 37 public static final byte SHIFT_RIGHT = '>'; 38 public static final byte UNSIGNED_SHIFT_RIGHT = '}'; 39 public static final byte AND = '&'; 40 public static final byte OR = '|' [all...] |
/external/valgrind/none/tests/s390x/ |
bfp-2.c | 77 sqebr(121.0f); // 4 byte values 81 lnebr(-2.5f); // 4 byte values 82 lnebr(12.5f); // 4 byte values 84 lndbr(-0.5); // 8 byte values 85 lndbr(42.5); // 8 byte values 88 lpebr(-2.5f); // 4 byte values 89 lpebr(12.5f); // 4 byte values 91 lpdbr(-0.5); // 8 byte values 92 lpdbr(42.5); // 8 byte values 95 lcebr(-23.5f); // 4 byte value [all...] |
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
ByteArrayPoolTest.java | 30 byte[] buf1 = pool.getBuf(16); 31 byte[] buf2 = pool.getBuf(16); 36 byte[] buf3 = pool.getBuf(16); 37 byte[] buf4 = pool.getBuf(16); 46 byte[] buf1 = pool.getBuf(16); 47 byte[] buf2 = pool.getBuf(16); 48 byte[] buf3 = pool.getBuf(16); 54 byte[] buf4 = pool.getBuf(16); 55 byte[] buf5 = pool.getBuf(16); 56 byte[] buf6 = pool.getBuf(16) [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
m24lr64e.cxx | 40 // reads the last byte of data in the EEPROM, inverts it, writes 43 // Read the last byte of the EEPROM area 47 uint8_t byte = nfcTag->readByte(addr); local 48 printf("Read byte: %02x\n", byte); 51 byte = ~byte; 52 nfcTag->writeByte(addr, byte); 53 printf("Wrote inverted byte: %02x\n", byte); [all...] |
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
m24lr64e.js | 35 // reads the last byte of data in the EEPROM, inverts it, writes 38 // Read the last byte of the EEPROM area 41 var byte = nfcTag.readByte(addr); variable 43 console.log("Read byte: " + byte.toString(16)); 46 byte = (~byte & 0xff); 47 nfcTag.writeByte(addr, byte); 48 console.log("Wrote inverted byte: " + byte.toString(16)) [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
NullCipherSpi.java | 60 protected byte[] engineGetIV() { 61 byte[] x = new byte[8]; 79 protected byte[] engineUpdate(byte[] input, int inputOffset, 82 byte[] x = new byte[inputLen]; 87 protected int engineUpdate(byte[] input, int inputOffset, 88 int inputLen, byte[] output, 95 protected byte[] engineDoFinal(byte[] input, int inputOffset [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/ |
Test_rsub_int_lit8.java | 59 * 2: a = Byte.MAX_VALUE, b = 0, b-a = -Byte.MAX_VALUE 64 assertEquals(-Byte.MAX_VALUE, t.run(Byte.MAX_VALUE)); 70 * 2: a = Byte.MIN_VALUE, b = 0, b-a = 128 75 assertEquals(128, t.run(Byte.MIN_VALUE)); 88 * 1: a = 0, b = Byte.MAX_VALUE, b-a = Byte.MAX_VALUE 89 * 2: a = 1, b = Byte.MAX_VALUE, b-a = 126 90 * 3: a = -1, b = Byte.MAX_VALUE, b-a = 12 [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
MapObexLevelTest.java | 34 static final byte[] MAS_TARGET = new byte[] { 35 (byte)0xBB, (byte)0x58, (byte)0x2B, (byte)0x40, 36 (byte)0x42, (byte)0x0C, (byte)0x11, (byte)0xDB [all...] |
/toolchain/binutils/binutils-2.25/opcodes/ |
h8500-dis.c | 38 /* Points to first byte not fetched. */ 94 int byte; local 106 for (byte = 0; byte < opcode->length; byte++) 108 FETCH_DATA (info, buffer + byte + 1); 109 if ((buffer[byte] & opcode->bytes[byte].mask) 110 != (opcode->bytes[byte].contents)) 116 switch (opcode->bytes[byte].insert [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
MacSpiTest.java | 47 protected byte[] engineDoFinal() { 67 protected void engineUpdate(byte input) { 72 protected void engineUpdate(byte[] input, int offset, int len) { 81 protected byte[] engineDoFinal() { 101 protected void engineUpdate(byte input) { 106 protected void engineUpdate(byte[] input, int offset, int len) { 120 protected byte[] engineDoFinal() { 140 protected void engineUpdate(byte input) { 145 protected void engineUpdate(byte[] input, int offset, int len) { 163 byte [] bb1 = {(byte)1, (byte)2, (byte)3, (byte)4, (byte)5} [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/rsc.io/x86/x86asm/ |
ext_test.go | 40 enc [32]byte 83 // testExtDis tests a set of byte sequences against an external disassembler. 88 // The generate function calls its argument f once for each byte sequence 99 generate func(f func([]byte)), 134 generate(func(enc []byte) { 187 // writeInst writes the generated byte sequences to a new file 190 func writeInst(generate func(func([]byte))) (file string, f *os.File, size int, err error) { 202 generate(func(x []byte) { 216 // 0x5F is a single-byte pop instruction. 221 var pops = []byte{ [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
ztypes_netbsd_arm.go | 26 Pad_cgo_0 [4]byte 32 Pad_cgo_0 [4]byte 64 Pad_cgo_0 [4]byte 69 Pad_cgo_1 [4]byte 81 Pad_cgo_2 [4]byte 84 type Statfs_t [0]byte 100 Pad_cgo_0 [3]byte 111 Addr [4]byte /* in_addr */ 120 Addr [16]byte /* in6_addr */ 160 Base *byte [all...] |
dir_plan9.go | 63 func (d *Dir) Marshal(b []byte) (n int, err error) { 98 func UnmarshalDir(b []byte) (*Dir, error) { 139 func pbit8(b []byte, v uint8) []byte { 140 b[0] = byte(v) 145 func pbit16(b []byte, v uint16) []byte { 146 b[0] = byte(v) 147 b[1] = byte(v >> 8) 152 func pbit32(b []byte, v uint32) []byte [all...] |
/prebuilts/go/linux-x86/src/cmd/internal/rsc.io/x86/x86asm/ |
ext_test.go | 40 enc [32]byte 83 // testExtDis tests a set of byte sequences against an external disassembler. 88 // The generate function calls its argument f once for each byte sequence 99 generate func(f func([]byte)), 134 generate(func(enc []byte) { 187 // writeInst writes the generated byte sequences to a new file 190 func writeInst(generate func(func([]byte))) (file string, f *os.File, size int, err error) { 202 generate(func(x []byte) { 216 // 0x5F is a single-byte pop instruction. 221 var pops = []byte{ [all...] |
/prebuilts/go/linux-x86/src/syscall/ |
ztypes_netbsd_arm.go | 26 Pad_cgo_0 [4]byte 32 Pad_cgo_0 [4]byte 64 Pad_cgo_0 [4]byte 69 Pad_cgo_1 [4]byte 81 Pad_cgo_2 [4]byte 84 type Statfs_t [0]byte 100 Pad_cgo_0 [3]byte 111 Addr [4]byte /* in_addr */ 120 Addr [16]byte /* in6_addr */ 160 Base *byte [all...] |
dir_plan9.go | 63 func (d *Dir) Marshal(b []byte) (n int, err error) { 98 func UnmarshalDir(b []byte) (*Dir, error) { 139 func pbit8(b []byte, v uint8) []byte { 140 b[0] = byte(v) 145 func pbit16(b []byte, v uint16) []byte { 146 b[0] = byte(v) 147 b[1] = byte(v >> 8) 152 func pbit32(b []byte, v uint32) []byte [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
DESedeWrapEngine.java | 43 private byte[] iv; 49 private static final byte[] IV2 = { (byte) 0x4a, (byte) 0xdd, (byte) 0xa2, 50 (byte) 0x2c, (byte) 0x79, (byte) 0xe8, 51 (byte) 0x21, (byte) 0x05 } [all...] |
/art/test/567-checker-compare/src/ |
Main.java | 91 /// CHECK-START: int Main.compareBytes(byte, byte) intrinsics_recognition (after) 95 /// CHECK-START: int Main.compareBytes(byte, byte) instruction_simplifier (after) 99 /// CHECK-START: int Main.compareBytes(byte, byte) instruction_simplifier (after) 102 private static int compareBytes(byte x, byte y) { 167 /// CHECK-START: int Main.compareByteShort(byte, short) intrinsics_recognition (after) 171 /// CHECK-START: int Main.compareByteShort(byte, short) instruction_simplifier (after [all...] |