Home
last modified time | relevance | path

Searched refs:obj1 (Results 1 – 25 of 65) sorted by relevance

123

/external/v8/test/mjsunit/
Daccessor-map-sharing.js38 var obj1, obj2, obj3, obj4; variable
41 obj1 = {};
42 dp(obj1, "alpha", { get: getter });
45 assertTrue(%HaveSameMap(obj1, obj2));
48 obj1 = {};
49 obj1.__defineGetter__("bravo", getter);
50 assertEquals(getter, obj1.__lookupGetter__("bravo"));
54 assertTrue(%HaveSameMap(obj1, obj2));
57 obj1 = {};
58 dp(obj1, "charlie", { set: setter });
[all …]
Dcompare-objects.js63 var obj1 = {toString: function() {return "1";}}; variable
66 var less = obj1 < obj2;
67 var greater = obj1 > obj2;
69 test(obj1, obj2, less, greater);
70 test(obj1, obj2, less, greater);
71 test(obj1, obj2, less, greater);
73 test(obj1, obj2, less, greater);
74 test(obj1, obj2, less, greater);
76 obj1.x = 1;
77 test(obj1, obj2, less, greater);
[all …]
Dobject-define-property.js63 var obj1 = {}; variable
116 Object.defineProperty(obj1, "foo", undefined);
124 Object.defineProperty(obj1, "foo", emptyDesc);
127 assertEquals(undefined, obj1.foo);
131 var desc = Object.getOwnPropertyDescriptor(obj1, "foo");
142 desc = Object.getOwnPropertyDescriptor(obj1, "bar");
147 Object.defineProperty(obj1, "foo", accessorConfigurable);
155 Object.defineProperty(obj1, "bar", accessorConfigurable);
156 desc = Object.getOwnPropertyDescriptor(obj1, "bar");
163 assertEquals(1, obj1.bar = 1);
[all …]
Dsamevalue.js32 var obj1 = {x: 10, y: 11, z: "test"}; variable
47 assertTrue(natives.SameValue(obj1, obj1));
54 assertFalse(natives.SameValue(obj1, obj2));
57 assertFalse(natives.SameValue(obj1, true));
58 assertFalse(natives.SameValue(obj1, "foo"));
59 assertFalse(natives.SameValue(obj1, 1));
60 assertFalse(natives.SameValue(obj1, undefined));
61 assertFalse(natives.SameValue(obj1, NaN));
66 assertFalse(natives.SameValue(undefined, obj1));
72 assertFalse(natives.SameValue(NaN, obj1));
[all …]
Dcompare-known-objects-slow.js54 var obj1 = %OptimizeObjectForAddingMultipleProperties({}, 1); variable
58 assertTrue(%HaveSameMap(obj1, obj2));
59 test(obj1, obj2);
62 obj1.x = 1;
63 assertTrue(%HaveSameMap(obj1, obj2));
64 test(obj1, obj2);
68 assertTrue(%HaveSameMap(obj1, obj2));
69 test(obj1, obj2);
Dobject-prevent-extensions.js31 var obj1 = {}; variable
33 assertTrue(Object.isExtensible(obj1));
34 Object.preventExtensions(obj1);
37 assertFalse(Object.isExtensible(obj1));
38 obj1.x = 42;
39 assertEquals(undefined, obj1.x);
42 obj1[1] = 42;
43 assertEquals(undefined, obj1[1]);
Dcompare-known-objects.js56 var obj1 = new O; variable
60 assertTrue(%HaveSameMap(obj1, obj2));
61 test(obj1, obj2);
64 obj1.x = 1;
65 test(obj1, obj2);
/external/v8/test/mjsunit/regress/
Dregress-2163.js37 var obj1, obj2; variable
40 obj1 = {};
41 dp(obj1, "alpha", { get: getter, set: setter });
44 obj1 = {};
50 obj1 = {};
51 dp(obj1, "alpha", { get: getter, set: setter });
54 obj1 = {};
61 obj1 = {};
62 dp(obj1, "alpha", { get: getter, set: setter });
63 obj1.beta = 10;
[all …]
Dregress-687.js56 var obj1 = {}; variable
57 Object.defineProperty(obj1, 'p', {get: undefined, set: undefined});
58 assertTrue("p" in obj1);
59 desc = Object.getOwnPropertyDescriptor(obj1, "p");
/external/clang/test/Rewriter/
Dproperties.m44 Foo *obj1, *obj2;
46 if (obj1.i == obj2.rrrr)
47 obj1.i = 33;
48 obj1.i = func(obj2.rrrr);
49 obj1.i = obj2.rrrr;
50 obj1.i = (obj2.rrrr);
51 [obj1 setI:[obj2 rrrr]];
52 obj1.i = [obj2 rrrr];
53 obj1.i = 3 + [obj2 rrrr];
54 i = obj1.o.i;
[all …]
Dobjc-modern-implicit-cast.mm22 id obj1 = block;
24 void(^block1)(void) = obj1;
28 return_id(obj1);
32 return_block(obj1);
/external/skia/tests/
DUtilsTest.cpp51 RefClass obj1(1); in test_autostarray() local
53 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray()
63 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
65 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray()
71 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray()
76 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
81 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray()
89 tmp[1].reset(SkRef(&obj1)); in test_autostarray()
91 REPORTER_ASSERT(reporter, !obj1.unique()); in test_autostarray()
96 REPORTER_ASSERT(reporter, obj1.unique()); in test_autostarray()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/misc/
DTestDictionary.m32 NSString *obj1 = @"obj101";
35 [testDict setObject:obj1 forKey:key1];
36 NSString *expected = obj1;
45 NSString *obj1 = @"obj101";
50 [testDict setObject:obj1 forKey:key1];
52 NSString *expected = obj1;
61 NSString *obj1 = @"obj101";
64 [testDict setObject:obj1 forKey:key1];
85 NSString *obj1 = @"obj101";
88 [testDict setObject:obj1 forKey:key1];
[all …]
/external/fonttools/Lib/fontTools/misc/
DpsOperators.py237 obj1 = self.pop()
239 self.push(obj1)
414 obj1 = self.pop()
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:]
427 obj1 = self.pop()
428 if obj1.value == "Encoding":
433 self.push(obj2.value[obj1.value])
435 self.push(obj2.value[obj1.value])
[all …]
/external/v8/test/cctest/
Dtest-ordered-hash-table.cc67 Handle<JSObject> obj1 = factory->NewJSObjectFromMap(map); in TEST() local
68 ordered_set = OrderedHashSet::Add(ordered_set, obj1); in TEST()
74 CHECK(ordered_set->Contains(obj1)); in TEST()
83 CHECK(ordered_set->Contains(obj1)); in TEST()
94 ordered_set = OrderedHashSet::Remove(ordered_set, obj1, &was_present); in TEST()
130 Handle<JSObject> obj1 = factory->NewJSObjectFromMap(map); in TEST() local
136 ordered_map = OrderedHashMap::Put(ordered_map, obj1, val1); in TEST()
140 lookup = ordered_map->Lookup(obj1); in TEST()
154 lookup = ordered_map->Lookup(obj1); in TEST()
168 ordered_map = OrderedHashMap::Remove(ordered_map, obj1, &was_present); in TEST()
/external/boringssl/src/crypto/x509v3/
Dv3_pmaps.c120 ASN1_OBJECT *obj1, *obj2; in v2i_POLICY_MAPPINGS() local
137 obj1 = OBJ_txt2obj(val->name, 0); in v2i_POLICY_MAPPINGS()
139 if(!obj1 || !obj2) { in v2i_POLICY_MAPPINGS()
151 pmap->issuerDomainPolicy = obj1; in v2i_POLICY_MAPPINGS()
/external/apache-http/src/org/apache/http/util/
DLangUtils.java68 public static boolean equals(final Object obj1, final Object obj2) { in equals() argument
69 return obj1 == null ? obj2 == null : obj1.equals(obj2); in equals()
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/
DListOrganizerTest.java55 Object obj1 = new Object(); in testMoveToBottom() local
60 list.add(obj1); in testMoveToBottom()
64 assertEquals(obj1, list.getFirst()); in testMoveToBottom()
/external/jmonkeyengine/engine/src/test/jme3test/tools/
DTestTextureAtlas.java56 Spatial obj1 = assetManager.loadModel("Models/Ferrari/Car.scene"); in simpleInitApp() local
57 obj1.setLocalTranslation(-4, 0, 0); in simpleInitApp()
66 scene.attachChild(obj1); in simpleInitApp()
/external/jdiff/src/jdiff/
DComparePkgPdiffs.java16 public int compare(Object obj1, Object obj2){ in compare() argument
17 PackageDiff p1 = (PackageDiff)obj1; in compare()
DCompareClassPdiffs.java16 public int compare(Object obj1, Object obj2){ in compare() argument
17 ClassDiff c1 = (ClassDiff)obj1; in compare()
/external/llvm/test/Transforms/PlaceSafepoints/
Dinvokes.ll6 define i64 addrspace(1)* @test_basic(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "statepoin…
29 ret i64 addrspace(1)* %obj1
32 define i64 addrspace(1)* @test_two_invokes(i64 addrspace(1)* %obj, i64 addrspace(1)* %obj1) gc "sta…
61 ret i64 addrspace(1)* %obj1
/external/v8/test/mjsunit/compiler/
Dconcurrent-invalidate-transition-map.js46 var obj1 = new_object(); variable
48 add_field(obj1);
Dproto-chain-load.js35 var obj1 = Object.create(obj2, { f1: {value: 1} });
36 var obj0 = Object.create(obj1, { f0: {value: 0} });
/external/llvm/test/Verifier/
Dstatepoint.ll55 define i8 addrspace(1)* @test3(i8 addrspace(1)* %obj, i8 addrspace(1)* %obj1) gc "statepoint-exampl…
60 …0, i32 0, i32 5, i32 0, i32 -1, i32 0, i32 0, i32 0, i8 addrspace(1)* %obj, i8 addrspace(1)* %obj1)
69 …%obj1.relocated = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(i32 %0, i32 10,…
80 …%obj1.relocated1 = call coldcc i8 addrspace(1)* @llvm.experimental.gc.relocate.p1i8(i32 %relocate_…
81 ret i8 addrspace(1)* %obj1.relocated1

123