Home
last modified time | relevance | path

Searched defs:nativePtr (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/libcore/util/
DNativeAllocationRegistry.java256 public @NonNull Runnable registerNativeAllocation(@NonNull Object referent, long nativePtr) { in registerNativeAllocation()
283 private long nativePtr; field in NativeAllocationRegistry.CleanerThunk
296 public void setNativePtr(long nativePtr) { in setNativePtr()
350 public static native void applyFreeFunction(long freeFunction, long nativePtr); in applyFreeFunction()
/libcore/luni/src/test/java/libcore/libcore/util/
DNativeAllocationRegistryTest.java165 long nativePtr = doNativeAllocation(size); in testEarlyFree() local
191 long nativePtr = doNativeAllocation(size); in testApplyFreeFunction() local
195 NativeAllocationRegistry.applyFreeFunction(getNativeFinalizer(), nativePtr); in testApplyFreeFunction() local
/libcore/luni/src/main/native/
Dlibcore_util_NativeAllocationRegistry.cpp26 void* nativePtr = reinterpret_cast<void*>(static_cast<uintptr_t>(ptr)); in NativeAllocationRegistry_applyFreeFunction() local