Home
last modified time | relevance | path

Searched refs:ByteArray (Results 1 – 25 of 116) 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/llvm/tools/llvm-mc/
DDisassembler.cpp96 static bool ByteArrayFromString(ByteArrayTy &ByteArray, in ByteArrayFromString() argument
132 ByteArray.clear(); in ByteArrayFromString()
136 ByteArray.push_back(std::make_pair((unsigned char)ByteVal, Value.data())); in ByteArrayFromString()
162 ByteArrayTy ByteArray; in disassemble() local
165 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM); in disassemble()
167 if (!ByteArray.empty()) in disassemble()
168 ErrorOccurred |= PrintInsts(*DisAsm, ByteArray, SM, Out, Streamer); in disassemble()
174 ByteArrayTy &ByteArray = *((ByteArrayTy*)Arg); in byteArrayReader() local
176 if (A >= ByteArray.size()) in byteArrayReader()
179 *B = ByteArray[A].first; in byteArrayReader()
[all …]
/external/webkit/Source/WebCore/platform/graphics/filters/
DFilterEffect.h60 PassRefPtr<ByteArray> asUnmultipliedImage(const IntRect&);
61 PassRefPtr<ByteArray> asPremultipliedImage(const IntRect&);
62 void copyUnmultipliedImage(ByteArray* destination, const IntRect&);
63 void copyPremultipliedImage(ByteArray* destination, const IntRect&);
118 ByteArray* createUnmultipliedImageResult();
119 ByteArray* createPremultipliedImageResult();
123 RefPtr<ByteArray> m_unmultipliedImageResult;
124 RefPtr<ByteArray> m_premultipliedImageResult;
137 inline void copyImageBytes(ByteArray* source, ByteArray* destination, const IntRect&);
DFilterEffect.cpp113 PassRefPtr<ByteArray> FilterEffect::asUnmultipliedImage(const IntRect& rect) in asUnmultipliedImage()
116 RefPtr<ByteArray> imageData = ByteArray::create(rect.width() * rect.height() * 4); in asUnmultipliedImage()
121 PassRefPtr<ByteArray> FilterEffect::asPremultipliedImage(const IntRect& rect) in asPremultipliedImage()
124 RefPtr<ByteArray> imageData = ByteArray::create(rect.width() * rect.height() * 4); in asPremultipliedImage()
129 inline void FilterEffect::copyImageBytes(ByteArray* source, ByteArray* destination, const IntRect& … in copyImageBytes()
173 void FilterEffect::copyUnmultipliedImage(ByteArray* destination, const IntRect& rect) in copyUnmultipliedImage()
183 …m_unmultipliedImageResult = ByteArray::create(m_absolutePaintRect.width() * m_absolutePaintRect.he… in copyUnmultipliedImage()
207 void FilterEffect::copyPremultipliedImage(ByteArray* destination, const IntRect& rect) in copyPremultipliedImage()
217 …m_premultipliedImageResult = ByteArray::create(m_absolutePaintRect.width() * m_absolutePaintRect.h… in copyPremultipliedImage()
249 ByteArray* FilterEffect::createUnmultipliedImageResult() in createUnmultipliedImageResult()
[all …]
DFEGaussianBlur.cpp77 inline void boxBlur(ByteArray* srcPixelArray, ByteArray* dstPixelArray, in boxBlur()
176 ByteArray* srcPixelArray = createPremultipliedImageResult(); in apply()
193 RefPtr<ByteArray> tmpImageData = ByteArray::create(paintSize.width() * paintSize.height() * 4); in apply()
194 ByteArray* tmpPixelArray = tmpImageData.get(); in apply()
206 ByteArray* auxPixelArray = tmpPixelArray; in apply()
215 ByteArray* auxPixelArray = tmpPixelArray; in apply()
/external/webkit/Source/WebCore/html/canvas/
DCanvasPixelArray.h43 static PassRefPtr<CanvasPixelArray> create(PassRefPtr<ByteArray>);
45 ByteArray* data() { return m_data.get(); } in data()
46 const ByteArray* data() const { return m_data.get(); } in data()
71 CanvasPixelArray(PassRefPtr<ByteArray>);
73 RefPtr<ByteArray> m_data;
DCanvasPixelArray.cpp39 PassRefPtr<CanvasPixelArray> CanvasPixelArray::create(PassRefPtr<ByteArray> byteArray) in create()
45 : m_data(ByteArray::create(length)) in CanvasPixelArray()
49 CanvasPixelArray::CanvasPixelArray(PassRefPtr<ByteArray> byteArray) in CanvasPixelArray()
/external/webkit/Source/JavaScriptCore/wtf/
DByteArray.h35 class ByteArray : public RefCountedBase {
78 this->~ByteArray(); in deref()
83 static PassRefPtr<ByteArray> create(size_t size);
86 ByteArray(size_t size) in ByteArray() function
102 using WTF::ByteArray;
DByteArray.cpp32 PassRefPtr<ByteArray> ByteArray::create(size_t size) in create()
34 unsigned char* buffer = new unsigned char[size + OBJECT_OFFSETOF(ByteArray, m_data)]; in create()
36 return adoptRef(new (buffer) ByteArray(size)); in create()
/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/smali/dexlib/src/main/java/org/jf/dexlib/Util/
DByteArray.java33 public final class ByteArray { class
52 public ByteArray(byte[] bytes, int start, int end) { in ByteArray() method in ByteArray
79 public ByteArray(byte[] bytes) { in ByteArray() method in ByteArray
100 public ByteArray slice(int start, int end) { in slice()
102 return new ByteArray(bytes, start + this.start, end + this.start); in slice()
/external/webkit/Source/WebCore/platform/graphics/wx/
DImageBufferWx.cpp63 PassRefPtr<ByteArray> ImageBuffer::getUnmultipliedImageData(const IntRect& rect) const in getUnmultipliedImageData()
69 PassRefPtr<ByteArray> ImageBuffer::getPremultipliedImageData(const IntRect& rect) const in getPremultipliedImageData()
75 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntR… in putUnmultipliedImageData()
80 void ImageBuffer::putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const Int… in putPremultipliedImageData()
/external/webkit/Source/WebCore/platform/graphics/wince/
DImageBufferWinCE.cpp131 static PassRefPtr<ByteArray> getImageData(const IntRect& rect, const SharedBitmap* bitmap) in getImageData()
133 RefPtr<ByteArray> imageData = ByteArray::create(rect.width() * rect.height() * 4); in getImageData()
180 PassRefPtr<ByteArray> ImageBuffer::getUnmultipliedImageData(const IntRect& rect) const in getUnmultipliedImageData()
185 PassRefPtr<ByteArray> ImageBuffer::getPremultipliedImageData(const IntRect& rect) const in getPremultipliedImageData()
191 static void putImageData(ByteArray* source, const IntSize& sourceSize, const IntRect& sourceRect, c… in putImageData()
235 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntR… in putUnmultipliedImageData()
240 void ImageBuffer::putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const Int… in putPremultipliedImageData()
/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/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/webkit/Source/WebCore/platform/graphics/
DImageBuffer.h89 PassRefPtr<ByteArray> getUnmultipliedImageData(const IntRect&) const;
90 PassRefPtr<ByteArray> getPremultipliedImageData(const IntRect&) const;
92 …void putUnmultipliedImageData(ByteArray*, const IntSize& sourceSize, const IntRect& sourceRect, co…
93 …void putPremultipliedImageData(ByteArray*, const IntSize& sourceSize, const IntRect& sourceRect, c…
/external/webkit/Source/WebCore/platform/graphics/cairo/
DImageBufferCairo.cpp160 PassRefPtr<ByteArray> getImageData(const IntRect& rect, const ImageBufferData& data, const IntSize&… in getImageData()
164 RefPtr<ByteArray> result = ByteArray::create(rect.width() * rect.height() * 4); in getImageData()
218 PassRefPtr<ByteArray> ImageBuffer::getUnmultipliedImageData(const IntRect& rect) const in getUnmultipliedImageData()
223 PassRefPtr<ByteArray> ImageBuffer::getPremultipliedImageData(const IntRect& rect) const in getPremultipliedImageData()
229 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const I… in putImageData()
286 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntR… in putUnmultipliedImageData()
291 void ImageBuffer::putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const Int… in putPremultipliedImageData()
/external/webkit/Source/WebCore/platform/graphics/skia/
DImageBufferSkia.cpp168 PassRefPtr<ByteArray> getImageData(const IntRect& rect, SkDevice& srcDevice, in getImageData()
175 RefPtr<ByteArray> result = ByteArray::create(rect.width() * rect.height() * 4); in getImageData()
257 PassRefPtr<ByteArray> ImageBuffer::getUnmultipliedImageData(const IntRect& rect) const in getUnmultipliedImageData()
263 PassRefPtr<ByteArray> ImageBuffer::getPremultipliedImageData(const IntRect& rect) const in getPremultipliedImageData()
270 void putImageData(ByteArray*& source, const IntSize& sourceSize, const IntRect& sourceRect, const I… in putImageData()
339 void ImageBuffer::putUnmultipliedImageData(ByteArray* source, const IntSize& sourceSize, const IntR… in putUnmultipliedImageData()
345 void ImageBuffer::putPremultipliedImageData(ByteArray* source, const IntSize& sourceSize, const Int… in putPremultipliedImageData()

12345