Home
last modified time | relevance | path

Searched refs:JSDateTimeFormat (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/objects/
Djs-date-time-format-inl.h23 TQ_OBJECT_CONSTRUCTORS_IMPL(JSDateTimeFormat)
25 ACCESSORS(JSDateTimeFormat, icu_locale, Managed<icu::Locale>, kIcuLocaleOffset) in ACCESSORS() argument
26 ACCESSORS(JSDateTimeFormat, icu_simple_date_format, in ACCESSORS()
28 ACCESSORS(JSDateTimeFormat, icu_date_interval_format, in ACCESSORS()
31 inline void JSDateTimeFormat::set_hour_cycle(HourCycle hour_cycle) { in ACCESSORS()
37 inline JSDateTimeFormat::HourCycle JSDateTimeFormat::hour_cycle() const { in hour_cycle()
41 inline void JSDateTimeFormat::set_date_style( in set_date_style()
42 JSDateTimeFormat::DateTimeStyle date_style) { in set_date_style()
48 inline JSDateTimeFormat::DateTimeStyle JSDateTimeFormat::date_style() const { in date_style()
52 inline void JSDateTimeFormat::set_time_style( in set_time_style()
[all …]
Djs-date-time-format.cc37 std::string ToHourCycleString(JSDateTimeFormat::HourCycle hc) { in ToHourCycleString()
39 case JSDateTimeFormat::HourCycle::kH11: in ToHourCycleString()
41 case JSDateTimeFormat::HourCycle::kH12: in ToHourCycleString()
43 case JSDateTimeFormat::HourCycle::kH23: in ToHourCycleString()
45 case JSDateTimeFormat::HourCycle::kH24: in ToHourCycleString()
47 case JSDateTimeFormat::HourCycle::kUndefined: in ToHourCycleString()
54 JSDateTimeFormat::HourCycle ToHourCycle(const std::string& hc) { in ToHourCycle()
55 if (hc == "h11") return JSDateTimeFormat::HourCycle::kH11; in ToHourCycle()
56 if (hc == "h12") return JSDateTimeFormat::HourCycle::kH12; in ToHourCycle()
57 if (hc == "h23") return JSDateTimeFormat::HourCycle::kH23; in ToHourCycle()
[all …]
Djs-date-time-format.h36 class JSDateTimeFormat
37 : public TorqueGeneratedJSDateTimeFormat<JSDateTimeFormat, JSObject> {
39 V8_WARN_UNUSED_RESULT static MaybeHandle<JSDateTimeFormat> New(
44 Isolate* isolate, Handle<JSDateTimeFormat> date_time_format);
47 V8_WARN_UNUSED_RESULT static MaybeHandle<JSDateTimeFormat>
57 Isolate* isolate, Handle<JSDateTimeFormat> date_time_format,
62 Isolate* isolate, Handle<JSDateTimeFormat> date_time_format,
67 Isolate* isolate, Handle<JSDateTimeFormat> date_time_format,
72 Isolate* isolate, Handle<JSDateTimeFormat> date_time_format,
131 DECL_PRINTER(JSDateTimeFormat)
[all …]
Djs-date-time-format.tq7 type DateTimeStyle extends int32 constexpr 'JSDateTimeFormat::DateTimeStyle';
8 type HourCycle extends int32 constexpr 'JSDateTimeFormat::HourCycle';
16 extern class JSDateTimeFormat extends JSObject {
Dobject-list-macros.h244 V(JSDateTimeFormat) \
Djs-objects.cc2224 return JSDateTimeFormat::kHeaderSize; in GetHeaderSize()
/external/v8/src/builtins/
Dbuiltins-intl.cc103 Handle<JSDateTimeFormat> date_time_format; in BUILTIN()
106 JSDateTimeFormat::UnwrapDateTimeFormat(isolate, format_holder)); in BUILTIN()
109 isolate, JSDateTimeFormat::ResolvedOptions(isolate, date_time_format)); in BUILTIN()
120 JSDateTimeFormat::GetAvailableLocales(), locales, options)); in BUILTIN()
135 Handle<JSDateTimeFormat> dtf = in BUILTIN()
136 Handle<JSDateTimeFormat>::cast(date_format_holder); in BUILTIN()
153 isolate, JSDateTimeFormat::FormatToParts(isolate, dtf, date_value)); in BUILTIN()
160 MaybeHandle<T> (*format)(Isolate*, Handle<JSDateTimeFormat>, double, in DateTimeFormatRange() argument
176 Handle<JSDateTimeFormat> dtf = in DateTimeFormatRange()
177 Handle<JSDateTimeFormat>::cast(date_format_holder); in DateTimeFormatRange()
[all …]
Dbuiltins-date.cc861 isolate, JSDateTimeFormat::ToLocaleDateTime( in BUILTIN()
866 JSDateTimeFormat::RequiredOption::kDate, // required in BUILTIN()
867 JSDateTimeFormat::DefaultsOption::kDate, // defaults in BUILTIN()
881 isolate, JSDateTimeFormat::ToLocaleDateTime( in BUILTIN()
886 JSDateTimeFormat::RequiredOption::kAny, // required in BUILTIN()
887 JSDateTimeFormat::DefaultsOption::kAll, // defaults in BUILTIN()
901 isolate, JSDateTimeFormat::ToLocaleDateTime( in BUILTIN()
906 JSDateTimeFormat::RequiredOption::kTime, // required in BUILTIN()
907 JSDateTimeFormat::DefaultsOption::kTime, // defaults in BUILTIN()
/external/v8/src/compiler/
Dcode-assembler.h57 class JSDateTimeFormat; variable
/external/v8/src/diagnostics/
Dobjects-printer.cc1989 void JSDateTimeFormat::JSDateTimeFormatPrint(std::ostream& os) { // NOLINT in JSDateTimeFormatPrint()
/external/v8/src/init/
Dbootstrapper.cc2785 JSDateTimeFormat::kHeaderSize, 0, factory->the_hole_value(), in InitializeGlobal()