Lines Matching defs:item

818     Handle<Object> item = factory->NewNumberFromInt64(p); \
819 object->set_##p(*item); \
1407 Isolate* isolate, Handle<JSReceiver> item, const char* method_name) {
1411 // 1. If item has an [[InitializedTemporalDate]],
1415 // item.[[Calendar]].
1416 if (item->IsJSTemporalPlainDate()) {
1417 return handle(Handle<JSTemporalPlainDate>::cast(item)->calendar(), isolate);
1419 if (item->IsJSTemporalPlainDateTime()) {
1420 return handle(Handle<JSTemporalPlainDateTime>::cast(item)->calendar(),
1423 if (item->IsJSTemporalPlainMonthDay()) {
1424 return handle(Handle<JSTemporalPlainMonthDay>::cast(item)->calendar(),
1427 if (item->IsJSTemporalPlainTime()) {
1428 return handle(Handle<JSTemporalPlainTime>::cast(item)->calendar(), isolate);
1430 if (item->IsJSTemporalPlainYearMonth()) {
1431 return handle(Handle<JSTemporalPlainYearMonth>::cast(item)->calendar(),
1434 if (item->IsJSTemporalZonedDateTime()) {
1435 return handle(Handle<JSTemporalZonedDateTime>::cast(item)->calendar(),
1439 // 2. Let calendar be ? Get(item, "calendar").
1443 JSReceiver::GetProperty(isolate, item, factory->calendar_string()),
1653 Handle<Object> item,
1657 // 1. If Type(item) is Object, then
1658 // a. If item has an [[InitializedTemporalInstant]] internal slot, then
1659 if (item->IsJSTemporalInstant()) {
1660 // i. Return item.
1661 return Handle<JSTemporalInstant>::cast(item);
1663 // b. If item has an [[InitializedTemporalZonedDateTime]] internal slot, then
1664 if (item->IsJSTemporalZonedDateTime()) {
1665 // i. Return ! CreateTemporalInstant(item.[[Nanoseconds]]).
1667 handle(JSTemporalZonedDateTime::cast(*item).nanoseconds(), isolate);
1670 // 2. Let string be ? ToString(item).
1672 ASSIGN_RETURN_ON_EXCEPTION(isolate, string, Object::ToString(isolate, item),
1789 // 3. If Type(item) is Object, then
1791 Handle<JSReceiver> item = Handle<JSReceiver>::cast(item_obj);
1792 // a. If item has an [[InitializedTemporalDate]] internal slot, then
1793 // i. Return item.
1794 if (item->IsJSTemporalPlainDate()) {
1795 return Handle<JSTemporalPlainDate>::cast(item);
1797 // b. If item has an [[InitializedTemporalZonedDateTime]] internal slot,
1799 if (item->IsJSTemporalZonedDateTime()) {
1800 // i. Let instant be ! CreateTemporalInstant(item.[[Nanoseconds]]).
1802 Handle<JSTemporalZonedDateTime>::cast(item);
1810 // BuiltinTimeZoneGetPlainDateTimeFor(item.[[TimeZone]],
1811 // instant, item.[[Calendar]]).
1830 // c. If item has an [[InitializedTemporalDateTime]] internal slot, then
1831 // i. Return ! CreateTemporalDate(item.[[ISOYear]], item.[[ISOMonth]],
1832 // item.[[ISODay]], item.[[Calendar]]).
1833 if (item->IsJSTemporalPlainDateTime()) {
1835 Handle<JSTemporalPlainDateTime>::cast(item);
1841 // d. Let calendar be ? GetTemporalCalendarWithISODefault(item).
1845 GetTemporalCalendarWithISODefault(isolate, item, method_name),
1857 // f. Let fields be ? PrepareTemporalFields(item,
1861 PrepareTemporalFields(isolate, item, field_names,
1872 // 5. Let string be ? ToString(item).
1952 // 3. If Type(item) is Object, then
1954 Handle<JSReceiver> item = Handle<JSReceiver>::cast(item_obj);
1955 // a. If item has an [[InitializedTemporalTime]] internal slot, then
1956 // i. Return item.
1957 if (item->IsJSTemporalPlainTime()) {
1958 return Handle<JSTemporalPlainTime>::cast(item);
1960 // b. If item has an [[InitializedTemporalZonedDateTime]] internal slot,
1962 if (item->IsJSTemporalZonedDateTime()) {
1963 // i. Let instant be ! CreateTemporalInstant(item.[[Nanoseconds]]).
1965 Handle<JSTemporalZonedDateTime>::cast(item);
1973 // BuiltinTimeZoneGetPlainDateTimeFor(item.[[TimeZone]],
1974 // instant, item.[[Calendar]]).
1995 // c. If item has an [[InitializedTemporalDateTime]] internal slot, then
1996 if (item->IsJSTemporalPlainDateTime()) {
1997 // i. Return ! CreateTemporalTime(item.[[ISOHour]], item.[[ISOMinute]],
1998 // item.[[ISOSecond]], item.[[ISOMillisecond]], item.[[ISOMicrosecond]],
1999 // item.[[ISONanosecond]]).
2001 Handle<JSTemporalPlainDateTime>::cast(item);
2007 // d. Let calendar be ? GetTemporalCalendarWithISODefault(item).
2011 GetTemporalCalendarWithISODefault(isolate, item, method_name),
2023 // f. Let result be ? ToTemporalTimeRecord(item).
2025 ToTemporalTimeRecord(isolate, item, method_name);
2036 // a. Let string be ? ToString(item).
3239 for (const char* item = enumeration->next(nullptr, status);
3240 U_SUCCESS(status) && item != nullptr;
3241 item = enumeration->next(nullptr, status)) {
3242 if (strcmp(item, "iso8601") != 0) {
3243 const char* type = uloc_toUnicodeLocaleType("ca", item);
5679 Isolate* isolate, Handle<Object> item, Handle<Object> options_obj) {
5686 // 2. If Type(item) is Object and item has an [[InitializedTemporalDate]]
5688 if (item->IsJSTemporalPlainDate()) {
5693 // b. Return ? CreateTemporalDate(item.[[ISOYear]], item.[[ISOMonth]],
5694 // item.[[ISODay]], item.[[Calendar]]).
5695 Handle<JSTemporalPlainDate> date = Handle<JSTemporalPlainDate>::cast(item);
5700 // 3. Return ? ToTemporalDate(item, options).
5701 return ToTemporalDate(isolate, item, options, method_name);
5704 #define DEFINE_INT_FIELD(obj, str, field, item) \
5707 Handle<Smi>(Smi::FromInt(item->field()), isolate), \
6095 // 3. If Type(item) is Object and item has an [[InitializedTemporalTime]]
6098 // a. Return ? CreateTemporalTime(item.[[ISOHour]], item.[[ISOMinute]],
6099 // item.[[ISOSecond]], item.[[ISOMillisecond]], item.[[ISOMicrosecond]],
6100 // item.[[ISONanosecond]]).
6101 Handle<JSTemporalPlainTime> item =
6103 return CreateTemporalTime(isolate, item->iso_hour(), item->iso_minute(),
6104 item->iso_second(), item->iso_millisecond(),
6105 item->iso_microsecond(), item->iso_nanosecond());
6107 // 4. Return ? ToTemporalTime(item, overflow).
6553 Handle<Object> item) {
6556 // 1. If Type(item) is Object and item has an [[InitializedTemporalInstant]]
6558 if (item->IsJSTemporalInstant()) {
6559 // a. Return ? CreateTemporalInstant(item.[[Nanoseconds]]).
6561 isolate, handle(JSTemporalInstant::cast(*item).nanoseconds(), isolate));
6563 // 2. Return ? ToTemporalInstant(item).
6564 return ToTemporalInstant(isolate, item, method_name);