Searched defs:byteCount (Results 1 - 7 of 7) sorted by relevance

/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/platform/
H A DOSMemoryTest.java41 int byteCount = 32;
42 int ptr = memory.malloc(byteCount);
48 memory.memset(ptr, (byte) 0, byteCount);
49 assertBytesEqual((byte) 0, ptr, byteCount);
51 memory.memset(ptr, (byte) 1, byteCount);
52 assertBytesEqual((byte) 1, ptr, byteCount);
58 void assertBytesEqual(byte value, int ptr, int byteCount) { argument
60 for (int i = 0; i < byteCount; ++i) {
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/digests/
H A DGeneralDigest.java16 private long byteCount; field in class:GeneralDigest
38 byteCount = t.byteCount;
52 byteCount++;
80 byteCount += xBuf.length;
97 long bitLength = (byteCount << 3);
116 byteCount = 0;
/dalvik/libcore/luni/src/main/native/
H A Difaddrs-android.h93 void setAddress(int family, void* data, size_t byteCount) { argument
98 memcpy(dst, data, byteCount);
101 memcpy(dst, data, byteCount);
113 inline bool sendNetlinkMessage(int fd, const void* data, size_t byteCount) { argument
114 ssize_t sentByteCount = TEMP_FAILURE_RETRY(send(fd, data, byteCount, 0));
115 return (sentByteCount == static_cast<ssize_t>(byteCount));
118 inline ssize_t recvNetlinkMessage(int fd, char* buf, size_t byteCount) { argument
119 return TEMP_FAILURE_RETRY(recv(fd, buf, byteCount, 0));
H A Dorg_apache_harmony_luni_platform_OSNetworkSystem.cpp489 size_t byteCount = env->GetStringUTFLength(javaString); local
490 LocalArray<INET6_ADDRSTRLEN> bytes(byteCount + 1);
495 if (ipString[0] == '[' && ipString[byteCount - 1] == ']' &&
497 memmove(ipString, ipString + 1, byteCount - 2);
498 ipString[byteCount - 2] = '\0';
/dalvik/libcore/support/src/test/java/tests/support/
H A DSupport_TestWebData.java42 private static byte[] newBinaryFile(int byteCount) { argument
43 byte[] result = new byte[byteCount];
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
H A DHttpURLConnectionImpl.java549 private void checkSpace(int byteCount) throws IOException { argument
550 if (actualLength + byteCount > fixedLength) {
/dalvik/libcore/x-net/src/main/native/
H A Dorg_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp396 jsize byteCount = env->GetStringUTFLength(string); local
397 LocalArray<1024> buf(byteCount + 1);

Completed in 163 milliseconds