Lines Matching refs:Global
19 * C++11 embedders can use STL containers with Global values,
112 static void Dispose(Isolate* isolate, Global<V> value, K key) {}
143 static void Dispose(Isolate* isolate, Global<V> value, K key) {}
156 * A map wrapper that allows using Global as a mapped value.
157 * C++11 embedders don't need this class, as they can use Global
210 Global<V> Remove(const K& key) {
304 static PersistentContainerValue ClearAndLeak(Global<V>* persistent) {
310 static PersistentContainerValue Leak(Global<V>* persistent) {
315 * Return a container value as Global and make sure the weak
319 static Global<V> Release(PersistentContainerValue v) {
320 Global<V> p;
330 Global<V> p;
336 void AnnotateStrongRetainer(Global<V>* persistent) {
374 * Returns old value as Global.
376 Global<V> Set(const K& key, Local<V> value) {
377 Global<V> persistent(this->isolate(), value);
384 Global<V> Set(const K& key, Global<V> value) {
392 Global<V> SetUnique(const K& key, Global<V>* persistent) {
414 Global<V> Set(const K& key, Global<V> value,
450 * Returns old value as Global.
452 Global<V> Set(const K& key, Local<V> value) {
453 Global<V> persistent(this->isolate(), value);
460 Global<V> Set(const K& key, Global<V> value) {
468 Global<V> SetUnique(const K& key, Global<V>* persistent) {
490 Global<V> Set(const K& key, Global<V> value,
516 * A map that uses Global as value and std::map as the backing
520 * Global directly in std containers.
532 * A map that uses Global as value and std::map as the backing
536 * Global directly in std containers.
571 * A vector wrapper that safely stores Global values.
572 * C++11 embedders don't need this class, as they can use Global
581 class V8_DEPRECATE_SOON("Use std::vector<Global<V>>.") PersistentValueVector {
593 Global<V> persistent(isolate_, value);
600 void Append(Global<V> persistent) {
632 Global<V> p;
648 static PersistentContainerValue ClearAndLeak(Global<V>* persistent) {