Home
last modified time | relevance | path

Searched refs:actualLength (Results 1 – 3 of 3) sorted by relevance

/dalvik/libdex/
DSysUtil.c206 size_t fileLength, actualLength; in sysMapFileSegmentInShmem() local
225 actualLength = length + adjust; in sysMapFileSegmentInShmem()
227 memPtr = mmap(NULL, actualLength, PROT_READ, MAP_FILE | MAP_SHARED, in sysMapFileSegmentInShmem()
231 (int) actualLength, fd, (int) actualStart, strerror(errno)); in sysMapFileSegmentInShmem()
236 pMap->baseLength = actualLength; in sysMapFileSegmentInShmem()
/dalvik/libcore/luni/src/main/native/
Dorg_apache_harmony_luni_platform_OSNetworkSystem.cpp2216 int actualLength = recvfrom(handle, (char*)(address + offset), length, mode, in osNetworkSystem_receiveDatagramDirectImpl() local
2219 if (actualLength < 0) { in osNetworkSystem_receiveDatagramDirectImpl()
2239 env->SetIntField(packet, gCachedFields.dpack_length, actualLength); in osNetworkSystem_receiveDatagramDirectImpl()
2241 add_recv_stats(handle, actualLength); in osNetworkSystem_receiveDatagramDirectImpl()
2242 return actualLength; in osNetworkSystem_receiveDatagramDirectImpl()
2258 int actualLength = osNetworkSystem_receiveDatagramDirectImpl(env, clazz, fd, in osNetworkSystem_receiveDatagramImpl() local
2261 if (actualLength > 0) { in osNetworkSystem_receiveDatagramImpl()
2262 env->SetByteArrayRegion(data, offset, actualLength, bytes); in osNetworkSystem_receiveDatagramImpl()
2266 return actualLength; in osNetworkSystem_receiveDatagramImpl()
2289 int actualLength = recvfrom(handle, in osNetworkSystem_recvConnectedDatagramDirectImpl() local
[all …]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/reflect/
DProxyClassFile.java919 int actualLength = contents.length; in writeUnsignedByte()
920 System.arraycopy(contents, 0, (contents = new byte[actualLength in writeUnsignedByte()
921 + INCREMENT_SIZE]), 0, actualLength); in writeUnsignedByte()