/external/chromium_org/third_party/tlslite/tlslite/utils/ |
pycrypto_tripledes.py | 25 return bytearray(self.context.encrypt(plaintext)) 29 return bytearray(self.context.decrypt(ciphertext)
|
rsakey.py | 56 @type bytes: str or L{bytearray} of unsigned bytes 59 @rtype: L{bytearray} of unsigned bytes. 62 hashBytes = SHA1(bytearray(bytes)) 72 @type sigBytes: L{bytearray} of unsigned bytes 75 @type bytes: str or L{bytearray} of unsigned bytes 81 hashBytes = SHA1(bytearray(bytes)) 96 @type bytes: L{bytearray} of unsigned bytes 99 @rtype: L{bytearray} of unsigned bytes. 117 @type sigBytes: L{bytearray} of unsigned bytes 120 @type bytes: L{bytearray} of unsigned byte [all...] |
openssl_tripledes.py | 33 return bytearray(ciphertext) 47 return bytearray(plaintext
|
pycrypto_rsakey.py | 30 c = bytesToNumber(bytearray(self.rsa.decrypt((s,)))) 35 m = bytesToNumber(bytearray(self.rsa.encrypt(s, None)[0]))
|
/external/sfntly/cpp/src/test/ |
byte_array_test.cc | 29 void FillTestByteArray(ByteArray* ba, int32_t size) { 35 void ReadByteArrayWithBuffer(ByteArray* ba, ByteVector* buffer, ByteVector* b) { 46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, 59 bool ReadComparison(ByteArray* ba1, ByteArray* ba2) { 93 bool CopyTest(ByteArray* ba) { 107 bool ByteArrayTester(ByteArray* ba) { 143 TEST(ByteArray, All) {
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSProcessable.java | 7 * Use CMSTypedData instead of this. See CMSProcessableFile/ByteArray for defaults.
|
/external/chromium_org/v8/src/ |
interpreter-irregexp.h | 17 Handle<ByteArray> code,
|
/external/chromium_org/third_party/skia/src/utils/ |
SkBitmapHasher.cpp | 27 * Return the first 8 bytes of a bytearray, encoded as a little-endian uint64. 29 static inline uint64_t first_8_bytes_as_uint64(const uint8_t *bytearray) { 30 return SkEndian_SwapLE64(*(reinterpret_cast<const uint64_t *>(bytearray)));
|
/external/skia/src/utils/ |
SkBitmapHasher.cpp | 27 * Return the first 8 bytes of a bytearray, encoded as a little-endian uint64. 29 static inline uint64_t first_8_bytes_as_uint64(const uint8_t *bytearray) { 30 return SkEndian_SwapLE64(*(reinterpret_cast<const uint64_t *>(bytearray)));
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSOutgoing.java | 163 byte[] byteArray = record.toByteArray(); 165 writeShort(byteArray.length); 166 write(byteArray, 0, byteArray.length); 245 byte[] byteArray = record.toByteArray(); 246 if (byteArray.length < this.availableSpace()) { 248 _questionsBytes.write(byteArray, 0, byteArray.length); 279 byte[] byteArray = record.toByteArray(); 280 if (byteArray.length < this.availableSpace()) [all...] |
/frameworks/base/media/jni/ |
android_media_MediaMuxer.cpp | 87 jbyteArray byteArray = NULL; 91 byteArray = 94 if (byteArray == NULL) { 96 "byteArray is null"); 101 dst = env->GetByteArrayElements(byteArray, &isCopy); 103 dstSize = env->GetArrayLength(byteArray); 111 if (byteArray != NULL) { 112 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0); 123 if (byteArray != NULL) { 124 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_base64.py | 23 eq(base64.encodestring(bytearray('abc')), 'YWJj\n') 39 eq(base64.decodestring(bytearray("YWJj\n")), "abc") 83 eq(base64.b64encode(bytearray('abcd')), 'YWJjZA==') 85 '\xd3V\xbeo\xf7\x1d', altchars=bytearray('*$')) 99 eq(base64.standard_b64encode(bytearray('abcd')), 'YWJjZA==') 103 eq(base64.urlsafe_b64encode(bytearray('\xd3V\xbeo\xf7\x1d')), '01a-b_cd') 122 eq(base64.b64decode(bytearray("YWJj")), "abc") 136 eq(base64.standard_b64decode(bytearray("YWJj")), "abc") 140 eq(base64.urlsafe_b64decode(bytearray('01a-b_cd')), '\xd3V\xbeo\xf7\x1d') 155 eq(base64.b32encode(bytearray('abcd')), 'MFRGGZA=' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_base64.py | 23 eq(base64.encodestring(bytearray('abc')), 'YWJj\n') 39 eq(base64.decodestring(bytearray("YWJj\n")), "abc") 83 eq(base64.b64encode(bytearray('abcd')), 'YWJjZA==') 85 '\xd3V\xbeo\xf7\x1d', altchars=bytearray('*$')) 99 eq(base64.standard_b64encode(bytearray('abcd')), 'YWJjZA==') 103 eq(base64.urlsafe_b64encode(bytearray('\xd3V\xbeo\xf7\x1d')), '01a-b_cd') 122 eq(base64.b64decode(bytearray("YWJj")), "abc") 136 eq(base64.standard_b64decode(bytearray("YWJj")), "abc") 140 eq(base64.urlsafe_b64decode(bytearray('01a-b_cd')), '\xd3V\xbeo\xf7\x1d') 155 eq(base64.b32encode(bytearray('abcd')), 'MFRGGZA=' [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
DeflaterOutputStreamTest.java | 68 byte byteArray[] = { 1, 3, 4, 7, 8 }; 71 deflate.setInput(byteArray); 87 byte byteArray[] = { 1, 3, 4, 7, 8 }; 105 dos.write(byteArray); 136 byte byteArray[] = { 1, 3, 4, 7, 8, 3, 6 }; 169 dos.write(byteArray); 189 byte byteArray[] = { 1, 3, 4, 6 }; 190 dos.write(byteArray); 243 byte byteArray[] = { 1, 3, 4, 6 }; 244 dos.write(byteArray); [all...] |
InflaterTest.java | 42 byte byteArray[] = { 5, 2, 3, 7, 8 }; 46 inflate.setInput(byteArray); 52 inflate.setInput(byteArray); 67 byte byteArray[] = { 1, 3, 4, 7, 8, 'e', 'r', 't', 'y', '5' }; 84 for (int i = 0; i < byteArray.length; i++) { 87 outPutInf[i], byteArray[i]); 90 0, outPutInf[byteArray.length]); 118 byte byteArray[] = { 1, 3, 5, 6, 7 }; 122 inflate.setInput(byteArray); 135 byte byteArray[] = { 1, 3, 4, 7, 8 } [all...] |
CheckedOutputStreamTest.java | 55 byte byteArray[] = { 1, 2, 3, 'e', 'r', 't', 'g', 3, 6 }; 61 chkOut.write(byteArray[4]); 68 chkOut.write(byteArray, 5, 4); 88 byte byteArray[] = { 1, 2, 3, 'e', 'r', 't', 'g', 3, 6 }; 94 for (byte element : byteArray) { 113 byte byteArray[] = { 1, 2, 3, 'e', 'r', 't', 'g', 3, 6 }; 119 chkOut.write(byteArray, 4, 5); 125 chkOut.write(byteArray, 4, 6);
|
/art/test/011-array-copy/src/ |
Main.java | 77 byte[] byteArray = new byte[ARRAY_SIZE]; 82 initByteArray(byteArray); 87 System.arraycopy(byteArray, srcPos, byteArray, dstPos, length); 93 if (intArray[i] != byteArray[i]) { 95 Arrays.toString(byteArray));
|
/frameworks/ex/framesequence/jni/ |
Stream.h | 68 JavaInputStream(JNIEnv* env, jobject inputStream, jbyteArray byteArray) : 71 mByteArray(byteArray), 72 mByteArrayLength(env->GetArrayLength(byteArray)) {}
|
FrameSequenceJNI.cpp | 49 jbyteArray byteArray, jint offset, jint length) { 50 jbyte* bytes = reinterpret_cast<jbyte*>(env->GetPrimitiveArrayCritical(byteArray, NULL)); 58 env->ReleasePrimitiveArrayCritical(byteArray, bytes, 0); 63 jobject istream, jbyteArray byteArray) { 64 JavaInputStream stream(env, istream, byteArray);
|
/dalvik/dx/src/com/android/dx/cf/iface/ |
ParseObserver.java | 19 import com.android.dx.util.ByteArray; 43 public void startParsingMember(ByteArray bytes, int offset, String name, 56 public void endParsingMember(ByteArray bytes, int offset, String name, 67 public void parsed(ByteArray bytes, int offset, int len, String human);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
DataInputStreamTest.java | 162 byte[] byteArray = new byte[fileString.length()]; 165 is.readFully(byteArray, -1, -1); 172 is.readFully(byteArray, 0, -1); 179 is.readFully(byteArray, 1, -1); 185 is.readFully(byteArray, -1, 0); 186 is.readFully(byteArray, 0, 0); 187 is.readFully(byteArray, 1, 0); 190 is.readFully(byteArray, -1, 1); 196 is.readFully(byteArray, 0, 1); 197 is.readFully(byteArray, 1, 1) [all...] |
/libcore/luni/src/main/native/ |
java_util_zip_Adler32.cpp | 26 static jlong Adler32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { 27 ScopedByteArrayRO bytes(env, byteArray);
|
java_util_zip_CRC32.cpp | 26 static jlong CRC32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { 27 ScopedByteArrayRO bytes(env, byteArray);
|
/external/chromium_org/third_party/tlslite/tlslite/ |
x509.py | 18 @type bytes: L{bytearray} of unsigned bytes 24 @type subject: L{bytearray} of unsigned bytes 29 self.bytes = bytearray(0) 49 @type bytes: str or L{bytearray} of unsigned bytes 53 self.bytes = bytearray(bytes)
|
/external/javassist/src/main/javassist/bytecode/ |
StackMap.java | 67 return ByteArray.readU16bit(info, 0); 141 int num = ByteArray.readU16bit(info, 0); 144 int offset = ByteArray.readU16bit(info, pos); 145 int numLoc = ByteArray.readU16bit(info, pos + 2); 147 int numStack = ByteArray.readU16bit(info, pos); 186 int clazz = ByteArray.readU16bit(info, pos + 1); 191 int offsetOfNew = ByteArray.readU16bit(info, pos + 1); 237 int num = ByteArray.readU16bit(info, 0); 238 ByteArray.write16bit(num, dest, 0); 243 ByteArray.write16bit(offset, dest, pos - 4) [all...] |