Searched refs:new_ref (Results 1 – 4 of 4) sorted by relevance
48 int new_ref = --_ref_count; in Release() local49 assert(new_ref >= 0); in Release()50 if (new_ref == 0) { in Release()63 return new_ref; in Release()
647 core::RefCountPtr<KernelAndDevice> new_ref(iter->second.get()); in GetCachedKernel() local648 new_ref->Ref(); in GetCachedKernel()649 return new_ref; in GetCachedKernel()655 core::RefCountPtr<KernelAndDevice> new_ref(kernel); in AddKernelToCache() local656 new_ref->Ref(); in AddKernelToCache()657 kernel_cache_[cache_key] = std::move(new_ref); in AddKernelToCache()
1155 FieldTrial::FieldTrialRef new_ref = allocator->GetAsReference(new_entry); in ClearParamsFromSharedMemoryForTesting() local1157 trial->ref_ = new_ref; in ClearParamsFromSharedMemoryForTesting()1158 new_refs.push_back(new_ref); in ClearParamsFromSharedMemoryForTesting()
1360 FieldTrial::FieldTrialRef new_ref = trial->ref_; in TEST() local1361 EXPECT_NE(old_ref, new_ref); in TEST()