Lines Matching refs:env_
58 explicit JvmtiAllocator(jvmtiEnv* env) : env_(env) {} in JvmtiAllocator()
59 JvmtiAllocator() : env_(nullptr) {} in JvmtiAllocator()
63 : env_(other.env_) {} in JvmtiAllocator()
70 jvmtiEnv* env_;
95 explicit JvmtiAllocator(jvmtiEnv* env) : env_(env) {} in JvmtiAllocator()
96 JvmtiAllocator() : env_(nullptr) {} in JvmtiAllocator()
100 : env_(other.env_) {} in JvmtiAllocator()
115 if (env_ == nullptr) {
121 jvmtiError alloc_error = env_->Allocate(n * sizeof(T), &result);
127 if (env_ == nullptr) { in deallocate()
130 jvmtiError dealloc_error = env_->Deallocate(reinterpret_cast<unsigned char*>(p)); in deallocate()
147 return env_ == other.env_;
154 jvmtiEnv* env_;
165 return lhs.env_ == rhs.env_;