Searched defs:obj2 (Results 1 - 25 of 49) sorted by relevance

12

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-2291.js31 var obj2 = new Object(); class
H A Dregress-2374.js31 var obj2 = JSON.parse(msg); variable
33 assertEquals(JSON.stringify(obj), JSON.stringify(obj2));
34 assertEquals(JSON.stringify(obj, null, 0), JSON.stringify(obj2));
/external/chromium_org/v8/test/mjsunit/
H A Dcompare-known-objects-slow.js55 var obj2 = %OptimizeObjectForAddingMultipleProperties({}, 1); variable
58 assertTrue(%HaveSameMap(obj1, obj2));
59 test(obj1, obj2);
63 assertTrue(%HaveSameMap(obj1, obj2));
64 test(obj1, obj2);
67 obj2.y = 2;
68 assertTrue(%HaveSameMap(obj1, obj2));
69 test(obj1, obj2);
H A Dsamevalue.js33 var obj2 = {x: 10, y: 11, z: "test"};
54 assertFalse(natives.SameValue(obj1, obj2));
H A Dcompare-objects.js64 var obj2 = {toString: function() {return "2";}};
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);
77 test(obj1, obj2, less, greater);
79 obj2
[all...]
H A Dobject-freeze.js99 var obj2 = {};
102 Object.defineProperty(obj2, 'x', { get: get, set: set, configurable: true });
104 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
110 assertTrue(Object.isExtensible(obj2));
111 assertFalse(Object.isFrozen(obj2));
112 Object.freeze(obj2);
113 assertTrue(Object.isFrozen(obj2));
114 assertFalse(Object.isExtensible(obj2));
116 desc = Object.getOwnPropertyDescriptor(obj2, 'x');
122 obj2
[all...]
H A Dobject-literal.js41 var obj2 = {
47 assertEquals(7, obj2.a);
48 assertEquals(12, obj2.b.x);
49 assertEquals(24, obj2.b.y);
50 assertEquals('Zebra', obj2.c);
/external/jdiff/src/jdiff/
H A DCompareClassPdiffs.java16 public int compare(Object obj1, Object obj2){ argument
18 ClassDiff c2 = (ClassDiff)obj2;
H A DComparePkgPdiffs.java16 public int compare(Object obj1, Object obj2){ argument
18 PackageDiff p2 = (PackageDiff)obj2;
/external/chromium_org/v8/test/mjsunit/compiler/
H A Dproto-chain-constant.js35 var obj2 = c(obj3, { f2: { value: function() { return 2; }, writable: true }}); variable
36 var obj1 = c(obj2, { f1: { value: function() { return 1; }, writable: true }});
54 obj2.f3 = function() { return 6; };
/external/apache-xml/src/main/java/org/apache/xpath/objects/
H A DXBooleanStatic.java52 * @param obj2 Object to compare to this
58 public boolean equals(XObject obj2) argument
62 return m_val == obj2.bool();
H A DXNull.java122 * @param obj2 Object to compare this to
126 public boolean equals(XObject obj2) argument
128 return obj2.getType() == CLASS_NULL;
H A DXBoolean.java143 * @param obj2 Object to compare to this
149 public boolean equals(XObject obj2) argument
155 if (obj2.getType() == XObject.CLASS_NODESET)
156 return obj2.equals(this);
160 return m_val == obj2.bool();
H A DXNumber.java387 * @param obj2 Object to compare this to
393 public boolean equals(XObject obj2) argument
399 int t = obj2.getType();
403 return obj2.equals(this);
405 return obj2.bool() == bool();
407 return m_val == obj2.num();
H A DXRTreeFrag.java249 * @param obj2 Object to compare this to
255 public boolean equals(XObject obj2) argument
260 if (XObject.CLASS_NODESET == obj2.getType())
266 return obj2.equals(this);
268 else if (XObject.CLASS_BOOLEAN == obj2.getType())
270 return bool() == obj2.bool();
272 else if (XObject.CLASS_NUMBER == obj2.getType())
274 return num() == obj2.num();
276 else if (XObject.CLASS_NODESET == obj2.getType())
278 return xstr().equals(obj2
[all...]
H A DXNodeSet.java465 * @param obj2 Object to compare this nodeset to
472 public boolean compare(XObject obj2, Comparator comparator) argument
477 int type = obj2.getType();
495 DTMIterator list2 = ((XNodeSet) obj2).iterRaw();
552 double num2 = obj2.num();
567 double num2 = obj2.num();
585 XMLString s2 = obj2.xstr();
611 XMLString s2 = obj2.xstr();
629 result = comparator.compareNumbers(this.num(), obj2.num());
638 * @param obj2 objec
644 lessThan(XObject obj2) argument
658 lessThanOrEqual(XObject obj2) argument
672 greaterThan(XObject obj2) argument
686 greaterThanOrEqual(XObject obj2) argument
701 equals(XObject obj2) argument
722 notEquals(XObject obj2) argument
[all...]
H A DXString.java285 * @param obj2 Object to compare this to
291 public boolean equals(XObject obj2) argument
297 int t = obj2.getType();
301 return obj2.equals(this);
306 return obj2.bool() == bool();
310 return obj2.num() == num();
319 return xstr().equals(obj2.xstr());
328 * @param obj2 the object to compare this <code>String</code> against.
334 public boolean equals(String obj2) { argument
335 return str().equals(obj2);
351 equals(XMLString obj2) argument
376 equals(Object obj2) argument
[all...]
H A DXStringForFSB.java281 * @param obj2 the object to compare this <code>String</code>
289 public boolean equals(XMLString obj2) argument
292 if (this == obj2)
299 if (n == obj2.length())
307 if (fsb.charAt(i) != obj2.charAt(j))
325 * @param obj2 Object to compare this to
331 public boolean equals(XObject obj2) argument
334 if (this == obj2)
338 if(obj2.getType() == XObject.CLASS_NUMBER)
339 return obj2
418 equals(Object obj2) argument
[all...]
/external/apache-http/src/org/apache/http/util/
H A DLangUtils.java68 public static boolean equals(final Object obj1, final Object obj2) { argument
69 return obj1 == null ? obj2 == null : obj1.equals(obj2);
/external/chromium_org/v8/test/cctest/
H A Dtest-ordered-hash-table.cc69 Handle<JSObject> obj2 = factory->NewJSObjectFromMap(map); local
70 ordered_set = OrderedHashSet::Add(ordered_set, obj2);
75 CHECK(ordered_set->Contains(obj2));
84 CHECK(ordered_set->Contains(obj2));
96 ordered_set = OrderedHashSet::Remove(ordered_set, obj2, &was_present);
131 Handle<JSObject> obj2 = factory->NewJSObjectFromMap(map); local
137 ordered_map = OrderedHashMap::Put(ordered_map, obj2, val2);
142 lookup = ordered_map->Lookup(obj2);
156 lookup = ordered_map->Lookup(obj2);
170 ordered_map = OrderedHashMap::Remove(ordered_map, obj2,
[all...]
/external/llvm/unittests/ADT/
H A DImmutableSetTest.cpp164 MyIter obj2; local
165 S2.foreach<MyIter>(obj2);
167 ASSERT_EQ(3, obj2.counter);
/external/chromium_org/base/
H A Did_map_unittest.cc29 TestObject obj2; local
36 int32 id2 = map.Add(&obj2);
41 EXPECT_EQ(&obj2, map.Lookup(id2));
52 map.AddWithID(&obj2, 2);
54 EXPECT_EQ(&obj2, map.Lookup(2));
63 TestObject obj2; local
67 map.Add(&obj2);
148 TestObject obj2; local
152 map.Add(&obj2);
176 TestObject obj2; local
[all...]
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DXMLStringDefault.java159 * @param obj2 the object to compare this <code>String</code> against.
165 public boolean equals(String obj2) { argument
166 return m_str.equals(obj2);
/external/chromium_org/third_party/libxslt/libxslt/
H A Dfunctions.c227 xmlXPathObjectPtr obj, obj2 = NULL; local
253 obj2 = valuePop(ctxt);
269 valuePush(ctxt, xmlXPathObjectCopy(obj2));
284 if (obj2 != NULL)
285 xmlXPathFreeObject(obj2);
297 if (obj2 != NULL)
298 xmlXPathFreeObject(obj2);
305 if ((obj2 != NULL) && (obj2->nodesetval != NULL) &&
306 (obj2
353 xmlXPathObjectPtr obj1, obj2; local
[all...]
/external/skia/tests/
H A DSerializationTest.cpp154 T obj2; local
155 SerializationUtils<T>::Read(buffer2, &obj2);
192 T* obj2 = NULL; local
193 SerializationUtils<T>::Read(buffer2, &obj2);
199 REPORTER_ASSERT(reporter, NULL != obj2);
203 REPORTER_ASSERT(reporter, NULL == obj2);
206 return obj2; // Return object to perform further validity tests on it

Completed in 533 milliseconds

12