/external/webkit/WebCore/ForwardingHeaders/wtf/ |
ByteArray.h | 3 #include <JavaScriptCore/ByteArray.h>
|
/libcore/luni/src/main/native/ |
NetworkUtilities.cpp | 28 bool byteArrayToSocketAddress(JNIEnv* env, jclass, jbyteArray byteArray, int port, sockaddr_storage* ss) { 29 if (byteArray == NULL) { 35 size_t addressLength = env->GetArrayLength(byteArray); 43 env->GetByteArrayRegion(byteArray, 0, 4, dst); 50 env->GetByteArrayRegion(byteArray, 0, 16, dst); 84 jbyteArray byteArray = env->NewByteArray(addressLength); 85 if (byteArray == NULL) { 88 env->SetByteArrayRegion(byteArray, 0, addressLength, reinterpret_cast<jbyte*>(rawAddress)); 89 return byteArray; 92 jobject byteArrayToInetAddress(JNIEnv* env, jbyteArray byteArray) { [all...] |
NetworkUtilities.h | 22 jobject byteArrayToInetAddress(JNIEnv* env, jbyteArray byteArray); 25 bool byteArrayToSocketAddress(JNIEnv* env, jclass, jbyteArray byteArray, int port, sockaddr_storage* ss);
|
java_util_zip_Adler32.cpp | 26 static jlong Adler32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { 27 ScopedByteArrayRO bytes(env, byteArray);
|
java_util_zip_CRC32.cpp | 26 static jlong CRC32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong crc) { 27 ScopedByteArrayRO bytes(env, byteArray);
|
/external/webkit/JavaScriptCore/wtf/ |
ByteArray.cpp | 27 #include "ByteArray.h" 31 PassRefPtr<ByteArray> ByteArray::create(size_t size) 33 unsigned char* buffer = new unsigned char[size + sizeof(ByteArray) - sizeof(size_t)]; 35 return adoptRef(new (buffer) ByteArray(size));
|
ByteArray.h | 33 class ByteArray : public RefCountedBase { 76 this->~ByteArray(); 81 static PassRefPtr<ByteArray> create(size_t size); 84 ByteArray(size_t size)
|
/libcore/luni/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...] |
CheckedOutputStreamTest.java | 55 byte byteArray[] = {1, 2, 3, 'e', 'r', 't', 'g', 3, 6}; 61 chkOut.write(byteArray[4]); 68 chkOut.write(byteArray, 5, 4); 88 byte byteArray[] = {1, 2, 3, 'e', 'r', 't', 'g', 3, 6}; 93 for (byte element : byteArray) { 119 byte byteArray[] = {1, 2, 3, 'e', 'r', 't', 'g', 3, 6}; 124 chkOut.write(byteArray, 4, 5); 130 chkOut.write(byteArray, 4, 6); 144 chkOut.write(byteArray, 4, 5);
|
InflaterTest.java | 42 byte byteArray[] = { 5, 2, 3, 7, 8 }; 46 inflate.setInput(byteArray); 50 inflate.setInput(byteArray); 67 byte byteArray[] = { 1, 3, 4, 7, 8, 'e', 'r', 't', 'y', '5' }; 84 for (int i = 0; i < byteArray.length; i++) { 87 byteArray[i] == outPutInf[i]); 90 0, outPutInf[byteArray.length]); 118 byte byteArray[] = { 1, 3, 5, 6, 7 }; 122 inflate.setInput(byteArray); 135 byte byteArray[] = { 1, 3, 4, 7, 8 } [all...] |
Adler32Test.java | 107 byte byteArray[] = { 1, 2 }; 109 adl.update(byteArray); 130 byte[] byteArray = { 1, 2, 3 }; 132 int off = 2;// accessing the 2nd element of byteArray 136 adl.update(byteArray, off, len); 144 adl.update(byteArray, off, lenError); 152 adl.update(byteArray, offError, len);
|
CRC32Test.java | 123 byte byteArray[] = { 1, 2 }; 125 crc.update(byteArray); 147 byte[] byteArray = { 1, 2, 3 }; 149 int off = 2;// accessing the 2nd element of byteArray 153 crc.update(byteArray, off, len); 161 crc.update(byteArray, off, lenError); 169 crc.update(byteArray, offError, len);
|
GZIPOutputStreamTest.java | 85 byte byteArray[] = { 3, 5, 2, 'r', 'g', 'e', 'f', 'd', 'e', 'w' }; 93 outGZIP.write(byteArray, 0, 1); 112 byte byteArray[] = { 3, 5, 2, 'r', 'g', 'e', 'f', 'd', 'e', 'w' }; 119 outGZIP.write(byteArray, 0, 1); 136 byte byteArray[] = { 3, 5, 2, 'r', 'g', 'e', 'f', 'd', 'e', 'w' }; 140 outGZIP.write(byteArray, 0, 10); 149 outGZIP.write(byteArray, 0, 11);
|
/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() {
|
/frameworks/base/core/jni/android/graphics/ |
Movie.cpp | 90 jbyteArray byteArray = env->NewByteArray(16*1024); 91 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray); 102 jbyteArray byteArray, 105 NPE_CHECK_RETURN_ZERO(env, byteArray); 107 int totalLength = env->GetArrayLength(byteArray); 113 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);
|
/external/webkit/WebCore/html/canvas/ |
CanvasPixelArray.h | 32 #include <wtf/ByteArray.h> 44 WTF::ByteArray* data() { return m_data.get(); } 45 const WTF::ByteArray* data() const { return m_data.get(); } 70 RefPtr<WTF::ByteArray> m_data;
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
AbstractSessionContext.java | 50 private final Map<ByteArray, SSLSession> sessions 51 = new LinkedHashMap<ByteArray, SSLSession>() { 54 Map.Entry<ByteArray, SSLSession> eldest) { 261 ByteArray key = new ByteArray(sessionId); 277 ByteArray key = new ByteArray(id); 299 static class ByteArray { 303 ByteArray(byte[] bytes) { 315 ByteArray other = (ByteArray) o [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
ClassDumper.java | 21 import com.android.dx.util.ByteArray; 61 ByteArray ba = new ByteArray(bytes);
|
DotDumper.java | 33 import com.android.dx.util.ByteArray; 63 ByteArray ba = new ByteArray(bytes); 93 public void parsed(ByteArray bytes, int offset, int len, String human) { 98 public void startParsingMember(ByteArray bytes, int offset, String name, 103 public void endParsingMember(ByteArray bytes, int offset, String name,
|
BlockDumper.java | 42 import com.android.dx.util.ByteArray; 111 ByteArray ba = new ByteArray(bytes); 139 public void parsed(ByteArray bytes, int offset, int len, String human) { 155 public void startParsingMember(ByteArray bytes, int offset, String name, 183 public void endParsingMember(ByteArray bytes, int offset, String name, 210 ByteArray bytes = code.getBytes(); 285 ByteArray bytes = code.getBytes();
|
/external/webkit/JavaScriptCore/runtime/ |
JSByteArray.h | 31 #include <wtf/ByteArray.h> 76 JSByteArray(ExecState* exec, NonNullPassRefPtr<Structure>, WTF::ByteArray* storage, const JSC::ClassInfo* = &s_defaultInfo); 92 WTF::ByteArray* storage() const { return m_storage.get(); } 109 RefPtr<WTF::ByteArray> m_storage;
|
/cts/tools/dx-tests/src/dxconvext/ |
ClassFileParser.java | 24 import com.android.dx.util.ByteArray; 132 public void startParsingMember(ByteArray bytes, int offset, 134 // ByteArray ba = bytes.slice(offset, bytes.size()); 152 public void endParsingMember(ByteArray bytes, int offset, 154 ByteArray ba = bytes.slice(offset, bytes.size()); 170 public void parsed(ByteArray bytes, int offset, int len, 176 ByteArray ba = bytes.slice(offset, offset + len); 188 private void check(ByteArray ba) { 203 private String dumpBytes(ByteArray ba) { 216 private String dumpReadableString(ByteArray ba) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
RandomAccessFileTest.java | 488 byte[] byteArray = new byte[10]; 526 raf.write(byteArray, -1, -1); 533 raf.write(byteArray, -1, 0); 540 raf.write(byteArray, -1, 1); 547 raf.write(byteArray, 0, -1); 553 raf.write(byteArray, 0, 0); 554 raf.write(byteArray, 0, byteArray.length); 555 raf.write(byteArray, 1, 0); 556 raf.write(byteArray, byteArray.length, 0) [all...] |