Home
last modified time | relevance | path

Searched refs:yValue (Results 1 - 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
H A Djs_tagged_number.h157 double yValue = y.GetNumber(); in SameValue() local
159 if (xValue != yValue) { in SameValue()
160 return std::isnan(xValue) && std::isnan(yValue); in SameValue()
163 return (std::signbit(xValue) == std::signbit(yValue)); in SameValue()
H A Djs_tagged_value-inl.h117 double yValue = y.ExtractNumber(); in SameValueZero() local
118 // Compare xValue with yValue to deal with -0.0 in SameValueZero()
119 return (xValue == yValue) || (std::isnan(xValue) && std::isnan(yValue)); in SameValueZero()
136 double yValue = y.ExtractNumber(); in SameValueNumberic() local
138 if (xValue != yValue) { in SameValueNumberic()
139 return std::isnan(xValue) && std::isnan(yValue); in SameValueNumberic()
142 return (std::signbit(xValue) == std::signbit(yValue)); in SameValueNumberic()
H A Djs_tagged_value.cpp610 int yValue = y.GetInt(); in IntLexicographicCompare() local
611 if (xValue == yValue) { in IntLexicographicCompare()
614 if (xValue == 0 || yValue == 0) { in IntLexicographicCompare()
615 return xValue > yValue ? 1 : -1; in IntLexicographicCompare()
618 uint32_t unsignedY = static_cast<uint32_t>(yValue); in IntLexicographicCompare()
619 if (yValue > 0) { in IntLexicographicCompare()
628 unsignedY = static_cast<uint32_t>(base::NegateWithWraparound(yValue)); in IntLexicographicCompare()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_collator.cpp137 JSHandle<EcmaString> yValue = JSTaggedValue::ToString(thread, y); in AnonymousCollator() local
141 return JSCollator::CompareStrings(thread, icuCollator, xValue, yValue); in AnonymousCollator()
/arkcompiler/ets_runtime/ecmascript/napi/
H A Djsnapi_expo.cpp402 JSHandle<JSTaggedValue> yValue = JSNApiHelper::ToJSHandle(value); in IsStrictEquals() local
403 return JSTaggedValue::StrictEqual(thread, xValue, yValue); in IsStrictEquals()

Completed in 18 milliseconds