Home
last modified time | relevance | path

Searched refs:ByteArray (Results 1 – 25 of 97) sorted by relevance

1234

/external/javassist/src/main/javassist/bytecode/
DLocalVariableAttribute.java41 ByteArray.write16bit(0, info, 0); in LocalVariableAttribute()
57 ByteArray.write16bit(0, info, 0); in LocalVariableAttribute()
83 ByteArray.write16bit(tableLength() + 1, newInfo, 0); in addEntry()
87 ByteArray.write16bit(startPc, newInfo, size); in addEntry()
88 ByteArray.write16bit(length, newInfo, size + 2); in addEntry()
89 ByteArray.write16bit(nameIndex, newInfo, size + 4); in addEntry()
90 ByteArray.write16bit(descriptorIndex, newInfo, size + 6); in addEntry()
91 ByteArray.write16bit(index, newInfo, size + 8); in addEntry()
100 int index = ByteArray.readU16bit(info, pos + 6); in renameClass()
104 ByteArray.write16bit(cp.addUtf8Info(desc), info, pos + 6); in renameClass()
[all …]
DInnerClassesAttribute.java48 ByteArray.write16bit(0, get(), 0); in InnerClassesAttribute()
54 public int tableLength() { return ByteArray.readU16bit(get(), 0); } in tableLength()
60 return ByteArray.readU16bit(get(), nth * 8 + 2); in innerClassIndex()
82 ByteArray.write16bit(index, get(), nth * 8 + 2); in setInnerClassIndex()
89 return ByteArray.readU16bit(get(), nth * 8 + 4); in outerClassIndex()
111 ByteArray.write16bit(index, get(), nth * 8 + 4); in setOuterClassIndex()
118 return ByteArray.readU16bit(get(), nth * 8 + 6); in innerNameIndex()
140 ByteArray.write16bit(index, get(), nth * 8 + 6); in setInnerNameIndex()
147 return ByteArray.readU16bit(get(), nth * 8 + 8); in accessFlags()
155 ByteArray.write16bit(flags, get(), nth * 8 + 8); in setAccessFlags()
[all …]
DCodeIterator.java125 return ByteArray.readU16bit(bytecode, index); in u16bitAt()
132 return ByteArray.readS16bit(bytecode, index); in s16bitAt()
139 ByteArray.write16bit(value, bytecode, index); in write16bit()
146 return ByteArray.read32bit(bytecode, index); in s32bitAt()
153 ByteArray.write32bit(value, bytecode, index); in write32bit()
279 int mref = ByteArray.readU16bit(bytecode, index + 1); in skipSuperConstructor0()
758 int npairs = ByteArray.read32bit(code, index2); in nextOpcode()
762 int low = ByteArray.read32bit(code, index2); in nextOpcode()
763 int high = ByteArray.read32bit(code, index2 + 4); in nextOpcode()
876 ByteArray.write16bit(offset, newcode, j + 1); in insertGap2()
[all …]
DStackMap.java67 return ByteArray.readU16bit(info, 0); in numOfEntries()
141 int num = ByteArray.readU16bit(info, 0); in visit()
144 int offset = ByteArray.readU16bit(info, pos); in visit()
145 int numLoc = ByteArray.readU16bit(info, pos + 2); in visit()
147 int numStack = ByteArray.readU16bit(info, pos); in visit()
186 int clazz = ByteArray.readU16bit(info, pos + 1); in typeInfoArray2()
191 int offsetOfNew = ByteArray.readU16bit(info, pos + 1); in typeInfoArray2()
237 int num = ByteArray.readU16bit(info, 0); in visit()
238 ByteArray.write16bit(num, dest, 0); in visit()
243 ByteArray.write16bit(offset, dest, pos - 4); in locals()
[all …]
DExceptionsAttribute.java90 int index = ByteArray.readU16bit(src, i); in copyFrom()
91 ByteArray.write16bit(srcCp.copy(index, destCp, classnames), in copyFrom()
140 ByteArray.write16bit(n, blist, 0); in setExceptionIndexes()
142 ByteArray.write16bit(elist[i], blist, i * 2 + 2); in setExceptionIndexes()
153 ByteArray.write16bit(n, blist, 0); in setExceptions()
155 ByteArray.write16bit(constPool.addClassInfo(elist[i]), in setExceptions()
DLineNumberAttribute.java46 return ByteArray.readU16bit(info, 0); in tableLength()
57 return ByteArray.readU16bit(info, i * 4 + 2); in startPc()
68 return ByteArray.readU16bit(info, i * 4 + 4); in lineNumber()
176 int pc = ByteArray.readU16bit(info, pos); in shiftPc()
178 ByteArray.write16bit(pc + gapLength, info, pos); in shiftPc()
DStackMapTable.java165 numOfEntries = ByteArray.readU16bit(data, 0); in Walker()
205 int offset = ByteArray.readU16bit(info, pos + 1); in stackMapFrames()
210 int offset = ByteArray.readU16bit(info, pos + 1); in stackMapFrames()
238 offset = ByteArray.readU16bit(info, pos + 1); in sameLocals()
245 data = ByteArray.readU16bit(info, pos + 2); in sameLocals()
279 int offset = ByteArray.readU16bit(info, pos + 1); in appendFrame()
287 data[i] = ByteArray.readU16bit(info, p + 1); in appendFrame()
313 int offset = ByteArray.readU16bit(info, pos + 1); in fullFrame()
314 int numOfLocals = ByteArray.readU16bit(info, pos + 3); in fullFrame()
318 int numOfItems = ByteArray.readU16bit(info, p); in fullFrame()
[all …]
DAnnotationsAttribute.java156 return ByteArray.readU16bit(info, 0); in numAnnotations()
328 int num = ByteArray.readU16bit(info, pos); in annotationArray()
340 int type = ByteArray.readU16bit(info, pos); in annotation()
341 int numPairs = ByteArray.readU16bit(info, pos + 2); in annotation()
353 int nameIndex = ByteArray.readU16bit(info, pos); in memberValuePair()
364 int typeNameIndex = ByteArray.readU16bit(info, pos + 1); in memberValue()
365 int constNameIndex = ByteArray.readU16bit(info, pos + 3); in memberValue()
370 int index = ByteArray.readU16bit(info, pos + 1); in memberValue()
377 int num = ByteArray.readU16bit(info, pos + 1); in memberValue()
381 int index = ByteArray.readU16bit(info, pos + 1); in memberValue()
[all …]
/external/sfntly/cpp/src/sfntly/data/
Dbyte_array.cc25 const int32_t ByteArray::COPY_BUFFER_SIZE = 8192;
27 ByteArray::~ByteArray() {} in ~ByteArray()
29 int32_t ByteArray::Length() { return filled_length_; } in Length()
30 int32_t ByteArray::Size() { return storage_length_; } in Size()
32 int32_t ByteArray::SetFilledLength(int32_t filled_length) { in SetFilledLength()
37 int32_t ByteArray::Get(int32_t index) { in Get()
41 int32_t ByteArray::Get(int32_t index, ByteVector* b) { in Get()
46 int32_t ByteArray::Get(int32_t index, in Get()
58 void ByteArray::Put(int32_t index, byte_t b) { in Put()
71 int32_t ByteArray::Put(int index, ByteVector* b) { in Put()
[all …]
Dgrowable_memory_byte_array.h26 class GrowableMemoryByteArray : public ByteArray,
34 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); } in CopyTo()
35 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) { in CopyTo()
36 return ByteArray::CopyTo(array, offset, length); in CopyTo()
39 ByteArray* array, in CopyTo()
42 return ByteArray::CopyTo(dst_offset, array, src_offset, length); in CopyTo()
44 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); } in CopyTo()
Dmemory_byte_array.h24 class MemoryByteArray : public ByteArray, public RefCounted<MemoryByteArray> {
46 virtual int32_t CopyTo(ByteArray* array) { return ByteArray::CopyTo(array); } in CopyTo()
47 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length) { in CopyTo()
48 return ByteArray::CopyTo(array, offset, length); in CopyTo()
51 ByteArray* array, in CopyTo()
54 return ByteArray::CopyTo(dst_offset, array, src_offset, length); in CopyTo()
56 virtual int32_t CopyTo(OutputStream* os) { return ByteArray::CopyTo(os); } in CopyTo()
Dbyte_array.h30 class ByteArray : virtual public RefCount {
32 virtual ~ByteArray();
98 virtual int32_t CopyTo(ByteArray* array);
105 virtual int32_t CopyTo(ByteArray* array, int32_t offset, int32_t length);
114 ByteArray* array,
143 ByteArray(int32_t filled_length, int32_t storage_length, bool growable);
144 ByteArray(int32_t filled_length, int32_t storage_length);
197 typedef Ptr<ByteArray> ByteArrayPtr;
Dfont_data.h93 explicit FontData(ByteArray* ba);
107 void Init(ByteArray* ba);
/external/llvm/tools/llvm-mc/
DDisassembler.cpp101 static bool ByteArrayFromString(ByteArrayTy &ByteArray, in ByteArrayFromString() argument
120 ByteArray.first.clear(); in ByteArrayFromString()
121 ByteArray.second.clear(); in ByteArrayFromString()
125 ByteArray.first.push_back(ByteVal); in ByteArrayFromString()
126 ByteArray.second.push_back(Value.data()); in ByteArrayFromString()
169 ByteArrayTy ByteArray; in disassemble() local
174 ByteArray.first.clear(); in disassemble()
175 ByteArray.second.clear(); in disassemble()
198 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM); in disassemble()
200 if (!ByteArray.first.empty()) in disassemble()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DByteArray.java26 public class ByteArray { class
32 public ByteArray () { in ByteArray() method in ByteArray
37 public ByteArray (int capacity) { in ByteArray() method in ByteArray
44 public ByteArray (boolean ordered, int capacity) { in ByteArray() method in ByteArray
52 public ByteArray (ByteArray array) { in ByteArray() method in ByteArray
61 public ByteArray (byte[] array) { in ByteArray() method in ByteArray
69 public ByteArray (boolean ordered, byte[] array, int startIndex, int count) { in ByteArray() method in ByteArray
81 public void addAll (ByteArray array) { in addAll()
85 public void addAll (ByteArray array, int offset, int length) { in addAll()
208 public boolean removeAll (ByteArray array) { in removeAll()
[all …]
/external/conscrypt/src/main/java/org/conscrypt/
DByteArray.java24 final class ByteArray { class
28 ByteArray(byte[] bytes) { in ByteArray() method in ByteArray
40 if (!(o instanceof ByteArray)) { in equals()
43 ByteArray lhs = (ByteArray) o; in equals()
DAbstractSessionContext.java55 private final Map<ByteArray, SSLSession> sessions
56 = new LinkedHashMap<ByteArray, SSLSession>() {
59 Map.Entry<ByteArray, SSLSession> eldest) {
287 ByteArray key = new ByteArray(sessionId); in getSession()
307 ByteArray key = new ByteArray(id); in putSession()
/external/sfntly/cpp/src/test/
Dtest_utils.h43 static bool Equals(ByteArray* b1,
45 ByteArray* b2,
55 static bool Equals(ByteArray* b1,
57 ByteArray* b2,
84 static int64_t CheckSum(ByteArray* b, int32_t offset, int32_t length);
Dbyte_array_test.cc29 void FillTestByteArray(ByteArray* ba, int32_t size) { in FillTestByteArray()
35 void ReadByteArrayWithBuffer(ByteArray* ba, ByteVector* buffer, ByteVector* b) { in ReadByteArrayWithBuffer()
46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, in ReadByteArrayWithSlidingWindow()
59 bool ReadComparison(ByteArray* ba1, ByteArray* ba2) { in ReadComparison()
93 bool CopyTest(ByteArray* ba) { in CopyTest()
107 bool ByteArrayTester(ByteArray* ba) { in ByteArrayTester()
143 TEST(ByteArray, All) { in TEST() argument
/external/javassist/src/main/javassist/bytecode/stackmap/
DTracer.java18 import javassist.bytecode.ByteArray;
195 doLDC(ByteArray.readU16bit(code, pos + 1)); in doOpcode0_53()
551 visitBranch(pos, code, ByteArray.readS16bit(code, pos + 1)); in doOpcode148_201()
562 visitBranch(pos, code, ByteArray.readS16bit(code, pos + 1)); in doOpcode148_201()
565 visitGoto(pos, code, ByteArray.readS16bit(code, pos + 1)); in doOpcode148_201()
576 int low = ByteArray.read32bit(code, pos2); in doOpcode148_201()
577 int high = ByteArray.read32bit(code, pos2 + 4); in doOpcode148_201()
579 visitTableSwitch(pos, code, n, pos2 + 8, ByteArray.read32bit(code, pos2 - 4)); in doOpcode148_201()
584 int n = ByteArray.read32bit(code, pos2); in doOpcode148_201()
585 visitLookupSwitch(pos, code, n, pos2 + 4, ByteArray.read32bit(code, pos2 - 4)); in doOpcode148_201()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DCstString.java20 import com.android.dx.util.ByteArray;
37 private final ByteArray bytes;
79 public static String utf8BytesToString(ByteArray bytes) { in utf8BytesToString()
186 this.bytes = new ByteArray(stringToUtf8Bytes(string)); in CstString()
194 public CstString(ByteArray bytes) { in CstString()
346 public ByteArray getBytes() { in getBytes()
/external/dexmaker/src/dx/java/com/android/dx/util/
DByteArray.java29 public final class ByteArray { class
48 public ByteArray(byte[] bytes, int start, int end) { in ByteArray() method in ByteArray
75 public ByteArray(byte[] bytes) { in ByteArray() method in ByteArray
96 public ByteArray slice(int start, int end) { in slice()
98 return new ByteArray(bytes, start + this.start, end + this.start); in slice()
/external/autotest/client/site_tests/login_MultiUserPolicy/
Dlogin_MultiUserPolicy.py65 dbus.ByteArray(policy_response))
74 dbus.ByteArray(policy_response))
91 dbus.ByteArray(policy_response))
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp202 GlobalVariable *ByteArray; member
358 BAI->ByteArray = ByteArrayGlobal; in createByteArray()
383 auto ByteArray = in allocateByteArrays() local
393 ByteArrayConst->getType(), ByteArray, Idxs); in allocateByteArrays()
399 BAI->ByteArray->replaceAllUsesWith(GEP); in allocateByteArrays()
403 BAI->ByteArray->replaceAllUsesWith(Alias); in allocateByteArrays()
405 BAI->ByteArray->eraseFromParent(); in allocateByteArrays()
438 Constant *ByteArray = BAI->ByteArray; in createBitSetTest() local
439 Type *Ty = BAI->ByteArray->getValueType(); in createBitSetTest()
444 ByteArray = GlobalAlias::create(BAI->ByteArray->getValueType(), 0, in createBitSetTest()
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/
DPixmapIO.java34 import com.badlogic.gdx.utils.ByteArray;
190 private ByteArray lineOutBytes, curLineBytes, prevLineBytes;
244 lineOut = (lineOutBytes = new ByteArray(lineLen)).items; in write()
245 curLine = (curLineBytes = new ByteArray(lineLen)).items; in write()
246 prevLine = (prevLineBytes = new ByteArray(lineLen)).items; in write()

1234