HomeSort by relevance Sort by last modified time
    Searched full:bytearray (Results 26 - 50 of 621) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/av/drm/mediacas/plugins/mock/
MockSessionLibrary.cpp 48 uint8_t *byteArray = (uint8_t *) &mNextSessionId;
49 sessionId->push_back(byteArray[3]);
50 sessionId->push_back(byteArray[2]);
51 sessionId->push_back(byteArray[1]);
52 sessionId->push_back(byteArray[0]);
  /art/test/020-string/src/
Main.java 98 byte[] byteArray = "byteArray".getBytes();
108 String s2 = new String(byteArray);
109 String s3 = new String(byteArray, 1);
110 String s4 = new String(byteArray, 0, 4);
111 String s5 = new String(byteArray, 2, 4, 5);
114 String s6 = new String(byteArray, 2, 4, charsetName);
115 String s7 = new String(byteArray, charsetName);
119 String s8 = new String(byteArray, 3, 3, charset);
120 String s9 = new String(byteArray, charset)
    [all...]
  /prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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/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...]
  /external/swiftshader/third_party/LLVM/tools/llvm-mc/
Disassembler.cpp 95 static bool ByteArrayFromString(ByteArrayTy &ByteArray,
131 ByteArray.clear();
135 ByteArray.push_back(std::make_pair((unsigned char)ByteVal, Value.data()));
182 ByteArrayTy ByteArray;
185 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM);
187 if (!ByteArray.empty())
188 ErrorOccurred |= PrintInsts(*DisAsm, *IP, ByteArray, SM, Out);
194 ByteArrayTy &ByteArray = *((ByteArrayTy*)Arg);
196 if (A >= ByteArray.size())
199 *B = ByteArray[A].first
    [all...]
  /frameworks/ex/framesequence/jni/
Stream.h 76 JavaInputStream(JNIEnv* env, jobject inputStream, jbyteArray byteArray) :
79 mByteArray(byteArray),
80 mByteArrayLength(env->GetArrayLength(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);
  /external/v8/src/regexp/
interpreter-irregexp.h 20 Handle<ByteArray> code,
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DataInputStreamTest.java 163 byte[] byteArray = new byte[fileString.length()];
166 is.readFully(byteArray, -1, -1);
173 is.readFully(byteArray, 0, -1);
180 is.readFully(byteArray, 1, -1);
186 is.readFully(byteArray, -1, 0);
187 is.readFully(byteArray, 0, 0);
188 is.readFully(byteArray, 1, 0);
191 is.readFully(byteArray, -1, 1);
197 is.readFully(byteArray, 0, 1);
198 is.readFully(byteArray, 1, 1)
    [all...]
  /external/llvm/tools/llvm-mc/
Disassembler.cpp 101 static bool ByteArrayFromString(ByteArrayTy &ByteArray,
120 ByteArray.first.clear();
121 ByteArray.second.clear();
125 ByteArray.first.push_back(ByteVal);
126 ByteArray.second.push_back(Value.data());
169 ByteArrayTy ByteArray;
174 ByteArray.first.clear();
175 ByteArray.second.clear();
198 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM);
200 if (!ByteArray.first.empty()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
InflaterTest.java 49 byte byteArray[] = { 5, 2, 3, 7, 8 };
53 inflate.setInput(byteArray);
59 inflate.setInput(byteArray);
74 byte byteArray[] = { 1, 3, 4, 7, 8, 'e', 'r', 't', 'y', '5' };
92 for (int i = 0; i < byteArray.length; i++) {
95 outPutInf[i], byteArray[i]);
98 0, outPutInf[byteArray.length]);
127 byte byteArray[] = { 1, 3, 5, 6, 7 };
131 inflate.setInput(byteArray);
145 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);
Adler32Test.java 108 byte byteArray[] = { 1, 2 };
110 adl.update(byteArray);
131 byte[] byteArray = { 1, 2, 3 };
133 int off = 2;// accessing the 2nd element of byteArray
137 adl.update(byteArray, off, len);
145 adl.update(byteArray, off, lenError);
153 adl.update(byteArray, offError, len);
GZIPOutputStreamTest.java 96 byte byteArray[] = { 3, 5, 2, 'r', 'g', 'e', 'f', 'd', 'e', 'w' };
105 outGZIP.write(byteArray, 0, 1);
124 byte byteArray[] = { 3, 5, 2, 'r', 'g', 'e', 'f', 'd', 'e', 'w' };
132 outGZIP.write(byteArray, 0, 1);
149 byte byteArray[] = { 3, 5, 2, 'r', 'g', 'e', 'f', 'd', 'e', 'w' };
154 outGZIP.write(byteArray, 0, 10);
163 outGZIP.write(byteArray, 0, 11);
  /external/flatbuffers/python/flatbuffers/
compat.py 28 binary_types = (bytes,bytearray)
35 binary_types = (str,bytearray)
  /libcore/luni/src/test/java/libcore/sun/security/x509/
KeyUsageExtensionTest.java 49 Function<byte[], Object> objectCreator = byteArray -> {
51 return new KeyUsageExtension(byteArray);
ReasonFlagsTest.java 45 Function<byte[], Object> objectCreator = byteArray -> new ReasonFlags(byteArray);
  /frameworks/base/media/jni/
android_media_MediaMuxer.cpp 90 jbyteArray byteArray = NULL;
94 byteArray =
97 if (byteArray == NULL) {
99 "byteArray is null");
104 dst = env->GetByteArrayElements(byteArray, &isCopy);
106 dstSize = env->GetArrayLength(byteArray);
114 if (byteArray != NULL) {
115 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0);
126 if (byteArray != NULL) {
127 env->ReleaseByteArrayElements(byteArray, (jbyte *)dst, 0)
    [all...]
  /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...]
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...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
NativeUtil.java 71 byte[] byteArray = new byte[byteArrayList.size()];
74 byteArray[i] = b;
77 return new String(byteArray, StandardCharsets.UTF_8);
96 * @return the string decoded from UTF_8 byte values in byteArray.
99 public static String stringFromByteArray(byte[] byteArray) {
100 if (byteArray == null) {
103 return new String(byteArray);
245 byte[] byteArray = byteArrayFromArrayList(bytes);
250 CharBuffer decoded = decoder.decode(ByteBuffer.wrap(byteArray));
255 return hexStringFromByteArray(byteArray);
    [all...]
  /frameworks/base/core/jni/android/graphics/
Movie.cpp 95 jbyteArray byteArray = env->NewByteArray(16*1024);
96 ScopedLocalRef<jbyteArray> scoper(env, byteArray);
97 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray);
115 jbyteArray byteArray,
118 NPE_CHECK_RETURN_ZERO(env, byteArray);
120 int totalLength = env->GetArrayLength(byteArray);
126 AutoJavaByteArray ar(env, byteArray);
  /dalvik/dx/src/com/android/dx/command/dump/
ClassDumper.java 21 import com.android.dx.util.ByteArray;
60 ByteArray ba = new ByteArray(bytes);

Completed in 839 milliseconds

12 3 4 5 6 7 8 91011>>