Searched refs:compareResult (Results 1 – 9 of 9) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/base/ |
D | array_helper.cpp | 117 ComparisonResult compareResult = JSTaggedValue::Compare(thread, xValueHandle, yValueHandle); in SortCompare() local 118 if (compareResult == ComparisonResult::GREAT) { in SortCompare() 121 if (compareResult == ComparisonResult::LESS) { in SortCompare()
|
D | typed_array_helper.cpp | 636 ComparisonResult compareResult = JSTaggedValue::Compare(thread, firstValue, secondValue); in SortCompare() local 642 if (compareResult == ComparisonResult::LESS) { in SortCompare() 645 if (compareResult == ComparisonResult::GREAT) { in SortCompare() 663 ComparisonResult compareResult = JSTaggedValue::Compare(thread, firstValue, secondValue); in SortCompare() local 664 if (compareResult == ComparisonResult::LESS) { in SortCompare() 667 if (compareResult == ComparisonResult::GREAT) { in SortCompare()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | tagged_tree.h | 152 int compareResult = 0; in EntryCompare() local 154 compareResult = callResult.GetInt(); in EntryCompare() 163 compareResult = static_cast<int>(value); in EntryCompare() 165 return compareResult > 0 ? ComparisonResult::GREAT : in EntryCompare() 166 … (compareResult < 0 ? ComparisonResult::LESS : ComparisonResult::EQUAL); in EntryCompare()
|
D | js_array.cpp | 413 … int32_t compareResult = base::ArrayHelper::SortCompare(thread, fn, middleValue, presentValue); in Sort() local 415 if (compareResult > 0) { in Sort()
|
D | tagged_list.cpp | 422 int compareResult = 0; in Sort() local 430 … compareResult = base::ArrayHelper::SortCompare(thread, callbackFn, middleValue, presentValue); in Sort() 432 if (compareResult > 0) { in Sort()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_typedarray.cpp | 1416 int32_t compareResult = TypedArrayHelper::SortCompare(thread, callbackFnHandle, buffer, in Sort() local 1419 compareResult > 0 ? (endIndex = middleIndex) : (beginIndex = middleIndex + 1); in Sort() 1695 int32_t compareResult = in ToSorted() local 1698 compareResult > 0 ? (endIndex = middleIndex) : (beginIndex = middleIndex + 1); in ToSorted()
|
D | builtins_array.cpp | 2238 …double compareResult = ArrayHelper::SortCompare(thread, callbackFnHandle, middleValue, presentValu… in Sort() local 2240 if (compareResult > 0) { in Sort()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_vector.cpp | 773 …int32_t compareResult = base::ArrayHelper::SortCompare(thread, callbackFnHandle, middleValue, pres… in Sort() local 775 if (compareResult > 0) { in Sort()
|
D | containers_arraylist.cpp | 596 int32_t compareResult = base::ArrayHelper::SortCompare(thread, callbackFnHandle, in Sort() local 599 if (compareResult > 0) { in Sort()
|