/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 | 146 typename Collection::value_type::second_type& LookupOrInsert( in LookupOrInsert() function 153 typename Collection::value_type::second_type& LookupOrInsert( in LookupOrInsert() function 157 return LookupOrInsert(collection, in LookupOrInsert()
|
/external/v8/src/compiler/ |
D | refs-map.cc | 25 RefsMap::Entry* RefsMap::LookupOrInsert(const Address& key) { in LookupOrInsert() function in v8::internal::compiler::RefsMap 26 return UnderlyingMap::LookupOrInsert(key, RefsMap::Hash(key), in LookupOrInsert()
|
D | refs-map.h | 44 Entry* LookupOrInsert(const Address& key);
|
D | bytecode-liveness-map.cc | 26 .LookupOrInsert(offset, OffsetHash(offset), in InitializeLiveness()
|
D | state-values-utils.cc | 122 ZoneHashMap::Entry* lookup = hash_map_.LookupOrInsert(&key, hash); in GetValuesNodeFromCache()
|
/external/v8/src/base/ |
D | hashmap.h | 70 Entry* LookupOrInsert(const Key& key, uint32_t hash); 76 Entry* LookupOrInsert(const Key& key, uint32_t hash, const Func& value_func); 89 Entry* LookupOrInsert(const LookupKey& lookup_key, uint32_t hash, 222 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::LookupOrInsert( in LookupOrInsert() function 224 return LookupOrInsert(key, hash, []() { return Value(); }); in LookupOrInsert() 231 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::LookupOrInsert( in LookupOrInsert() function 233 return LookupOrInsert( in LookupOrInsert() 241 TemplateHashMapImpl<Key, Value, MatchFun, AllocationPolicy>::LookupOrInsert( in LookupOrInsert() function 568 return Iterator(this, this->LookupOrInsert(key, key->Hash()));
|
/external/v8/src/snapshot/ |
D | roots-serializer.cc | 30 if (!object_cache_index_map_.LookupOrInsert(heap_object, &index)) { in SerializeInObjectCache()
|
D | serializer.h | 105 return impl_.LookupOrInsert(reinterpret_cast<void*>(code_address), in FindOrCreateEntry() 144 bool LookupOrInsert(Handle<HeapObject> obj, int* index_out) { in LookupOrInsert() function
|
/external/v8/src/interpreter/ |
D | constant-array-builder.cc | 244 .LookupOrInsert(reinterpret_cast<intptr_t>(raw_string), in Insert() 252 .LookupOrInsert(reinterpret_cast<intptr_t>(bigint.c_str()), in Insert() 260 .LookupOrInsert(reinterpret_cast<intptr_t>(scope), in Insert()
|
D | bytecode-generator.cc | 1019 Accessors<PropertyT>* LookupOrInsert(Literal* key) { in LookupOrInsert() function in v8::internal::interpreter::__anonbda690ea0111::AccessorTable 2230 DCHECK_NULL(private_accessors.LookupOrInsert(key)->getter); in BuildClassLiteral() 2231 private_accessors.LookupOrInsert(key)->getter = property; in BuildClassLiteral() 2236 DCHECK_NULL(private_accessors.LookupOrInsert(key)->setter); in BuildClassLiteral() 2237 private_accessors.LookupOrInsert(key)->setter = property; in BuildClassLiteral() 2751 accessor_table.LookupOrInsert(key)->getter = property; in VisitObjectLiteral() 2756 accessor_table.LookupOrInsert(key)->setter = property; in VisitObjectLiteral()
|
/external/v8/src/utils/ |
D | address-map.h | 27 LookupOrInsert(key, Hash(key))->value = index; in Set()
|
D | identity-map.cc | 144 std::pair<int, bool> IdentityMapBase::LookupOrInsert(Address key) { in LookupOrInsert() function in v8::internal::IdentityMapBase 175 auto lookup_result = LookupOrInsert(key); in FindOrInsertEntry()
|
D | identity-map.h | 77 std::pair<int, bool> LookupOrInsert(Address key);
|
/external/protobuf/src/google/protobuf/stubs/ |
D | map_util.h | 396 LookupOrInsert(Collection* const collection, 404 LookupOrInsert(Collection* const collection, 407 return LookupOrInsert( 429 LookupOrInsert(count_map, *it,
|
/external/v8/src/profiler/ |
D | strings-storage.cc | 137 return names_.LookupOrInsert(const_cast<char*>(str), hash); in GetEntry()
|
D | allocation-tracker.cc | 241 base::HashMap::Entry* entry = id_to_function_info_index_.LookupOrInsert( in AddFunctionInfo()
|
D | heap-snapshot-generator.cc | 326 base::HashMap::Entry* to_entry = entries_map_.LookupOrInsert( in MoveObject() 376 base::HashMap::Entry* entry = entries_map_.LookupOrInsert( in FindOrAddEntry() 2323 strings_.LookupOrInsert(const_cast<char*>(s), StringHash(s)); in GetStringId()
|
/external/v8/src/ast/ |
D | ast-value-factory.cc | 361 AstRawStringMap::Entry* entry = string_table_.LookupOrInsert( in GetString()
|
D | ast.cc | 342 ZoneHashMap::Entry* entry = table.LookupOrInsert(literal, hash); in CalculateEmitStore()
|
D | scopes.cc | 59 Entry* p = ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), in Declare() 80 Entry* p = ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), in Add()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | barrier_ops.cc | 328 >l::LookupOrInsert(&incomplete_, keys_vec(i), PersistentTuple()); in InsertOneLocked()
|
/external/v8/src/debug/ |
D | debug-coverage.cc | 27 Entry* entry = LookupOrInsert(key, Hash(key), []() { return 0; }); in Add()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_instruction.h | 357 string LookupOrInsert(const string& old_name) { in LookupOrInsert() function
|
/external/v8/src/objects/ |
D | keys.cc | 1252 auto entry = unchecked_result_keys.LookupOrInsert(key, key->Hash()); in CollectOwnJSProxyKeys()
|