Lines Matching refs:RefBase
1170 // Either the RefBase is going to be deleted in the finalize_callback or not,
1174 // derived RefBase, or the RefBase ownership was set to Ownership::kRuntime
1186 RefBase::RefBase(JSVM_Env env,
1196 RefBase* RefBase::New(JSVM_Env env,
1202 return new RefBase(env,
1210 void* RefBase::Data() {
1214 uint32_t RefBase::Ref() {
1218 uint32_t RefBase::Unref() {
1225 uint32_t RefBase::RefCount() {
1229 void RefBase::Finalize() {
1230 // If the RefBase is not Ownership::kRuntime, userland code should delete it.
1237 : RefBase(env, std::forward<Args>(args)...),
1274 uint32_t refcount = RefBase::Ref();
1289 uint32_t refcount = RefBase::Unref();
1319 RefBase::Finalize();
4683 v8impl::RefBase* old_data = static_cast<v8impl::RefBase*>(env->instance_data);
4690 env->instance_data = v8impl::RefBase::New(
4700 v8impl::RefBase* idata = static_cast<v8impl::RefBase*>(env->instance_data);