Home | History | Annotate | Download | only in src

Lines Matching refs:dictionary

85 //           - Dictionary
1143 V(Dictionary) \
1788 // this map is a dictionary map that is shared, the map copied and installed
1987 // properties is a FixedArray in the fast case and a Dictionary in the
2265 // a dictionary, and it will stay a dictionary. Collates undefined and
2426 // Would we convert a fast elements array to dictionary mode given
2485 // Convert the object to use the canonical dictionary
2495 // SeededNumberDictionary dictionary. Returns the backing after conversion.
2499 void RequireSlowElements(SeededNumberDictionary* dictionary);
3737 class Dictionary: public HashTable<Derived, Shape, Key> {
3766 // Delete a property from the dictionary.
3767 static Handle<Object> DeleteProperty(Handle<Derived> dictionary, int entry);
3769 // Attempt to shrink the dictionary after deletion of key.
3771 Handle<Derived> dictionary,
3773 return DerivedHashTable::Shrink(dictionary, key);
3780 // Returns the number of elements in the dictionary filtering out properties
3784 // Returns the number of enumerable elements in the dictionary.
3793 static void CollectKeysTo(Handle<Dictionary<Derived, Shape, Key>> dictionary,
3797 static void CopyEnumKeysTo(Handle<Dictionary<Derived, Shape, Key>> dictionary,
3811 // Creates a new dictionary.
3817 // Ensures that a new dictionary is created when the capacity is checked.
3841 MUST_USE_RESULT static Handle<Derived> Add(Handle<Derived> dictionary,
3846 // Returns iteration indices array for the |dictionary|.
3849 Handle<Derived> dictionary);
3857 Handle<Derived> dictionary,
3860 // Add entry to dictionary. Returns entry value.
3861 static int AddEntry(Handle<Derived> dictionary, Key key, Handle<Object> value,
3864 // Returns iteration indices array for the |dictionary|.
3866 Handle<Derived> dictionary);
3871 class NameDictionaryBase : public Dictionary<Derived, Shape, Handle<Name> > {
3872 typedef Dictionary<Derived, Shape, Handle<Name> > DerivedDictionary;
3884 template <typename Dictionary>
3885 static inline PropertyDetails DetailsAt(Dictionary* dict, int entry) {
3886 STATIC_ASSERT(Dictionary::kEntrySize == 3);
3889 Dictionary::EntryToIndex(entry) + Dictionary::kEntryDetailsIndex)));
3892 template <typename Dictionary>
3893 static inline void DetailsAtPut(Dictionary* dict, int entry,
3895 STATIC_ASSERT(Dictionary::kEntrySize == 3);
3896 dict->set(Dictionary::EntryToIndex(entry) + Dictionary::kEntryDetailsIndex,
3900 template <typename Dictionary>
3901 static bool IsDeleted(Dictionary* dict, int entry) {
3905 template <typename Dictionary>
3906 static inline void SetEntry(Dictionary* dict, int entry, Handle<Object> key,
3934 Handle<NameDictionary> dictionary);
3946 template <typename Dictionary>
3947 static inline PropertyDetails DetailsAt(Dictionary* dict, int entry);
3949 template <typename Dictionary>
3950 static inline void DetailsAtPut(Dictionary* dict, int entry,
3953 template <typename Dictionary>
3954 static bool IsDeleted(Dictionary* dict, int entry);
3956 template <typename Dictionary>
3957 static inline void SetEntry(Dictionary* dict, int entry, Handle<Object> key,
4000 template <typename Dictionary>
4001 static inline PropertyDetails DetailsAt(Dictionary* dict, int entry) {
4006 template <typename Dictionary>
4007 static inline void DetailsAtPut(Dictionary* dict, int entry,
4017 : public Dictionary<SeededNumberDictionary,
4025 Handle<SeededNumberDictionary> dictionary, uint32_t key,
4028 Handle<SeededNumberDictionary> dictionary, uint32_t key,
4032 // Return the updated dictionary.
4034 Handle<SeededNumberDictionary> dictionary, uint32_t key,
4039 // Returns true if the dictionary contains any elements that are non-writable,
4044 // for the elements kept in this dictionary. We require slow
4052 // dictionary. max_number_key can only be called if
4067 : public Dictionary<UnseededNumberDictionary,
4075 Handle<UnseededNumberDictionary> dictionary,
4079 Handle<UnseededNumberDictionary> dictionary,
4083 Handle<UnseededNumberDictionary> dictionary, uint32_t key);
4086 // Return the updated dictionary.
4088 Handle<UnseededNumberDictionary> dictionary,
4747 // The cache for maps used by normalized (dictionary mode) objects.
6360 // Tells whether the map is used for JSObjects in dictionary mode (ie
6362 // A map can never be used for both dictionary mode and fast mode JSObjects.
10528 Handle<GlobalDictionary> dictionary, int entry, Handle<Object> value,
10532 Handle<GlobalDictionary> dictionary, int entry);