Searched refs:ByteArray (Results 1 - 25 of 102) sorted by relevance

12345

/external/conscrypt/src/main/java/org/conscrypt/
H A DByteArray.java24 final class ByteArray { class
28 ByteArray(byte[] bytes) { method in class:ByteArray
40 if (!(o instanceof ByteArray)) {
43 ByteArray lhs = (ByteArray) o;
/external/javassist/src/main/javassist/bytecode/
H A DInnerClassesAttribute.java48 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
[all...]
H A DLocalVariableAttribute.java41 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
[all...]
H A DStackMap.java67 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
[all...]
H A DExceptionsAttribute.java90 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]),
H A DCodeIterator.java125 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
[all...]
H A DLineNumberAttribute.java46 return ByteArray.readU16bit(info, 0);
57 return ByteArray.readU16bit(info, i * 4 + 2);
68 return ByteArray.readU16bit(info, i * 4 + 4);
176 int pc = ByteArray.readU16bit(info, pos);
178 ByteArray.write16bit(pc + gapLength, info, pos);
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dgrowable_memory_byte_array.h26 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); }
H A Dmemory_byte_array.h24 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); }
H A Dbyte_array.cc25 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
181 ByteArray::ByteArray(int32_t filled_length, function in class:sfntly::ByteArray
187 ByteArray::ByteArray(int32_t filled_length, int32_t storage_length) { function in class:sfntly::ByteArray
[all...]
H A Dbyte_array.h30 class ByteArray : virtual public RefCount { class in namespace:sfntly
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* arra
[all...]
H A Dfont_data.cc50 FontData::FontData(ByteArray* ba) {
68 void FontData::Init(ByteArray* ba) {
H A Dfont_data.h93 explicit FontData(ByteArray* ba);
107 void Init(ByteArray* ba);
/external/sfntly/cpp/src/sfntly/data/
H A Dgrowable_memory_byte_array.h26 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); }
H A Dmemory_byte_array.h24 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); }
H A Dbyte_array.cc25 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
181 ByteArray::ByteArray(int32_t filled_length, function in class:sfntly::ByteArray
187 ByteArray::ByteArray(int32_t filled_length, int32_t storage_length) { function in class:sfntly::ByteArray
[all...]
H A Dbyte_array.h30 class ByteArray : virtual public RefCount { class in namespace:sfntly
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* arra
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dtest_utils.h43 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);
H A Dbyte_array_test.cc29 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/
H A Dtest_utils.h43 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);
H A Dbyte_array_test.cc29 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/chromium_org/v8/src/
H A Dinterpreter-irregexp.h17 Handle<ByteArray> code,
/external/llvm/tools/llvm-mc/
H A DDisassembler.cpp127 static bool ByteArrayFromString(ByteArrayTy &ByteArray, argument
146 ByteArray.clear();
150 ByteArray.push_back(std::make_pair((unsigned char)ByteVal, Value.data()));
193 ByteArrayTy ByteArray; local
198 ByteArray.clear();
221 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM);
223 if (!ByteArray.empty())
224 ErrorOccurred |= PrintInsts(*DisAsm, ByteArray, SM, Out, Streamer,
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DOutput.java91 * Writes a {@link ByteArray} to this instance.
95 public void write(ByteArray bytes);
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DStringDataItem.java21 import com.android.dx.util.ByteArray;
72 ByteArray bytes = value.getBytes();

Completed in 498 milliseconds

12345