/external/v8/test/cctest/ |
test-weakmaps.cc | 40 Handle<JSWeakMap> weakmap(JSWeakMap::cast(*weakmap_obj)); 44 weakmap->set_table(table); 45 weakmap->set_next(Smi::FromInt(0)); 46 return weakmap; 49 static void PutIntoWeakMap(Handle<JSWeakMap> weakmap, 53 Handle<ObjectHashTable>(ObjectHashTable::cast(weakmap->table())), 56 weakmap->set_table(*table); 70 Handle<JSWeakMap> weakmap = AllocateJSWeakMap(); local 86 PutIntoWeakMap(weakmap, Handle<JSObject>(JSObject::cast(*key)), 23); 88 CHECK_EQ(1, ObjectHashTable::cast(weakmap->table())->NumberOfElements()) 125 Handle<JSWeakMap> weakmap = AllocateJSWeakMap(); local [all...] |
/external/v8/test/mjsunit/harmony/ |
collections.js | 48 TestValidMapCalls(new WeakMap); 51 // Test invalid getter and setter calls for WeakMap only 62 TestInvalidCalls(new WeakMap); 99 TestMapBehavior1(new WeakMap); 128 TestQuery(new WeakMap); 141 TestDelete(new WeakMap); 152 TestGC1(new WeakMap); 169 TestGC2(new WeakMap); 185 TestEnumerable(WeakMap); 201 TestArbitrary(new WeakMap); [all...] |
proxies-hash.js | 120 TestMap(WeakMap, Object.seal) 121 TestMap(WeakMap, Object.freeze) 122 TestMap(WeakMap, Object.preventExtensions)
|
proxies-example-membrane.js | 91 var objectMap = new WeakMap; 288 var wet2dry = WeakMap(); 289 var dry2wet = WeakMap();
|
/external/v8/src/ |
collection.js | 32 var $WeakMap = global.WeakMap; 152 return new $WeakMap(); 160 ['WeakMap.prototype.get', this]); 172 ['WeakMap.prototype.set', this]); 184 ['WeakMap.prototype.has', this]); 196 ['WeakMap.prototype.delete', this]); 237 // Set up the WeakMap constructor function. 238 %SetCode($WeakMap, WeakMapConstructor); 240 // Set up the constructor property on the WeakMap prototype object [all...] |
macros.py | 106 macro IS_WEAKMAP(arg) = (%_ClassOf(arg) === 'WeakMap');
|
runtime.cc | 809 CONVERT_ARG_HANDLE_CHECKED(JSWeakMap, weakmap, 0); 810 ASSERT(weakmap->map()->inobject_properties() == 0); 812 weakmap->set_table(*table); 813 weakmap->set_next(Smi::FromInt(0)); 814 return *weakmap; 821 CONVERT_ARG_HANDLE_CHECKED(JSWeakMap, weakmap, 0); 823 return ObjectHashTable::cast(weakmap->table())->Lookup(*key); 830 CONVERT_ARG_HANDLE_CHECKED(JSWeakMap, weakmap, 0); 833 Handle<ObjectHashTable> table(ObjectHashTable::cast(weakmap->table())); 835 weakmap->set_table(*new_table) [all...] |
bootstrapper.cc | [all...] |
objects.cc | [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
WeakHashMapTest.java | 163 WeakHashMap<Object, Object> weakMap = new WeakHashMap<Object, Object>(); 169 weakMap.put(KEY_ARRAY[i], VALUE_ARRAY[i]); 176 Set<Map.Entry<Object, Object>> entrySet = weakMap.entrySet();
|
/external/webkit/Source/JavaScriptCore/ |
ChangeLog | [all...] |