Home
last modified time | relevance | path

Searched refs:compareResult (Results 1 - 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Dtagged_tree.cpp370 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 Djs_array.cpp655 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 Dtagged_list.cpp456 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 Darray_helper.cpp212 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 Dtyped_array_helper.cpp1155 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 Dbuiltins_typedarray_stub_builder.cpp1918 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 Dbuiltins_array_stub_builder.cpp1526 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 Dbuiltins_typedarray.cpp1657 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 Dbuiltins_shared_typedarray.cpp1501 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 Dcontainers_arraylist.cpp599 double compareResult = base::ArrayHelper::SortCompare(thread, callbackFnHandle, in Sort() local
602 if (compareResult > 0) { in Sort()
H A Dcontainers_vector.cpp768 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 Druntime_stubs-inl.h3398 double compareResult = ArrayHelper::StringSortCompare(thread, middleString, presentString);
3400 if (compareResult > 0) {
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dtyped_native_inline_lowering.cpp4355 GateRef compareResult = builder_.CallNGCRuntime(acc_.GetGlueFromArgList(), in TargetBigIntCompareLopp() local
4361 BRANCH_CIR(compareResult, &findElement, &afterLoop); in TargetBigIntCompareLopp()

Completed in 43 milliseconds