Home | History | Annotate | Download | only in runtime

Lines Matching defs:Key

42         typedef std::pair<RefPtr<UString::Rep>, unsigned> Key;
43 static unsigned hash(const Key& p)
48 static bool equal(const Key& a, const Key& b)
72 typedef HashMap<StructureTransitionTableHash::Key, Transition, StructureTransitionTableHash, StructureTransitionTableHashTraits> TransitionTable;
85 // for the given key they will consider that transition to be a match. If a specialised transition
87 inline bool contains(const StructureTransitionTableHash::Key&, JSCell* specificValue);
88 inline Structure* get(const StructureTransitionTableHash::Key&, JSCell* specificValue) const;
89 inline bool hasTransition(const StructureTransitionTableHash::Key& key) const;
90 void remove(const StructureTransitionTableHash::Key& key, JSCell* specificValue)
93 ASSERT(contains(key, specificValue));
97 TransitionTable::iterator find = table()->find(key);
105 void add(const StructureTransitionTableHash::Key& key, Structure* structure, JSCell* specificValue)
115 TransitionTable::iterator find = table()->find(key);
117 table()->add(key, Transition(structure, 0));
123 ASSERT(!table()->contains(key));
124 table()->add(key, Transition(0, structure));