/arkcompiler/ets_runtime/ecmascript/ |
H A D | tagged_tree.cpp | 370 int compareResult = -1; in EntryCompare() local 372 // if callResult is true, compareResult = -1. in EntryCompare() 378 compareResult = callResult.IsTrue() ? 1 : 0; in EntryCompare() 381 compareResult = callResult.GetInt(); in EntryCompare() 389 compareResult = static_cast<int>(value); in EntryCompare() 391 return compareResult > 0 ? ComparisonResult::GREAT : in EntryCompare() 392 (compareResult < 0 ? ComparisonResult::LESS : ComparisonResult::EQUAL); in EntryCompare()
|
H A D | js_array.cpp | 655 double compareResult = base::ArrayHelper::SortCompare(thread, fn, middleValue, presentValue); in SortElementsByInsertionSort() local 657 if (compareResult > 0) { in SortElementsByInsertionSort() 690 int32_t compareResult = base::ArrayHelper::SortCompare(thread, fn, middleValue, presentValue); in SortElementsByObject() local 692 if (compareResult > 0) { in SortElementsByObject()
|
H A D | tagged_list.cpp | 456 double compareResult = 0; in Sort() local 464 compareResult = base::ArrayHelper::SortCompare(thread, callbackFn, middleValue, presentValue); in Sort() 466 if (compareResult > 0) { in Sort()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | array_helper.cpp | 212 ComparisonResult compareResult = JSTaggedValue::Compare(thread, xValueHandle, yValueHandle); in SortCompare() local 213 if (compareResult == ComparisonResult::GREAT) { in SortCompare() 216 if (compareResult == ComparisonResult::LESS) { in SortCompare()
|
H A D | typed_array_helper.cpp | 1155 ComparisonResult compareResult = JSTaggedValue::Compare(thread, firstValue, secondValue); in SortCompare() local 1161 if (compareResult == ComparisonResult::LESS) { in SortCompare() 1164 if (compareResult == ComparisonResult::GREAT) { in SortCompare() 1182 ComparisonResult compareResult = JSTaggedValue::Compare(thread, firstValue, secondValue); in SortCompare() local 1183 if (compareResult == ComparisonResult::LESS) { in SortCompare() 1186 if (compareResult == ComparisonResult::GREAT) { in SortCompare()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | builtins_typedarray_stub_builder.cpp | 1918 DEFVARIABLE(compareResult, VariableType::INT32(), Int32(0));
in DoSort() 1939 compareResult = Int32(1);
in DoSort() 1947 compareResult = Int32(0);
in DoSort() 1952 compareResult = Int32(-1);
in DoSort() 1974 compareResult = Int32(1);
in DoSort() 1983 compareResult = Int32(0);
in DoSort() 1988 compareResult = Int32(-1);
in DoSort() 2018 compareResult = Int32(-1);
in DoSort() 2039 compareResult = Int32(0);
in DoSort() 2046 compareResult in DoSort() [all...] |
H A D | builtins_array_stub_builder.cpp | 1526 DEFVARIABLE(compareResult, VariableType::INT32(), Int32(0)); in DoSort() 1534 compareResult = in DoSort() 1548 compareResult = CallNGCRuntime(glue, in DoSort() 1557 BRANCH(Int32LessThanOrEqual(*compareResult, Int32(0)), &less0, &greater0); in DoSort()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_typedarray.cpp | 1657 int32_t compareResult = TypedArrayHelper::SortCompare(thread, callbackFnHandle, buffer, in Sort() local 1660 compareResult > 0 ? (endIndex = middleIndex) : (beginIndex = middleIndex + 1); in Sort() 1936 int32_t compareResult = in ToSorted() local 1939 compareResult > 0 ? (endIndex = middleIndex) : (beginIndex = middleIndex + 1); in ToSorted()
|
H A D | builtins_shared_typedarray.cpp | 1501 int32_t compareResult = TypedArrayHelper::SortCompare(thread, callbackFnHandle, buffer, in Sort() local 1504 compareResult > 0 ? (endIndex = middleIndex) : (beginIndex = middleIndex + 1); in Sort()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
H A D | containers_arraylist.cpp | 599 double compareResult = base::ArrayHelper::SortCompare(thread, callbackFnHandle, in Sort() local 602 if (compareResult > 0) { in Sort()
|
H A D | containers_vector.cpp | 768 double compareResult = base::ArrayHelper::SortCompare(thread, callbackFnHandle, middleValue, presentValue); in Sort() local 770 if (compareResult > 0) { in Sort()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
H A D | runtime_stubs-inl.h | 3398 double compareResult = ArrayHelper::StringSortCompare(thread, middleString, presentString); 3400 if (compareResult > 0) {
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | typed_native_inline_lowering.cpp | 4355 GateRef compareResult = builder_.CallNGCRuntime(acc_.GetGlueFromArgList(), in TargetBigIntCompareLopp() local 4361 BRANCH_CIR(compareResult, &findElement, &afterLoop); in TargetBigIntCompareLopp()
|