Home
last modified time | relevance | path

Searched refs:MAYBE_RETURN (Results 1 – 25 of 31) sorted by relevance

12

/external/v8/src/objects/
Djs-relative-time-format.cc73 MAYBE_RETURN(maybe_requested_locales, Handle<JSRelativeTimeFormat>()); in New()
96 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSRelativeTimeFormat>()); in New()
108 MAYBE_RETURN(maybe_numberingSystem, MaybeHandle<JSRelativeTimeFormat>()); in New()
139 MAYBE_RETURN(maybe_locale_str, MaybeHandle<JSRelativeTimeFormat>()); in New()
159 MAYBE_RETURN(maybe_style, MaybeHandle<JSRelativeTimeFormat>()); in New()
169 MAYBE_RETURN(maybe_numeric, MaybeHandle<JSRelativeTimeFormat>()); in New()
459 MAYBE_RETURN(maybe_added, Handle<JSArray>()); in FormatToJSArray()
467 MAYBE_RETURN(maybe_added, Handle<JSArray>()); in FormatToJSArray()
471 MAYBE_RETURN(maybe_added, Handle<JSArray>()); in FormatToJSArray()
478 MAYBE_RETURN(maybe_added, Handle<JSArray>()); in FormatToJSArray()
[all …]
Djs-number-format.cc828 MAYBE_RETURN(maybe_requested_locales, Handle<JSNumberFormat>()); in New()
853 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSNumberFormat>()); in New()
865 MAYBE_RETURN(maybe_numberingSystem, MaybeHandle<JSNumberFormat>()); in New()
894 MAYBE_RETURN(maybe_locale_str, MaybeHandle<JSNumberFormat>()); in New()
931 MAYBE_RETURN(maybe_style, MaybeHandle<JSNumberFormat>()); in New()
942 MAYBE_RETURN(found_currency, MaybeHandle<JSNumberFormat>()); in New()
976 MAYBE_RETURN(maybe_currency_display, MaybeHandle<JSNumberFormat>()); in New()
986 MAYBE_RETURN(maybe_currency_sign, MaybeHandle<JSNumberFormat>()); in New()
994 MAYBE_RETURN(found_unit, MaybeHandle<JSNumberFormat>()); in New()
1032 MAYBE_RETURN(maybe_unit_display, MaybeHandle<JSNumberFormat>()); in New()
[all …]
Djs-collator.cc282 MAYBE_RETURN(maybe_requested_locales, Handle<JSCollator>()); in New()
306 MAYBE_RETURN(maybe_usage, MaybeHandle<JSCollator>()); in New()
314 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSCollator>()); in New()
323 MAYBE_RETURN(maybe_collation, MaybeHandle<JSCollator>()); in New()
353 MAYBE_RETURN(found_numeric, MaybeHandle<JSCollator>()); in New()
358 MAYBE_RETURN(maybe_case_first, MaybeHandle<JSCollator>()); in New()
495 MAYBE_RETURN(maybe_sensitivity, MaybeHandle<JSCollator>()); in New()
532 MAYBE_RETURN(found_ignore_punctuation, MaybeHandle<JSCollator>()); in New()
Djs-list-format.cc66 MAYBE_RETURN(maybe_requested_locales, Handle<JSListFormat>()); in New()
89 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSListFormat>()); in New()
113 MAYBE_RETURN(maybe_type, MaybeHandle<JSListFormat>()); in New()
121 MAYBE_RETURN(maybe_style, MaybeHandle<JSListFormat>()); in New()
234 MAYBE_RETURN(maybe_array, Handle<T>()); in FormatListCommon()
Djs-date-time-format.cc839 MAYBE_RETURN(maybe_undefined, Nothing<bool>()); in NeedsDefault()
853 MAYBE_RETURN( in CreateDefault()
897 MAYBE_RETURN(maybe_needs_default, Handle<JSObject>()); in ToDateTimeOptions()
914 MAYBE_RETURN(maybe_needs_default, Handle<JSObject>()); in ToDateTimeOptions()
921 MAYBE_RETURN(maybe_datestyle_undefined, Handle<JSObject>()); in ToDateTimeOptions()
925 MAYBE_RETURN(maybe_timestyle_undefined, Handle<JSObject>()); in ToDateTimeOptions()
960 MAYBE_RETURN(CreateDefault(isolate, options, list), Handle<JSObject>()); in ToDateTimeOptions()
966 MAYBE_RETURN(CreateDefault(isolate, options, list), Handle<JSObject>()); in ToDateTimeOptions()
1452 MAYBE_RETURN(maybe_requested_locales, Handle<JSDateTimeFormat>()); in New()
1468 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSDateTimeFormat>()); in New()
[all …]
Djs-segmenter.cc32 MAYBE_RETURN(maybe_requested_locales, Handle<JSSegmenter>()); in New()
54 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSSegmenter>()); in New()
81 MAYBE_RETURN(maybe_granularity, MaybeHandle<JSSegmenter>()); in New()
Djs-locale.cc73 MAYBE_RETURN(maybe_found, Nothing<bool>()); in InsertOptionsIntoLocale()
257 MAYBE_RETURN(maybe_language, Nothing<bool>()); in ApplyOptionsToTag()
275 MAYBE_RETURN(maybe_script, Nothing<bool>()); in ApplyOptionsToTag()
292 MAYBE_RETURN(maybe_region, Nothing<bool>()); in ApplyOptionsToTag()
337 MAYBE_RETURN(maybe_apply, MaybeHandle<JSLocale>()); in New()
346 MAYBE_RETURN(maybe_insert, MaybeHandle<JSLocale>()); in New()
Djs-plural-rules.cc69 MAYBE_RETURN(maybe_requested_locales, Handle<JSPluralRules>()); in New()
94 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSPluralRules>()); in New()
102 MAYBE_RETURN(maybe_type, MaybeHandle<JSPluralRules>()); in New()
150 MAYBE_RETURN(maybe_digit_options, MaybeHandle<JSPluralRules>()); in New()
Djs-display-names.cc498 MAYBE_RETURN(maybe_requested_locales, Handle<JSDisplayNames>()); in New()
516 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSDisplayNames>()); in New()
528 MAYBE_RETURN(maybe_calendar, MaybeHandle<JSDisplayNames>()); in New()
578 MAYBE_RETURN(maybe_style, MaybeHandle<JSDisplayNames>()); in New()
614 MAYBE_RETURN(maybe_type, MaybeHandle<JSDisplayNames>()); in New()
630 MAYBE_RETURN(maybe_fallback, MaybeHandle<JSDisplayNames>()); in New()
739 MAYBE_RETURN(maybe_result, Handle<Object>()); in Of()
Djs-break-iterator.cc30 MAYBE_RETURN(maybe_requested_locales, MaybeHandle<JSV8BreakIterator>()); in New()
46 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSV8BreakIterator>()); in New()
63 MAYBE_RETURN(maybe_type, MaybeHandle<JSV8BreakIterator>()); in New()
Dkeys.cc204 MAYBE_RETURN(found, MaybeHandle<FixedArray>()); in FilterProxyKeys()
245 MAYBE_RETURN(CollectOwnJSProxyKeys(receiver, Handle<JSProxy>::cast(object)), in CollectKeys()
267 MAYBE_RETURN(result, Nothing<bool>()); in CollectKeys()
570 MAYBE_RETURN(accumulator.CollectKeys(receiver_, receiver_), in GetKeysSlow()
610 MAYBE_RETURN(accumulator.CollectKeys(first_prototype_, first_prototype_), in GetKeysWithPrototypeInfoCache()
1083 MAYBE_RETURN((CollectInterceptorKeysInternal( in CollectAccessCheckInterceptorKeys()
1091 MAYBE_RETURN( in CollectAccessCheckInterceptorKeys()
1126 MAYBE_RETURN(CollectAccessCheckInterceptorKeys(access_check_info, in CollectOwnKeys()
1139 MAYBE_RETURN(CollectOwnElementIndices(receiver, object), Nothing<bool>()); in CollectOwnKeys()
1141 MAYBE_RETURN(CollectOwnPropertyNames(receiver, object), Nothing<bool>()); in CollectOwnKeys()
[all …]
Djs-objects.cc131 MAYBE_RETURN(attributes, Nothing<bool>()); in HasOwnProperty()
899 MAYBE_RETURN(success, ReadOnlyRoots(isolate).exception()); in DefineProperty()
1211 MAYBE_RETURN(GetOwnPropertyDescriptor(it, &current), Nothing<bool>()); in OrdinaryDefineOwnProperty()
1633 MAYBE_RETURN(intercepted, Nothing<bool>()); in GetOwnPropertyDescriptor()
1642 MAYBE_RETURN(maybe, Nothing<bool>()); in GetOwnPropertyDescriptor()
1698 MAYBE_RETURN(test, Nothing<bool>()); in SetIntegrityLevel()
1713 MAYBE_RETURN(JSReceiver::PreventExtensions(receiver, should_throw), in SetIntegrityLevel()
1730 MAYBE_RETURN(DefineOwnProperty(isolate, receiver, key, &no_conf, in SetIntegrityLevel()
1742 MAYBE_RETURN(owned, Nothing<bool>()); in SetIntegrityLevel()
1748 MAYBE_RETURN( in SetIntegrityLevel()
[all …]
Dintl-objects.cc928 MAYBE_RETURN(maybe_found, Nothing<std::vector<std::string>>()); in CanonicalizeLocaleList()
1653 MAYBE_RETURN(maybe_locale_matcher, MaybeHandle<JSObject>()); in SupportedLocales()
1684 MAYBE_RETURN(maybe_ll, MaybeHandle<JSArray>()); in GetCanonicalLocales()
1701 MAYBE_RETURN(requested_locales, MaybeHandle<JSObject>()); in SupportedLocalesOf()
1924 MAYBE_RETURN(maybe_icu_locale, Nothing<Intl::ResolvedLocale>()); in ResolveLocale()
2136 MAYBE_RETURN(maybe, Nothing<bool>()); in GetNumberingSystem()
Dintl-objects.h101 MAYBE_RETURN(found, Nothing<T>()); in GetStringOption()
Dobjects.cc1398 MAYBE_RETURN(is_extensible, MaybeHandle<HeapObject>()); in GetPrototype()
2654 MAYBE_RETURN(owned, Nothing<bool>()); in SetSuperProperty()
2974 MAYBE_RETURN(JSProxy::CheckHasTrap(isolate, name, target), Nothing<bool>()); in HasProperty()
2986 MAYBE_RETURN(target_found, Nothing<bool>()); in CheckHasTrap()
2998 MAYBE_RETURN(extensible_target, Nothing<bool>()); in CheckHasTrap()
3106 MAYBE_RETURN(target_found, Nothing<bool>()); in CheckDeleteTrap()
3117 MAYBE_RETURN(extensible_target, Nothing<bool>()); in CheckDeleteTrap()
3160 MAYBE_RETURN(found, Nothing<PropertyAttributes>()); in GetPropertyAttributes()
3432 MAYBE_RETURN(target_found, Nothing<bool>()); in DefineOwnProperty()
3435 MAYBE_RETURN(maybe_extensible, Nothing<bool>()); in DefineOwnProperty()
[all …]
Djs-objects-inl.h727 MAYBE_RETURN(attributes, Nothing<bool>()); in HasOwnProperty()
/external/v8/src/builtins/
Dbuiltins-object.cc96 MAYBE_RETURN(success, ReadOnlyRoots(isolate).exception()); in ObjectDefineAccessor()
134 MAYBE_RETURN(found, ReadOnlyRoots(isolate).exception()); in ObjectLookupAccessor()
218 MAYBE_RETURN(JSReceiver::SetIntegrityLevel(Handle<JSReceiver>::cast(object), in BUILTIN()
262 MAYBE_RETURN(JSReceiver::SetPrototype(receiver, proto, true, kThrowOnError), in BUILTIN()
301 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
313 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
339 MAYBE_RETURN(did_get_descriptor, ReadOnlyRoots(isolate).exception()); in BUILTIN()
357 MAYBE_RETURN(JSReceiver::SetIntegrityLevel(Handle<JSReceiver>::cast(object), in BUILTIN()
Dbuiltins-reflect.cc45 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
70 MAYBE_RETURN(found, ReadOnlyRoots(isolate).exception()); in BUILTIN()
121 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
Dbuiltins-typed-array.cc189 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
219 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
253 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in BUILTIN()
Dbuiltins-array.cc342 MAYBE_RETURN(Object::SetProperty(&it, element, StoreOrigin::kMaybeKeyed, in GenericArrayPush()
433 MAYBE_RETURN(JSReceiver::DeletePropertyOrElement(receiver, index, in GenericArrayPop()
546 MAYBE_RETURN(JSReceiver::DeletePropertyOrElement(receiver, to, in GenericArrayShift()
558 MAYBE_RETURN(JSReceiver::DeletePropertyOrElement(receiver, new_length, in GenericArrayShift()
674 MAYBE_RETURN( in visit()
1377 MAYBE_RETURN(spreadable, ReadOnlyRoots(isolate).exception()); in Slow_ArrayConcat()
/external/v8/src/runtime/
Druntime-object.cc442 MAYBE_RETURN(JSReceiver::SetPrototype(obj, prototype, false, kThrowOnError), in RUNTIME_FUNCTION()
526 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
535 MAYBE_RETURN(JSReceiver::PreventExtensions(Handle<JSReceiver>::cast(object), in RUNTIME_FUNCTION()
548 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
568 MAYBE_RETURN(JSReceiver::SetPrototype(object, proto, true, kThrowOnError), in RUNTIME_FUNCTION()
583 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
743 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in DeleteProperty()
1042 MAYBE_RETURN(JSReceiver::SetOrCopyDataProperties(isolate, target, source), in RUNTIME_FUNCTION()
1058 MAYBE_RETURN(JSReceiver::SetOrCopyDataProperties(isolate, target, source, in RUNTIME_FUNCTION()
1093 MAYBE_RETURN(JSReceiver::SetOrCopyDataProperties(isolate, target, source, in RUNTIME_FUNCTION()
[all …]
Druntime-array.cc197 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
293 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
391 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
404 MAYBE_RETURN(present, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
Druntime-bigint.cc44 MAYBE_RETURN(maybe_result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
74 MAYBE_RETURN(maybe_result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
Druntime-proxy.cc84 MAYBE_RETURN(result, ReadOnlyRoots(isolate).exception()); in RUNTIME_FUNCTION()
/external/v8/src/execution/
Disolate.h344 #define MAYBE_RETURN(call, value) \ macro
349 #define MAYBE_RETURN_NULL(call) MAYBE_RETURN(call, MaybeHandle<Object>())

12