HomeSort by relevance Sort by last modified time
    Searched full:bytearray (Results 51 - 75 of 390) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/conscrypt/src/main/java/org/conscrypt/
AbstractSessionContext.java 49 private final Map<ByteArray, SSLSession> sessions
50 = new LinkedHashMap<ByteArray, SSLSession>() {
53 Map.Entry<ByteArray, SSLSession> eldest) {
275 ByteArray key = new ByteArray(sessionId);
291 ByteArray key = new ByteArray(id);
  /frameworks/base/core/jni/android/graphics/
Movie.cpp 98 jbyteArray byteArray = env->NewByteArray(16*1024);
99 ScopedLocalRef<jbyteArray> scoper(env, byteArray);
100 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray);
118 jbyteArray byteArray,
121 NPE_CHECK_RETURN_ZERO(env, byteArray);
123 int totalLength = env->GetArrayLength(byteArray);
129 AutoJavaByteArray ar(env, byteArray);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
Adler32Test.java 107 byte byteArray[] = { 1, 2 };
109 adl.update(byteArray);
130 byte[] byteArray = { 1, 2, 3 };
132 int off = 2;// accessing the 2nd element of byteArray
136 adl.update(byteArray, off, len);
144 adl.update(byteArray, off, lenError);
152 adl.update(byteArray, offError, len);
CRC32Test.java 123 byte byteArray[] = { 1, 2 };
125 crc.update(byteArray);
147 byte[] byteArray = { 1, 2, 3 };
149 int off = 2;// accessing the 2nd element of byteArray
153 crc.update(byteArray, off, len);
161 crc.update(byteArray, off, lenError);
169 crc.update(byteArray, offError, len);
GZIPOutputStreamTest.java 90 byte byteArray[] = { 3, 5, 2, 'r', 'g', 'e', 'f', 'd', 'e', 'w' };
99 outGZIP.write(byteArray, 0, 1);
118 byte byteArray[] = { 3, 5, 2, 'r', 'g', 'e', 'f', 'd', 'e', 'w' };
126 outGZIP.write(byteArray, 0, 1);
143 byte byteArray[] = { 3, 5, 2, 'r', 'g', 'e', 'f', 'd', 'e', 'w' };
148 outGZIP.write(byteArray, 0, 10);
157 outGZIP.write(byteArray, 0, 11);
  /dalvik/dx/src/com/android/dx/command/dump/
ClassDumper.java 21 import com.android.dx.util.ByteArray;
60 ByteArray ba = new ByteArray(bytes);
DotDumper.java 33 import com.android.dx.util.ByteArray;
63 ByteArray ba = new ByteArray(bytes);
93 public void parsed(ByteArray bytes, int offset, int len, String human) {
98 public void startParsingMember(ByteArray bytes, int offset, String name,
103 public void endParsingMember(ByteArray bytes, int offset, String name,
  /external/chromium_org/third_party/sqlite/src/test/
types3.test 58 } {bytearray blob}
63 } {bytearray text}
71 } bytearray
  /external/chromium_org/third_party/tlslite/patches/
