Lines Matching defs:ptr
296 jbyte* ptr = const_cast<jbyte*>(mScopedBuffers.back()->get());
297 if (ptr == NULL) {
301 iov.iov_base = reinterpret_cast<void*>(ptr + offsets[i]);
1287 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address));
1289 throwIfMinusOne(env, "mincore", TEMP_FAILURE_RETRY(mincore(ptr, byteCount, vec)));
1309 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address));
1310 throwIfMinusOne(env, "mlock", TEMP_FAILURE_RETRY(mlock(ptr, byteCount)));
1316 void* ptr = mmap(suggestedPtr, byteCount, prot, flags, fd, offset);
1317 if (ptr == MAP_FAILED) {
1320 return static_cast<jlong>(reinterpret_cast<uintptr_t>(ptr));
1324 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address));
1325 throwIfMinusOne(env, "msync", TEMP_FAILURE_RETRY(msync(ptr, byteCount, flags)));
1329 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address));
1330 throwIfMinusOne(env, "munlock", TEMP_FAILURE_RETRY(munlock(ptr, byteCount)));
1334 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address));
1335 throwIfMinusOne(env, "munmap", TEMP_FAILURE_RETRY(munmap(ptr, byteCount)));