Lines Matching refs:JvmtiAllocator
44 template <typename T> class JvmtiAllocator; variable
47 class JvmtiAllocator<void> {
55 typedef JvmtiAllocator<U> other;
58 explicit JvmtiAllocator(jvmtiEnv* env) : env_(env) {} in JvmtiAllocator() function
59 JvmtiAllocator() : env_(nullptr) {} in JvmtiAllocator() function
62 JvmtiAllocator(const JvmtiAllocator<U>& other) in JvmtiAllocator() function
65 JvmtiAllocator(const JvmtiAllocator& other) = default;
66 JvmtiAllocator& operator=(const JvmtiAllocator& other) = default;
67 ~JvmtiAllocator() = default;
73 friend class JvmtiAllocator; variable
76 friend bool operator==(const JvmtiAllocator<U>& lhs, const JvmtiAllocator<U>& rhs);
80 class JvmtiAllocator {
92 typedef JvmtiAllocator<U> other;
95 explicit JvmtiAllocator(jvmtiEnv* env) : env_(env) {} in JvmtiAllocator() function
96 JvmtiAllocator() : env_(nullptr) {} in JvmtiAllocator() function
99 JvmtiAllocator(const JvmtiAllocator<U>& other) in JvmtiAllocator() function
102 JvmtiAllocator(const JvmtiAllocator& other) = default;
103 JvmtiAllocator& operator=(const JvmtiAllocator& other) = default;
104 ~JvmtiAllocator() = default;
113 pointer allocate(size_type n, JvmtiAllocator<void>::pointer hint ATTRIBUTE_UNUSED = nullptr) {
146 inline bool operator==(JvmtiAllocator const& other) {
149 inline bool operator!=(JvmtiAllocator const& other) {
157 friend class JvmtiAllocator; variable
160 friend bool operator==(const JvmtiAllocator<U>& lhs, const JvmtiAllocator<U>& rhs);
164 inline bool operator==(const JvmtiAllocator<T>& lhs, const JvmtiAllocator<T>& rhs) {
169 inline bool operator!=(const JvmtiAllocator<T>& lhs, const JvmtiAllocator<T>& rhs) {