Home
last modified time | relevance | path

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

123456789

/external/javassist/src/main/javassist/bytecode/
DLocalVariableAttribute.java42 ByteArray.write16bit(0, info, 0); in LocalVariableAttribute()
59 ByteArray.write16bit(0, info, 0); in LocalVariableAttribute()
85 ByteArray.write16bit(tableLength() + 1, newInfo, 0); in addEntry()
89 ByteArray.write16bit(startPc, newInfo, size); in addEntry()
90 ByteArray.write16bit(length, newInfo, size + 2); in addEntry()
91 ByteArray.write16bit(nameIndex, newInfo, size + 4); in addEntry()
92 ByteArray.write16bit(descriptorIndex, newInfo, size + 6); in addEntry()
93 ByteArray.write16bit(index, newInfo, size + 8); in addEntry()
103 int index = ByteArray.readU16bit(info, pos + 6); in renameClass()
107 ByteArray.write16bit(cp.addUtf8Info(desc), info, pos + 6); in renameClass()
[all …]
DInnerClassesAttribute.java49 ByteArray.write16bit(0, get(), 0); in InnerClassesAttribute()
55 public int tableLength() { return ByteArray.readU16bit(get(), 0); } in tableLength()
61 return ByteArray.readU16bit(get(), nth * 8 + 2); in innerClassIndex()
84 ByteArray.write16bit(index, get(), nth * 8 + 2); in setInnerClassIndex()
91 return ByteArray.readU16bit(get(), nth * 8 + 4); in outerClassIndex()
112 ByteArray.write16bit(index, get(), nth * 8 + 4); in setOuterClassIndex()
119 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 …]
DStackMap.java65 return ByteArray.readU16bit(info, 0); in numOfEntries()
140 int num = ByteArray.readU16bit(info, 0); in visit()
143 int offset = ByteArray.readU16bit(info, pos); in visit()
144 int numLoc = ByteArray.readU16bit(info, pos + 2); in visit()
146 int numStack = ByteArray.readU16bit(info, pos); in visit()
185 int clazz = ByteArray.readU16bit(info, pos + 1); in typeInfoArray2()
190 int offsetOfNew = ByteArray.readU16bit(info, pos + 1); in typeInfoArray2()
236 int num = ByteArray.readU16bit(info, 0); in visit()
237 ByteArray.write16bit(num, dest, 0); in visit()
243 ByteArray.write16bit(offset, dest, pos - 4); in locals()
[all …]
DCodeIterator.java146 return ByteArray.readU16bit(bytecode, index); in u16bitAt()
153 return ByteArray.readS16bit(bytecode, index); in s16bitAt()
160 ByteArray.write16bit(value, bytecode, index); in write16bit()
167 return ByteArray.read32bit(bytecode, index); in s32bitAt()
174 ByteArray.write32bit(value, bytecode, index); in write32bit()
300 int mref = ByteArray.readU16bit(bytecode, index + 1); in skipSuperConstructor0()
778 int npairs = ByteArray.read32bit(code, index2); in nextOpcode()
782 int low = ByteArray.read32bit(code, index2); in nextOpcode()
783 int high = ByteArray.read32bit(code, index2 + 4); in nextOpcode()
896 ByteArray.write16bit(offset, newcode, j + 1); in insertGap2()
[all …]
DBootstrapMethodsAttribute.java59 ByteArray.write16bit(methods.length, data, 0); // num_bootstrap_methods in BootstrapMethodsAttribute()
62 ByteArray.write16bit(methods[i].methodRef, data, pos); in BootstrapMethodsAttribute()
63 ByteArray.write16bit(methods[i].arguments.length, data, pos + 2); in BootstrapMethodsAttribute()
67 ByteArray.write16bit(args[k], data, pos); in BootstrapMethodsAttribute()
84 int num = ByteArray.readU16bit(data, 0); in getMethods()
88 int ref = ByteArray.readU16bit(data, pos); in getMethods()
89 int len = ByteArray.readU16bit(data, pos + 2); in getMethods()
93 args[k] = ByteArray.readU16bit(data, pos); in getMethods()
DNestMembersAttribute.java57 int n = ByteArray.readU16bit(src, 0); in copy()
58 ByteArray.write16bit(n, dest, 0); in copy()
61 int index = ByteArray.readU16bit(src, j); in copy()
63 ByteArray.write16bit(newIndex, dest, j); in copy()
74 return ByteArray.readU16bit(info, 0); in numberOfClasses()
86 return ByteArray.readU16bit(info, index * 2 + 2); in memberClass()
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt21 internal fun ByteArray.getString(index: Int, size: Int): String = Utf8.decodeUtf8Array(this, index,… in getString()
23 internal fun ByteArray.setString(index: Int, value: String): Int = in getString()
27 internal expect inline fun ByteArray.getUByte(index: Int): UByte in getString()
28 internal expect inline fun ByteArray.getShort(index: Int): Short in getString()
29 internal expect inline fun ByteArray.getUShort(index: Int): UShort in getString()
30 internal expect inline fun ByteArray.getInt(index: Int): Int in getString()
31 internal expect inline fun ByteArray.getUInt(index: Int): UInt in getString()
32 internal expect inline fun ByteArray.getLong(index: Int): Long in getString()
33 internal expect inline fun ByteArray.getULong(index: Int): ULong in getString()
34 internal expect inline fun ByteArray.getFloat(index: Int): Float in getString()
[all …]
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/nativeMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt23 public actual inline fun ByteArray.getUByte(index: Int): UByte = getUByteAt(index)
24 public actual inline fun ByteArray.getShort(index: Int): Short = getShortAt(index)
25 public actual inline fun ByteArray.getUShort(index: Int): UShort = getUShortAt(index)
26 public actual inline fun ByteArray.getInt(index: Int): Int = getIntAt(index)
27 public actual inline fun ByteArray.getUInt(index: Int): UInt = getUIntAt(index)
28 public actual inline fun ByteArray.getLong(index: Int): Long = getLongAt(index)
29 public actual inline fun ByteArray.getULong(index: Int): ULong = getULongAt(index)
31 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = setUByteAt(index, val…
32 public actual inline fun ByteArray.setShort(index: Int, value: Short): Unit = setShortAt(index, val…
33 public actual inline fun ByteArray.setUShort(index: Int, value: UShort): Unit = setUShortAt(index, …
[all …]
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/jsMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt23 public actual inline fun ByteArray.getUByte(index: Int): UByte = ByteArrayOps.getUByte(this, index)
24 public actual inline fun ByteArray.getShort(index: Int): Short = ByteArrayOps.getShort(this, index)
25 public actual inline fun ByteArray.getUShort(index: Int): UShort = ByteArrayOps.getUShort(this, ind…
26 public actual inline fun ByteArray.getInt(index: Int): Int = ByteArrayOps.getInt(this, index)
27 public actual inline fun ByteArray.getUInt(index: Int): UInt = ByteArrayOps.getUInt(this, index)
28 public actual inline fun ByteArray.getLong(index: Int): Long = ByteArrayOps.getLong(this, index)
29 public actual inline fun ByteArray.getULong(index: Int): ULong = ByteArrayOps.getULong(this, index)
30 public actual inline fun ByteArray.getFloat(index: Int): Float = ByteArrayOps.getFloat(this, index)
31 public actual inline fun ByteArray.getDouble(index: Int): Double = ByteArrayOps.getDouble(this, ind…
33 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = ByteArrayOps.setUByte…
[all …]
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/jvmMain/kotlin/com/google/flatbuffers/kotlin/
DByteArray.kt24 public actual inline fun ByteArray.getUByte(index: Int): UByte = ByteArrayOps.getUByte(this, index)
25 public actual inline fun ByteArray.getShort(index: Int): Short = ByteArrayOps.getShort(this, index)
26 public actual inline fun ByteArray.getUShort(index: Int): UShort = ByteArrayOps.getUShort(this, ind…
27 public actual inline fun ByteArray.getInt(index: Int): Int = ByteArrayOps.getInt(this, index)
28 public actual inline fun ByteArray.getUInt(index: Int): UInt = ByteArrayOps.getUInt(this, index)
29 public actual inline fun ByteArray.getLong(index: Int): Long = ByteArrayOps.getLong(this, index)
30 public actual inline fun ByteArray.getULong(index: Int): ULong = ByteArrayOps.getULong(this, index)
31 public actual inline fun ByteArray.getFloat(index: Int): Float = ByteArrayOps.getFloat(this, index)
32 public actual inline fun ByteArray.getDouble(index: Int): Double = ByteArrayOps.getDouble(this, ind…
34 public actual inline fun ByteArray.setUByte(index: Int, value: UByte): Unit = ByteArrayOps.setUByte…
[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::SetFilledLength(int32_t filled_length) { in SetFilledLength()
34 int32_t ByteArray::Get(int32_t index) { in Get()
40 int32_t ByteArray::Get(int32_t index, std::vector<uint8_t>* b) { in Get()
45 int32_t ByteArray::Get(int32_t index, in Get()
60 void ByteArray::Put(int32_t index, uint8_t b) { in Put()
73 int32_t ByteArray::Put(int index, std::vector<uint8_t>* b) { in Put()
78 int32_t ByteArray::Put(int32_t index, in Put()
97 int32_t ByteArray::CopyTo(ByteArray* array) { in CopyTo()
[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;
/external/renderscript-intrinsics-replacement-toolkit/renderscript-toolkit/src/main/java/com/google/android/renderscript/
DToolkit.kt78 sourceArray: ByteArray, in blend()
79 destArray: ByteArray, in blend()
177 inputArray: ByteArray, in blur()
183 ): ByteArray { in blur()
196 val outputArray = ByteArray(inputArray.size) in blur()
338 inputArray: ByteArray, in colorMatrix()
346 ): ByteArray { in colorMatrix()
368 val outputArray = ByteArray(sizeX * sizeY * paddedSize(outputVectorSize)) in colorMatrix()
461 inputArray: ByteArray, in convolve()
467 ): ByteArray { in convolve()
[all …]
/external/renderscript-intrinsics-replacement-toolkit/test-app/src/main/java/com/google/android/renderscript_test/
DIntrinsicLut.kt34 inputArray: ByteArray, in intrinsicLut()
37 newRed: ByteArray, in intrinsicLut()
38 newGreen: ByteArray, in intrinsicLut()
39 newBlue: ByteArray, in intrinsicLut()
40 newAlpha: ByteArray, in intrinsicLut()
42 ): ByteArray { in intrinsicLut()
54 val intrinsicOutArray = ByteArray(sizeX * sizeY * 4) in intrinsicLut()
84 newRed: ByteArray, in intrinsicLut()
85 newGreen: ByteArray, in intrinsicLut()
86 newBlue: ByteArray, in intrinsicLut()
[all …]
/external/okio/okio/src/commonMain/kotlin/okio/
DByteString.kt39 internal constructor(data: ByteArray) : Comparable<ByteString> {
40 internal val data: ByteArray
116 fun toByteArray(): ByteArray in utf8()
122 internal fun internalArray(): ByteArray in utf8()
134 fun rangeEquals(offset: Int, other: ByteArray, otherOffset: Int, byteCount: Int): Boolean in utf8()
138 fun startsWith(prefix: ByteArray): Boolean in utf8()
142 fun endsWith(suffix: ByteArray): Boolean in utf8()
148 fun indexOf(other: ByteArray, fromIndex: Int = 0): Int in utf8()
152 fun lastIndexOf(other: ByteArray, fromIndex: Int = size): Int in utf8()
180 fun ByteArray.toByteString(offset: Int = 0, byteCount: Int = size): ByteString in utf8() method
/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/
DAbstractSessionContext.java44 private final Map<ByteArray, NativeSslSession> sessions =
45 new LinkedHashMap<ByteArray, NativeSslSession>() {
48 Map.Entry<ByteArray, NativeSslSession> eldest) {
121 ByteArray key = new ByteArray(sessionId); in getSession()
209 ByteArray key = new ByteArray(id); in cacheSession()
231 ByteArray key = new ByteArray(id); in removeSession()
249 session = sessions.get(new ByteArray(sessionId)); in getSessionFromCache()
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()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DAbstractSessionContext.java45 private final Map<ByteArray, NativeSslSession> sessions =
46 new LinkedHashMap<ByteArray, NativeSslSession>() {
49 Map.Entry<ByteArray, NativeSslSession> eldest) {
121 ByteArray key = new ByteArray(sessionId); in getSession()
209 ByteArray key = new ByteArray(id); in cacheSession()
231 ByteArray key = new ByteArray(id); in removeSession()
249 session = sessions.get(new ByteArray(sessionId)); in getSessionFromCache()
DByteArray.java25 final class ByteArray { class
29 ByteArray(byte[] bytes) { in ByteArray() method in ByteArray
41 if (!(o instanceof ByteArray)) { in equals()
44 ByteArray lhs = (ByteArray) o; in equals()
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
DByteArrayTest.kt32 val data = ByteArray(1) in testByte()
49 val data = ByteArray(Short.SIZE_BYTES) in testShort()
65 val data = ByteArray(Int.SIZE_BYTES) in testInt()
82 val data = ByteArray(Long.SIZE_BYTES) in testLong()
98 val data = ByteArray(ULong.SIZE_BYTES) in testULong()
114 val data = ByteArray(Float.SIZE_BYTES) in testFloat()
129 val data = ByteArray(Long.SIZE_BYTES) in testDouble()
141 val data = ByteArray(encoded.size) in testString()
160 fun assertArrayEquals(expected: ByteArray, actual: ByteArray) = in assertArrayEquals()
196 fun arrayFailMessage(expected: ByteArray, actual: ByteArray): String { in arrayFailMessage()
/external/jazzer-api/sanitizers/src/main/java/com/code_intelligence/jazzer/sanitizers/
DUtils.kt26 internal fun Short.toBytes(): ByteArray { in toBytes()
34 internal fun ByteArray.indexOf(needle: ByteArray): Int { in indexOf()
46 internal fun guideMarkableInputStreamTowardsEquality(stream: InputStream, target: ByteArray, id: In… in guideMarkableInputStreamTowardsEquality()
47 fun readBytes(stream: InputStream, size: Int): ByteArray { in guideMarkableInputStreamTowardsEquality()
48 val current = ByteArray(size) in guideMarkableInputStreamTowardsEquality()
/external/jazzer-api/agent/src/main/java/com/code_intelligence/jazzer/agent/
DRuntimeInstrumentor.kt55 classfileBuffer: ByteArray, in <lambda>()
56 ): ByteArray? { in <lambda>()
78 …private fun dumpToClassFile(internalClassName: String, bytecode: ByteArray, basenameSuffix: String… in <lambda>()
92 classfileBuffer: ByteArray in <lambda>()
93 ): ByteArray? { in <lambda>()
125 fun transformInternal(internalClassName: String, classfileBuffer: ByteArray): ByteArray? { in <lambda>()
156 …un instrument(internalClassName: String, bytecode: ByteArray, fullInstrumentation: Boolean): ByteA… in <lambda>()

123456789