Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/io/
DMemoryTest.java38 long ptr = base_ptr + ptr_offset; // To test aligned and unaligned accesses. in testSetIntArray() local
60 private void assertIntsEqual(int[] expectedValues, long ptr, boolean swap) { in assertIntsEqual()
79 long ptr = base_ptr + ptr_offset; // To test aligned and unaligned accesses. in testSetLongArray() local
101 private void assertLongsEqual(long[] expectedValues, long ptr, boolean swap) { in assertLongsEqual()
117 long ptr = base_ptr + ptr_offset; // To test aligned and unaligned accesses. in testSetShortArray() local
139 private void assertShortsEqual(short[] expectedValues, long ptr, boolean swap) { in assertShortsEqual()
/libcore/luni/src/test/native/
Dlibcore_util_NativeAllocationRegistryTest.cpp26 static void finalize(uint64_t* ptr) { in finalize()
43 uint64_t* ptr = new uint64_t; in Java_libcore_util_NativeAllocationRegistryTest_doNativeAllocation() local
/libcore/luni/src/main/native/
Dlibcore_util_NativeAllocationRegistry.cpp24 jlong ptr) { in NativeAllocationRegistry_applyFreeFunction()
Dlibcore_io_Posix.cpp296 jbyte* ptr = const_cast<jbyte*>(mScopedBuffers.back()->get()); in init() local
1287 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address)); in Posix_mincore() local
1309 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address)); in Posix_mlock() local
1316 void* ptr = mmap(suggestedPtr, byteCount, prot, flags, fd, offset); in Posix_mmap() local
1324 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address)); in Posix_msync() local
1329 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address)); in Posix_munlock() local
1334 void* ptr = reinterpret_cast<void*>(static_cast<uintptr_t>(address)); in Posix_munmap() local
/libcore/ojluni/src/main/native/
DUnixFileSystem_md.c294 struct dirent64 *ptr; in Java_java_io_UnixFileSystem_list0() local