Home
last modified time | relevance | path

Searched refs:NativeAllocationRegistry (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/util/
DNativeAllocationRegistryTest.java21 import libcore.util.NativeAllocationRegistry;
71 NativeAllocationRegistry registry = null; in testNativeAllocation()
80 registry = NativeAllocationRegistry.createMalloced( in testNativeAllocation()
83 registry = NativeAllocationRegistry.createNonmalloced( in testNativeAllocation()
150 NativeAllocationRegistry registry = new NativeAllocationRegistry( in testBadSize()
163 NativeAllocationRegistry registry in testEarlyFree()
164 = new NativeAllocationRegistry(classLoader, getNativeFinalizer(), size); in testEarlyFree()
195 NativeAllocationRegistry.applyFreeFunction(getNativeFinalizer(), nativePtr); in testApplyFreeFunction()
201 final NativeAllocationRegistry registry in testNullArguments()
202 = new NativeAllocationRegistry(classLoader, getNativeFinalizer(), 1024); in testNullArguments()
/libcore/luni/src/main/java/libcore/util/
DNativeAllocationRegistry.java51 public class NativeAllocationRegistry { class
93 public static NativeAllocationRegistry createNonmalloced( in createNonmalloced()
95 return new NativeAllocationRegistry(classLoader, freeFunction, size, false); in createNonmalloced()
125 public static NativeAllocationRegistry createMalloced( in createMalloced()
127 return new NativeAllocationRegistry(classLoader, freeFunction, size, true); in createMalloced()
147 public static NativeAllocationRegistry createMalloced( in createMalloced()
149 return new NativeAllocationRegistry(classLoader, freeFunction, DEFAULT_SIZE, true); in createMalloced()
180 private NativeAllocationRegistry(ClassLoader classLoader, long freeFunction, long size, in NativeAllocationRegistry() method in NativeAllocationRegistry
219 … public NativeAllocationRegistry(@NonNull ClassLoader classLoader, long freeFunction, long size) { in NativeAllocationRegistry() method in NativeAllocationRegistry
/libcore/luni/src/main/native/
Dlibcore_util_NativeAllocationRegistry.cpp33 NATIVE_METHOD(NativeAllocationRegistry, applyFreeFunction, "(JJ)V"),
/libcore/mmodules/intracoreapi/api/intra/
Dcurrent.txt139 @libcore.api.IntraCoreApi public class NativeAllocationRegistry {
140 …method @libcore.api.IntraCoreApi public static libcore.util.NativeAllocationRegistry createMalloce…
/libcore/ojluni/annotations/hiddenapi/java/util/regex/
DMatcher.java250 private static final libcore.util.NativeAllocationRegistry registry;
/libcore/api/
Dmodule-lib-current.txt764 public class NativeAllocationRegistry {
765 ctor public NativeAllocationRegistry(@NonNull ClassLoader, long, long);
767 …method public static libcore.util.NativeAllocationRegistry createMalloced(@NonNull ClassLoader, lo…
768 …method public static libcore.util.NativeAllocationRegistry createMalloced(@NonNull ClassLoader, lo…
769 …method public static libcore.util.NativeAllocationRegistry createNonmalloced(@NonNull ClassLoader,…
/libcore/
Dnon_openjdk_java_files.bp259 "luni/src/main/java/libcore/util/NativeAllocationRegistry.java",