Lines Matching refs:entry

105   void Set(InternalIndex index, String entry) {
106 slot(index).Release_Store(entry);
167 // Returns probe entry.
258 for (InternalIndex entry = FirstProbe(hash, capacity_);;
259 entry = NextProbe(entry, count++, capacity_)) {
262 Object element = Get(isolate, entry);
266 if (KeyIsMatch(isolate, key, string)) return entry;
274 for (InternalIndex entry = FirstProbe(hash, capacity_);;
275 entry = NextProbe(entry, count++, capacity_)) {
278 Object element = Get(cage_base, entry);
280 return entry;
290 for (InternalIndex entry = FirstProbe(hash, capacity_);;
291 entry = NextProbe(entry, count++, capacity_)) {
294 Object element = Get(isolate, entry);
296 // Empty entry, it's our insertion entry if there was no previous Hole.
297 if (insertion_entry.is_not_found()) return entry;
303 // in case we find the actual matching entry.
304 if (insertion_entry.is_not_found()) insertion_entry = entry;
309 if (KeyIsMatch(isolate, key, string)) return entry;
493 // (misses) are ok. We will never get a false positive (hit of an entry no
496 // This is because we _know_ that if we find an entry in the string table, any
497 // entry will also be in all reallocations of that tables. This is required
503 // and on a miss we take the lock and try to write the entry, with a second
518 // table is now reallocated; we won't find a stale entry in the old table
519 // because the new table won't delete it's corresponding entry until the
522 InternalIndex entry = current_data->FindEntry(isolate, key, key->hash());
523 if (entry.is_found()) {
524 Handle<String> result(String::cast(current_data->Get(isolate, entry)),
530 // No entry found, so adding new string.
539 entry = data->FindEntryOrInsertionEntry(isolate, key, key->hash());
541 Object element = data->Get(isolate, entry);
543 // This entry is empty, so write it and register that we added an
547 data->Set(entry, *new_string);
551 // This entry was deleted, so overwrite it and register that we
555 data->Set(entry, *new_string);
673 InternalIndex entry = string_table_data->FindEntry(isolate, &key, key.hash());
674 if (entry.is_not_found()) {
680 String internalized = String::cast(string_table_data->Get(isolate, entry));
682 // If we found and entry in the string table and string is not internalized,