Searched refs:obj3 (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/v8/test/mjsunit/compiler/
H A Dproto-chain-load.js33 var obj3 = Object.create(obj4, { f3: {value: 3} });
34 var obj2 = Object.create(obj3, { f2: {value: 2} });
H A Dproto-chain-constant.js34 var obj3 = c(obj4, { f3: { value: function() { return 3; }, writable: true }}); variable
35 var obj2 = c(obj3, { f2: { value: function() { return 2; }, writable: true }});
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2163.js49 // obj1, obj2, and obj3 share the getter accessor.
56 obj3 = {}
57 dp(obj3, "alpha", { get: getter });
/external/chromium_org/v8/test/mjsunit/
H A Dfast-non-keyed.js107 var obj3 = {};
108 AddProps3(obj3);
109 assertTrue(%HasFastProperties(obj3));
H A Dobject-define-property.js398 var obj3 = {x:1000};
399 obj3.__defineGetter__("foo", get);
400 obj3.__defineSetter__("foo", set);
402 desc = Object.getOwnPropertyDescriptor(obj3, "foo");
409 assertEquals(1, obj3.foo = 1);
410 assertEquals(1, obj3.x);
411 assertEquals(1, obj3.foo);
415 Object.defineProperty(obj3, "foo", accessorNoConfigurable);
416 desc = Object.getOwnPropertyDescriptor(obj3, "foo");
423 assertEquals(1, obj3
[all...]
H A Dobject-seal.js173 var obj3 = { x: 42, y: 'foo' };
175 assertFalse(Object.isFrozen(obj3));
177 Object.defineProperty(obj3, 'x', {configurable: false, writable: true});
178 Object.defineProperty(obj3, 'y', {configurable: false, writable: false});
179 Object.preventExtensions(obj3);
181 assertTrue(Object.isSealed(obj3));
H A Daccessor-map-sharing.js38 var obj1, obj2, obj3, obj4;
182 obj3 = Object.create(obj2);
184 assertTrue(%HaveSameMap(obj3, obj4));
190 obj3 = Object.create(obj2);
192 assertTrue(%HaveSameMap(obj3, obj4));
H A Dfunction-bind.js223 var obj3 = new f();
224 assertTrue(obj3 instanceof bar);
225 assertTrue(obj3 instanceof f);
226 assertFalse(obj3 instanceof foo);
227 assertFalse(obj3 instanceof Function);
228 assertFalse(obj3 instanceof String);
H A Dobject-freeze.js163 var obj3 = { x: 42, y: 'foo' };
165 assertFalse(Object.isFrozen(obj3));
167 Object.defineProperty(obj3, 'x', {configurable: false, writable: false});
168 Object.defineProperty(obj3, 'y', {configurable: false, writable: false});
169 Object.preventExtensions(obj3);
171 assertTrue(Object.isFrozen(obj3));
/external/chromium_org/v8/test/cctest/
H A Dtest-ordered-hash-table.cc71 Handle<JSObject> obj3 = factory->NewJSObjectFromMap(map); local
72 ordered_set = OrderedHashSet::Add(ordered_set, obj3);
76 CHECK(ordered_set->Contains(obj3));
85 CHECK(ordered_set->Contains(obj3));
98 ordered_set = OrderedHashSet::Remove(ordered_set, obj3, &was_present);
132 Handle<JSObject> obj3 = factory->NewJSObjectFromMap(map); local
138 ordered_map = OrderedHashMap::Put(ordered_map, obj3, val3);
144 lookup = ordered_map->Lookup(obj3);
158 lookup = ordered_map->Lookup(obj3);
172 ordered_map = OrderedHashMap::Remove(ordered_map, obj3,
[all...]
H A Dtest-heap-profiler.cc1845 "var obj3 = {};\n"
1846 "obj3.constructor = function Constructor3() {};\n"
1864 v8::Local<v8::Object> obj3 = js_global->Get(v8_str("obj3")).As<v8::Object>(); local
1865 i::Handle<i::JSObject> js_obj3 = v8::Utils::OpenHandle(*obj3);
H A Dtest-api.cc3724 v8::UniquePersistent<v8::Object> obj3(isolate, v8::Object::New(isolate));
3735 vector.Append(obj3.Pass());
3740 CHECK(obj3.IsEmpty());
8464 v8::Handle<v8::Object> obj3 = templ3->GetFunction()->NewInstance(); local
8469 CHECK_EQ(3, type_switch->match(obj3));
8470 CHECK_EQ(3, type_switch->match(obj3));
10785 context->Global()->Set(v8_str("obj3"), instance);
10790 value = CompileRun("new obj3(22)");
11152 context->Global()->Set(v8_str("obj3"), instance);
11158 value = CompileRun("obj3(2
16841 v8::Handle<v8::Object> obj3 = v8::Object::New(context->GetIsolate()); local
16854 v8::Handle<v8::Object> obj3 = v8::Object::New(context->GetIsolate()); local
[all...]
/external/fonttools/Lib/fontTools/misc/
H A DpsOperators.py416 obj3 = self.pop('arraytype', 'dicttype', 'stringtype', 'proceduretype')
417 tp = obj3.type
419 obj3.value[obj2.value] = obj1
421 obj3.value[obj2.value] = obj1
424 obj3.value = obj3.value[:index] + chr(obj1.value) + obj3.value[index+1:]
444 obj3 = self.pop('arraytype', 'stringtype')
445 tp = obj3.type
447 self.push(ps_array(obj3
[all...]
/external/fonttools/Tools/fontTools/misc/
H A DpsOperators.py416 obj3 = self.pop('arraytype', 'dicttype', 'stringtype', 'proceduretype')
417 tp = obj3.type
419 obj3.value[obj2.value] = obj1
421 obj3.value[obj2.value] = obj1
424 obj3.value = obj3.value[:index] + chr(obj1.value) + obj3.value[index+1:]
444 obj3 = self.pop('arraytype', 'stringtype')
445 tp = obj3.type
447 self.push(ps_array(obj3
[all...]
/external/chromium_org/base/
H A Did_map_unittest.cc64 TestObject obj3; local
68 map.Add(&obj3);
149 TestObject obj3; local
153 map.Add(&obj3);
177 TestObject obj3; local
181 map.Add(&obj3);
/external/llvm/unittests/ADT/
H A DImmutableSetTest.cpp169 MyIter obj3; local
172 ASSERT_EQ(0, obj3.counter);
H A DHashingTest.cpp101 NonPOD obj1(1, 2), obj2(3, 4), obj3(5, 6);
102 EXPECT_EQ(hash_combine(obj1, hash_combine(obj2, obj3)),
103 hash_value(std::make_pair(obj1, std::make_pair(obj2, obj3))));
/external/chromium_org/v8/test/mjsunit/es7/
H A Dobject-observe.js792 var obj3 = {}
794 Object.observe(obj3, observer.callback);
802 Object.getNotifier(obj3).notify({
805 Object.observe(obj3, observer.callback);
810 { object: obj3, type: 'delete' }

Completed in 919 milliseconds