OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:deepEquals
(Results
1 - 25
of
56
) sorted by null
1
2
3
/libcore/luni/src/test/java/libcore/java/util/
ObjectsTest.java
41
assertTrue(Objects.
deepEquals
(null, null));
42
assertFalse(Objects.
deepEquals
(xs, null));
43
assertFalse(Objects.
deepEquals
(null, xs));
44
assertTrue(Objects.
deepEquals
(xs, xs));
45
assertTrue(Objects.
deepEquals
(xs, zs));
46
assertFalse(Objects.
deepEquals
(xs, ys));
47
assertTrue(Objects.
deepEquals
(o1, o1));
48
assertTrue(Objects.
deepEquals
(o1, o3));
49
assertFalse(Objects.
deepEquals
(o1, o2));
50
assertTrue(Objects.
deepEquals
("hello", "hello"))
[
all
...]
/external/chromium_org/v8/test/mjsunit/regress/
regress-escape-preserve-smi-representation.js
7
function
deepEquals
(a, b) {
18
if (!
deepEquals
(a[i], b[i])) return false;
29
deepEquals
(2, __v_0.length);
regress-put-prototype-transition.js
7
function
deepEquals
(a, b) { if (a === b) { if (a === 0) return (1 / a) === (1 / b); return true; } if (typeof a != typeof b) return false; if (typeof a == "number") return isNaN(a) && isNaN(b); if (typeof a !== "object" && typeof a !== "function") return false; var objectClass = classOf(a); if (objectClass !== classOf(b)) return false; if (objectClass === "RegExp") { return (a.toString() === b.toString()); } if (objectClass === "Function") return false; if (objectClass === "Array") { var elementCount = 0; if (a.length != b.length) { return false; } for (var i = 0; i < a.length; i++) { if (!
deepEquals
(a[i], b[i])) return false; } return true; } if (objectClass == "String" || objectClass == "Number" || objectClass == "Boolean" || objectClass == "Date") { if (a.valueOf() !== b.valueOf()) return false; } return deepObjectEquals(a, b); }
8
assertSame = function assertSame(expected, found, name_opt) { if (found === expected) { if (expected !== 0 || (1 / expected) == (1 / found)) return; } else if ((expected !== expected) && (found !== found)) { return; } fail(PrettyPrint(expected), found, name_opt); }; assertEquals = function assertEquals(expected, found, name_opt) { if (!
deepEquals
(found, expected)) { fail(PrettyPrint(expected), found, name_opt); } };
regress-347914.js
31
function deepObjectEquals(a, b) { var aProps = Object.keys(a); aProps.sort(); var bProps = Object.keys(b); bProps.sort(); if (!
deepEquals
(aProps, bProps)) { return false; } for (var i = 0; i < aProps.length; i++) { if (!
deepEquals
(a[aProps[i]], b[aProps[i]])) { return false; } } return true; }
32
function
deepEquals
(a, b) { if (a === b) { if (a === 0) return (1 / a) === (1 / b); return true; } if (typeof a != typeof b) return false; if (typeof a == "number") return isNaN(a) && isNaN(b); if (typeof a !== "object" && typeof a !== "function") return false; var objectClass = classOf(a); if (objectClass !== classOf(b)) return false; if (objectClass === "RegExp") { return (a.toString() === b.toString()); } if (objectClass === "Function") return false; if (objectClass === "Array") { var elementCount = 0; if (a.length != b.length) { return false; } for (var i = 0; i < a.length; i++) { if (!
deepEquals
(a[i], b[i])) return false; } return true; } if (objectClass == "String" || objectClass == "Number" || objectClass == "Boolean" || objectClass == "Date") { if (a.valueOf() !== b.valueOf()) return false; } return deepObjectEquals(a, b); }
33
assertSame = function assertSame(expected, found, name_opt) { if (found === expected) { if (expected !== 0 || (1 / expected) == (1 / found)) return; } else if ((expected !== expected) && (found !== found)) { return; } fail(PrettyPrint(expected), found, name_opt); }; assertEquals = function assertEquals(expected, found, name_opt) { if (!
deepEquals
(found, expected)) { fail(PrettyPrint(expected), found, name_opt); } };
/external/apache-xml/src/main/java/org/apache/xpath/functions/
Function2Args.java
163
* @see Expression#
deepEquals
(Expression)
165
public boolean
deepEquals
(Expression expr)
167
if(!super.
deepEquals
(expr))
175
if(!m_arg1.
deepEquals
(((Function2Args)expr).m_arg1))
Function3Args.java
161
* @see Expression#
deepEquals
(Expression)
163
public boolean
deepEquals
(Expression expr)
165
if(!super.
deepEquals
(expr))
173
if(!m_arg2.
deepEquals
(((Function3Args)expr).m_arg2))
FunctionOneArg.java
152
* @see Expression#
deepEquals
(Expression)
154
public boolean
deepEquals
(Expression expr)
156
if(!super.
deepEquals
(expr))
164
if(!m_arg0.
deepEquals
(((FunctionOneArg)expr).m_arg0))
FunctionMultiArgs.java
208
* @see Expression#
deepEquals
(Expression)
210
public boolean
deepEquals
(Expression expr)
212
if (!super.
deepEquals
(expr))
224
if (!m_args[i].
deepEquals
(fma.m_args[i]))
Function.java
126
* @see Expression#
deepEquals
(Expression)
128
public boolean
deepEquals
(Expression expr)
/external/apache-xml/src/main/java/org/apache/xpath/axes/
FilterExprIterator.java
200
* @see Expression#
deepEquals
(Expression)
202
public boolean
deepEquals
(Expression expr)
204
if (!super.
deepEquals
(expr))
208
if (!m_expr.
deepEquals
(fet.m_expr))
OneStepIteratorForward.java
158
* @see Expression#
deepEquals
(Expression)
160
public boolean
deepEquals
(Expression expr)
162
if(!super.
deepEquals
(expr))
FilterExprIteratorSimple.java
285
* @see Expression#
deepEquals
(Expression)
287
public boolean
deepEquals
(Expression expr)
289
if (!super.
deepEquals
(expr))
293
if (!m_expr.
deepEquals
(fet.m_expr))
FilterExprWalker.java
333
* @see Expression#
deepEquals
(Expression)
335
public boolean
deepEquals
(Expression expr)
337
if (!super.
deepEquals
(expr))
341
if(!m_expr.
deepEquals
(walker.m_expr))
WalkingIterator.java
340
* @see Expression#
deepEquals
(Expression)
342
public boolean
deepEquals
(Expression expr)
344
if (!super.
deepEquals
(expr))
351
if(!walker1.
deepEquals
(walker2))
OneStepIterator.java
331
* @see Expression#
deepEquals
(Expression)
333
public boolean
deepEquals
(Expression expr)
335
if(!super.
deepEquals
(expr))
PredicatedNodeTest.java
566
* @see Expression#
deepEquals
(Expression)
568
public boolean
deepEquals
(Expression expr)
570
if (!super.
deepEquals
(expr))
582
if (!m_predicates[i].
deepEquals
(pnt.m_predicates[i]))
UnionPathIterator.java
553
* @see Expression#
deepEquals
(Expression)
555
public boolean
deepEquals
(Expression expr)
557
if (!super.
deepEquals
(expr))
571
if(!m_exprs[i].
deepEquals
(upi.m_exprs[i]))
/external/apache-xml/src/main/java/org/apache/xpath/operations/
UnaryOperation.java
149
* @see Expression#
deepEquals
(Expression)
151
public boolean
deepEquals
(Expression expr)
156
if(!m_right.
deepEquals
(((UnaryOperation)expr).m_right))
Operation.java
197
* @see Expression#
deepEquals
(Expression)
199
public boolean
deepEquals
(Expression expr)
204
if(!m_left.
deepEquals
(((Operation)expr).m_left))
207
if(!m_right.
deepEquals
(((Operation)expr).m_right))
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/launch/
JUnitLaunchConfigDelegateTest.java
108
assertTrue(Arrays.
deepEquals
(a1, a2));
112
assertTrue(Arrays.
deepEquals
(a1, a2));
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
Objects.java
47
* the result of {@link Arrays#
deepEquals
} if both arguments are arrays of reference types,
50
public static boolean
deepEquals
(Object a, Object b) {
54
return Arrays.
deepEquals
((Object[]) a, (Object[]) b);
/libcore/luni/src/main/java/java/util/
Objects.java
42
* the result of {@link Arrays#
deepEquals
} if both arguments are arrays of reference types,
45
public static boolean
deepEquals
(Object a, Object b) {
49
return Arrays.
deepEquals
((Object[]) a, (Object[]) b);
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
UnionPattern.java
189
* @see Expression#
deepEquals
(Expression)
191
public boolean
deepEquals
(Expression expr)
206
if(!m_patterns[i].
deepEquals
(up.m_patterns[i]))
/external/chromium_org/v8/test/intl/
assert.js
39
if (!
deepEquals
(aProps, bProps)) {
43
if (!
deepEquals
(a[aProps[i]], b[aProps[i]])) {
55
function
deepEquals
(a, b) {
79
if (!
deepEquals
(a[i], b[i])) return false;
106
if (!
deepEquals
(expected, found)) {
/frameworks/base/core/java/android/bluetooth/le/
ScanFilter.java
403
Objects.
deepEquals
(mManufacturerData, other.mManufacturerData) &&
404
Objects.
deepEquals
(mManufacturerDataMask, other.mManufacturerDataMask) &&
405
Objects.
deepEquals
(mServiceDataUuid, other.mServiceDataUuid) &&
406
Objects.
deepEquals
(mServiceData, other.mServiceData) &&
407
Objects.
deepEquals
(mServiceDataMask, other.mServiceDataMask) &&
Completed in 501 milliseconds
1
2
3