Home
last modified time | relevance | path

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

12345

/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()
43 int32_t ByteArray::Get(int32_t index, ByteVector* b) { in Get()
48 int32_t ByteArray::Get(int32_t index, in Get()
60 void ByteArray::Put(int32_t index, byte_t b) { in Put()
73 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.h82 explicit FontData(ByteArray* ba);
96 void Init(ByteArray* ba);
/external/swiftshader/third_party/LLVM/tools/llvm-mc/
DDisassembler.cpp95 static bool ByteArrayFromString(ByteArrayTy &ByteArray, in ByteArrayFromString() argument
131 ByteArray.clear(); in ByteArrayFromString()
135 ByteArray.push_back(std::make_pair((unsigned char)ByteVal, Value.data())); in ByteArrayFromString()
182 ByteArrayTy ByteArray; in disassemble() local
185 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM); in disassemble()
187 if (!ByteArray.empty()) in disassemble()
188 ErrorOccurred |= PrintInsts(*DisAsm, *IP, ByteArray, SM, Out); in disassemble()
194 ByteArrayTy &ByteArray = *((ByteArrayTy*)Arg); in byteArrayReader() local
196 if (A >= ByteArray.size()) in byteArrayReader()
199 *B = ByteArray[A].first; in byteArrayReader()
[all …]
/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/conscrypt/common/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.java45 private final Map<ByteArray, NativeSslSession> sessions =
46 new LinkedHashMap<ByteArray, NativeSslSession>() {
49 Map.Entry<ByteArray, NativeSslSession> eldest) {
122 ByteArray key = new ByteArray(sessionId); in getSession()
211 ByteArray key = new ByteArray(id); in cacheSession()
229 session = sessions.get(new ByteArray(sessionId)); in getSessionFromCache()
/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/v8/src/
Dsource-position-table.h19 class ByteArray; variable
46 Handle<ByteArray> ToSourcePositionTable(Isolate* isolate,
64 explicit SourcePositionTableIterator(ByteArray* byte_array);
85 ByteArray* table_;
Dsource-position-table.cc79 T DecodeInt(ByteArray* bytes, int* index) { in DecodeInt()
97 void DecodeEntry(ByteArray* bytes, int* index, PositionTableEntry* entry) { in DecodeEntry()
140 Handle<ByteArray> SourcePositionTableBuilder::ToSourcePositionTable( in ToSourcePositionTable()
145 Handle<ByteArray> table = isolate->factory()->NewByteArray( in ToSourcePositionTable()
170 SourcePositionTableIterator::SourcePositionTableIterator(ByteArray* byte_array) in SourcePositionTableIterator()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp203 GlobalVariable *ByteArray; member
322 BAI->ByteArray = ByteArrayGlobal; in createByteArray()
347 auto ByteArray = in allocateByteArrays() local
357 ByteArrayConst->getType(), ByteArray, Idxs); in allocateByteArrays()
363 BAI->ByteArray->replaceAllUsesWith(GEP); in allocateByteArrays()
367 BAI->ByteArray->replaceAllUsesWith(Alias); in allocateByteArrays()
369 BAI->ByteArray->eraseFromParent(); in allocateByteArrays()
402 Constant *ByteArray = BAI->ByteArray; in createBitSetTest() local
403 Type *Ty = BAI->ByteArray->getValueType(); in createBitSetTest()
408 ByteArray = GlobalAlias::create(BAI->ByteArray->getValueType(), 0, in createBitSetTest()
[all …]
/external/autotest/client/site_tests/login_MultiUserPolicy/
Dlogin_MultiUserPolicy.py63 sm.StorePolicyForUser(self._user1, dbus.ByteArray(policy_response))
69 sm.StorePolicyForUser(self._user2, dbus.ByteArray(policy_response))
86 sm.StorePolicyForUser(self._user2, dbus.ByteArray(policy_response))
/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.cs184 ByteArray.Reverse(rawBytes); in WriteFloat()
602 ByteArray.Copy(value, offset, buffer, position, length); in WriteRawBytes()
611 ByteArray.Copy(value, offset, buffer, position, bytesWritten); in WriteRawBytes()
623 ByteArray.Copy(value, offset, buffer, 0, length); in WriteRawBytes()

12345