Home
last modified time | relevance | path

Searched full:compareto (Results 1 – 25 of 57) sorted by relevance

123

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/TreeMap/
DTreeMapHasKeyHasValueSetAllForEachTest.ets40 return secondValue.compareTo(firstValue)
53 return secondValue.compareTo(firstValue)
66 return secondValue.compareTo(firstValue)
78 return secondValue.compareTo(firstValue)
82 return secondValue.compareTo(firstValue)
94 return secondValue.compareTo(firstValue)
101 return secondValue.compareTo(firstValue)
112 return secondValue.compareTo(firstValue)
128 return secondValue.compareTo(firstValue)
142 return secondValue.compareTo(firstValue)
[all …]
DTreeMapRemoveReplaceClearTest.ets42 return secondValue.compareTo(firstValue)
53 return secondValue.compareTo(firstValue)
67 return secondValue.compareTo(firstValue)
78 return secondValue.compareTo(firstValue)
88 return secondValue.compareTo(firstValue)
101 return secondValue.compareTo(firstValue)
114 return secondValue.compareTo(firstValue)
124 return secondValue.compareTo(firstValue)
134 return secondValue.compareTo(firstValue)
146 return secondValue.compareTo(firstValue)
[all …]
DTreeMapSetGetTest.ets47 return secondValue.compareTo(firstValue)
72 return secondValue.compareTo(firstValue)
84 return secondValue.compareTo(firstValue)
102 return secondValue.compareTo(firstValue)
113 return secondValue.compareTo(firstValue)
124 return secondValue.compareTo(firstValue)
134 return secondValue.compareTo(firstValue)
DTreeMapKeysValuesIteratorTest.ets43 return secondValue.compareTo(firstValue)
56 return secondValue.compareTo(firstValue)
65 return secondValue.compareTo(firstValue)
78 return secondValue.compareTo(firstValue)
87 return secondValue.compareTo(firstValue)
108 return secondValue.compareTo(firstValue)
DTreeMapConstructorIsEmptyTest.ets46 return secondValue.compareTo(firstValue)
89 return secondValue.compareTo(firstValue)
99 return secondValue.compareTo(firstValue)
110 return secondValue.compareTo(firstValue)
DTreeMapGetFirstKeyGetLastKeyTest.ets51 return secondValue.compareTo(firstValue);
66 return secondValue.compareTo(firstValue);
78 return secondValue.compareTo(firstValue);
91 return firstValue.compareTo(secondValue);
DTreeMapEntriesTest.ets35 return secondValue.compareTo(firstValue)
56 return secondValue.compareTo(firstValue)
DTreeMapGetLowerKeyGetHigherKeyTest.ets59 return secondValue.compareTo(firstValue)
78 return secondValue.compareTo(firstValue)
90 return secondValue.compareTo(firstValue)
105 return secondValue.compareTo(firstValue)
129 return secondValue.compareTo(firstValue)
/arkcompiler/ets_frontend/ets2panda/test/runtime/ets/
DGenericBridges_03.ets21 compareTo(other: T): int;
33 override compareTo(other: V) {
53 assertEQ(v1.compareTo(v3), -1);
54 assertEQ(v3.compareTo(v1 as V), 1);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/TreeSet/
DTreeSetForEachValuesTest.ets39 secondValue: string): number => { return secondValue.compareTo(firstValue) });
51 secondValue: string): number => { return secondValue.compareTo(firstValue) });
63 secondValue: string): number => { return secondValue.compareTo(firstValue) });
75 secondValue: string): number => { return secondValue.compareTo(firstValue) });
87 secondValue: string): number => { return secondValue.compareTo(firstValue) });
98 secondValue: string): number => { return secondValue.compareTo(firstValue) });
DTreeSetPopFirstPopLastIteratorTest.ets44 secondValue: string): number => { return secondValue.compareTo(firstValue) });
62 secondValue: string): number => { return secondValue.compareTo(firstValue) });
72 secondValue: string): number => { return secondValue.compareTo(firstValue) });
83 secondValue: string): number => { return firstValue.compareTo(secondValue) });
97 secondValue: string): number => { return firstValue.compareTo(secondValue) });
116 secondValue: string): number => { return secondValue.compareTo(firstValue) });
127 secondValue: string): number => { return secondValue.compareTo(firstValue) });
DTreeSetAddHasTest.ets46 secondValue: string): number => { return secondValue.compareTo(firstValue) });
67 secondValue: string): number => { return firstValue.compareTo(secondValue) });
76 secondValue: string): number => { return secondValue.compareTo(firstValue) });
85 secondValue: string): number => { return secondValue.compareTo(firstValue) });
94 secondValue: string): number => { return secondValue.compareTo(firstValue) });
102 secondValue: string): number => { return secondValue.compareTo(firstValue) });
110 secondValue: string): number => { return secondValue.compareTo(firstValue) });
DTreeSetRemoveClearTest.ets35 secondValue: string): number => { return secondValue.compareTo(firstValue) });
46 secondValue: string): number => { return secondValue.compareTo(firstValue) });
92 secondValue: string): number => { return secondValue.compareTo(firstValue) });
100 secondValue: string): number => { return secondValue.compareTo(firstValue) });
108 secondValue: string): number => { return secondValue.compareTo(firstValue) });
120 secondValue: string): number => { return secondValue.compareTo(firstValue) });
127 secondValue: string): number => { return firstValue.compareTo(secondValue) });
DTreeSetConstructorIsEmptyTest.ets45 secondValue: string): number => { return secondValue.compareTo(firstValue) });
83 secondValue: string): number => { return secondValue.compareTo(firstValue) });
91 secondValue: string): number => { return secondValue.compareTo(firstValue) });
100 secondValue: string): number => { return secondValue.compareTo(firstValue) });
DTreeSetGetLowerValueGetHigherValueTest.ets61 secondValue: string): number => { return secondValue.compareTo(firstValue) });
78 secondValue: string): number => { return secondValue.compareTo(firstValue) });
88 secondValue: string): number => { return secondValue.compareTo(firstValue) });
101 secondValue: string): number => { return secondValue.compareTo(firstValue) });
123 secondValue: string): number => { return secondValue.compareTo(firstValue) });
133 secondValue: string): number => { return firstValue.compareTo(secondValue) });
DTreeSetGetFirstValueGetLastValueTest.ets50 secondValue: string): number => { return secondValue.compareTo(firstValue) });
62 secondValue: string): number => { return secondValue.compareTo(firstValue) });
72 secondValue: string): number => { return secondValue.compareTo(firstValue) });
83 secondValue: string): number => { return firstValue.compareTo(secondValue) });
/arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/
Dkeyof_predefined_type.ets21 …type '"toDouble"|"$_hashCode"|"add"|"toByte"|"unboxed"|"isGreaterThan"|"compareTo"|"toLong"|"creat…
22 …type '"toDouble"|"$_hashCode"|"add"|"toByte"|"unboxed"|"isGreaterThan"|"compareTo"|"toLong"|"creat…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/intrinsics/
Dstring_compare_to.ets19 return s.compareTo(what) == 0;
54 let r = a.compareTo(b);
68 let r = s.compareTo(what);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/List/
DListSortGetSubListTests.ets84 list2.sort((a: string, b: string) => a.compareTo(b));
85 array2.sort((a: string, b: string) => a.compareTo(b));
107 return sa.compareTo(sb);
112 return sa.compareTo(sb);
142 list2.sort((a: string, b: string) => b.compareTo(a));
143 array2.sort((a: string, b: string) => b.compareTo(a));
165 return sb.compareTo(sa);
170 return sb.compareTo(sa);
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/ArrayList/
DArrayListSortSubArrayListTests.ets138 arrayList2.sort((a: string, b: string) => a.compareTo(b));
139 array2.sort((a: string, b: string) => a.compareTo(b));
159 return sa.compareTo(sb);
164 return sa.compareTo(sb);
192 arrayList2.sort((a: string, b: string) => b.compareTo(a));
193 array2.sort((a: string, b: string) => b.compareTo(a));
213 return sb.compareTo(sa);
218 return sb.compareTo(sa);
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/containers/
DAVLTree.ets241 let c = leaf.key.compareTo(k);
260 let c = k.compareTo(nnode.key);
357 if (leaf.key.compareTo(k) == 0) {
364 let c = k.compareTo(nnode.key);
399 if (k.compareTo(leaf.key) == 0) {
405 let c = k.compareTo(node!.key);
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DComparable.ets35 compareTo(to: T): int;
/arkcompiler/runtime_core/static_core/plugins/ets/sdk/api/
D@ohos.util.ets486 compareTo(other: T): boolean;
507 if (lowerObj.compareTo(upperObj)) {
532 …let lowerLimit = this._lowerLimit.compareTo(range.getLower()) ? this._lowerLimit : range.getLower()
533 …let upperLimit = this._upperLimit.compareTo(range.getUpper()) ? range.getUpper() : this._upperLimit
545 let lowerLimit = this._lowerLimit.compareTo(lowerObj) ? this._lowerLimit : lowerObj
546 let upperLimit = this._upperLimit.compareTo(upperObj) ? upperObj : this._upperLimit
576 let lowerLimit = this._lowerLimit.compareTo(lowerObj) ? lowerObj : this._lowerLimit
577 let upperLimit = this._upperLimit.compareTo(upperObj) ? this._upperLimit : upperObj
594 …let lowerLimit = this._lowerLimit.compareTo(range.getLower()) ? range.getLower() : this._lowerLimit
595 …let upperLimit = this._upperLimit.compareTo(range.getUpper()) ? this._upperLimit : range.getUpper()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/api/@ohos/util/
DScopeHelper.ets25 compareTo(other: Object): boolean {
26 return this.compareTo(other as NumberType)
29 compareTo(other: NumberType): boolean {
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DstringComparison.cpp36 * if (a.CompareTo(b) >= 0)
85 auto *const callee = checker->AllocNode<ir::Identifier>("compareTo", checker->Allocator()); in ProcessBinaryExpression()

123