/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...] |
/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);
|
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);
|
/frameworks/ex/framesequence/jni/ |
Stream.h | 76 JavaInputStream(JNIEnv* env, jobject inputStream, jbyteArray byteArray) : 79 mByteArray(byteArray), 80 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); 78 jobject istream, jbyteArray byteArray) { 79 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);
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
DirectReadWriteByteBuffer.java | 32 DirectReadWriteByteBuffer buf = new DirectReadWriteByteBuffer(other.byteArray.buffer(), other.capacity(), 33 other.byteArray.byteOffset()); 75 byteArray.set(i, byteArray.get(position + i)); 108 byteArray.set(position++, b); 116 byteArray.set(index, b); 138 byteArray.set(i + position, src[off + i]); 215 DirectReadWriteByteBuffer slice = new DirectReadWriteByteBuffer(byteArray.buffer(), remaining(), 216 byteArray.byteOffset() + position);
|
DirectReadOnlyByteBuffer.java | 32 DirectReadOnlyByteBuffer buf = new DirectReadOnlyByteBuffer(other.byteArray.buffer(), other.capacity(), 33 other.byteArray.byteOffset()); 142 DirectReadOnlyByteBuffer slice = new DirectReadOnlyByteBuffer(byteArray.buffer(), remaining(), byteArray.byteOffset()
|
/external/pdfium/xfa/src/fxbarcode/common/ |
BC_CommonByteArray.h | 18 CBC_CommonByteArray(uint8_t* byteArray, int32_t size);
|
/external/v8/src/regexp/ |
interpreter-irregexp.h | 19 Handle<ByteArray> code,
|
/system/connectivity/shill/ |
property_accessor_unittest.cc | 282 ByteArray byteArray; 285 ByteArray orig_byteArray = byteArray; 286 ByteArrayAccessor accessor(new PropertyAccessor<ByteArray>(&byteArray)); 287 EXPECT_EQ(byteArray, accessor->Get(&error)); 289 ByteArray expected_byteArray({ 0x01, 0x7F, 0x80, 0xFF }); 303 byteArray = ByteArray({ 0xFF, 0x7F, 0x80, 0x00 }) [all...] |
/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...] |
/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/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);
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/ |
ByteArray.java | 26 public class ByteArray { 32 public ByteArray () { 37 public ByteArray (int capacity) { 44 public ByteArray (boolean ordered, int capacity) { 52 public ByteArray (ByteArray array) { 61 public ByteArray (byte[] array) { 69 public ByteArray (boolean ordered, byte[] array, int startIndex, int count) { 81 public void addAll (ByteArray array) { 85 public void addAll (ByteArray array, int offset, int length) [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
font_data.cc | 50 FontData::FontData(ByteArray* ba) { 68 void FontData::Init(ByteArray* ba) {
|