Home
last modified time | relevance | path

Searched refs:compareResult (Results 1 – 9 of 9) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
Darray_helper.cpp117 ComparisonResult compareResult = JSTaggedValue::Compare(thread, xValueHandle, yValueHandle); in SortCompare() local
118 if (compareResult == ComparisonResult::GREAT) { in SortCompare()
121 if (compareResult == ComparisonResult::LESS) { in SortCompare()
Dtyped_array_helper.cpp636 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/
Dtagged_tree.h152 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()
Djs_array.cpp413 … int32_t compareResult = base::ArrayHelper::SortCompare(thread, fn, middleValue, presentValue); in Sort() local
415 if (compareResult > 0) { in Sort()
Dtagged_list.cpp422 int compareResult = 0; in Sort() local
430compareResult = base::ArrayHelper::SortCompare(thread, callbackFn, middleValue, presentValue); in Sort()
432 if (compareResult > 0) { in Sort()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp1416 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()
Dbuiltins_array.cpp2238 …double compareResult = ArrayHelper::SortCompare(thread, callbackFnHandle, middleValue, presentValu… in Sort() local
2240 if (compareResult > 0) { in Sort()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_vector.cpp773 …int32_t compareResult = base::ArrayHelper::SortCompare(thread, callbackFnHandle, middleValue, pres… in Sort() local
775 if (compareResult > 0) { in Sort()
Dcontainers_arraylist.cpp596 int32_t compareResult = base::ArrayHelper::SortCompare(thread, callbackFnHandle, in Sort() local
599 if (compareResult > 0) { in Sort()