Searched refs:xValue (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
D | js_tagged_number.h | 155 double xValue = x.GetNumber(); in SameValue() local 158 if (xValue != yValue) { in SameValue() 159 return std::isnan(xValue) && std::isnan(yValue); in SameValue() 162 return (std::signbit(xValue) == std::signbit(yValue)); in SameValue()
|
D | js_tagged_value-inl.h | 367 double xValue = x.ExtractNumber(); in SameValueZero() local 370 return (xValue == yValue) || (std::isnan(xValue) && std::isnan(yValue)); in SameValueZero() 386 double xValue = x.ExtractNumber(); in SameValueNumberic() local 389 if (xValue != yValue) { in SameValueNumberic() 390 return std::isnan(xValue) && std::isnan(yValue); in SameValueNumberic() 393 return (std::signbit(xValue) == std::signbit(yValue)); in SameValueNumberic()
|
D | js_tagged_value.cpp | 302 int xValue = x.GetInt(); in IntLexicographicCompare() local 304 if (xValue == yValue) { in IntLexicographicCompare() 307 if (xValue == 0 || yValue == 0) { in IntLexicographicCompare() 308 return xValue > yValue ? 1 : -1; in IntLexicographicCompare() 310 uint32_t unsignedX = static_cast<uint32_t>(xValue); in IntLexicographicCompare() 313 if (xValue < 0) { in IntLexicographicCompare() 317 if (xValue > 0) { in IntLexicographicCompare() 320 unsignedX = static_cast<uint32_t>(-xValue); in IntLexicographicCompare()
|
D | js_date_time_format.cpp | 804 double xValue = JSDate::TimeClip(x); in FormatDateTime() local 805 if (std::isnan(xValue)) { in FormatDateTime() 813 simpleDateFormat->format(xValue, result); in FormatDateTime()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_promise_handler.cpp | 344 … const JSHandle<JSTaggedValue> &xValue) in PromiseResolve() argument 351 if (xValue->IsJSPromise()) { in PromiseResolve() 354 … JSHandle<JSTaggedValue> ctorValue = JSObject::GetProperty(thread, xValue, ctorKey).GetValue(); in PromiseResolve() 358 return xValue; in PromiseResolve() 374 info->SetCallArg(xValue.GetTaggedValue()); in PromiseResolve() 422 JSHandle<JSTaggedValue> xValue = GetCallArg(argv, 0); in AllSettledResolveElementFunction() local 423 JSObject::CreateDataPropertyOrThrow(thread, obj, valueKey, xValue); in AllSettledResolveElementFunction() 541 JSHandle<JSTaggedValue> xValue = GetCallArg(argv, 0); in AnyRejectElementFunction() local 544 errorsArray->Set(thread, index, xValue.GetTaggedValue()); in AnyRejectElementFunction()
|
D | builtins_promise_handler.h | 51 const JSHandle<JSTaggedValue> &xValue);
|
D | builtins_collator.cpp | 137 JSHandle<EcmaString> xValue = JSTaggedValue::ToString(thread, x); in AnonymousCollator() local 144 return JSCollator::CompareStrings(icuCollator, xValue, yValue); in AnonymousCollator()
|
D | builtins_date_time_format.cpp | 204 double xValue = JSDate::TimeClip(x); in FormatToParts() local 205 if (std::isnan(xValue)) { in FormatToParts() 211 … JSDateTimeFormat::FormatDateTimeToParts(thread, JSHandle<JSDateTimeFormat>::Cast(dtf), xValue); in FormatToParts()
|
D | builtins_promise.cpp | 256 JSHandle<JSTaggedValue> xValue = BuiltinsBase::GetCallArg(argv, 0); in Resolve() local 257 if (xValue->IsJSPromise()) { in Resolve() 259 … JSHandle<JSTaggedValue> ctorValue = JSObject::GetProperty(thread, xValue, ctorKey).GetValue(); in Resolve() 262 JSHandle<JSObject> value = JSHandle<JSObject>::Cast(xValue); in Resolve() 277 info->SetCallArg(xValue.GetTaggedValue()); in Resolve()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi_expo.cpp | 331 JSHandle<JSTaggedValue> xValue = JSNApiHelper::ToJSHandle(this); in IsStrictEquals() local 332 LOG_IF_SPECIAL(xValue, ERROR); in IsStrictEquals() 334 return JSTaggedValue::StrictEqual(thread, xValue, yValue); in IsStrictEquals()
|