Home | History | Annotate | Download | only in src

Lines Matching refs:Maybe

1980     Maybe<PropertyAttributes> maybe =
1982 if (!maybe.has_value) return MaybeHandle<Object>();
1983 attrs = maybe.value;
1997 Maybe<PropertyAttributes> maybe = JSObject::GetPropertyAttributes(&it);
1998 if (!maybe.has_value) return MaybeHandle<Object>();
1999 attrs = maybe.value;
2217 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it);
2218 if (!maybe.has_value) return isolate->heap()->exception();
2221 PropertyAttributes old_attributes = maybe.value;
2347 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it);
2348 DCHECK(maybe.has_value);
2349 PropertyAttributes old_attributes = maybe.value;
2497 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it);
2498 if (!maybe.has_value) return isolate->heap()->exception();
2499 PropertyAttributes old_attributes = maybe.value;
4840 Maybe<bool> maybe;
4844 maybe = JSReceiver::HasElement(object, index);
4850 maybe = JSReceiver::HasProperty(object, name);
4853 if (!maybe.has_value) return MaybeHandle<Object>();
4854 return isolate->factory()->ToBoolean(maybe.value);
5343 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it);
5344 if (!maybe.has_value) return isolate->heap()->exception();
5375 Maybe<PropertyAttributes> maybe = JSReceiver::GetPropertyAttributes(&it);
5376 DCHECK(maybe.has_value);
5381 Maybe<bool> maybe = JSReceiver::HasOwnElement(object, index);
5382 if (!maybe.has_value) return isolate->heap()->exception();
5383 duplicate = maybe.value;
5648 Maybe<bool> maybe = JSReceiver::HasOwnProperty(object, key);
5649 if (!maybe.has_value) return isolate->heap()->exception();
5650 if (maybe.value) return isolate->heap()->true_value();
5685 Maybe<bool> maybe = JSObject::HasRealNamedProperty(js_obj, key);
5686 if (!maybe.has_value) return isolate->heap()->exception();
5688 if (maybe.value) {
5718 Maybe<bool> maybe = JSReceiver::HasProperty(receiver, key);
5719 if (!maybe.has_value) return isolate->heap()->exception();
5720 return isolate->heap()->ToBoolean(maybe.value);
5730 Maybe<bool> maybe = JSReceiver::HasElement(receiver, index);
5731 if (!maybe.has_value) return isolate->heap()->exception();
5732 return isolate->heap()->ToBoolean(maybe.value);
5743 Maybe<PropertyAttributes> maybe =
5745 if (!maybe.has_value) return isolate->heap()->exception();
5746 if (maybe.value == ABSENT) maybe.value = DONT_ENUM;
5747 return isolate->heap()->ToBoolean((maybe.value & DONT_ENUM) == 0);
8755 return Smi::FromInt(6); // 6 == "maybe deopted".
9431 Maybe<bool> maybe = JSReceiver::HasProperty(object, name);
9432 DCHECK(maybe.has_value);
9433 DCHECK(maybe.value);
10403 Maybe<bool> maybe = JSReceiver::HasElement(receiver, j);
10404 if (!maybe.has_value) return false;
10405 if (maybe.value) {
10439 Maybe<bool> maybe = JSReceiver::HasElement(receiver, j);
10440 if (!maybe.has_value) return false;
10441 if (maybe.value) {
11793 Maybe<bool> maybe = JSReceiver::HasProperty(ext, variable_name);
11794 DCHECK(maybe.has_value);
11795 if (maybe.value) {
11879 Maybe<bool> maybe = JSReceiver::HasProperty(ext, variable_name);
11880 DCHECK(maybe.has_value);
11881 if (maybe.value) {
12959 Maybe<bool> maybe = JSReceiver::HasOwnProperty(
12961 if (!maybe.has_value) return MaybeHandle<JSObject>();
12962 if (maybe.value) return target;