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.
192 * Check whether a value is contained in the map.
199 * Get value stored in map and set it in returnValue.
208 * Return value for key and remove it from the map.
215 * Traverses the map repeatedly,
276 * Get a reference to a map value. This enables fast, repeated access
277 * to a value stored in the map while the map remains unchanged.
281 * in the underlying map, as a result of Set or Remove for the same
283 * result of calling Clear() or destruction of the map.
372 * Put value into map. Depending on Traits::kIsWeak, the value will be held
373 * by the map strongly or weakly.
382 * Put value into map, like Set(const K&, Local<V>).
389 * Put the value into the map, and set the 'weak' callback when demanded
411 * Put a value into the map and update the reference.
448 * Put value into map. Depending on Traits::kIsWeak, the value will be held
449 * by the map strongly or weakly.
458 * Put value into map, like Set(const K&, Local<V>).
465 * Put the value into the map, and set the 'weak' callback when demanded
487 * Put a value into the map and update the reference.
500 auto map = Traits::MapFromWeakCallbackInfo(data);
502 map->RemoveWeak(key);
516 * A map that uses Global as value and std::map as the backing
532 * A map that uses Global as value and std::map as the backing
576 * are described by the Traits class. The backing map will handle values of type