Home
last modified time | relevance | path

Searched refs:xValue (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_number.h155 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()
Djs_tagged_value-inl.h367 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()
Djs_tagged_value.cpp302 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()
Djs_date_time_format.cpp804 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/
Dbuiltins_promise_handler.cpp344 … 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()
Dbuiltins_promise_handler.h51 const JSHandle<JSTaggedValue> &xValue);
Dbuiltins_collator.cpp137 JSHandle<EcmaString> xValue = JSTaggedValue::ToString(thread, x); in AnonymousCollator() local
144 return JSCollator::CompareStrings(icuCollator, xValue, yValue); in AnonymousCollator()
Dbuiltins_date_time_format.cpp204 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()
Dbuiltins_promise.cpp256 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/
Djsnapi_expo.cpp331 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()