| /libcore/luni/src/test/java/libcore/java/io/ |
| D | OldDataInputStreamTest.java | 212 byte[] byteArray = new byte[testLength]; in test_readFully$BII_Exception() 215 is.readFully(byteArray, 0, -1); in test_readFully$BII_Exception() 222 is.readFully(byteArray, 0, byteArray.length + 1); in test_readFully$BII_Exception() 229 is.readFully(byteArray, 1, byteArray.length); in test_readFully$BII_Exception() 236 is.readFully(byteArray, -1, byteArray.length); in test_readFully$BII_Exception() 252 is.readFully(byteArray, 0, 1); in test_readFully$BII_Exception()
|
| D | OldDataOutputStreamTest.java | 89 byte[] byteArray = new byte[10]; in test_write$BII_Exception() 99 os.write(byteArray, -1, 1); in test_write$BII_Exception() 106 os.write(byteArray, 0, -1); in test_write$BII_Exception() 113 os.write(byteArray, 1, 10); in test_write$BII_Exception()
|
| D | OldBufferedOutputStreamTest.java | 124 byte[] byteArray = new byte[10]; in test_write$BII_Exception() 134 bos.write(byteArray, -1, 1); in test_write$BII_Exception() 141 bos.write(byteArray, 0, -1); in test_write$BII_Exception() 148 bos.write(byteArray, 1, 10); in test_write$BII_Exception()
|
| /libcore/luni/src/main/native/ |
| D | java_util_zip_CRC32.cpp | 26 static jlong CRC32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong c… in CRC32_updateImpl() argument 27 ScopedByteArrayRO bytes(env, byteArray); in CRC32_updateImpl()
|
| D | java_util_zip_Adler32.cpp | 26 static jlong Adler32_updateImpl(JNIEnv* env, jobject, jbyteArray byteArray, int off, int len, jlong… in Adler32_updateImpl() argument 27 ScopedByteArrayRO bytes(env, byteArray); in Adler32_updateImpl()
|
| D | NetworkUtilities.cpp | 74 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(addressLength)); in sockaddrToInetAddress() local 75 if (byteArray.get() == NULL) { in sockaddrToInetAddress() 78 env->SetByteArrayRegion(byteArray.get(), 0, addressLength, in sockaddrToInetAddress() 87 NULL, byteArray.get(), scope_id); in sockaddrToInetAddress()
|
| D | libcore_net_RawSocket.cpp | 112 ScopedByteArrayRO byteArray(env, packet); in RawSocket_sendPacket() local 113 if (byteArray.get() == NULL) { in RawSocket_sendPacket() 134 err = NET_FAILURE_RETRY(fd, sendto(intFd, byteArray.get() + offset, in RawSocket_sendPacket()
|
| D | libcore_icu_NativeCollation.cpp | 88 uint8_t byteArray[UCOL_MAX_BUFFER * 2]; in NativeCollation_getSortKey() local 90 uint8_t* usedByteArray = byteArray; in NativeCollation_getSortKey() 91 …ize = ucol_getSortKey(collator, source.get(), source.size(), usedByteArray, sizeof(byteArray) - 1); in NativeCollation_getSortKey() 92 if (byteArraySize > sizeof(byteArray) - 1) { in NativeCollation_getSortKey()
|
| D | org_apache_harmony_xml_ExpatParser.cpp | 1017 ScopedByteArrayRO byteArray(env, xml); in ExpatParser_appendBytes() local 1018 if (byteArray.get() == NULL) { in ExpatParser_appendBytes() 1022 const char* bytes = reinterpret_cast<const char*>(byteArray.get()); in ExpatParser_appendBytes()
|
| D | org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | 1912 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(len)); in getCertificateBytes() local 1913 if (byteArray.get() == NULL) { in getCertificateBytes() 1916 ScopedByteArrayRW bytes(env, byteArray.get()); in getCertificateBytes() 1925 env->SetObjectArrayElement(joa, i, byteArray.get()); in getCertificateBytes() 1957 ScopedLocalRef<jbyteArray> byteArray(env, env->NewByteArray(len)); in getPrincipalBytes() local 1958 if (byteArray.get() == NULL) { in getPrincipalBytes() 1961 ScopedByteArrayRW bytes(env, byteArray.get()); in getPrincipalBytes() 1970 env->SetObjectArrayElement(joa, i, byteArray.get()); in getPrincipalBytes()
|
| /libcore/luni/src/main/java/java/io/ |
| D | ObjectOutputStream.java | 1154 byte[] byteArray = (byte[]) array; in writeNewArray() 1155 output.writeInt(byteArray.length); in writeNewArray() 1156 output.write(byteArray, 0, byteArray.length); in writeNewArray()
|
| D | ObjectInputStream.java | 1469 byte[] byteArray = (byte[]) result; in readNewArray() 1470 input.readFully(byteArray, 0, size); in readNewArray()
|
| /libcore/luni/src/test/java/tests/api/java/util/ |
| D | ArraysTest.java | 45 byte[] byteArray; field in ArraysTest 104 Arrays.binarySearch(byteArray, counter) == counter); in test_binarySearch$BB() 111 byteArray[counter] -= 50; in test_binarySearch$BB() 115 Arrays.binarySearch(byteArray, (byte) (counter - 50)) == counter); in test_binarySearch$BB() 2362 byteArray = new byte[arraySize]; in setUp() 2372 byteArray[counter] = (byte) counter; in setUp() 2394 byteArray = null; in tearDown()
|