Home
last modified time | relevance | path

Searched refs:LookupOrInsert (Results 1 – 25 of 34) sorted by relevance

12

/external/v8/src/
Dhashmap.h51 Entry* LookupOrInsert(void* key, uint32_t hash,
124 TemplateHashMapImpl<AllocationPolicy>::LookupOrInsert( in LookupOrInsert() function
290 Entry* entry = LookupOrInsert(p->key, p->hash, allocator); in Resize()
347 return Iterator(this, this->LookupOrInsert(key, key->Hash(), allocator));
Dcancelable-task.cc47 cancelable_tasks_.LookupOrInsert(reinterpret_cast<void*>(id), id); in Register()
Daddress-map.h28 map->LookupOrInsert(Key(obj), Hash(obj)); in LookupEntry()
Dd8.h71 hash_map_.LookupOrInsert(const_cast<char*>(name), Hash(name)); in Set()
Dtyping-asm.cc1416 entry = map->LookupOrInsert(variable, ComputePointerHash(variable), in GetVariableInfo()
Dgdb-jit.cc2011 HashMap::Entry* e = line_map->LookupOrInsert(addr, HashCodeAddress(addr)); in PutLineInfo()
/external/v8/src/crankshaft/
Dhydrogen-bce.cc316 BoundsCheckBbData** BoundsCheckTable::LookupOrInsert(BoundsCheckKey* key, in LookupOrInsert() function in v8::internal::BoundsCheckTable
319 &(ZoneHashMap::LookupOrInsert(key, key->Hash(), in LookupOrInsert()
327 ZoneHashMap::LookupOrInsert(key, key->Hash(), ZoneAllocationPolicy(zone)) in Insert()
397 BoundsCheckBbData** data_p = table_.LookupOrInsert(key, zone()); in PreProcessBlock()
Dhydrogen-bce.h20 INLINE(BoundsCheckBbData** LookupOrInsert(BoundsCheckKey* key, Zone* zone));
/external/v8/src/ast/
Dmodules.cc28 exports_->LookupOrInsert(key, export_name->hash(), allocator); in AddLocalExport()
Dast-value-factory.cc361 HashMap::Entry* entry = string_table_.LookupOrInsert(&key, hash); in GetString()
Dscopes.cc40 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->hash(), in Declare()
80 ZoneHashMap::LookupOrInsert(const_cast<AstRawString*>(name), name->hash(), in Declare()
869 HashMap::Entry* entry = non_locals->LookupOrInsert(key, name->Hash()); in CollectNonLocals()
Dast.cc374 ZoneHashMap::Entry* entry = table.LookupOrInsert(literal, hash, allocator); in CalculateEmitStore()
/external/protobuf/src/google/protobuf/stubs/
Dmap_util.h397 LookupOrInsert(Collection* const collection,
405 LookupOrInsert(Collection* const collection,
408 return LookupOrInsert(
430 LookupOrInsert(count_map, *it,
/external/v8/src/profiler/
Dstrings-storage.cc120 return names_.LookupOrInsert(const_cast<char*>(str), hash); in GetEntry()
Dprofile-generator.cc161 children_.LookupOrInsert(entry, CodeEntryHash(entry)); in FindOrAddChild()
178 line_ticks_.LookupOrInsert(reinterpret_cast<void*>(src_line), src_line); in IncrementLineTicks()
270 function_ids_.LookupOrInsert(code_entry, code_entry->GetHash()); in GetFunctionId()
Dheap-snapshot-generator.cc397 entries_map_.LookupOrInsert(to, ComputePointerHash(to)); in MoveObject()
448 entries_map_.LookupOrInsert(addr, ComputePointerHash(addr)); in FindOrAddEntry()
732 HashMap::Entry* cache_entry = entries_.LookupOrInsert(thing, Hash(thing)); in Pair()
758 entries_.LookupOrInsert(object, HeapEntriesMap::Hash(object)); in Insert()
776 entries_.LookupOrInsert(object, HeapEntriesMap::Hash(object)); in SetTag()
2385 HashMap::Entry* entry = objects_by_info_.LookupOrInsert(info, InfoHash(info)); in GetListMaybeDisposeInfo()
2455 native_groups_.LookupOrInsert(const_cast<char*>(label_copy), hash); in FindOrAddGroupInfo()
2770 strings_.LookupOrInsert(const_cast<char*>(s), StringHash(s)); in GetStringId()
Dallocation-tracker.cc264 HashMap::Entry* entry = id_to_function_info_index_.LookupOrInsert( in AddFunctionInfo()
/external/v8/test/cctest/
Dtest-hashmap.cc52 map_.LookupOrInsert(reinterpret_cast<void*>(x), hash_(x)); in Insert()
Dtest-heap-profiler.cc77 i::HashMap::Entry* entry = visited.LookupOrInsert( in CheckAllReachables()
148 i::HashMap::Entry* entry = visited.LookupOrInsert( in ValidateSnapshot()
/external/v8/src/compiler/
Dstate-values-utils.cc108 hash_map_.LookupOrInsert(&key, hash, ZoneAllocationPolicy(zone())); in GetValuesNodeFromCache()
/external/v8/src/wasm/
Dasm-wasm-builder.cc954 entry = local_variables_.LookupOrInsert(v, ComputePointerHash(v), in LookupOrInsertLocal()
969 entry = global_variables_.LookupOrInsert(v, ComputePointerHash(v), in LookupOrInsertGlobal()
983 entry = functions_.LookupOrInsert(v, ComputePointerHash(v), in LookupOrInsertFunction()
/external/v8/src/heap/
Dheap-inl.h526 global_pretenuring_feedback_->LookupOrInsert( in UpdateAllocationSite()
532 HashMap::Entry* e = pretenuring_feedback->LookupOrInsert( in UpdateAllocationSite()
/external/v8/src/snapshot/
Dserialize.h81 int LookupOrInsert(HeapObject* obj, int new_index) { in LookupOrInsert() function
Dserialize.cc329 map_->LookupOrInsert(addr, Hash(addr))->value = reinterpret_cast<void*>(i); in ExternalReferenceEncoder()
434 return impl_.LookupOrInsert(code_address, in FindOrCreateEntry()
1548 int index = partial_cache_index_map_.LookupOrInsert(heap_object, new_index); in PartialSnapshotCacheIndex()
/external/v8/src/parsing/
Dscanner.cc1548 HashMap::Entry* entry = map_.LookupOrInsert(encoding, hash); in AddSymbol()

12