Lines Matching defs:map

10 #include <map>
38 * A default trait implementation for PersistentValueMap which uses std::map
39 * as a backing map.
46 // STL map & related:
47 typedef std::map<K, PersistentContainerValue> Impl;
84 * a std:map backing map from StdMapTraits and holds non-weak persistent
100 MapType* map, const K& key, Local<V> value) {
128 static WeakCallbackDataType* WeakCallbackParameter(MapType* map, const K& key,
156 * A map wrapper that allows using Global as a mapped value.
160 * The map relies on a backing map, whose type and accessors are described
161 * by the Traits class. The backing map will handle values of type
171 * Return size of the map.
176 * Return whether the map holds weak persistents.
181 * Get value stored in map.
188 * Check whether a value is contained in the map.
195 * Get value stored in map and set it in returnValue.
204 * Return value for key and remove it from the map.
211 * Traverses the map repeatedly,
271 * Get a reference to a map value. This enables fast, repeated access
272 * to a value stored in the map while the map remains unchanged.
276 * in the underlying map, as a result of Set or Remove for the same
278 * result of calling Clear() or destruction of the map.
366 * Put value into map. Depending on Traits::kIsWeak, the value will be held
367 * by the map strongly or weakly.
376 * Put value into map, like Set(const K&, Local<V>).
383 * Put the value into the map, and set the 'weak' callback when demanded
405 * Put a value into the map and update the reference.
442 * Put value into map. Depending on Traits::kIsWeak, the value will be held
443 * by the map strongly or weakly.
452 * Put value into map, like Set(const K&, Local<V>).
459 * Put the value into the map, and set the 'weak' callback when demanded
481 * Put a value into the map and update the reference.
494 auto map = Traits::MapFromWeakCallbackInfo(data);
496 map->RemoveWeak(key);
510 * A map that uses Global as value and std::map as the backing
526 * A map that uses Global as value and std::map as the backing
572 * are described by the Traits class. The backing map will handle values of type