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

123

/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/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...]
H A DXObject.java531 * @param obj2 Object to compare this to
537 public boolean lessThan(XObject obj2) argument
546 if (obj2.getType() == XObject.CLASS_NODESET)
547 return obj2.greaterThan(this);
549 return this.num() < obj2.num();
555 * @param obj2 Object to compare this to
561 public boolean lessThanOrEqual(XObject obj2) argument
570 if (obj2.getType() == XObject.CLASS_NODESET)
571 return obj2.greaterThanOrEqual(this);
573 return this.num() <= obj2
585 greaterThan(XObject obj2) argument
609 greaterThanOrEqual(XObject obj2) argument
633 equals(XObject obj2) argument
661 notEquals(XObject 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/llvm/unittests/ADT/
H A DImmutableSetTest.cpp164 MyIter obj2; local
165 S2.foreach<MyIter>(obj2);
167 ASSERT_EQ(3, obj2.counter);
/external/pdfium/core/fxcrt/
H A Dcfx_observable_unittest.cpp140 PseudoObservable obj2; local
143 PseudoObservable::ObservedPtr obj2_ptr1(&obj2);
151 PseudoObservable::ObservedPtr obj2_ptr2(&obj2);
161 PseudoObservable obj2; local
164 PseudoObservable::ObservedPtr obj2_ptr1(&obj2);
168 PseudoObservable::ObservedPtr obj2_ptr2(&obj2);
H A Dcfx_retain_ptr_unittest.cpp92 PseudoRetainable obj2; local
95 ptr.Reset(&obj2);
98 EXPECT_EQ(1, obj2.retain_count());
99 EXPECT_EQ(0, obj2.release_count());
103 EXPECT_EQ(1, obj2.retain_count());
104 EXPECT_EQ(1, obj2.release_count());
109 PseudoRetainable obj2; local
113 CFX_RetainPtr<PseudoRetainable> ptr2(&obj2);
117 EXPECT_EQ(1, obj2.retain_count());
118 EXPECT_EQ(0, obj2
190 PseudoRetainable obj2; local
211 PseudoRetainable obj2; local
[all...]
/external/swiftshader/third_party/LLVM/unittests/ADT/
H A DImmutableSetTest.cpp164 MyIter obj2; local
165 S2.foreach<MyIter>(obj2);
167 ASSERT_EQ(3, obj2.counter);
/external/libchrome/base/
H A Did_map_unittest.cc31 TestObject obj2; local
38 int32_t id2 = map.Add(&obj2);
43 EXPECT_EQ(&obj2, map.Lookup(id2));
54 map.AddWithID(&obj2, 2);
56 EXPECT_EQ(&obj2, map.Lookup(2));
58 EXPECT_EQ(&obj2, map.Replace(2, &obj1));
68 TestObject obj2; local
72 map.Add(&obj2);
153 TestObject obj2; local
157 map.Add(&obj2);
181 TestObject obj2; local
[all...]
/external/libmojo/mojo/public/cpp/bindings/tests/
H A Dunion_unittest.cc765 ObjectUnionPtr obj2; local
766 mojo::internal::Deserialize<ObjectUnionPtr>(data, &obj2, nullptr);
767 EXPECT_EQ(8, obj2->get_f_dummy()->f_int8);
864 ObjectUnionPtr obj2; local
865 mojo::internal::Deserialize<ObjectUnionPtr>(data, &obj2, nullptr);
867 EXPECT_EQ(8, obj2->get_f_array_int8()[0]);
868 EXPECT_EQ(9, obj2->get_f_array_int8()[1]);
923 ObjectUnionPtr obj2; local
924 mojo::internal::Deserialize<ObjectUnionPtr>(data, &obj2, &context);
926 EXPECT_EQ(1, obj2
981 ObjectUnionPtr 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/apache-xml/src/main/java/org/apache/xalan/processor/
H A DXSLTElementDef.java300 * @param obj2 A reference to the second 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/pdfium/core/fpdfapi/parser/
H A Dcpdf_object_unittest.cpp110 bool Equal(const CPDF_Object* obj1, const CPDF_Object* obj2) { argument
111 if (obj1 == obj2)
113 if (!obj1 || !obj2 || obj1->GetType() != obj2->GetType())
117 return obj1->GetInteger() == obj2->GetInteger();
119 return obj1->AsNumber()->IsInteger() == obj2->AsNumber()->IsInteger() &&
120 obj1->GetInteger() == obj2->GetInteger();
123 return obj1->GetString() == obj2->GetString();
126 const CPDF_Array* array2 = obj2->AsArray();
137 const CPDF_Dictionary* dict2 = obj2
[all...]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/
H A DTransliteratorInputMethod.java712 public int compare(Object obj1, Object obj2) { argument
714 return collator.compare(((JLabel)obj1).getText(), ((JLabel)obj2).getText());
/external/v8/src/heap/
H A Dobject-stats.cc344 static bool SameLiveness(HeapObject* obj1, HeapObject* obj2) { argument
345 return obj1 == nullptr || obj2 == nullptr ||
346 ObjectMarking::Color(obj1) == ObjectMarking::Color(obj2);
/external/google-breakpad/src/common/mac/
H A Dmacho_reader_unittest.cc318 Label obj1, obj2, obj3;
324 AppendFatArch(0x0f3f1cbb, 0x6c55e90f, obj2, 0xc31, 0x83af6ffd);
331 .Mark(&obj2)
351 EXPECT_EQ(obj2.Value(), object_files[1].offset);
316 Label obj1, obj2, obj3; local
/external/skia/tests/
H A DSerializationTest.cpp174 T obj2; local
175 SerializationUtils<T>::Read(buffer2, &obj2);
212 T* obj2 = nullptr; local
213 SerializationUtils<T>::Read(buffer2, &obj2);
219 REPORTER_ASSERT(reporter, obj2);
223 REPORTER_ASSERT(reporter, nullptr == obj2);
226 return obj2; // Return object to perform further validity tests on it

Completed in 909 milliseconds

123