HomeSort by relevance Sort by last modified time
    Searched full:obj1 (Results 1 - 25 of 123) sorted by null

1 2 3 4 5

  /external/chromium_org/v8/test/mjsunit/
accessor-map-sharing.js 38 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...]
compare-objects.js 63 var obj1 = {toString: function() {return "1";}};
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...]
samevalue.js 32 var obj1 = {x: 10, y: 11, z: "test"};
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));
    [all...]
compare-known-objects-slow.js 54 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);
object-prevent-extensions.js 31 var obj1 = {};
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]);
object-define-property.js 63 var obj1 = {};
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...]
compare-known-objects.js 56 var obj1 = new O;
60 assertTrue(%HaveSameMap(obj1, obj2));
61 test(obj1, obj2);
64 obj1.x = 1;
65 test(obj1, obj2);
  /external/clang/test/Rewriter/
properties.m 44 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...]
objc-modern-implicit-cast.mm 22 id obj1 = block;
24 void(^block1)(void) = obj1;
28 return_id(obj1);
32 return_block(obj1);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pep247.py 26 obj1 = module.new(key)
34 obj1 = module.new()
44 self.assertTrue(hasattr(obj1, 'digest_size'))
47 self.assertEqual(obj1.digest_size, module.digest_size)
49 self.assertEqual(obj1.digest_size, len(h1))
50 obj1.update('string')
51 obj_copy = obj1.copy()
52 self.assertEqual(obj1.digest(), obj_copy.digest())
53 self.assertEqual(obj1.hexdigest(), obj_copy.hexdigest())
55 digest, hexdigest = obj1.digest(), obj1.hexdigest(
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pep247.py 26 obj1 = module.new(key)
34 obj1 = module.new()
44 self.assertTrue(hasattr(obj1, 'digest_size'))
47 self.assertEqual(obj1.digest_size, module.digest_size)
49 self.assertEqual(obj1.digest_size, len(h1))
50 obj1.update('string')
51 obj_copy = obj1.copy()
52 self.assertEqual(obj1.digest(), obj_copy.digest())
53 self.assertEqual(obj1.hexdigest(), obj_copy.hexdigest())
55 digest, hexdigest = obj1.digest(), obj1.hexdigest(
    [all...]
  /external/chromium_org/v8/test/mjsunit/regress/
regress-2163.js 37 var obj1, obj2; variable
39 // obj1 and obj2 share the getter accessor.
40 obj1 = {};
41 dp(obj1, "alpha", { get: getter, set: setter });
44 obj1 = {};
49 // obj1, obj2, and obj3 share the getter accessor.
50 obj1 = {};
51 dp(obj1, "alpha", { get: getter, set: setter });
54 obj1 = {};
60 // obj1 and obj2 share the getter and setter accessor
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
ObjectTest.java 24 Object obj1 = new Object(); field in class:ObjectTest
48 assertTrue("Same object should be equal", obj1.equals(obj1));
49 assertTrue("Different objects should not be equal", !obj1.equals(obj2));
80 obj1.hashCode() == obj1.hashCode());
94 synchronized (obj1) {
97 obj1.wait();// Wait for ever.
122 synchronized (obj1) {
128 obj1.wait(1000, 0)
    [all...]
  /external/clang/test/SemaObjCXX/
delay-parsing-cplusfuncs.mm 18 MyClass * Obj1, *Obj2;
39 S::S(MyClass *O1, MyClass *O2) : Obj1(O1), Obj2(O2) {
43 S::S(MyClass *O1) : Obj1(O1){ Obj2 = 0; }
  /art/runtime/
jobject_comparator.cc 34 mirror::Object* obj1 = soa.Decode<mirror::Object*>(jobj1); local
36 if (obj1 == NULL) {
42 if (obj1->GetClass() != obj2->GetClass()) {
43 return obj1->GetClass()->IdentityHashCode() < obj2->IdentityHashCode();
46 size_t count1 = obj1->SizeOf();
52 return obj1->IdentityHashCode() < obj2->IdentityHashCode();
  /external/jdiff/src/jdiff/
CompareClassPdiffs.java 16 public int compare(Object obj1, Object obj2){
17 ClassDiff c1 = (ClassDiff)obj1;
ComparePkgPdiffs.java 16 public int compare(Object obj1, Object obj2){
17 PackageDiff p1 = (PackageDiff)obj1;
  /external/llvm/test/DebugInfo/Inputs/
arange-overlap.cc 24 // $ clang -g -fPIC -c -DFILE1 arange-overlap.cc -o obj1.o
26 // $ clang -shared obj1.o obj2.o -o <output>
fission-ranges.cc 15 // $ clang -gsplit-dwarf -O2 -fsanitize=address -fPIC -Dmain=foo fission-ranges.cc -c -o obj1.o
16 // $ gcc obj1.o obj2.o -shared -o <output>
  /art/test/088-monitor-verification/src/
Main.java 50 Object obj1 = new Object(); local
53 m.twoPath(obj1, obj2, 0);
56 m.triplet(obj1, obj2, 0);
182 public void twoPath(Object obj1, Object obj2, int x) {
185 synchronized (obj1) {
190 localObj = obj1;
202 public void triplet(Object obj1, Object obj2, int x) {
205 synchronized (obj1) {
206 synchronized(obj1) {
208 synchronized(obj1) {
    [all...]
  /external/chromium_org/third_party/skia/tests/
UtilsTest.cpp 51 RefClass obj1(1);
53 REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt());
63 tmp[1].reset(SkRef(&obj1));
65 REPORTER_ASSERT(reporter, 2 == obj1.getRefCnt());
71 REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt());
76 tmp[1].reset(SkRef(&obj1));
81 REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt());
89 tmp[1].reset(SkRef(&obj1));
91 REPORTER_ASSERT(reporter, 2 == obj1.getRefCnt());
96 REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt())
    [all...]
  /external/clang/test/SemaObjC/
block-as-object.m 8 typedef long (^MyBlock)(id obj1, id obj2);
  /external/skia/tests/
UtilsTest.cpp 51 RefClass obj1(1);
53 REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt());
63 tmp[1] = &obj1;
65 REPORTER_ASSERT(reporter, 2 == obj1.getRefCnt());
71 REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt());
76 tmp[1] = &obj1;
81 REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt());
89 tmp[1] = &obj1;
91 REPORTER_ASSERT(reporter, 2 == obj1.getRefCnt());
96 REPORTER_ASSERT(reporter, 1 == obj1.getRefCnt())
    [all...]
  /external/clang/test/CodeGenObjCXX/
arc-attrs.mm 10 // CHECK-NEXT: [[OBJ1:%.*]] = call i8* @_Z11makeObject1v()
11 // CHECK-NEXT: store i8* [[OBJ1]], i8** [[X]], align 8
34 // CHECK-NEXT: [[OBJ1:%.*]] = call i8* @_Z12makeObjectT1IU8__strongP11objc_objectET_v()
35 // CHECK-NEXT: store i8* [[OBJ1]], i8** [[X]], align 8
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/test/runtime/misc/
TestDictionary.m 32 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...]

Completed in 470 milliseconds

1 2 3 4 5