pycrypto_python2.patch 29 """Convert an integer into a bytearray, zero-pad to howManyBytes.
41 + c = bytesToNumber(bytearray(self.rsa.decrypt((s,))))
48 + m = bytesToNumber(bytearray(self.rsa.encrypt(s, None)[0]))
ssl3_padding.patch 17 paddingBytes = bytearray([paddingLength] * (paddingLength+1))
  /external/javassist/src/main/javassist/bytecode/
CodeIterator.java 125 return ByteArray.readU16bit(bytecode, index);
132 return ByteArray.readS16bit(bytecode, index);
139 ByteArray.write16bit(value, bytecode, index);
146 return ByteArray.read32bit(bytecode, index);
153 ByteArray.write32bit(value, bytecode, index);
279 int mref = ByteArray.readU16bit(bytecode, index + 1);
758 int npairs = ByteArray.read32bit(code, index2);
762 int low = ByteArray.read32bit(code, index2);
763 int high = ByteArray.read32bit(code, index2 + 4);
876 ByteArray.write16bit(offset, newcode, j + 1)
    [all...]
ExceptionsAttribute.java 90 int index = ByteArray.readU16bit(src, i);
91 ByteArray.write16bit(srcCp.copy(index, destCp, classnames),
140 ByteArray.write16bit(n, blist, 0);
142 ByteArray.write16bit(elist[i], blist, i * 2 + 2);
153 ByteArray.write16bit(n, blist, 0);
155 ByteArray.write16bit(constPool.addClassInfo(elist[i]),
  /external/chromium_org/third_party/tlslite/tlslite/utils/
cryptomath.py 56 b = bytearray(os.urandom(howMany))
70 return bytearray(hashlib.md5(compat26Str(b)).digest())
73 return bytearray(hashlib.sha1(compat26Str(b)).digest())
78 return bytearray(hmac.new(k, b, hashlib.md5).digest())
83 return bytearray(hmac.new(k, b, hashlib.sha1).digest())
102 """Convert an integer into a bytearray, zero-pad to howManyBytes.
104 The returned bytearray may be smaller than howManyBytes, but will
105 not be larger. The returned bytearray will contain a big-endian
110 b = bytearray(howManyBytes)
119 b = bytearray(mpi[4:]
    [all...]
openssl_aes.py 38 return bytearray(ciphertext)
52 return bytearray(plaintext)
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
font_data.cc 50 FontData::FontData(ByteArray* ba) {
68 void FontData::Init(ByteArray* ba) {
memory_byte_array.cc 24 : ByteArray(0, length), b_(NULL), allocated_(true) {
28 : ByteArray(filled_length, filled_length), b_(b), allocated_(false) {
  /external/lldb/test/python_api/disassemble-raw-data/
TestDisassemble_VST1_64.py 27 raw_bytes = bytearray([0xf0, 0xb5, 0x03, 0xaf,
46 raw_bytes = bytearray([0x04, 0xf9, 0xed, 0x82])
  /external/llvm/tools/llvm-mc/
Disassembler.cpp 127 static bool ByteArrayFromString(ByteArrayTy &ByteArray,
146 ByteArray.clear();
150 ByteArray.push_back(std::make_pair((unsigned char)ByteVal, Value.data()));
193 ByteArrayTy ByteArray;
198 ByteArray.clear();
221 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM);
223 if (!ByteArray.empty())
224 ErrorOccurred |= PrintInsts(*DisAsm, ByteArray, SM, Out, Streamer,
  /external/sfntly/cpp/src/sfntly/data/
font_data.cc 50 FontData::FontData(ByteArray* ba) {
68 void FontData::Init(ByteArray* ba) {
memory_byte_array.cc 24 : ByteArray(0, length), b_(NULL), allocated_(true) {
28 : ByteArray(filled_length, filled_length), b_(b), allocated_(false) {
  /cts/tools/cfassembler/src/dxconvext/
ClassFileParser.java 24 import com.android.dx.util.ByteArray;
132 public void startParsingMember(ByteArray bytes, int offset,
134 // ByteArray ba = bytes.slice(offset, bytes.size());
152 public void endParsingMember(ByteArray bytes, int offset,
154 ByteArray ba = bytes.slice(offset, bytes.size());
170 public void parsed(ByteArray bytes, int offset, int len,
176 ByteArray ba = bytes.slice(offset, offset + len);
188 private void check(ByteArray ba) {
203 private String dumpBytes(ByteArray ba) {
216 private String dumpReadableString(ByteArray ba)
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldDataInputStreamTest.java 212 byte[] byteArray = new byte[testLength];
215 is.readFully(byteArray, 0, -1);
222 is.readFully(byteArray, 0, byteArray.length + 1);
229 is.readFully(byteArray, 1, byteArray.length);
236 is.readFully(byteArray, -1, byteArray.length);
252 is.readFully(byteArray, 0, 1);
  /external/chromium_org/third_party/WebKit/Source/core/html/
ImageData.cpp 49 PassRefPtrWillBeRawPtr<ImageData> ImageData::create(const IntSize& size, PassRefPtr<Uint8ClampedArray> byteArray)
58 || static_cast<unsigned>(dataSize.unsafeGet()) > byteArray->length())
61 return adoptRefWillBeNoop(new ImageData(size, byteArray));
134 ImageData::ImageData(const IntSize& size, PassRefPtr<Uint8ClampedArray> byteArray)
136 , m_data(byteArray)
  /external/chromium_org/third_party/tlslite/tlslite/
mathtls.py 24 bytes = bytearray(length)
54 bytes = bytearray(length)
57 A = bytearray([ord('A')+x] * (x+1)) # 'A', 'BB', 'CCC', etc..
84 innerHashResult = SHA1(username + bytearray(b":") + password)
145 return bytearray(ohash2.digest())
messages.py 106 self.random = bytearray(32)
107 self.session_id = bytearray(0)
114 self.server_name = bytearray(0)
129 self.srp_username = bytearray(srpUsername, "utf-8")
133 self.server_name = bytearray(serverName, "utf-8")
147 self.random = bytearray(zeroBytes) + self.random
260 self.random = bytearray(32)
261 self.session_id = bytearray(0)
325 b = bytearray()
329 b += bytearray( [len(e)] ) + bytearray(e
    [all...]

Completed in 4286 milliseconds

1 23 4 5 6 7 8 91011>>