/external/tensorflow/tensorflow/core/lib/gtl/ |
D | map_util_test.cc | 41 TEST(MapUtil, LookupOrInsert) { in TEST() argument 47 EXPECT_EQ("xyz", gtl::LookupOrInsert(&m, "foo", "xyz")); in TEST() 48 EXPECT_EQ("xyz", gtl::LookupOrInsert(&m, "foo", "abc")); in TEST()
|
D | map_util.h | 143 typename Collection::value_type::second_type& LookupOrInsert( in LookupOrInsert() function 150 typename Collection::value_type::second_type& LookupOrInsert( in LookupOrInsert() function 154 return LookupOrInsert(collection, in LookupOrInsert()
|
/external/v8/src/base/ |
D | hashmap.h | 57 Entry* LookupOrInsert(const Key& key, uint32_t hash, 64 Entry* LookupOrInsert(const Key& key, uint32_t hash, const Func& value_func, 171 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::LookupOrInsert( in LookupOrInsert() function 173 return LookupOrInsert(key, hash, []() { return Value(); }, allocator); in LookupOrInsert() 180 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::LookupOrInsert( in LookupOrInsert() function 493 return Iterator(this, this->LookupOrInsert(key, key->Hash(), allocator));
|
/external/v8/src/compiler/ |
D | bytecode-liveness-map.cc | 26 .LookupOrInsert(offset, OffsetHash(offset), in InitializeLiveness()
|
D | state-values-utils.cc | 122 hash_map_.LookupOrInsert(&key, hash, ZoneAllocationPolicy(zone())); in GetValuesNodeFromCache()
|
/external/v8/src/interpreter/ |
D | constant-array-builder.cc | 231 .LookupOrInsert(reinterpret_cast<intptr_t>(raw_string), in Insert() 240 .LookupOrInsert(reinterpret_cast<intptr_t>(bigint.c_str()), in Insert() 249 .LookupOrInsert(reinterpret_cast<intptr_t>(scope), in Insert()
|
/external/v8/src/ |
D | identity-map.cc | 131 int IdentityMapBase::LookupOrInsert(Object* key) { in LookupOrInsert() function in v8::internal::IdentityMapBase 169 int index = LookupOrInsert(key); in GetEntry()
|
D | address-map.h | 26 LookupOrInsert(key, Hash(key))->value = index; in Set()
|
D | identity-map.h | 65 int LookupOrInsert(Object* key);
|
D | keys.cc | 902 auto entry = unchecked_result_keys.LookupOrInsert(key, key->Hash(), alloc); in CollectOwnJSProxyKeys()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | map_util.h | 395 LookupOrInsert(Collection* const collection, 403 LookupOrInsert(Collection* const collection, 406 return LookupOrInsert( 428 LookupOrInsert(count_map, *it,
|
/external/v8/src/snapshot/ |
D | startup-serializer.h | 42 bool LookupOrInsert(HeapObject* obj, int* index_out) { in LookupOrInsert() function
|
D | references.h | 172 LookupOrInsert(key, Hash(key))->value = reference; in Add()
|
D | startup-serializer.cc | 100 if (!partial_cache_index_map_.LookupOrInsert(heap_object, &index)) { in PartialSnapshotCacheIndex()
|
D | serializer.h | 99 return impl_.LookupOrInsert(reinterpret_cast<void*>(code_address), in FindOrCreateEntry()
|
/external/v8/src/profiler/ |
D | strings-storage.cc | 111 return names_.LookupOrInsert(const_cast<char*>(str), hash); in GetEntry()
|
D | allocation-tracker.cc | 248 base::HashMap::Entry* entry = id_to_function_info_index_.LookupOrInsert( in AddFunctionInfo()
|
D | heap-snapshot-generator.cc | 351 base::HashMap::Entry* to_entry = entries_map_.LookupOrInsert( in MoveObject() 401 base::HashMap::Entry* entry = entries_map_.LookupOrInsert( in FindOrAddEntry() 554 entries_.LookupOrInsert(thing, Hash(thing)); in Pair() 576 entries_.LookupOrInsert(object, HeapEntriesMap::Hash(object)); in Insert() 594 entries_.LookupOrInsert(object, HeapEntriesMap::Hash(object)); in SetTag() 2694 strings_.LookupOrInsert(const_cast<char*>(s), StringHash(s)); in GetStringId()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | lookup_table_op.h | 238 const V& previous_value = gtl::LookupOrInsert(table_.get(), key, value); in DoInsert()
|
D | barrier_ops.cc | 328 >l::LookupOrInsert(&incomplete_, keys_vec(i), PersistentTuple()); in InsertOneLocked()
|
/external/v8/src/ast/ |
D | ast-value-factory.cc | 287 base::HashMap::Entry* entry = string_table_.LookupOrInsert(&key, key.Hash()); in GetString()
|
D | scopes.cc | 59 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->Hash(), in Declare() 74 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->Hash(), in DeclareName() 93 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->Hash(), in Add() 126 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->Hash(), in Declare()
|
D | ast.cc | 370 ZoneHashMap::Entry* entry = table.LookupOrInsert(literal, hash, allocator); in CalculateEmitStore()
|
/external/v8/src/debug/ |
D | debug-coverage.cc | 26 Entry* entry = LookupOrInsert(key, Hash(key), []() { return 0; }); in Add()
|
/external/v8/src/libsampler/ |
D | sampler.cc | 250 sampler_map_.LookupOrInsert(ThreadKey(thread_id), in AddSampler()
|