Lines Matching full:shape
1863 // The hash table class is parameterized with a Shape and a Key.
1864 // Shape must be a class with the following interface:
1885 template<typename Shape, typename Key>
1947 kPrefixStartIndex + Shape::kPrefixSize;
1948 static const int kEntrySize = Shape::kEntrySize;
2118 template <typename Shape, typename Key>
2119 class Dictionary: public HashTable<Shape, Key> {
2122 static inline Dictionary<Shape, Key>* cast(Object* obj) {
2123 return reinterpret_cast<Dictionary<Shape, Key>*>(obj);
2128 return get(HashTable<Shape, Key>::EntryToIndex(entry)+1);
2133 set(HashTable<Shape, Key>::EntryToIndex(entry)+1, value);
2140 Smi::cast(get(HashTable<Shape, Key>::EntryToIndex(entry) + 2)));
2145 set(HashTable<Shape, Key>::EntryToIndex(entry) + 2, value.AsSmi());
2208 HashTable<Shape, Key>::kPrefixStartIndex;
3736 // the shape of the string is given its own class so that it can be retrieved
3739 // string can potentially alter its shape. Also be aware that a GC caused by
3740 // something else can alter the shape of a string due to ConsString