/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/ |
PoloUtil.java | 73 * The input byte stream is assumed to be a positive, two's complement 80 public static String bytesToHexString(byte[] bytes) { 90 * Converts a string of hex characters to a byte array. 93 * @return a byte array representation 95 public static byte[] hexStringToBytes(String hexstr) { 100 byte[] result = new byte[hexstr.length() / 2]; 102 result[i] = (byte) Integer.parseInt(hexstr.substring(2 * i, 2 * (i + 1)), 109 * Converts an integer value to the big endian 4-byte representation. 111 public static final byte[] intToBigEndianIntBytes(int intVal) [all...] |
/external/llvm/test/CodeGen/X86/ |
statepoint-stackmap-format.ll | 82 ; CHECK-NEXT: .byte 1 83 ; CHECK-NEXT: .byte 0 112 ; CHECK: .byte 4 113 ; CHECK: .byte 8 117 ; CHECK: .byte 4 118 ; CHECK: .byte 8 122 ; CHECK: .byte 4 123 ; CHECK: .byte 8 127 ; CHECK: .byte 2 128 ; CHECK: .byte [all...] |
/external/lzma/C/ |
Bra.c | 8 SizeT ARM_Convert(Byte *data, SizeT size, UInt32 ip, int encoding)
27 data[i + 2] = (Byte)(dest >> 16);
28 data[i + 1] = (Byte)(dest >> 8);
29 data[i + 0] = (Byte)dest;
35 SizeT ARMT_Convert(Byte *data, SizeT size, UInt32 ip, int encoding)
61 data[i + 1] = (Byte)(0xF0 | ((dest >> 19) & 0x7));
62 data[i + 0] = (Byte)(dest >> 11);
63 data[i + 3] = (Byte)(0xF8 | ((dest >> 8) & 0x7));
64 data[i + 2] = (Byte)dest;
71 SizeT PPC_Convert(Byte *data, SizeT size, UInt32 ip, int encoding) [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
BitwiseOutputStream.java | 20 * An object that provides bitwise incremental write access to a byte array. 23 * may not be aligned on byte boundaries. 29 // The byte array being written to, which will be grown as needed. 30 private byte[] mBuf; 32 // The current position offset, in bits, from the msb in byte 0. 50 * @param startingLength initial internal byte array length in bytes 53 mBuf = new byte[startingLength]; 59 * Return byte array containing accumulated data, sized to just fit. 61 * @return newly allocated byte array 63 public byte[] toByteArray() [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
sysroff.info | 2 (("size") (1 byte) ("size")) 4 (("hd") (1 byte) ("hd")) 5 (("hs") (1 byte) ("hs")) 6 (("un") (1 byte) ("un")) 7 (("us") (1 byte) ("us")) 9 (("sc") (1 byte) ("sc")) 10 (("ss") (1 byte) ("ss")) 11 (("er") (1 byte) ("er")) 12 (("ed") (1 byte) ("ed")) 14 (("sh") (1 byte) ("sh") [all...] |
/art/test/505-simplifier-type-propagation/src/ |
Main.java | 19 byte result = bar((byte)2); 25 public static byte bar(byte myByte) { 28 // the type conversion below from byte to byte. 32 return (byte)a;
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
Format23x.java | 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) insn.vregA); 29 file.writeByte((byte) insn.vregB); 30 file.writeByte((byte) insn.vregC); 35 public long getA(byte[] raw) throws IOException { 40 public long getB(byte[] raw) throws IOException { 45 public long getC(byte[] raw) throws IOException {
|
Format35mi.java | 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) (insn.invokeFormatInfo.vregG | (insn.vregA << 4))); 30 file.writeByte((byte) ((insn.invokeFormatInfo.vregD << 4) | insn.vregC)); 31 file.writeByte((byte) ((insn.invokeFormatInfo.vregF << 4) 37 public long getA(byte[] raw) throws IOException { 42 public long getB(byte[] raw) throws IOException { 47 public long getC(byte[] raw) throws IOException {
|
Format35ms.java | 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) (insn.invokeFormatInfo.vregG | (insn.vregA << 4))); 30 file.writeByte((byte) ((insn.invokeFormatInfo.vregD << 4) | insn.vregC)); 31 file.writeByte((byte) ((insn.invokeFormatInfo.vregF << 4) 37 public long getA(byte[] raw) throws IOException { 42 public long getB(byte[] raw) throws IOException { 47 public long getC(byte[] raw) throws IOException {
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
AES128ECBNoPaddingCipherTest.java | 21 private static final byte[] KAT_KEY = HexEncoding.decode("7DA2467F068854B3CB36E5C333A16619"); 22 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode( 25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode( 30 protected byte[] getKatKey() { 35 protected byte[] getKatIv() { 40 protected byte[] getKatPlaintext() { 45 protected byte[] getKatCiphertext() {
|
AES128ECBPKCS7PaddingCipherTest.java | 21 private static final byte[] KAT_KEY = HexEncoding.decode("C3BE04BCCB3D99B85290F113FE7AF194"); 22 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode( 25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode( 30 protected byte[] getKatKey() { 35 protected byte[] getKatIv() { 40 protected byte[] getKatPlaintext() { 45 protected byte[] getKatCiphertext() {
|
AES192ECBNoPaddingCipherTest.java | 21 private static final byte[] KAT_KEY = HexEncoding.decode( 23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode( 25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode( 29 protected byte[] getKatKey() { 34 protected byte[] getKatIv() { 39 protected byte[] getKatPlaintext() { 44 protected byte[] getKatCiphertext() {
|
AES192ECBPKCS7PaddingCipherTest.java | 21 private static final byte[] KAT_KEY = HexEncoding.decode( 23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode( 25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode( 30 protected byte[] getKatKey() { 35 protected byte[] getKatIv() { 40 protected byte[] getKatPlaintext() { 45 protected byte[] getKatCiphertext() {
|
AES256ECBNoPaddingCipherTest.java | 21 private static final byte[] KAT_KEY = HexEncoding.decode( 23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode( 26 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode( 31 protected byte[] getKatKey() { 36 protected byte[] getKatIv() { 41 protected byte[] getKatPlaintext() { 46 protected byte[] getKatCiphertext() {
|
AES256ECBPKCS7PaddingCipherTest.java | 21 private static final byte[] KAT_KEY = HexEncoding.decode( 23 private static final byte[] KAT_PLAINTEXT = HexEncoding.decode( 25 private static final byte[] KAT_CIPHERTEXT = HexEncoding.decode( 30 protected byte[] getKatKey() { 35 protected byte[] getKatIv() { 40 protected byte[] getKatPlaintext() { 45 protected byte[] getKatCiphertext() {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
SecureRandom2Test.java | 29 private static final byte[] SEED_BYTES = { (byte) 33, (byte) 15, (byte) -3, 30 (byte) 22, (byte) 77, (byte) -16, (byte) -33, (byte) 56 }; 45 * @tests java.security.SecureRandom#SecureRandom(byte[]) [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
RandomImpl.java | 34 protected void engineSetSeed(byte[] seed) { 38 protected void engineNextBytes(byte[] bytes) { 41 bytes[i] = (byte) (i + 0xF1); 45 protected byte[] engineGenerateSeed(int numBytes) { 47 byte[] b = new byte[numBytes]; 49 b[i] = (byte) i;
|
/external/apache-http/src/org/apache/commons/codec/ |
BinaryDecoder.java | 20 * Defines common decoding methods for byte array decoders. 33 * Decodes a byte array and returns the results as a byte array. 35 * @param pArray A byte array which has been encoded with the 38 * @return a byte array that contains decoded content 44 byte[] decode(byte[] pArray) throws DecoderException;
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/bc/ |
BcDigestCalculatorProvider.java | 38 public byte[] getDigest() 55 public void write(byte[] bytes, int off, int len) 61 public void write(byte[] bytes) 70 dig.update((byte)b); 73 byte[] getDigest() 75 byte[] d = new byte[dig.getDigestSize()];
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
Digest.java | 23 * update the message digest with a single byte. 25 * @param in the input byte to be entered. 27 public void update(byte in); 32 * @param in the byte array containing the data. 33 * @param inOff the offset into the byte array where the data starts. 36 public void update(byte[] in, int inOff, int len); 45 public int doFinal(byte[] out, int outOff);
|
/external/icu/icu4c/source/i18n/ |
bocsu.h | 38 * - byte stream (unsigned 8-bit bytes) 41 * - avoid byte values 0, 1, 2 51 * - Similar to a UTF, encoding the length of the byte sequence in the lead bytes. 53 * (trail byte values may overlap with lead/single byte values). 59 * Instead, we split the lead byte range in the middle and encode non-negative values 62 * For very small absolute values, the difference is added to a middle byte value 63 * for single-byte encoded differences. 65 * of byte values available, the modulo is used for one trail byte, and the remainde [all...] |
collation.cpp | 32 // Extract the second byte, minus the minimum byte value, 33 // plus the offset, modulo the number of usable byte values, plus the minimum. 34 // Reserve the PRIMARY_COMPRESSION_LOW_BYTE and high byte if necessary. 45 // First byte, assume no further overflow. 51 // Extract the third byte, minus the minimum byte value, 52 // plus the offset, modulo the number of usable byte values, plus the minimum. 56 // Same with the second byte, 57 // but reserve the PRIMARY_COMPRESSION_LOW_BYTE and high byte if necessary [all...] |
/external/libexif/libexif/ |
exif-byte-order.h | 1 /*! \file exif-byte-order.h 30 /*! Which byte order to use */ 32 /*! Big-endian byte order */ 34 /*! Little-endian byte order */ 38 /*! Return a short, localized, textual name for the given byte order. 39 * \param[in] order byte order 40 * \return localized textual name of the byte order
|
/external/lzma/CPP/7zip/Compress/ |
ByteSwap.cpp | 18 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size);
28 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size);
33 STDMETHODIMP_(UInt32) CByteSwap2::Filter(Byte *data, UInt32 size)
39 Byte b = data[i];
48 STDMETHODIMP_(UInt32) CByteSwap4::Filter(Byte *data, UInt32 size)
54 Byte b0 = data[i];
55 Byte b1 = data[i + 1];
|
/external/mesa3d/src/mesa/drivers/windows/gdi/ |
colors.h | 13 #define BGR8(r,g,b) (unsigned)(((BYTE)((b & 0xc0) | ((g & 0xe0)>>2) | \ 21 #define BGR24(r,g,b) (unsigned long)((DWORD)(((BYTE)(b)| \ 22 ((WORD)((BYTE)(g))<<8))| \ 23 (((DWORD)(BYTE)(r))<<16))) 25 #define BGR32(r,g,b) (unsigned long)((DWORD)(((BYTE)(b)| \ 26 ((WORD)((BYTE)(g))<<8))| \ 27 (((DWORD)(BYTE)(r))<<16)))
|