Lines Matching refs:wrapperStruct
46 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in Unwrap() local
50 if (wrapperStruct->type_ != kWrapperType) in Unwrap()
51 return UnwrapDerived(wrapperStruct->type_, s); in Unwrap()
54 CefRefPtr<BaseName> objectPtr(wrapperStruct->object_); in Unwrap()
57 wrapperStruct->wrapper_->Release(); in Unwrap()
67 WrapperStruct* wrapperStruct = GetWrapperStruct(s); in Get() local
69 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in Get()
70 return wrapperStruct->object_; in Get()
149 WrapperStruct* wrapperStruct = in struct_add_ref() local
152 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in struct_add_ref()
154 wrapperStruct->wrapper_->AddRef(); in struct_add_ref()
162 WrapperStruct* wrapperStruct = in struct_release() local
165 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in struct_release()
167 return wrapperStruct->wrapper_->Release(); in struct_release()
175 WrapperStruct* wrapperStruct = in struct_has_one_ref() local
178 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in struct_has_one_ref()
180 return wrapperStruct->wrapper_->HasOneRef(); in struct_has_one_ref()
189 WrapperStruct* wrapperStruct = in struct_has_at_least_one_ref() local
192 DCHECK_EQ(kWrapperType, wrapperStruct->type_); in struct_has_at_least_one_ref()
194 return wrapperStruct->wrapper_->HasAtLeastOneRef(); in struct_has_at_least_one_ref()