/external/jdiff/src/jdiff/ |
H A D | CompareClassPdiffs.java | 16 public int compare(Object obj1, Object obj2){ argument 17 ClassDiff c1 = (ClassDiff)obj1;
|
H A D | ComparePkgPdiffs.java | 16 public int compare(Object obj1, Object obj2){ argument 17 PackageDiff p1 = (PackageDiff)obj1;
|
/external/v8/test/mjsunit/ |
H A D | 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, "charli [all...] |
H A D | samevalue.js | 32 var obj1 = {x: 10, y: 11, z: "test"}; 64 assertTrue(sameValueBoth(obj1, obj1)); 71 assertFalse(sameValueBoth(obj1, obj2)); 74 assertFalse(sameValueBoth(obj1, true)); 75 assertFalse(sameValueBoth(obj1, "foo")); 76 assertFalse(sameValueBoth(obj1, 1)); 77 assertFalse(sameValueBoth(obj1, undefined)); 78 assertFalse(sameValueBoth(obj1, NaN)); 83 assertFalse(sameValueBoth(undefined, obj1)); [all...] |
H A D | 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, obj [all...] |
H A D | compare-known-objects-slow.js | 86 var obj1 = %OptimizeObjectForAddingMultipleProperties({}, 1); variable 90 assertTrue(%HaveSameMap(obj1, obj2)); 91 test(obj1, obj2); 94 obj1.x = 1; 95 assertTrue(%HaveSameMap(obj1, obj2)); 96 test(obj1, obj2); 100 assertTrue(%HaveSameMap(obj1, obj2)); 101 test(obj1, obj2);
|
H A D | array-sort.js | 142 var obj1 = { toString: function() { return "b"; } }; 144 var a = [ obj2, obj0, obj1 ]; 146 assertArrayEquals([ obj0, obj1, obj2 ], a);
|
/external/v8/test/mjsunit/regress/ |
H A D | 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 an [all...] |
/external/v8/test/js-perf-test/Object/ |
H A D | assign.js | 19 var obj1; variable 26 obj1 = {}; 28 src1 = { id: "6930530530", obj1: obj1, obj2: obj2 }; 37 object.obj1 === obj1 && 45 obj1 = {}; 48 src2 = { obj1: obj1 }; 58 object.obj1 [all...] |
/external/v8/test/mjsunit/compiler/ |
H A D | proto-chain-constant.js | 36 var obj1 = c(obj2, { f1: { value: function() { return 1; }, writable: true }}); variable 37 var obj0 = c(obj1, { f0: { value: function() { return 0; }, writable: true }});
|
/external/apache-http/src/org/apache/http/util/ |
H A D | LangUtils.java | 68 public static boolean equals(final Object obj1, final Object obj2) { argument 69 return obj1 == null ? obj2 == null : obj1.equals(obj2);
|
/external/libchrome/base/ |
H A D | id_map_unittest.cc | 30 TestObject obj1; local 33 int32_t id1 = map.Add(&obj1); 36 EXPECT_EQ(&obj1, map.Lookup(id1)); 42 EXPECT_EQ(&obj1, map.Lookup(id1)); 53 map.AddWithID(&obj1, 1); 55 EXPECT_EQ(&obj1, map.Lookup(1)); 58 EXPECT_EQ(&obj2, map.Replace(2, &obj1)); 59 EXPECT_EQ(&obj1, map.Lookup(2)); 67 TestObject obj1; local 71 map.Add(&obj1); 152 TestObject obj1; local 180 TestObject obj1; local 362 TestObject obj1; local [all...] |
/external/libcxx/test/std/experimental/utilities/tuple/tuple.apply/ |
H A D | extended_types.pass.cpp | 29 A_int_0() : obj1(0){} 30 A_int_0(int x) : obj1(x) {} 33 int const obj1; member in struct:A_int_0 100 obj1_t obj1 = &T::obj1; local 169 assert(42 == ex::apply(obj1, t)); 175 assert(42 == ex::apply(obj1, t)); 181 assert(42 == ex::apply(obj1, t)); 187 assert(42 == ex::apply(obj1, t));
|
/external/v8/test/cctest/ |
H A D | test-inobject-slack-tracking.cc | 212 Handle<JSObject> obj1 = CompileRun<JSObject>("new A(1);"); local 229 CHECK(IsObjectShrinkable(*obj1)); 240 // obj1 and obj2 stays shrinkable because we don't clear unused fields. 241 CHECK(IsObjectShrinkable(*obj1)); 245 CHECK_EQ(5, obj1->map()->GetInObjectProperties()); 246 CHECK_EQ(4, obj1->map()->unused_property_fields()); 255 obj1 = CompileRun<JSObject>("new A(1);"); 259 CHECK(!IsObjectShrinkable(*obj1));
|
H A D | test-heap-profiler.cc | 1606 const v8::HeapGraphNode* obj1 = GetProperty( local 1608 CHECK(obj1); 1610 for (int i = 0, count = obj1->GetChildrenCount(); i < count; ++i) { 1611 const v8::HeapGraphEdge* prop = obj1->GetChild(i); 1844 "var obj1 = new Constructor1();\n" 1858 v8::Local<v8::Object> obj1 = js_global->Get(env.local(), v8_str("obj1")) local 1862 i::Handle<i::JSObject>::cast(v8::Utils::OpenHandle(*obj1)); 1908 CompileRun("var obj1 = {};\n" 1909 "obj1 1920 const v8::HeapGraphNode* obj1 = local 1966 const v8::HeapGraphNode* obj1 = local 1995 const v8::HeapGraphNode* obj1 = local [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
H A D | XSLTElementDef.java | 299 * @param obj1 A reference to the first object, or null. 303 * because obj2.equals(obj1) returns true. 305 private static boolean equalsMayBeNull(Object obj1, Object obj2) argument 307 return (obj2 == obj1) 308 || ((null != obj1) && (null != obj2) && obj2.equals(obj1));
|
/external/icu/icu4c/source/test/intltest/ |
H A D | msfmrgts.cpp | 228 Formattable obj1 = params[i]; local 230 if(obj1.getType() == Formattable::kString) 231 temp1 = obj1.getString(temp1); 234 switch (obj1.getType()) { 235 case Formattable::kLong: fmt->format(obj1.getLong(), temp1); break; 236 case Formattable::kInt64: fmt->format(obj1.getInt64(), temp1); break; 237 case Formattable::kDouble: fmt->format(obj1.getDouble(), temp1); break;
|
/external/clang/lib/Format/ |
H A D | UnwrappedLineFormatter.cpp | 646 bool operator()(LineState *obj1, LineState *obj2) const { argument 647 return *obj1 < *obj2;
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/ |
H A D | TransliteratorInputMethod.java | 710 public int compare(Object obj1, Object obj2) { argument 712 return collator.compare(((JLabel)obj1).getText(), ((JLabel)obj2).getText()); 715 public boolean equals(Object obj1) { argument 716 return obj1 instanceof LabelComparator;
|
/external/google-breakpad/src/common/mac/ |
H A D | macho_reader_unittest.cc | 318 Label obj1, obj2, obj3; 323 AppendFatArch(0x0cb92c30, 0x6a159a71, obj1, 0xfb4, 0x2615dbe8); 328 .Mark(&obj1) 344 EXPECT_EQ(obj1.Value(), object_files[0].offset); 316 Label obj1, obj2, obj3; local
|
/external/skia/tests/ |
H A D | SurfaceTest.cpp | 281 GrBackendObject obj1 = func(surface, mode); local 288 REPORTER_ASSERT(reporter, (obj1 == obj2) == (snap1 == snap2));
|
/external/v8/test/mjsunit/es7/ |
H A D | object-observe.js | 827 var obj1 = {a: 1}; 833 ++obj1.a; 837 Object.observe(obj1, recursiveObserver2); 839 ++obj1.a;
|
/external/libxml2/os400/iconv/bldcsndfa/ |
H A D | bldcsndfa.c | 1019 xmlXPathObjectPtr obj1; local 1044 obj1 = xmlXPathEval(utf8_tablerows, ctxt); 1046 if (!obj1 || obj1->type != XPATH_NODESET || !obj1->nodesetval || 1047 !obj1->nodesetval->nodeTab || obj1->nodesetval->nodeNr <= 1) { 1056 xmlXPathSetContextNode(obj1->nodesetval->nodeTab[0], ctxt); 1080 for (n = 1; n < obj1->nodesetval->nodeNr; n++) { 1081 xmlXPathSetContextNode(obj1 [all...] |
/external/pdfium/core/include/fxcrt/ |
H A D | fx_coordinates.h | 58 friend FX_BOOL operator==(const FXT_PSV& obj1, const FXT_PSV& obj2) { argument 59 return obj1.x == obj2.x && obj1.y == obj2.y; 61 friend FX_BOOL operator!=(const FXT_PSV& obj1, const FXT_PSV& obj2) { argument 62 return obj1.x != obj2.x || obj1.y != obj2.y; 64 friend FXT_PSV operator+(const FXT_PSV& obj1, const FXT_PSV& obj2) { argument 66 obj.x = obj1.x + obj2.x; 67 obj.y = obj1.y + obj2.y; 70 friend FXT_PSV operator-(const FXT_PSV& obj1, cons argument [all...] |
/external/v8/test/cctest/heap/ |
H A D | test-heap.cc | 3778 v8::Local<v8::Value> obj1; local 3784 obj1 = env->Global()->Get(env.local(), v8_str("obj")).ToLocalChecked(); 3789 CHECK(CcTest::global()->Set(ctx, v8_str("obj1"), obj1).FromJust()); 3790 CompileRun("function f(o) { return o.x; } f(obj1); f(obj1);"); 3810 v8::Local<v8::Value> obj1, obj2; local 3816 obj1 = env->Global()->Get(env.local(), v8_str("obj")).ToLocalChecked(); 3827 CHECK(CcTest::global()->Set(ctx, v8_str("obj1"), obj1) 3848 v8::Local<v8::Value> obj1, obj2; local 6243 Handle<Object> obj1 = v8::Utils::OpenHandle(*args[0]); local [all...] |