/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
TypesLengths.java | 36 public static final byte BYTE_ID = 1; 38 public static final byte BOOLEAN_ID = 2; 40 public static final byte INT_ID = 3; 42 public static final byte LONG_ID = 4; 44 public static final byte SHORT_ID = 5; 46 public static final byte FLOAT_ID = 6; 48 public static final byte DOUBLE_ID = 7; 50 public static final byte VOID_ID = 8; 52 public static final byte OBJECT_ID = 9; 54 public static final byte ARRAY_ID = 10 [all...] |
/external/apache-http/src/org/apache/commons/codec/ |
BinaryEncoder.java | 20 * Defines common encoding methods for byte array encoders. 33 * Encodes a byte array and return the encoded data 34 * as a byte array. 38 * @return A byte array containing the encoded data 44 byte[] encode(byte[] pArray) throws EncoderException;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DefiniteLengthInputStream.java | 12 private static final byte[] EMPTY_BYTES = new byte[0]; 65 public int read(byte[] buf, int off, int len) 89 byte[] toByteArray() 97 byte[] bytes = new byte[_remaining];
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
StreamBlockCipher.java | 27 public final byte returnByte(byte in) 32 public int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) 57 protected abstract byte calculateByte(byte b);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
AEADBlockCipher.java | 12 * processed dugin the call to {@link #doFinal(byte[], int)}), or in a streaming mode (where output data is 13 * incrementally produced with each call to {@link #processByte(byte, byte[], int)} or 14 * {@link #processBytes(byte[], int, int, byte[], int)}. 17 * may be output prior to the call to {@link #doFinal(byte[], int)} that results in an authentication 49 * Add a single byte to the associated data check. 52 * @param in the byte to be processed. 54 public void processAADByte(byte in); 60 * @param in the input byte array [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
ISO7816d4Padding.java | 9 * ISO 7814-4 - scheme 2 from ISO 9797-1. The first byte is 0x80, rest is 0x00 40 byte[] in, 45 in [inOff]= (byte) 0x80; 50 in[inOff] = (byte) 0; 60 public int padCount(byte[] in) 70 if (in[count] != (byte)0x80)
|
PKCS7Padding.java | 39 byte[] in, 42 byte code = (byte)(in.length - inOff); 56 public int padCount(byte[] in) 60 byte countAsbyte = (byte)count;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
KeyUtil.java | 11 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, ASN1Encodable keyData) 23 public static byte[] getEncodedSubjectPublicKeyInfo(AlgorithmIdentifier algId, byte[] keyData) 35 public static byte[] getEncodedSubjectPublicKeyInfo(SubjectPublicKeyInfo info) 47 public static byte[] getEncodedPrivateKeyInfo(AlgorithmIdentifier algId, ASN1Encodable privKey) 61 public static byte[] getEncodedPrivateKeyInfo(PrivateKeyInfo info)
|
/external/lzma/CPP/7zip/Compress/ |
BranchCoder.h | 17 virtual UInt32 SubFilter(Byte *data, UInt32 size) = 0;
21 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size);
25 { public: UInt32 SubFilter(Byte *data, UInt32 size); };
28 { public: UInt32 SubFilter(Byte *data, UInt32 size); };
31 { public: UInt32 SubFilter(Byte *data, UInt32 size); ADD_INIT};
34 { public: UInt32 SubFilter(Byte *data, UInt32 size); ADD_INIT};
|
/external/lzma/CPP/7zip/Crypto/ |
7zAes.h | 23 Byte Salt[16];
25 Byte Key[kKeySize];
56 Byte _iv[16];
77 STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size);
79 STDMETHOD(CryptoSetPassword)(const Byte *data, UInt32 size);
112 STDMETHOD(SetDecoderProperties2)(const Byte *data, UInt32 size);
|
/external/lzma/CS/7zip/Common/ |
CRC.cs | 29 public void UpdateByte(byte b)
31 _value = Table[(((byte)(_value)) ^ b)] ^ (_value >> 8);
34 public void Update(byte[] data, uint offset, uint size)
37 _value = Table[(((byte)(_value)) ^ data[offset + i])] ^ (_value >> 8);
42 static uint CalculateDigest(byte[] data, uint offset, uint size)
50 static bool VerifyDigest(uint digest, byte[] data, uint offset, uint size)
|
/external/oauth/core/src/main/java/net/oauth/client/ |
ExcerptInputStream.java | 17 public static final byte[] ELLIPSIS = " ...".getBytes(); 29 byte[] tmp = new byte[total]; 37 private byte[] excerpt = new byte[LIMIT + ELLIPSIS.length]; 40 public byte[] getExcerpt()
|
/external/okhttp/okio/okio/src/main/java/okio/ |
Base64.java | 29 public static byte[] decode(String in) { 40 byte[] out = new byte[(int) (limit * 6L / 8L)]; 75 word = (word << 6) | (byte) bits; 80 out[outCount++] = (byte) (word >> 16); 81 out[outCount++] = (byte) (word >> 8); 82 out[outCount++] = (byte) word; 88 // We read 1 char followed by "===". But 6 bits is a truncated byte! Fail. 91 // We read 2 chars followed by "==". Emit 1 byte with 8 of those 12 bits. 93 out[outCount++] = (byte) (word >> 16) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSignature.java | 18 private byte[] mSignature; 20 public void __constructor__(byte[] signature) { 25 public byte[] toByteArray() { 26 byte[] bytes = new byte[mSignature.length]; 59 byte[] signature = source.createByteArray();
|
/external/sl4a/Common/src/org/apache/commons/codec/ |
BinaryEncoder.java | 21 * Defines common encoding methods for byte array encoders. 29 * Encodes a byte array and return the encoded data 30 * as a byte array. 34 * @return A byte array containing the encoded data 40 byte[] encode(byte[] pArray) throws EncoderException;
|
/external/valgrind/memcheck/tests/solaris/ |
scalar_frealpathat.stderr.exp | 4 Syscall param frealpathat(fd) contains uninitialised byte(s) 7 Syscall param frealpathat(path) contains uninitialised byte(s) 10 Syscall param frealpathat(buf) contains uninitialised byte(s) 13 Syscall param frealpathat(buflen) contains uninitialised byte(s) 16 Syscall param frealpathat(path) points to unaddressable byte(s) 20 Syscall param frealpathat(buf) points to unaddressable byte(s)
|
scalar_lwp_sigqueue.stderr.exp | 4 Syscall param lwp_sigqueue(target_lwp) contains uninitialised byte(s) 7 Syscall param lwp_sigqueue(signal) contains uninitialised byte(s) 10 Syscall param lwp_sigqueue(value) contains uninitialised byte(s) 13 Syscall param lwp_sigqueue(si_code) contains uninitialised byte(s) 16 Syscall param lwp_sigqueue(timeout) contains uninitialised byte(s) 19 Syscall param lwp_sigqueue(timeout) points to unaddressable byte(s)
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsRawData.java | 24 * A parcelable holder class of byte[] for ISms aidl implementation 27 byte[] data; 35 byte[] data = new byte[size]; 46 public SmsRawData(byte[] data) { 50 public byte[] getBytes() {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
ByteArrayRingBufferTest.java | 45 final byte[] data = {0}; 54 final byte[] data1 = {0}; 55 final byte[] data2 = {1}; 66 final byte[] data1 = {1, 2, 3, 4, 5}; 67 final byte[] data2 = {6, 7, 8, 9, 10}; 77 final byte[] data = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; 85 final byte[] data = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}; 94 final byte[] data1 = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; 97 final byte[] data2 = {11}; 106 final byte[] data1 = {1, 2, 3, 4, 5} [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
Byte3.java | 31 public Byte3(byte initX, byte initY, byte initZ) { 37 public byte x; 38 public byte y; 39 public byte z;
|
/hardware/bsp/intel/peripheral/libupm/src/ |
java_buffer.i | 3 %typemap(jtype) (uint8_t *buffer, int len) "byte[]"; 4 %typemap(jstype) (uint8_t *buffer, int len) "byte[]"; 18 %typemap(jtype) (uint8_t *pkt, int len) "byte[]"; 19 %typemap(jstype) (uint8_t *pkt, int len) "byte[]"; 33 %typemap(jtype) (char *buffer, int len) "byte[]"; 34 %typemap(jstype) (char *buffer, int len) "byte[]";
|
/libcore/luni/src/main/java/org/apache/harmony/security/ |
PrivateKeyImpl.java | 35 private byte[] encoding; 49 public byte[] getEncoded() { 51 byte[] toReturn = new byte[encoding.length]; 61 public void setEncoding(byte[] encoding) { 62 this.encoding = new byte[encoding.length];
|
PublicKeyImpl.java | 35 private byte[] encoding; 55 public byte[] getEncoded() { 56 byte[] result = new byte[encoding.length]; 67 public void setEncoding(byte[] encoding) { 68 this.encoding = new byte[encoding.length];
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherOutputStream1Test.java | 65 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 70 byte[] result = tos.toByteArray(); 81 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 88 byte[] result = tos.toByteArray(); 95 * write(byte[] b) method testing. Tests that method writes correct values 99 byte[] data = new byte[] { -127, -100, -50, -10, -1, 0, 1, 10, 50, 127 }; 104 byte[] result = tos.toByteArray() [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/util/ |
NumberUtilsTest.java | 29 assertEquals(0, NumberUtils.unsignedByteToInt((byte) 0)); 30 assertEquals(19, NumberUtils.unsignedByteToInt((byte) 19)); 31 assertEquals(154, NumberUtils.unsignedByteToInt((byte) 154)); 36 assertEquals(1, NumberUtils.littleEndianByteArrayToInt(new byte[] { 38 assertEquals(513, NumberUtils.littleEndianByteArrayToInt(new byte[] { 40 assertEquals(197121, NumberUtils.littleEndianByteArrayToInt(new byte[] {
|