Lines Matching defs:primary
51 // Compute the primary entry.
53 Entry* primary = entry(primary_, primary_offset);
54 Code* old_code = primary->value;
56 // If the primary entry has useful data in it, we retire it to the
59 Map* old_map = primary->map;
62 int seed = PrimaryOffset(primary->key, old_flags, old_map);
63 int secondary_offset = SecondaryOffset(primary->key, old_flags, seed);
65 *secondary = *primary;
68 // Update primary cache.
69 primary->key = name;
70 primary->value = code;
71 primary->map = map;
80 Entry* primary = entry(primary_, primary_offset);
81 if (primary->key == name && primary->map == map) {
82 return primary->value;
134 // Lookup in primary table and skip duplicates.