Home
last modified time | relevance | path

Searched refs:LookupIterator (Results 1 – 25 of 51) sorted by relevance

123

/third_party/node/deps/v8/src/objects/
Dlookup-inl.h25 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
27 : LookupIterator(isolate, receiver, name, kInvalidIndex, receiver, in LookupIterator()
30 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
34 : LookupIterator(isolate, receiver, name, kInvalidIndex, in LookupIterator()
37 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
39 : LookupIterator(isolate, receiver, Handle<Name>(), index, receiver, in LookupIterator()
44 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
47 : LookupIterator(isolate, receiver, Handle<Name>(), index, in LookupIterator()
52 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
55 : LookupIterator(isolate, receiver, key.name(), key.index(), receiver, in LookupIterator()
[all …]
Dlookup.cc39 index_ = LookupIterator::kInvalidIndex; in PropertyKey()
44 index_ = LookupIterator::kInvalidIndex; in PropertyKey()
48 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function in v8::internal::LookupIterator
66 void LookupIterator::Start() { in Start()
86 template void LookupIterator::Start<true>();
87 template void LookupIterator::Start<false>();
89 void LookupIterator::Next() { in Next()
109 void LookupIterator::NextInternal(Map map, JSReceiver holder) { in NextInternal()
130 void LookupIterator::RestartInternal(InterceptorState interceptor_state) { in RestartInternal()
137 template void LookupIterator::RestartInternal<true>(InterceptorState);
[all …]
Djs-objects.cc89 Maybe<bool> JSReceiver::HasProperty(LookupIterator* it) { in HasProperty()
92 case LookupIterator::NOT_FOUND: in HasProperty()
93 case LookupIterator::TRANSITION: in HasProperty()
95 case LookupIterator::JSPROXY: in HasProperty()
98 case LookupIterator::INTERCEPTOR: { in HasProperty()
105 case LookupIterator::ACCESS_CHECK: { in HasProperty()
112 case LookupIterator::INTEGER_INDEXED_EXOTIC: in HasProperty()
115 case LookupIterator::ACCESSOR: in HasProperty()
116 case LookupIterator::DATA: in HasProperty()
134 LookupIterator it(isolate, object, key, LookupIterator::OWN); in HasOwnProperty()
[all …]
Djs-objects.h27 class LookupIterator; variable
121 LookupIterator* it);
147 LookupIterator* it, LanguageMode language_mode);
166 V8_WARN_UNUSED_RESULT static bool CheckPrivateNameStore(LookupIterator* it,
172 Isolate* isolate, LookupIterator* it, Handle<Object> value,
180 LookupIterator* it, Handle<Object> value,
187 LookupIterator* it, Handle<Object> value,
198 LookupIterator* it, PropertyDescriptor* desc,
209 Isolate* isolate, LookupIterator* it, bool extensible,
217 LookupIterator* it, PropertyDescriptor* desc);
[all …]
Dlookup.h43 class V8_EXPORT_PRIVATE LookupIterator final {
73 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
76 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
80 inline LookupIterator(Isolate* isolate, Handle<Object> receiver, size_t index,
82 inline LookupIterator(Isolate* isolate, Handle<Object> receiver, size_t index,
86 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
89 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
216 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
222 LookupIterator(Isolate* isolate, Handle<Object> receiver, Handle<Name> name,
Djs-objects-inl.h76 LookupIterator it(isolate, receiver, name, receiver); in GetProperty()
84 LookupIterator it(isolate, receiver, index, receiver); in GetElement()
92 LookupIterator it(isolate, object, name, object, in GetDataProperty()
93 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR); in GetDataProperty()
825 LookupIterator it(isolate, object, key, object); in HasProperty()
833 LookupIterator it(isolate, object, index, object, LookupIterator::OWN); in HasOwnProperty()
847 LookupIterator it(isolate, object, key, object); in GetPropertyAttributes()
855 LookupIterator it(isolate, object, key, object, LookupIterator::OWN); in GetOwnPropertyAttributes()
861 LookupIterator it(object->GetIsolate(), object, index, object, in GetOwnPropertyAttributes()
862 LookupIterator::OWN); in GetOwnPropertyAttributes()
[all …]
Dobjects.h510 GetProperty(LookupIterator* it, bool is_global_reference = false);
520 LookupIterator* it, Handle<Object> value, StoreOrigin store_origin,
534 LookupIterator* it, Handle<Object> value, StoreOrigin store_origin,
541 LookupIterator* it, Handle<Object> value,
550 LookupIterator* it, Handle<Object> value);
552 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes,
557 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes,
568 LookupIterator* it);
570 LookupIterator* it, Handle<Object> value,
750 LookupIterator* it, Maybe<ShouldThrow> should_throw);
[all …]
Dobjects.cc1130 MaybeHandle<Object> Object::GetProperty(LookupIterator* it, in GetProperty()
1134 case LookupIterator::NOT_FOUND: in GetProperty()
1135 case LookupIterator::TRANSITION: in GetProperty()
1137 case LookupIterator::JSPROXY: { in GetProperty()
1161 case LookupIterator::INTERCEPTOR: { in GetProperty()
1170 case LookupIterator::ACCESS_CHECK: in GetProperty()
1173 case LookupIterator::ACCESSOR: in GetProperty()
1175 case LookupIterator::INTEGER_INDEXED_EXOTIC: in GetProperty()
1177 case LookupIterator::DATA: in GetProperty()
1217 LookupIterator it(isolate, receiver, key, target); in GetProperty()
[all …]
Djs-function.cc231 LookupIterator length_lookup(isolate, target, in CopyNameAndLength()
233 LookupIterator::OWN); in CopyNameAndLength()
235 length_lookup.state() != LookupIterator::ACCESSOR || in CopyNameAndLength()
251 LookupIterator it(isolate, function, isolate->factory()->length_string(), in CopyNameAndLength()
253 DCHECK_EQ(LookupIterator::ACCESSOR, it.state()); in CopyNameAndLength()
267 LookupIterator name_lookup(isolate, target, isolate->factory()->name_string(), in CopyNameAndLength()
270 name_lookup.state() != LookupIterator::ACCESSOR || in CopyNameAndLength()
293 LookupIterator it(isolate, function, isolate->factory()->name_string()); in CopyNameAndLength()
294 DCHECK_EQ(LookupIterator::ACCESSOR, it.state()); in CopyNameAndLength()
Dproperty-descriptor.cc25 LookupIterator it(receiver->GetIsolate(), receiver, name, receiver); in GetPropertyIfPresent()
115 LookupIterator it(object->GetIsolate(), object, name, object, in CreateDataProperty()
116 LookupIterator::OWN_SKIP_INTERCEPTOR); in CreateDataProperty()
Dvalue-serializer.cc656 LookupIterator it(isolate_, object, key, LookupIterator::OWN); in WriteJSObject()
755 LookupIterator it(isolate_, array, i, array, LookupIterator::OWN); in WriteJSArray()
1125 LookupIterator it(isolate_, object, lookup_key, LookupIterator::OWN); in WriteJSObjectPropertiesSlow()
2370 LookupIterator it(isolate_, object, lookup_key, LookupIterator::OWN); in ReadJSObjectProperties()
2371 if (it.state() != LookupIterator::NOT_FOUND || in ReadJSObjectProperties()
2404 LookupIterator it(isolate_, object, lookup_key, LookupIterator::OWN); in ReadJSObjectProperties()
2405 if (it.state() != LookupIterator::NOT_FOUND || in ReadJSObjectProperties()
2450 LookupIterator it(isolate, object, lookup_key, LookupIterator::OWN); in SetPropertiesFromKeyValuePairs()
2451 if (it.state() != LookupIterator::NOT_FOUND || in SetPropertiesFromKeyValuePairs()
Dmodule.cc395 LookupIterator* it) { in GetPropertyAttributes()
398 DCHECK_EQ(it->state(), LookupIterator::ACCESSOR); in GetPropertyAttributes()
428 LookupIterator it(isolate, object, lookup_key, LookupIterator::OWN); in DefineOwnProperty()
Dcontexts.cc168 static Maybe<bool> UnscopableLookup(LookupIterator* it, bool is_with_context) { in UnscopableLookup()
280 LookupIterator it(isolate, object, name, object); in Lookup()
388 LookupIterator it(isolate, extension, name, extension); in Lookup()
/third_party/node/deps/v8/src/runtime/
Druntime-forin.cc57 LookupIterator it(isolate, receiver, lookup_key); in HasEnumerableProperty()
60 case LookupIterator::NOT_FOUND: in HasEnumerableProperty()
61 case LookupIterator::TRANSITION: in HasEnumerableProperty()
63 case LookupIterator::JSPROXY: { in HasEnumerableProperty()
85 case LookupIterator::INTERCEPTOR: { in HasEnumerableProperty()
91 case LookupIterator::ACCESS_CHECK: { in HasEnumerableProperty()
98 case LookupIterator::INTEGER_INDEXED_EXOTIC: in HasEnumerableProperty()
101 case LookupIterator::ACCESSOR: { in HasEnumerableProperty()
109 case LookupIterator::DATA: in HasEnumerableProperty()
Druntime-object.cc47 LookupIterator it = in GetObjectProperty()
48 LookupIterator(isolate, receiver, lookup_key, lookup_start_object); in GetObjectProperty()
279 LookupIterator it(isolate, receiver, lookup_key, LookupIterator::OWN); in DeleteObjectProperty()
370 LookupIterator it(isolate, object, key, LookupIterator::OWN); in RUNTIME_FUNCTION()
384 LookupIterator::Configuration c = LookupIterator::OWN_SKIP_INTERCEPTOR; in RUNTIME_FUNCTION()
385 LookupIterator it(isolate, js_obj, key, js_obj, c); in RUNTIME_FUNCTION()
401 LookupIterator it(isolate, js_obj, key, js_obj, LookupIterator::OWN); in RUNTIME_FUNCTION()
408 LookupIterator it(isolate, object, key, Handle<JSProxy>::cast(object), in RUNTIME_FUNCTION()
409 LookupIterator::OWN); in RUNTIME_FUNCTION()
440 LookupIterator it(isolate, js_obj, key, js_obj, LookupIterator::OWN); in RUNTIME_FUNCTION()
[all …]
Druntime-atomics.cc620 LookupIterator it(isolate, shared_struct, field_name, LookupIterator::OWN); in RUNTIME_FUNCTION()
636 LookupIterator it(isolate, shared_struct, field_name, LookupIterator::OWN); in RUNTIME_FUNCTION()
662 LookupIterator it(isolate, shared_struct, field_name, LookupIterator::OWN); in RUNTIME_FUNCTION()
Druntime-proxy.cc61 LookupIterator it(isolate, receiver, lookup_key, holder); in RUNTIME_FUNCTION()
81 LookupIterator it(isolate, receiver, lookup_key, holder); in RUNTIME_FUNCTION()
Druntime-scopes.cc67 LookupIterator::Configuration lookup_config( in DeclareGlobal()
68 LookupIterator::Configuration::OWN_SKIP_INTERCEPTOR); in DeclareGlobal()
72 lookup_config = LookupIterator::Configuration::OWN; in DeclareGlobal()
74 LookupIterator it(isolate, global, name, global, lookup_config); in DeclareGlobal()
93 (it.state() == LookupIterator::ACCESSOR)) { in DeclareGlobal()
110 if (it.state() == LookupIterator::ACCESSOR) it.Delete(); in DeclareGlobal()
/third_party/node/deps/v8/src/ic/
Dic.cc206 static void LookupForRead(LookupIterator* it, bool is_has_property) { in LookupForRead()
209 case LookupIterator::NOT_FOUND: in LookupForRead()
210 case LookupIterator::TRANSITION: in LookupForRead()
212 case LookupIterator::JSPROXY: in LookupForRead()
214 case LookupIterator::INTERCEPTOR: { in LookupForRead()
227 case LookupIterator::ACCESS_CHECK: in LookupForRead()
233 case LookupIterator::ACCESSOR: in LookupForRead()
234 case LookupIterator::INTEGER_INDEXED_EXOTIC: in LookupForRead()
235 case LookupIterator::DATA: in LookupForRead()
462 LookupIterator it = LookupIterator(isolate(), receiver, key, object); in Load()
[all …]
Dic.h205 void UpdateCaches(LookupIterator* lookup);
208 Handle<Object> ComputeHandler(LookupIterator* lookup);
269 bool LookupForWrite(LookupIterator* it, Handle<Object> value,
276 void UpdateCaches(LookupIterator* lookup, Handle<Object> value,
280 MaybeObjectHandle ComputeHandler(LookupIterator* lookup);
/third_party/node/deps/v8/src/builtins/
Dbuiltins-object.cc114 LookupIterator it(isolate, object, lookup_key, in ObjectLookupAccessor()
115 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR); in ObjectLookupAccessor()
119 case LookupIterator::INTERCEPTOR: in ObjectLookupAccessor()
120 case LookupIterator::NOT_FOUND: in ObjectLookupAccessor()
121 case LookupIterator::TRANSITION: in ObjectLookupAccessor()
124 case LookupIterator::ACCESS_CHECK: in ObjectLookupAccessor()
130 case LookupIterator::JSPROXY: { in ObjectLookupAccessor()
153 case LookupIterator::INTEGER_INDEXED_EXOTIC: in ObjectLookupAccessor()
154 case LookupIterator::DATA: in ObjectLookupAccessor()
157 case LookupIterator::ACCESSOR: { in ObjectLookupAccessor()
Dbuiltins-callsite.cc17 LookupIterator it(isolate, receiver, \
19 LookupIterator::OWN_SKIP_INTERCEPTOR); \
20 if (it.state() != LookupIterator::DATA) { \
/third_party/node/deps/v8/src/debug/
Ddebug-property-iterator.cc207 LookupIterator it(isolate, object, key, LookupIterator::OWN); in GetNativeAccessorDescriptorInternal()
209 if (it.state() != LookupIterator::ACCESSOR) { in GetNativeAccessorDescriptorInternal()
/third_party/node/deps/v8/src/execution/
Disolate-inl.h105 LookupIterator it(this, handle(JSReceiver::cast(exception), this), in is_catchable_by_wasm()
107 LookupIterator::OWN_SKIP_INTERCEPTOR); in is_catchable_by_wasm()
/third_party/node/deps/v8/src/wasm/
Dmodule-instantiate.cc872 LookupIterator to_primitive_it{isolate, function, in HasDefaultToNumberBehaviour()
874 if (to_primitive_it.state() != LookupIterator::NOT_FOUND) return false; in HasDefaultToNumberBehaviour()
877 LookupIterator value_of_it{isolate, function, in HasDefaultToNumberBehaviour()
879 if (value_of_it.state() != LookupIterator::DATA) return false; in HasDefaultToNumberBehaviour()
887 LookupIterator to_string_it{isolate, function, in HasDefaultToNumberBehaviour()
889 if (to_string_it.state() != LookupIterator::DATA) return false; in HasDefaultToNumberBehaviour()
967 LookupIterator it(isolate_, ffi_.ToHandleChecked(), key); in LookupImportAsm()
969 case LookupIterator::ACCESS_CHECK: in LookupImportAsm()
970 case LookupIterator::INTEGER_INDEXED_EXOTIC: in LookupImportAsm()
971 case LookupIterator::INTERCEPTOR: in LookupImportAsm()
[all …]

123