/external/webkit/Source/WebCore/ForwardingHeaders/wtf/ |
ByteArray.h | 3 #include <JavaScriptCore/ByteArray.h>
|
/external/javassist/src/main/javassist/bytecode/ |
InnerClassesAttribute.java | 48 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.write16bit(flags, get(), nth * 8 + 8) [all...] |
LocalVariableAttribute.java | 41 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.write16bit(cp.addUtf8Info(desc), info, pos + 6) [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/export/binary/ |
ByteUtils.java | 95 byte[] byteArray = convertToBytes(value); 97 outputStream.write(byteArray); 103 byte[] byteArray = new byte[2]; 105 byteArray[0] = (byte) (value >> 8); 106 byteArray[1] = (byte) value; 107 return byteArray; 120 byte[] byteArray = new byte[2]; 123 inputStream.read(byteArray); 125 short number = convertShortFromBytes(byteArray); 130 public static short convertShortFromBytes(byte[] byteArray) { [all...] |
/external/webkit/Source/WebCore/html/canvas/ |
CanvasPixelArray.cpp | 39 PassRefPtr<CanvasPixelArray> CanvasPixelArray::create(PassRefPtr<ByteArray> byteArray) 41 return adoptRef(new CanvasPixelArray(byteArray)); 45 : m_data(ByteArray::create(length)) 49 CanvasPixelArray::CanvasPixelArray(PassRefPtr<ByteArray> byteArray) 50 : m_data(byteArray)
|
CanvasPixelArray.h | 32 #include <wtf/ByteArray.h> 43 static PassRefPtr<CanvasPixelArray> create(PassRefPtr<ByteArray>); 45 ByteArray* data() { return m_data.get(); } 46 const ByteArray* data() const { return m_data.get(); } 71 CanvasPixelArray(PassRefPtr<ByteArray>); 73 RefPtr<ByteArray> m_data;
|
/external/webkit/Source/JavaScriptCore/wtf/ |
ByteArray.cpp | 27 #include "ByteArray.h" 32 PassRefPtr<ByteArray> ByteArray::create(size_t size) 34 unsigned char* buffer = new unsigned char[size + OBJECT_OFFSETOF(ByteArray, m_data)]; 36 return adoptRef(new (buffer) ByteArray(size));
|
ByteArray.h | 35 class ByteArray : public RefCountedBase { 78 this->~ByteArray(); 83 static PassRefPtr<ByteArray> create(size_t size); 86 ByteArray(size_t size) 102 using WTF::ByteArray;
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ByteArray.java | 24 final class ByteArray { 28 ByteArray(byte[] bytes) { 38 if (!(o instanceof ByteArray)) { 41 ByteArray lhs = (ByteArray) o;
|
/external/webkit/Source/WebCore/html/ |
ImageData.cpp | 39 PassRefPtr<ImageData> ImageData::create(const IntSize& size, PassRefPtr<ByteArray> byteArray) 41 return adoptRef(new ImageData(size, byteArray)); 50 ImageData::ImageData(const IntSize& size, PassRefPtr<ByteArray> byteArray) 52 , m_data(CanvasPixelArray::create(byteArray))
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
BufferedOutputStreamTest.java | 168 byte[] byteArray = new byte[10]; 234 bos.write(byteArray, -1, -1); 241 bos.write(byteArray, -1, 0); 248 bos.write(byteArray, -1, 1); 255 bos.write(byteArray, 0, -1); 262 bos.write(byteArray, 0, byteArray.length + 1); 269 bos.write(byteArray, 1, byteArray.length); 276 bos.write(byteArray, -1, byteArray.length) [all...] |
DataInputStreamTest.java | 162 byte[] byteArray = new byte[fileString.length()]; 165 is.readFully(byteArray, -1, -1); 172 is.readFully(byteArray, 0, -1); 179 is.readFully(byteArray, 1, -1); 185 is.readFully(byteArray, -1, 0); 186 is.readFully(byteArray, 0, 0); 187 is.readFully(byteArray, 1, 0); 190 is.readFully(byteArray, -1, 1); 196 is.readFully(byteArray, 0, 1); 197 is.readFully(byteArray, 1, 1) [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
DeflaterTest.java | 71 byte byteArray[] = { 1, 3, 4, 7, 8 }; 76 defl.setInput(byteArray); 86 assertEquals(byteArray.length, totalIn); 100 for (int i = 0; i < byteArray.length; i++) { 101 assertEquals(byteArray[i], outPutInf[i]); 104 0, outPutInf[byteArray.length]); 113 byte byteArray[] = { 5, 2, 3, 7, 8 }; 120 defl.setInput(byteArray); 130 assertEquals(byteArray.length, totalIn); 144 for (int i = 0; i < byteArray.length; i++) [all...] |
DeflaterOutputStreamTest.java | 68 byte byteArray[] = { 1, 3, 4, 7, 8 }; 71 deflate.setInput(byteArray); 87 byte byteArray[] = { 1, 3, 4, 7, 8 }; 105 dos.write(byteArray); 136 byte byteArray[] = { 1, 3, 4, 7, 8, 3, 6 }; 169 dos.write(byteArray); 189 byte byteArray[] = {1, 3, 4, 6}; 190 dos.write(byteArray); 243 byte byteArray[] = { 1, 3, 4, 6 }; 244 dos.write(byteArray); [all...] |
InflaterTest.java | 43 byte byteArray[] = { 5, 2, 3, 7, 8 }; 47 inflate.setInput(byteArray); 51 inflate.setInput(byteArray); 68 byte byteArray[] = { 1, 3, 4, 7, 8, 'e', 'r', 't', 'y', '5' }; 85 for (int i = 0; i < byteArray.length; i++) { 88 outPutInf[i], byteArray[i]); 91 0, outPutInf[byteArray.length]); 119 byte byteArray[] = { 1, 3, 5, 6, 7 }; 123 inflate.setInput(byteArray); 136 byte byteArray[] = { 1, 3, 4, 7, 8 } [all...] |
CheckedOutputStreamTest.java | 54 byte byteArray[] = { 1, 2, 3, 'e', 'r', 't', 'g', 3, 6 }; 59 chkOut.write(byteArray[4]); 66 chkOut.write(byteArray, 5, 4); 86 byte byteArray[] = { 1, 2, 3, 'e', 'r', 't', 'g', 3, 6 }; 91 for (byte element : byteArray) { 110 byte byteArray[] = { 1, 2, 3, 'e', 'r', 't', 'g', 3, 6 }; 115 chkOut.write(byteArray, 4, 5); 121 chkOut.write(byteArray, 4, 6);
|
/dalvik/dx/src/com/android/dx/cf/attrib/ |
RawAttribute.java | 20 import com.android.dx.util.ByteArray; 27 private final ByteArray data; 42 public RawAttribute(String name, ByteArray data, ConstantPool pool) { 54 * Constructs an instance from a sub-array of a {@link ByteArray}. 62 public RawAttribute(String name, ByteArray data, int offset, 72 public ByteArray getData() {
|
/external/webkit/Source/WebCore/platform/graphics/filters/ |
FilterEffect.cpp | 30 #include <wtf/ByteArray.h> 113 PassRefPtr<ByteArray> FilterEffect::asUnmultipliedImage(const IntRect& rect) 116 RefPtr<ByteArray> imageData = ByteArray::create(rect.width() * rect.height() * 4); 121 PassRefPtr<ByteArray> FilterEffect::asPremultipliedImage(const IntRect& rect) 124 RefPtr<ByteArray> imageData = ByteArray::create(rect.width() * rect.height() * 4); 129 inline void FilterEffect::copyImageBytes(ByteArray* source, ByteArray* destination, const IntRect& rect) 173 void FilterEffect::copyUnmultipliedImage(ByteArray* destination, const IntRect& rect [all...] |
FilterEffect.h | 29 #include <wtf/ByteArray.h> 60 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&) [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSProcessable.java | 7 * Use CMSTypedData instead of this. See CMSProcessableFile/ByteArray for defaults.
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSOutgoing.java | 163 byte[] byteArray = record.toByteArray(); 165 writeShort(byteArray.length); 166 write(byteArray, 0, byteArray.length); 245 byte[] byteArray = record.toByteArray(); 246 if (byteArray.length < this.availableSpace()) { 248 _questionsBytes.write(byteArray, 0, byteArray.length); 279 byte[] byteArray = record.toByteArray(); 280 if (byteArray.length < this.availableSpace()) [all...] |
/external/llvm/tools/llvm-mc/ |
Disassembler.cpp | 96 static bool ByteArrayFromString(ByteArrayTy &ByteArray, 132 ByteArray.clear(); 136 ByteArray.push_back(std::make_pair((unsigned char)ByteVal, Value.data())); 162 ByteArrayTy ByteArray; 165 ErrorOccurred |= ByteArrayFromString(ByteArray, Str, SM); 167 if (!ByteArray.empty()) 168 ErrorOccurred |= PrintInsts(*DisAsm, ByteArray, SM, Out, Streamer); 174 ByteArrayTy &ByteArray = *((ByteArrayTy*)Arg); 176 if (A >= ByteArray.size()) 179 *B = ByteArray[A].first [all...] |
/dalvik/tests/011-array-copy/src/ |
Main.java | 77 byte[] byteArray = new byte[ARRAY_SIZE]; 82 initByteArray(byteArray); 87 System.arraycopy(byteArray, srcPos, byteArray, dstPos, length); 93 if (intArray[i] != byteArray[i]) { 95 Arrays.toString(byteArray));
|
/frameworks/base/core/jni/android/graphics/ |
Movie.cpp | 87 jbyteArray byteArray = env->NewByteArray(16*1024); 88 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray); 99 jbyteArray byteArray, 102 NPE_CHECK_RETURN_ZERO(env, byteArray); 104 int totalLength = env->GetArrayLength(byteArray); 110 AutoJavaByteArray ar(env, byteArray);
|
/dalvik/dx/src/com/android/dx/cf/iface/ |
ParseObserver.java | 19 import com.android.dx.util.ByteArray; 43 public void startParsingMember(ByteArray bytes, int offset, String name, 56 public void endParsingMember(ByteArray bytes, int offset, String name, 67 public void parsed(ByteArray bytes, int offset, int len, String human);
|