Lines Matching refs:isolate
41 HandleScope scope(isolate); in BUILTIN()
43 string = String::Flatten(isolate, string); in BUILTIN()
44 RETURN_RESULT_OR_FAILURE(isolate, Intl::ConvertToUpper(isolate, string)); in BUILTIN()
48 HandleScope handle_scope(isolate); in BUILTIN()
49 isolate->CountUsage(v8::Isolate::UseCounterFeature::kStringNormalize); in BUILTIN()
52 Handle<Object> form_input = args.atOrUndefined(isolate, 1); in BUILTIN()
54 RETURN_RESULT_OR_FAILURE(isolate, in BUILTIN()
55 Intl::Normalize(isolate, string, form_input)); in BUILTIN()
59 HandleScope scope(isolate); in BUILTIN()
60 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
61 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
64 isolate, Intl::SupportedLocalesOf( in BUILTIN()
65 isolate, "Intl.v8BreakIterator.supportedLocalesOf", in BUILTIN()
70 HandleScope scope(isolate); in BUILTIN()
71 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
72 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
75 isolate, Intl::SupportedLocalesOf( in BUILTIN()
76 isolate, "Intl.NumberFormat.supportedLocalesOf", in BUILTIN()
82 HandleScope handle_scope(isolate); in BUILTIN()
87 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, x, in BUILTIN()
88 Object::ToNumeric(isolate, args.at(1))); in BUILTIN()
90 x = isolate->factory()->nan_value(); in BUILTIN()
94 isolate, JSNumberFormat::FormatToParts(isolate, number_format, x)); in BUILTIN()
99 HandleScope scope(isolate); in BUILTIN()
105 isolate, date_time_format, in BUILTIN()
106 JSDateTimeFormat::UnwrapDateTimeFormat(isolate, format_holder)); in BUILTIN()
109 isolate, JSDateTimeFormat::ResolvedOptions(isolate, date_time_format)); in BUILTIN()
113 HandleScope scope(isolate); in BUILTIN()
114 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
115 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
118 isolate, Intl::SupportedLocalesOf( in BUILTIN()
119 isolate, "Intl.DateTimeFormat.supportedLocalesOf", in BUILTIN()
125 HandleScope handle_scope(isolate); in BUILTIN()
127 Factory* factory = isolate->factory(); in BUILTIN()
131 isolate, NewTypeError(MessageTemplate::kIncompatibleMethodReceiver, in BUILTIN()
138 Handle<Object> x = args.atOrUndefined(isolate, 1); in BUILTIN()
139 if (x->IsUndefined(isolate)) { in BUILTIN()
140 x = factory->NewNumber(JSDate::CurrentTimeValue(isolate)); in BUILTIN()
142 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, x, in BUILTIN()
143 Object::ToNumber(isolate, args.at(1))); in BUILTIN()
149 isolate, NewRangeError(MessageTemplate::kInvalidTimeValue)); in BUILTIN()
153 isolate, JSDateTimeFormat::FormatToParts(isolate, dtf, date_value)); in BUILTIN()
159 BuiltinArguments args, Isolate* isolate, const char* const method, in DateTimeFormatRange() argument
166 Factory* factory = isolate->factory(); in DateTimeFormatRange()
172 isolate, NewTypeError(MessageTemplate::kIncompatibleMethodReceiver, in DateTimeFormatRange()
181 Handle<Object> start_date = args.atOrUndefined(isolate, 1); in DateTimeFormatRange()
182 Handle<Object> end_date = args.atOrUndefined(isolate, 2); in DateTimeFormatRange()
183 if (start_date->IsUndefined(isolate) || end_date->IsUndefined(isolate)) { in DateTimeFormatRange()
185 isolate, NewTypeError(MessageTemplate::kInvalidTimeValue)); in DateTimeFormatRange()
188 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, start_date, in DateTimeFormatRange()
189 Object::ToNumber(isolate, start_date)); in DateTimeFormatRange()
193 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, end_date, in DateTimeFormatRange()
194 Object::ToNumber(isolate, end_date)); in DateTimeFormatRange()
199 isolate, NewRangeError(MessageTemplate::kInvalidTimeValue)); in DateTimeFormatRange()
205 RETURN_RESULT_OR_FAILURE(isolate, format(isolate, dtf, x, y)); in DateTimeFormatRange()
210 HandleScope handle_scope(isolate); in BUILTIN()
211 return DateTimeFormatRange<String>(args, isolate, method, in BUILTIN()
217 HandleScope handle_scope(isolate); in BUILTIN()
218 return DateTimeFormatRange<JSArray>(args, isolate, method, in BUILTIN()
223 Handle<JSFunction> CreateBoundFunction(Isolate* isolate, in CreateBoundFunction() argument
226 Handle<NativeContext> native_context(isolate->context().native_context(), in CreateBoundFunction()
227 isolate); in CreateBoundFunction()
228 Handle<Context> context = isolate->factory()->NewBuiltinContext( in CreateBoundFunction()
236 isolate->factory()->NewSharedFunctionInfoForBuiltin( in CreateBoundFunction()
237 isolate->factory()->empty_string(), builtin_id, kNormalFunction); in CreateBoundFunction()
241 Handle<Map> map = isolate->strict_function_without_prototype_map(); in CreateBoundFunction()
244 isolate->factory()->NewFunctionFromSharedFunctionInfo(map, info, context); in CreateBoundFunction()
253 Object LegacyFormatConstructor(BuiltinArguments args, Isolate* isolate, in LegacyFormatConstructor() argument
256 isolate->CountUsage(feature); in LegacyFormatConstructor()
260 if (args.new_target()->IsUndefined(isolate)) { in LegacyFormatConstructor()
268 Handle<Object> locales = args.atOrUndefined(isolate, 1); in LegacyFormatConstructor()
269 Handle<Object> options = args.atOrUndefined(isolate, 2); in LegacyFormatConstructor()
275 isolate, map, JSFunction::GetDerivedMap(isolate, target, new_target)); in LegacyFormatConstructor()
280 isolate, format, T::New(isolate, map, locales, options, method)); in LegacyFormatConstructor()
282 if (args.new_target()->IsUndefined(isolate)) { in LegacyFormatConstructor()
290 isolate, is_instance_of_obj, in LegacyFormatConstructor()
291 Object::InstanceOf(isolate, receiver, constructor)); in LegacyFormatConstructor()
293 if (is_instance_of_obj->BooleanValue(isolate)) { in LegacyFormatConstructor()
296 isolate, in LegacyFormatConstructor()
298 isolate->factory()->NewStringFromAsciiChecked(method), in LegacyFormatConstructor()
311 isolate, rec, isolate->factory()->intl_fallback_symbol(), &desc, in LegacyFormatConstructor()
313 MAYBE_RETURN(success, ReadOnlyRoots(isolate).exception()); in LegacyFormatConstructor()
328 Object DisallowCallConstructor(BuiltinArguments args, Isolate* isolate, in DisallowCallConstructor() argument
331 isolate->CountUsage(feature); in DisallowCallConstructor()
334 if (args.new_target()->IsUndefined(isolate)) { // [[Call]] in DisallowCallConstructor()
336 isolate, in DisallowCallConstructor()
338 isolate->factory()->NewStringFromAsciiChecked(method))); in DisallowCallConstructor()
348 isolate, map, JSFunction::GetDerivedMap(isolate, target, new_target)); in DisallowCallConstructor()
350 Handle<Object> locales = args.atOrUndefined(isolate, 1); in DisallowCallConstructor()
351 Handle<Object> options = args.atOrUndefined(isolate, 2); in DisallowCallConstructor()
354 RETURN_RESULT_OR_FAILURE(isolate, T::New(isolate, map, locales, options)); in DisallowCallConstructor()
361 Object CallOrConstructConstructor(BuiltinArguments args, Isolate* isolate, in CallOrConstructConstructor() argument
365 if (args.new_target()->IsUndefined(isolate)) { in CallOrConstructConstructor()
374 Handle<Object> locales = args.atOrUndefined(isolate, 1); in CallOrConstructConstructor()
375 Handle<Object> options = args.atOrUndefined(isolate, 2); in CallOrConstructConstructor()
379 isolate, map, JSFunction::GetDerivedMap(isolate, target, new_target)); in CallOrConstructConstructor()
381 RETURN_RESULT_OR_FAILURE(isolate, in CallOrConstructConstructor()
382 T::New(isolate, map, locales, options, method)); in CallOrConstructConstructor()
389 HandleScope scope(isolate); in BUILTIN()
392 args, isolate, v8::Isolate::UseCounterFeature::kDisplayNames, in BUILTIN()
397 HandleScope scope(isolate); in BUILTIN()
400 return *JSDisplayNames::ResolvedOptions(isolate, holder); in BUILTIN()
404 HandleScope scope(isolate); in BUILTIN()
405 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
406 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
409 isolate, Intl::SupportedLocalesOf( in BUILTIN()
410 isolate, "Intl.DisplayNames.supportedLocalesOf", in BUILTIN()
415 HandleScope scope(isolate); in BUILTIN()
417 Handle<Object> code_obj = args.atOrUndefined(isolate, 1); in BUILTIN()
419 RETURN_RESULT_OR_FAILURE(isolate, in BUILTIN()
420 JSDisplayNames::Of(isolate, holder, code_obj)); in BUILTIN()
426 HandleScope scope(isolate); in BUILTIN()
429 args, isolate, v8::Isolate::UseCounterFeature::kNumberFormat, in BUILTIN()
430 isolate->intl_number_format_function(), "Intl.NumberFormat"); in BUILTIN()
434 HandleScope scope(isolate); in BUILTIN()
444 isolate, number_format, in BUILTIN()
445 JSNumberFormat::UnwrapNumberFormat(isolate, number_format_holder)); in BUILTIN()
447 return *JSNumberFormat::ResolvedOptions(isolate, number_format); in BUILTIN()
452 HandleScope scope(isolate); in BUILTIN()
461 isolate, number_format, in BUILTIN()
462 JSNumberFormat::UnwrapNumberFormat(isolate, receiver)); in BUILTIN()
464 Handle<Object> bound_format(number_format->bound_format(), isolate); in BUILTIN()
467 if (!bound_format->IsUndefined(isolate)) { in BUILTIN()
474 isolate, number_format, Builtins::kNumberFormatInternalFormatNumber, 1); in BUILTIN()
484 HandleScope scope(isolate); in BUILTIN()
486 Handle<Context> context = Handle<Context>(isolate->context(), isolate); in BUILTIN()
494 isolate); in BUILTIN()
497 Handle<Object> value = args.atOrUndefined(isolate, 1); in BUILTIN()
501 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, numeric_obj, in BUILTIN()
502 Object::ToNumeric(isolate, value)); in BUILTIN()
510 isolate, JSNumberFormat::FormatNumeric( in BUILTIN()
511 isolate, *icu_localized_number_formatter, numeric_obj)); in BUILTIN()
515 HandleScope scope(isolate); in BUILTIN()
518 args, isolate, v8::Isolate::UseCounterFeature::kDateTimeFormat, in BUILTIN()
519 isolate->intl_date_time_format_function(), "Intl.DateTimeFormat"); in BUILTIN()
524 HandleScope scope(isolate); in BUILTIN()
533 isolate, format, in BUILTIN()
534 JSDateTimeFormat::UnwrapDateTimeFormat(isolate, receiver)); in BUILTIN()
536 Handle<Object> bound_format = Handle<Object>(format->bound_format(), isolate); in BUILTIN()
539 if (!bound_format->IsUndefined(isolate)) { in BUILTIN()
546 isolate, format, Builtins::kDateTimeFormatInternalFormat, 1); in BUILTIN()
556 HandleScope scope(isolate); in BUILTIN()
557 Handle<Context> context = Handle<Context>(isolate->context(), isolate); in BUILTIN()
565 isolate); in BUILTIN()
567 Handle<Object> date = args.atOrUndefined(isolate, 1); in BUILTIN()
569 RETURN_RESULT_OR_FAILURE(isolate, JSDateTimeFormat::DateTimeFormat( in BUILTIN()
570 isolate, date_format_holder, date)); in BUILTIN()
574 HandleScope scope(isolate); in BUILTIN()
575 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
577 RETURN_RESULT_OR_FAILURE(isolate, in BUILTIN()
578 Intl::GetCanonicalLocales(isolate, locales)); in BUILTIN()
582 HandleScope scope(isolate); in BUILTIN()
585 args, isolate, v8::Isolate::UseCounterFeature::kListFormat, in BUILTIN()
590 HandleScope scope(isolate); in BUILTIN()
593 return *JSListFormat::ResolvedOptions(isolate, format_holder); in BUILTIN()
597 HandleScope scope(isolate); in BUILTIN()
598 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
599 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
602 isolate, Intl::SupportedLocalesOf( in BUILTIN()
603 isolate, "Intl.ListFormat.supportedLocalesOf", in BUILTIN()
609 HandleScope scope(isolate); in BUILTIN()
611 isolate->CountUsage(v8::Isolate::UseCounterFeature::kLocale); in BUILTIN()
613 if (args.new_target()->IsUndefined(isolate)) { // [[Call]] in BUILTIN()
615 isolate, NewTypeError(MessageTemplate::kConstructorNotFunction, in BUILTIN()
616 isolate->factory()->NewStringFromAsciiChecked( in BUILTIN()
623 Handle<Object> tag = args.atOrUndefined(isolate, 1); in BUILTIN()
624 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
630 isolate, map, JSFunction::GetDerivedMap(isolate, target, new_target)); in BUILTIN()
635 isolate, NewTypeError(MessageTemplate::kLocaleNotEmpty)); in BUILTIN()
643 locale_string = JSLocale::ToString(isolate, Handle<JSLocale>::cast(tag)); in BUILTIN()
646 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, locale_string, in BUILTIN()
647 Object::ToString(isolate, tag)); in BUILTIN()
652 if (options->IsUndefined(isolate)) { in BUILTIN()
654 options_object = isolate->factory()->NewJSObjectWithNullProto(); in BUILTIN()
657 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, options_object, in BUILTIN()
658 Object::ToObject(isolate, options)); in BUILTIN()
662 isolate, JSLocale::New(isolate, map, locale_string, options_object)); in BUILTIN()
666 HandleScope scope(isolate); in BUILTIN()
668 RETURN_RESULT_OR_FAILURE(isolate, JSLocale::Maximize(isolate, locale)); in BUILTIN()
672 HandleScope scope(isolate); in BUILTIN()
674 RETURN_RESULT_OR_FAILURE(isolate, JSLocale::Minimize(isolate, locale)); in BUILTIN()
678 HandleScope scope(isolate); in BUILTIN()
679 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
680 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
683 isolate, in BUILTIN()
685 isolate, "Intl.RelativeTimeFormat.supportedLocalesOf", in BUILTIN()
690 HandleScope scope(isolate); in BUILTIN()
697 Handle<Object> value_obj = args.atOrUndefined(isolate, 1); in BUILTIN()
698 Handle<Object> unit_obj = args.atOrUndefined(isolate, 2); in BUILTIN()
701 isolate, JSRelativeTimeFormat::Format(isolate, value_obj, unit_obj, in BUILTIN()
706 HandleScope scope(isolate); in BUILTIN()
713 Handle<Object> value_obj = args.atOrUndefined(isolate, 1); in BUILTIN()
714 Handle<Object> unit_obj = args.atOrUndefined(isolate, 2); in BUILTIN()
716 isolate, JSRelativeTimeFormat::FormatToParts(isolate, value_obj, unit_obj, in BUILTIN()
722 HandleScope scope(isolate); in BUILTIN()
726 return *JSLocale::Language(isolate, locale); in BUILTIN()
730 HandleScope scope(isolate); in BUILTIN()
733 return *JSLocale::Script(isolate, locale); in BUILTIN()
737 HandleScope scope(isolate); in BUILTIN()
740 return *JSLocale::Region(isolate, locale); in BUILTIN()
744 HandleScope scope(isolate); in BUILTIN()
747 return *JSLocale::BaseName(isolate, locale); in BUILTIN()
751 HandleScope scope(isolate); in BUILTIN()
754 return *JSLocale::Calendar(isolate, locale); in BUILTIN()
758 HandleScope scope(isolate); in BUILTIN()
761 return *JSLocale::CaseFirst(isolate, locale); in BUILTIN()
765 HandleScope scope(isolate); in BUILTIN()
768 return *JSLocale::Collation(isolate, locale); in BUILTIN()
772 HandleScope scope(isolate); in BUILTIN()
775 return *JSLocale::HourCycle(isolate, locale); in BUILTIN()
779 HandleScope scope(isolate); in BUILTIN()
782 return *JSLocale::Numeric(isolate, locale); in BUILTIN()
786 HandleScope scope(isolate); in BUILTIN()
789 return *JSLocale::NumberingSystem(isolate, locale); in BUILTIN()
793 HandleScope scope(isolate); in BUILTIN()
796 return *JSLocale::ToString(isolate, locale); in BUILTIN()
800 HandleScope scope(isolate); in BUILTIN()
803 args, isolate, v8::Isolate::UseCounterFeature::kRelativeTimeFormat, in BUILTIN()
808 HandleScope scope(isolate); in BUILTIN()
811 return *JSRelativeTimeFormat::ResolvedOptions(isolate, format_holder); in BUILTIN()
815 HandleScope scope(isolate); in BUILTIN()
817 isolate->CountUsage(v8::Isolate::UseCounterFeature::kStringToLocaleLowerCase); in BUILTIN()
822 isolate, Intl::StringLocaleConvertCase(isolate, string, false, in BUILTIN()
823 args.atOrUndefined(isolate, 1))); in BUILTIN()
827 HandleScope scope(isolate); in BUILTIN()
829 isolate->CountUsage(v8::Isolate::UseCounterFeature::kStringToLocaleUpperCase); in BUILTIN()
834 isolate, Intl::StringLocaleConvertCase(isolate, string, true, in BUILTIN()
835 args.atOrUndefined(isolate, 1))); in BUILTIN()
839 HandleScope scope(isolate); in BUILTIN()
842 args, isolate, v8::Isolate::UseCounterFeature::kPluralRules, in BUILTIN()
847 HandleScope scope(isolate); in BUILTIN()
850 return *JSPluralRules::ResolvedOptions(isolate, plural_rules_holder); in BUILTIN()
854 HandleScope scope(isolate); in BUILTIN()
864 Handle<Object> number = args.atOrUndefined(isolate, 1); in BUILTIN()
865 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, number, in BUILTIN()
866 Object::ToNumber(isolate, number)); in BUILTIN()
870 RETURN_RESULT_OR_FAILURE(isolate, JSPluralRules::ResolvePlural( in BUILTIN()
871 isolate, plural_rules, number_double)); in BUILTIN()
875 HandleScope scope(isolate); in BUILTIN()
876 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
877 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
880 isolate, Intl::SupportedLocalesOf( in BUILTIN()
881 isolate, "Intl.PluralRules.supportedLocalesOf", in BUILTIN()
886 HandleScope scope(isolate); in BUILTIN()
888 isolate->CountUsage(v8::Isolate::UseCounterFeature::kCollator); in BUILTIN()
890 return CallOrConstructConstructor<JSCollator>(args, isolate, "Intl.Collator"); in BUILTIN()
894 HandleScope scope(isolate); in BUILTIN()
897 return *JSCollator::ResolvedOptions(isolate, collator_holder); in BUILTIN()
901 HandleScope scope(isolate); in BUILTIN()
902 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
903 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
906 isolate, Intl::SupportedLocalesOf( in BUILTIN()
907 isolate, "Intl.Collator.supportedLocalesOf", in BUILTIN()
913 HandleScope scope(isolate); in BUILTIN()
922 Handle<Object> bound_compare(collator->bound_compare(), isolate); in BUILTIN()
923 if (!bound_compare->IsUndefined(isolate)) { in BUILTIN()
930 isolate, collator, Builtins::kCollatorInternalCompare, 2); in BUILTIN()
940 HandleScope scope(isolate); in BUILTIN()
941 Handle<Context> context = Handle<Context>(isolate->context(), isolate); in BUILTIN()
949 isolate); in BUILTIN()
952 Handle<Object> x = args.atOrUndefined(isolate, 1); in BUILTIN()
954 Handle<Object> y = args.atOrUndefined(isolate, 2); in BUILTIN()
958 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, string_x, in BUILTIN()
959 Object::ToString(isolate, x)); in BUILTIN()
962 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, string_y, in BUILTIN()
963 Object::ToString(isolate, y)); in BUILTIN()
968 return *Intl::CompareStrings(isolate, *icu_collator, string_x, string_y); in BUILTIN()
974 HandleScope scope(isolate); in BUILTIN()
977 RETURN_RESULT_OR_FAILURE(isolate, in BUILTIN()
978 JSSegmentIterator::Next(isolate, segment_iterator)); in BUILTIN()
983 HandleScope scope(isolate); in BUILTIN()
986 args, isolate, v8::Isolate::UseCounterFeature::kSegmenter, in BUILTIN()
992 HandleScope scope(isolate); in BUILTIN()
993 Handle<Object> locales = args.atOrUndefined(isolate, 1); in BUILTIN()
994 Handle<Object> options = args.atOrUndefined(isolate, 2); in BUILTIN()
997 isolate, Intl::SupportedLocalesOf( in BUILTIN()
998 isolate, "Intl.Segmenter.supportedLocalesOf", in BUILTIN()
1004 HandleScope scope(isolate); in BUILTIN()
1007 return *JSSegmenter::ResolvedOptions(isolate, segmenter); in BUILTIN()
1012 HandleScope scope(isolate); in BUILTIN()
1014 Handle<Object> input_text = args.atOrUndefined(isolate, 1); in BUILTIN()
1017 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, string, in BUILTIN()
1018 Object::ToString(isolate, input_text)); in BUILTIN()
1021 RETURN_RESULT_OR_FAILURE(isolate, in BUILTIN()
1022 JSSegments::Create(isolate, segmenter, string)); in BUILTIN()
1028 HandleScope scope(isolate); in BUILTIN()
1030 Handle<Object> index = args.atOrUndefined(isolate, 1); in BUILTIN()
1033 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, index, in BUILTIN()
1034 Object::ToInteger(isolate, index)); in BUILTIN()
1037 RETURN_RESULT_OR_FAILURE(isolate, in BUILTIN()
1038 JSSegments::Containing(isolate, segments, n)); in BUILTIN()
1044 HandleScope scope(isolate); in BUILTIN()
1047 isolate, in BUILTIN()
1048 JSSegmentIterator::Create(isolate, segments->icu_break_iterator().raw(), in BUILTIN()
1053 HandleScope scope(isolate); in BUILTIN()
1055 return CallOrConstructConstructor<JSV8BreakIterator>(args, isolate, in BUILTIN()
1060 HandleScope scope(isolate); in BUILTIN()
1063 return *JSV8BreakIterator::ResolvedOptions(isolate, break_iterator); in BUILTIN()
1068 HandleScope scope(isolate); in BUILTIN()
1072 Handle<Object> bound_adopt_text(break_iterator->bound_adopt_text(), isolate); in BUILTIN()
1073 if (!bound_adopt_text->IsUndefined(isolate)) { in BUILTIN()
1079 isolate, break_iterator, Builtins::kV8BreakIteratorInternalAdoptText, 1); in BUILTIN()
1085 HandleScope scope(isolate); in BUILTIN()
1086 Handle<Context> context = Handle<Context>(isolate->context(), isolate); in BUILTIN()
1091 isolate); in BUILTIN()
1093 Handle<Object> input_text = args.atOrUndefined(isolate, 1); in BUILTIN()
1095 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, text, in BUILTIN()
1096 Object::ToString(isolate, input_text)); in BUILTIN()
1098 JSV8BreakIterator::AdoptText(isolate, break_iterator, text); in BUILTIN()
1099 return ReadOnlyRoots(isolate).undefined_value(); in BUILTIN()
1104 HandleScope scope(isolate); in BUILTIN()
1108 Handle<Object> bound_first(break_iterator->bound_first(), isolate); in BUILTIN()
1109 if (!bound_first->IsUndefined(isolate)) { in BUILTIN()
1115 isolate, break_iterator, Builtins::kV8BreakIteratorInternalFirst, 0); in BUILTIN()
1121 HandleScope scope(isolate); in BUILTIN()
1122 Handle<Context> context = Handle<Context>(isolate->context(), isolate); in BUILTIN()
1127 isolate); in BUILTIN()
1129 return *JSV8BreakIterator::First(isolate, break_iterator); in BUILTIN()
1134 HandleScope scope(isolate); in BUILTIN()
1138 Handle<Object> bound_next(break_iterator->bound_next(), isolate); in BUILTIN()
1139 if (!bound_next->IsUndefined(isolate)) { in BUILTIN()
1145 isolate, break_iterator, Builtins::kV8BreakIteratorInternalNext, 0); in BUILTIN()
1151 HandleScope scope(isolate); in BUILTIN()
1152 Handle<Context> context = Handle<Context>(isolate->context(), isolate); in BUILTIN()
1157 isolate); in BUILTIN()
1158 return *JSV8BreakIterator::Next(isolate, break_iterator); in BUILTIN()
1163 HandleScope scope(isolate); in BUILTIN()
1167 Handle<Object> bound_current(break_iterator->bound_current(), isolate); in BUILTIN()
1168 if (!bound_current->IsUndefined(isolate)) { in BUILTIN()
1174 isolate, break_iterator, Builtins::kV8BreakIteratorInternalCurrent, 0); in BUILTIN()
1180 HandleScope scope(isolate); in BUILTIN()
1181 Handle<Context> context = Handle<Context>(isolate->context(), isolate); in BUILTIN()
1186 isolate); in BUILTIN()
1187 return *JSV8BreakIterator::Current(isolate, break_iterator); in BUILTIN()
1192 HandleScope scope(isolate); in BUILTIN()
1196 Handle<Object> bound_break_type(break_iterator->bound_break_type(), isolate); in BUILTIN()
1197 if (!bound_break_type->IsUndefined(isolate)) { in BUILTIN()
1203 isolate, break_iterator, Builtins::kV8BreakIteratorInternalBreakType, 0); in BUILTIN()
1209 HandleScope scope(isolate); in BUILTIN()
1210 Handle<Context> context = Handle<Context>(isolate->context(), isolate); in BUILTIN()
1215 isolate); in BUILTIN()
1216 return JSV8BreakIterator::BreakType(isolate, break_iterator); in BUILTIN()