Lines Matching refs:key_string
2941 Object* RegExpResultsCache::Lookup(Heap* heap, String* key_string, in Lookup() argument
2944 if (!key_string->IsInternalizedString()) return Smi::FromInt(0); in Lookup()
2955 uint32_t hash = key_string->Hash(); in Lookup()
2958 if (cache->get(index + kStringOffset) == key_string && in Lookup()
2964 if (cache->get(index + kStringOffset) == key_string && in Lookup()
2972 void RegExpResultsCache::Enter(Isolate* isolate, Handle<String> key_string, in Enter() argument
2978 if (!key_string->IsInternalizedString()) return; in Enter()
2989 uint32_t hash = key_string->Hash(); in Enter()
2993 cache->set(index + kStringOffset, *key_string); in Enter()
3000 cache->set(index2 + kStringOffset, *key_string); in Enter()
3007 cache->set(index + kStringOffset, *key_string); in Enter()