Searched refs:id_map_ (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_id_manager.cc | 42 result = id_map_.insert({tf_gpu_id.value(), platform_gpu_id.value()}); in Insert() 63 auto result = id_map_.find(tf_gpu_id.value()); in Find() 64 if (result == id_map_.end()) return false; in Find() 74 id_map_.clear(); in TestOnlyReset() 79 IdMapType id_map_ GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/stream_executor/ |
D | multi_platform_manager.cc | 67 absl::flat_hash_map<Platform::Id, Platform*> id_map_ GUARDED_BY(mu_); 82 CHECK(id_map_.emplace(platform->id(), platform_ptr).second); in RegisterPlatform() 154 CHECK(id_map_.empty()); in RegisterListener() 162 CHECK_EQ(id_map_.size(), name_map_.size()); in AllPlatforms() 164 platforms.reserve(id_map_.size()); in AllPlatforms() 165 for (const auto& entry : id_map_) { in AllPlatforms() 185 auto it = id_map_.find(id); in LookupByIdLocked() 186 if (it == id_map_.end()) { in LookupByIdLocked()
|
/external/v8/src/ |
D | value-serializer.cc | 191 id_map_(isolate->heap(), ZoneAllocationPolicy(&zone_)), in ValueSerializer() 377 if (!id_map_.Find(view) && !treat_array_buffer_views_as_host_objects_) { in WriteObject() 466 uint32_t* id_map_entry = id_map_.Get(receiver); in WriteJSReceiver() 1007 id_map_(isolate->global_handles()->Create( in ValueDeserializer() 1011 GlobalHandles::Destroy(Handle<Object>::cast(id_map_).location()); in ~ValueDeserializer() 2034 return id < static_cast<unsigned>(id_map_->length()) && in HasObjectWithID() 2035 !id_map_->get(id)->IsTheHole(isolate_); in HasObjectWithID() 2039 if (id >= static_cast<unsigned>(id_map_->length())) { in GetObjectWithID() 2042 Object* value = id_map_->get(id); in GetObjectWithID() 2052 FixedArray::SetAndGrow(isolate_, id_map_, id, object); in AddObjectWithID() [all …]
|
D | value-serializer.h | 172 IdentityMap<uint32_t, ZoneAllocationPolicy> id_map_; variable 311 Handle<FixedArray> id_map_; variable
|