• Home
  • Raw
  • Download

Lines Matching refs:cache_entry

129   HashMap::Entry* cache_entry = names_.Lookup(str, hash, true);  in AddOrDisposeString()  local
130 if (cache_entry->value == NULL) { in AddOrDisposeString()
132 cache_entry->value = str; in AddOrDisposeString()
136 return reinterpret_cast<const char*>(cache_entry->value); in AddOrDisposeString()
1529 HashMap::Entry* cache_entry = entries_.Lookup(thing, Hash(thing), false); in Map() local
1530 if (cache_entry != NULL) { in Map()
1531 EntryInfo* entry_info = reinterpret_cast<EntryInfo*>(cache_entry->value); in Map()
1541 HashMap::Entry* cache_entry = entries_.Lookup(thing, Hash(thing), true); in Pair() local
1542 ASSERT(cache_entry->value == NULL); in Pair()
1543 cache_entry->value = new EntryInfo(entry, allocator); in Pair()
1583 HashMap::Entry* cache_entry = in Contains() local
1585 return cache_entry != NULL; in Contains()
1592 HashMap::Entry* cache_entry = in Insert() local
1594 if (cache_entry->value == NULL) { in Insert()
1595 cache_entry->value = HeapEntriesMap::kHeapEntryPlaceholder; in Insert()
1602 HashMap::Entry* cache_entry = in GetTag() local
1604 if (cache_entry != NULL in GetTag()
1605 && cache_entry->value != HeapEntriesMap::kHeapEntryPlaceholder) { in GetTag()
1606 return reinterpret_cast<const char*>(cache_entry->value); in GetTag()
1616 HashMap::Entry* cache_entry = in SetTag() local
1618 cache_entry->value = const_cast<char*>(tag); in SetTag()
3487 HashMap::Entry* cache_entry = nodes_.Lookup(entry, ObjectHash(entry), true); in GetNodeId() local
3488 if (cache_entry->value == NULL) { in GetNodeId()
3489 cache_entry->value = reinterpret_cast<void*>(next_node_id_++); in GetNodeId()
3491 return static_cast<int>(reinterpret_cast<intptr_t>(cache_entry->value)); in GetNodeId()
3496 HashMap::Entry* cache_entry = strings_.Lookup( in GetStringId() local
3498 if (cache_entry->value == NULL) { in GetStringId()
3499 cache_entry->value = reinterpret_cast<void*>(next_string_id_++); in GetStringId()
3501 return static_cast<int>(reinterpret_cast<intptr_t>(cache_entry->value)); in GetStringId()