/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/ |
byte_array.cc | 25 const int32_t ByteArray::COPY_BUFFER_SIZE = 8192; 27 ByteArray::~ByteArray() {} 29 int32_t ByteArray::Length() { return filled_length_; } 30 int32_t ByteArray::Size() { return storage_length_; } 32 int32_t ByteArray::SetFilledLength(int32_t filled_length) { 37 int32_t ByteArray::Get(int32_t index) { 41 int32_t ByteArray::Get(int32_t index, ByteVector* b) { 46 int32_t ByteArray::Get(int32_t index, 58 void ByteArray::Put(int32_t index, byte_t b) [all...] |
growable_memory_byte_array.h | 26 class GrowableMemoryByteArray : public ByteArray, 34 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); } 35 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) { 36 return ByteArray::CopyTo(array, offset, length); 39 ByteArray* array, 42 return ByteArray::CopyTo(dst_offset, array, src_offset, length); 44 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); }
|
memory_byte_array.h | 24 class MemoryByteArray : public ByteArray, public RefCounted<MemoryByteArray> { 46 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); } 47 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) { 48 return ByteArray::CopyTo(array, offset, length); 51 ByteArray* array, 54 return ByteArray::CopyTo(dst_offset, array, src_offset, length); 56 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); }
|
byte_array.h | 30 class ByteArray : virtual public RefCount { 32 virtual ~ByteArray(); 86 // @param index the index into the ByteArray 96 // Fully copies this ByteArray to another ByteArray to the extent that the 98 virtual int32_t CopyTo(ByteArray* array); 100 // Copies a segment of this ByteArray to another ByteArray. 102 // @param offset the offset in this ByteArray to start copying from 105 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
byte_array.cc | 25 const int32_t ByteArray::COPY_BUFFER_SIZE = 8192; 27 ByteArray::~ByteArray() {} 29 int32_t ByteArray::Length() { return filled_length_; } 30 int32_t ByteArray::Size() { return storage_length_; } 32 int32_t ByteArray::SetFilledLength(int32_t filled_length) { 37 int32_t ByteArray::Get(int32_t index) { 41 int32_t ByteArray::Get(int32_t index, ByteVector* b) { 46 int32_t ByteArray::Get(int32_t index, 58 void ByteArray::Put(int32_t index, byte_t b) [all...] |
growable_memory_byte_array.h | 26 class GrowableMemoryByteArray : public ByteArray, 34 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); } 35 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) { 36 return ByteArray::CopyTo(array, offset, length); 39 ByteArray* array, 42 return ByteArray::CopyTo(dst_offset, array, src_offset, length); 44 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); }
|
memory_byte_array.h | 24 class MemoryByteArray : public ByteArray, public RefCounted<MemoryByteArray> { 46 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); } 47 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) { 48 return ByteArray::CopyTo(array, offset, length); 51 ByteArray* array, 54 return ByteArray::CopyTo(dst_offset, array, src_offset, length); 56 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); }
|
byte_array.h | 30 class ByteArray : virtual public RefCount { 32 virtual ~ByteArray(); 86 // @param index the index into the ByteArray 96 // Fully copies this ByteArray to another ByteArray to the extent that the 98 virtual int32_t CopyTo(ByteArray* array); 100 // Copies a segment of this ByteArray to another ByteArray. 102 // @param offset the offset in this ByteArray to start copying from 105 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) [all...] |
/external/javassist/src/main/javassist/bytecode/ |
InnerClassesAttribute.java | 48 ByteArray.write16bit(0, get(), 0); 54 public int tableLength() { return ByteArray.readU16bit(get(), 0); } 60 return ByteArray.readU16bit(get(), nth * 8 + 2); 82 ByteArray.write16bit(index, get(), nth * 8 + 2); 89 return ByteArray.readU16bit(get(), nth * 8 + 4); 111 ByteArray.write16bit(index, get(), nth * 8 + 4); 118 return ByteArray.readU16bit(get(), nth * 8 + 6); 140 ByteArray.write16bit(index, get(), nth * 8 + 6); 147 return ByteArray.readU16bit(get(), nth * 8 + 8); 155 ByteArray.write16bit(flags, get(), nth * 8 + 8) [all...] |
LocalVariableAttribute.java | 41 ByteArray.write16bit(0, info, 0); 57 ByteArray.write16bit(0, info, 0); 83 ByteArray.write16bit(tableLength() + 1, newInfo, 0); 87 ByteArray.write16bit(startPc, newInfo, size); 88 ByteArray.write16bit(length, newInfo, size + 2); 89 ByteArray.write16bit(nameIndex, newInfo, size + 4); 90 ByteArray.write16bit(descriptorIndex, newInfo, size + 6); 91 ByteArray.write16bit(index, newInfo, size + 8); 100 int index = ByteArray.readU16bit(info, pos + 6); 104 ByteArray.write16bit(cp.addUtf8Info(desc), info, pos + 6) [all...] |
/art/compiler/utils/ |
dedupe_set_test.cc | 37 typedef std::vector<uint8_t> ByteArray; 38 DedupeSet<ByteArray, size_t, DedupeHashFunc> deduplicator("test"); 39 ByteArray* array1; 41 ByteArray test1; 50 ByteArray* array2; 52 ByteArray test1; 62 ByteArray* array3; 64 ByteArray test1;
|
/external/conscrypt/src/main/java/org/conscrypt/ |
ByteArray.java | 24 final class ByteArray { 28 ByteArray(byte[] bytes) { 40 if (!(o instanceof ByteArray)) { 43 ByteArray lhs = (ByteArray) o;
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
openssl_rc4.py | 25 return bytearray(m2.rc4_update(self.rc4, plaintext)) 28 return bytearray(self.encrypt(ciphertext))
|
pycrypto_rc4.py | 24 return bytearray(self.context.encrypt(plaintext)) 28 return bytearray(self.context.decrypt(ciphertext)
|
compat.py | 30 b = bytearray(binascii.a2b_hex(bytearray(s, "ascii"))) 37 b = bytearray(binascii.a2b_base64(bytearray(s, "ascii"))) 71 b = bytearray(binascii.a2b_hex(s)) 78 b = bytearray(binascii.a2b_base64(s))
|
pycrypto_aes.py | 25 return bytearray(self.context.encrypt(plaintext)) 29 return bytearray(self.context.decrypt(ciphertext))
|
/packages/apps/OMA-DM/engine/dmlib/tool-src/db_wizard_tool/com/mot/dm/dbtool/ |
ByteArray.java | 3 public class ByteArray { 5 public ByteArray() {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
BufferedOutputStreamTest.java | 168 byte[] byteArray = new byte[10]; 234 bos.write(byteArray, -1, -1); 241 bos.write(byteArray, -1, 0); 248 bos.write(byteArray, -1, 1); 255 bos.write(byteArray, 0, -1); 262 bos.write(byteArray, 0, byteArray.length + 1); 269 bos.write(byteArray, 1, byteArray.length); 276 bos.write(byteArray, -1, byteArray.length) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
DeflaterTest.java | 67 byte byteArray[] = { 1, 3, 4, 7, 8 }; 72 defl.setInput(byteArray); 82 assertEquals(byteArray.length, totalIn); 96 for (int i = 0; i < byteArray.length; i++) { 97 assertEquals(byteArray[i], outPutInf[i]); 100 0, outPutInf[byteArray.length]); 109 byte byteArray[] = { 5, 2, 3, 7, 8 }; 116 defl.setInput(byteArray); 126 assertEquals(byteArray.length, totalIn); 140 for (int i = 0; i < byteArray.length; i++) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_bytes.py | 1 """Unit tests for the bytes and bytearray types. 225 # XXX Shouldn't bytes and bytearray agree on what to raise? 242 for f in bytes, bytearray: 259 b = bytearray([0x1a, 0x2b, 0x30]) 297 self.assertFalse(bytearray().endswith(b"anything")) 523 type2test = bytearray 526 self.assertRaises(TypeError, hash, bytearray()) 538 b = bytearray(20) 557 b = bytearray(b'hello') 560 b = bytearray(b'hello1') # test even number of item [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_bytes.py | 1 """Unit tests for the bytes and bytearray types. 225 # XXX Shouldn't bytes and bytearray agree on what to raise? 242 for f in bytes, bytearray: 259 b = bytearray([0x1a, 0x2b, 0x30]) 297 self.assertFalse(bytearray().endswith(b"anything")) 523 type2test = bytearray 526 self.assertRaises(TypeError, hash, bytearray()) 538 b = bytearray(20) 557 b = bytearray(b'hello') 560 b = bytearray(b'hello1') # test even number of item [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
test_utils.h | 43 static bool Equals(ByteArray* b1, 45 ByteArray* b2, 48 // @param offset1 offset to start comparing the first ByteArray from 49 // @param ba1 the first ByteArray 50 // @param offset2 offset to start comparing the second ByteArray from 51 // @param ba2 the second ByteArray 55 static bool Equals(ByteArray* b1, 57 ByteArray* b2, 84 static int64_t CheckSum(ByteArray* b, int32_t offset, int32_t length);
|
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/sfntly/cpp/src/test/ |
test_utils.h | 43 static bool Equals(ByteArray* b1, 45 ByteArray* b2, 48 // @param offset1 offset to start comparing the first ByteArray from 49 // @param ba1 the first ByteArray 50 // @param offset2 offset to start comparing the second ByteArray from 51 // @param ba2 the second ByteArray 55 static bool Equals(ByteArray* b1, 57 ByteArray* b2, 84 static int64_t CheckSum(ByteArray* b, int32_t offset, int32_t length);
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
RawAttribute.java | 20 import com.android.dx.util.ByteArray; 27 private final ByteArray data; 42 public RawAttribute(String name, ByteArray data, ConstantPool pool) { 54 * Constructs an instance from a sub-array of a {@link ByteArray}. 62 public RawAttribute(String name, ByteArray data, int offset, 72 public ByteArray getData() {
|