Home
last modified time | relevance | path

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

12

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/containers/
DAVLTree.sts102 assert leftKey.compareTo(key) < 0;
111 assert rightKey.compareTo(key) > 0;
253 let c = leaf.key.compareTo(k);
272 let c = k.compareTo(nnode.key);
372 if (leaf.key.compareTo(k) == 0) {
379 let c = k.compareTo(nnode.key);
414 if (k.compareTo(leaf.key) == 0) {
420 let c = k.compareTo(node!.key);
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DComparable.sts35 compareTo(to: T): int;
DShort.sts154 public override compareTo(other: Short): int {
DInt.sts154 public override compareTo(other: Int): int {
DLong.sts154 public override compareTo(other: Long): int {
DBoolean.sts264 public override compareTo(other: Boolean): int {
DByte.sts155 public override compareTo(other: Byte): int {
DFloat.sts201 public override compareTo(other: Float): int {
DChar.sts129 public override compareTo(other: Char): int {
/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()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/strings/
Dstring_compare_to.sts162 let actual: int = math.sign(str1.compareTo(str2) as double) as int;
166 expected + ", got: " + str1.compareTo(str2));
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dlda.str.yaml435 .function i32 panda.String.compareTo(panda.String a0, panda.String a1) <external>
458 call.virt panda.String.compareTo, v8, v7
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/
Dlist.std_core_boolean_instance.yaml150 method_name: compareTo,
Dlist.std_core_byte_instance.yaml127 method_name: compareTo,
Dlist.std_core_int_instance.yaml127 method_name: compareTo,
Dlist.std_core_short_instance.yaml127 method_name: compareTo,
Dlist.std_core_float_instance.yaml313 method_name: compareTo,
Dlist.std_core_long_instance.yaml341 method_name: compareTo,
Dlist.std_core_char_instance.yaml181 method_name: compareTo,
Dlist.std_core_double_instance.yaml331 method_name: compareTo,
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_verifier_lib.j274 {%- if item.method_name == "compareTo" %}
/arkcompiler/ets_frontend/ets2panda/docs/
Dlowering-phases.md657 …isonLowering` replaces comparison operators for strings with explicit calls to `String.compareTo()`
663 s.compareTo("test") > 0
/arkcompiler/runtime_core/static_core/plugins/ets/templates/stdlib/
DArray_escompat.erb507 * using `toString()` method and compared using `compareTo() method of `string` class.
527 return a.compareTo(b)
531 return sa.compareTo(sb)
565 return a.compareTo(b)
DArray_builtin.erb195 return new String(l).compareTo(new String(r)) < 0;
295 return a.compareTo(b)
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/escompat/
Descompat.sts71 return a.toString().compareTo(b.toString()) as number;
79 return a.toString().compareTo(b.toString()) as number;

12