Home
last modified time | relevance | path

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

12

/external/v8/src/objects/
Dlookup-inl.h21 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
23 : LookupIterator(isolate, receiver, name, kInvalidIndex, receiver, in LookupIterator()
26 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
30 : LookupIterator(isolate, receiver, name, kInvalidIndex, in LookupIterator()
33 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
35 : LookupIterator(isolate, receiver, Handle<Name>(), index, receiver, in LookupIterator()
40 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
43 : LookupIterator(isolate, receiver, Handle<Name>(), index, in LookupIterator()
48 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function
50 : LookupIterator(isolate, receiver, key.name(), key.index(), receiver, in LookupIterator()
[all …]
Dlookup.cc24 LookupIterator::Key::Key(Isolate* isolate, Handle<Object> key, bool* success) { in Key()
37 index_ = LookupIterator::kInvalidIndex; in Key()
41 LookupIterator::LookupIterator(Isolate* isolate, Handle<Object> receiver, in LookupIterator() function in v8::internal::LookupIterator
59 void LookupIterator::Start() { in Start()
79 template void LookupIterator::Start<true>();
80 template void LookupIterator::Start<false>();
82 void LookupIterator::Next() { in Next()
102 void LookupIterator::NextInternal(Map map, JSReceiver holder) { in NextInternal()
123 void LookupIterator::RestartInternal(InterceptorState interceptor_state) { in RestartInternal()
130 template void LookupIterator::RestartInternal<true>(InterceptorState);
[all …]
Djs-objects.cc79 Maybe<bool> JSReceiver::HasProperty(LookupIterator* it) { in HasProperty()
82 case LookupIterator::NOT_FOUND: in HasProperty()
83 case LookupIterator::TRANSITION: in HasProperty()
85 case LookupIterator::JSPROXY: in HasProperty()
88 case LookupIterator::INTERCEPTOR: { in HasProperty()
95 case LookupIterator::ACCESS_CHECK: { in HasProperty()
102 case LookupIterator::INTEGER_INDEXED_EXOTIC: in HasProperty()
105 case LookupIterator::ACCESSOR: in HasProperty()
106 case LookupIterator::DATA: in HasProperty()
124 LookupIterator::Key key(isolate, name); in HasOwnProperty()
[all …]
Dlookup.h19 class V8_EXPORT_PRIVATE LookupIterator final {
58 bool is_element() { return index_ != LookupIterator::kInvalidIndex; } in is_element()
69 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
72 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
76 inline LookupIterator(Isolate* isolate, Handle<Object> receiver, size_t index,
78 inline LookupIterator(Isolate* isolate, Handle<Object> receiver, size_t index,
82 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
84 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
199 inline LookupIterator(Isolate* isolate, Handle<Object> receiver,
205 LookupIterator(Isolate* isolate, Handle<Object> receiver, Handle<Name> name,
Djs-objects-inl.h56 LookupIterator it(isolate, receiver, name, receiver); in OBJECT_CONSTRUCTORS_IMPL()
64 LookupIterator it(isolate, receiver, index, receiver); in GetElement()
71 LookupIterator it(object->GetIsolate(), object, name, object, in GetDataProperty()
72 LookupIterator::PROTOTYPE_CHAIN_SKIP_INTERCEPTOR); in GetDataProperty()
710 LookupIterator::Key key(isolate, name); in HasProperty()
711 LookupIterator it(isolate, object, key, object); in HasProperty()
720 LookupIterator it(object->GetIsolate(), object, index, object, in HasOwnProperty()
721 LookupIterator::OWN); in HasOwnProperty()
734 LookupIterator::Key key(isolate, name); in GetPropertyAttributes()
735 LookupIterator it(isolate, object, key, object); in GetPropertyAttributes()
[all …]
Djs-objects.h120 LookupIterator* it);
146 LookupIterator* it, LanguageMode language_mode);
168 LookupIterator* it, Handle<Object> value,
176 LookupIterator* it, PropertyDescriptor* desc,
187 Isolate* isolate, LookupIterator* it, bool extensible,
195 LookupIterator* it, PropertyDescriptor* desc);
244 LookupIterator* it);
254 LookupIterator* it, AllocationPolicy allocation_policy =
376 LookupIterator* it, Maybe<ShouldThrow> should_throw,
386 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes,
[all …]
Dobjects.h468 GetProperty(LookupIterator* it, bool is_global_reference = false);
478 LookupIterator* it, Handle<Object> value, StoreOrigin store_origin,
492 LookupIterator* it, Handle<Object> value, StoreOrigin store_origin,
499 LookupIterator* it, Handle<Object> value,
508 LookupIterator* it, Handle<Object> value);
510 LookupIterator* it, Handle<Object> value, PropertyAttributes attributes,
520 LookupIterator* it);
522 LookupIterator* it, Handle<Object> value,
691 friend class LookupIterator; variable
709 LookupIterator* it, Handle<Object> value, Maybe<ShouldThrow> should_throw,
Dvalue-serializer.cc612 LookupIterator it(isolate_, object, key, LookupIterator::OWN); in WriteJSObject()
709 LookupIterator it(isolate_, array, i, array, LookupIterator::OWN); in WriteJSArray()
1031 LookupIterator::Key lookup_key(isolate_, key); in WriteJSObjectPropertiesSlow()
1032 LookupIterator it(isolate_, object, lookup_key, LookupIterator::OWN); in WriteJSObjectPropertiesSlow()
2093 LookupIterator::Key lookup_key(isolate_, key); in ReadJSObjectProperties()
2094 LookupIterator it(isolate_, object, lookup_key, LookupIterator::OWN); in ReadJSObjectProperties()
2095 if (it.state() != LookupIterator::NOT_FOUND || in ReadJSObjectProperties()
2127 LookupIterator::Key lookup_key(isolate_, key); in ReadJSObjectProperties()
2128 LookupIterator it(isolate_, object, lookup_key, LookupIterator::OWN); in ReadJSObjectProperties()
2129 if (it.state() != LookupIterator::NOT_FOUND || in ReadJSObjectProperties()
[all …]
Dobjects-inl.h622 LookupIterator it(isolate, object, name); in GetProperty()
629 LookupIterator it(isolate, object, index); in GetElement()
637 LookupIterator it(isolate, object, index); in SetElement()
1001 LookupIterator::Key key(isolate, name); in GetPropertyOrElement()
1002 LookupIterator it(isolate, object, key); in GetPropertyOrElement()
1010 LookupIterator::Key key(isolate, name); in SetPropertyOrElement()
1011 LookupIterator it(isolate, object, key); in SetPropertyOrElement()
1020 LookupIterator::Key key(isolate, name); in GetPropertyOrElement()
1021 LookupIterator it(isolate, receiver, key, holder); in GetPropertyOrElement()
Dobjects.cc1074 MaybeHandle<Object> Object::GetProperty(LookupIterator* it, in GetProperty()
1078 case LookupIterator::NOT_FOUND: in GetProperty()
1079 case LookupIterator::TRANSITION: in GetProperty()
1081 case LookupIterator::JSPROXY: { in GetProperty()
1105 case LookupIterator::INTERCEPTOR: { in GetProperty()
1114 case LookupIterator::ACCESS_CHECK: in GetProperty()
1117 case LookupIterator::ACCESSOR: in GetProperty()
1119 case LookupIterator::INTEGER_INDEXED_EXOTIC: in GetProperty()
1121 case LookupIterator::DATA: in GetProperty()
1160 LookupIterator::Key key(isolate, name); in GetProperty()
[all …]
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()
Djs-array-buffer.cc248 LookupIterator it(isolate, o, index, LookupIterator::OWN); in DefineOwnProperty()
/external/v8/src/runtime/
Druntime-forin.cc55 LookupIterator::Key lookup_key(isolate, key, &success); in HasEnumerableProperty()
57 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.cc40 LookupIterator::Key lookup_key(isolate, key, &success); in GetObjectProperty()
42 LookupIterator it = LookupIterator(isolate, receiver, lookup_key, holder); in GetObjectProperty()
205 LookupIterator::Key lookup_key(isolate, key, &success); in DeleteObjectProperty()
207 LookupIterator it(isolate, receiver, lookup_key, LookupIterator::OWN); in DeleteObjectProperty()
292 LookupIterator::Key key(isolate, property, &success); in RUNTIME_FUNCTION()
302 LookupIterator it(isolate, object, key, LookupIterator::OWN); in RUNTIME_FUNCTION()
316 LookupIterator::Configuration c = LookupIterator::OWN_SKIP_INTERCEPTOR; in RUNTIME_FUNCTION()
317 LookupIterator it(isolate, js_obj, key, js_obj, c); in RUNTIME_FUNCTION()
333 LookupIterator it(isolate, js_obj, key, js_obj, LookupIterator::OWN); in RUNTIME_FUNCTION()
340 LookupIterator it(isolate, object, key, Handle<JSProxy>::cast(object), in RUNTIME_FUNCTION()
[all …]
Druntime-proxy.cc56 LookupIterator::Key lookup_key(isolate, key, &success); in RUNTIME_FUNCTION()
61 LookupIterator it(isolate, receiver, lookup_key, holder); in RUNTIME_FUNCTION()
76 LookupIterator::Key lookup_key(isolate, key, &success); in RUNTIME_FUNCTION()
81 LookupIterator it(isolate, receiver, lookup_key, holder); in RUNTIME_FUNCTION()
Druntime-classes.cc301 LookupIterator::UpdateProtector(isolate, receiver, name); in UpdateProtectors()
310 LookupIterator::UpdateProtector(isolate, receiver, name); in UpdateProtectors()
702 LookupIterator::Key* key) { in GetSuperHolder()
723 LookupIterator::Key* key) { in LoadFromSuper()
728 LookupIterator it(isolate, receiver, *key, holder); in LoadFromSuper()
743 LookupIterator::Key key(isolate, name); in RUNTIME_FUNCTION()
760 LookupIterator::Key lookup_key(isolate, key, &success); in RUNTIME_FUNCTION()
771 LookupIterator::Key* key, Handle<Object> value, in StoreToSuper()
777 LookupIterator it(isolate, receiver, *key, holder); in StoreToSuper()
793 LookupIterator::Key key(isolate, name); in RUNTIME_FUNCTION()
[all …]
Druntime-array.cc304 LookupIterator::Key key(isolate, static_cast<double>(index)); in RUNTIME_FUNCTION()
305 LookupIterator it(isolate, object, key); in RUNTIME_FUNCTION()
401 LookupIterator::Key key(isolate, static_cast<double>(index)); in RUNTIME_FUNCTION()
402 LookupIterator it(isolate, object, key); in RUNTIME_FUNCTION()
Druntime-scopes.cc66 LookupIterator::Configuration lookup_config( in DeclareGlobal()
67 LookupIterator::Configuration::OWN_SKIP_INTERCEPTOR); in DeclareGlobal()
71 lookup_config = LookupIterator::Configuration::OWN; in DeclareGlobal()
73 LookupIterator it(isolate, global, name, global, lookup_config); in DeclareGlobal()
92 (it.state() == LookupIterator::ACCESSOR)) { in DeclareGlobal()
109 if (it.state() == LookupIterator::ACCESSOR) it.Delete(); in DeclareGlobal()
/external/v8/src/builtins/
Dbuiltins-function.cc217 LookupIterator length_lookup(isolate, target, in DoFunctionBind()
219 LookupIterator::OWN); in DoFunctionBind()
225 length_lookup.state() != LookupIterator::ACCESSOR || in DoFunctionBind()
240 LookupIterator it(isolate, function, isolate->factory()->length_string(), in DoFunctionBind()
242 DCHECK_EQ(LookupIterator::ACCESSOR, it.state()); in DoFunctionBind()
252 LookupIterator name_lookup(isolate, target, isolate->factory()->name_string(), in DoFunctionBind()
255 name_lookup.state() != LookupIterator::ACCESSOR || in DoFunctionBind()
272 LookupIterator it(isolate, function, isolate->factory()->name_string()); in DoFunctionBind()
273 DCHECK_EQ(LookupIterator::ACCESSOR, it.state()); in DoFunctionBind()
Dbuiltins-object.cc113 LookupIterator::Key lookup_key(isolate, key); in ObjectLookupAccessor()
114 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()
[all …]
Dbuiltins-reflect.cc116 LookupIterator::Key lookup_key(isolate, name); in BUILTIN()
117 LookupIterator it(isolate, receiver, lookup_key, in BUILTIN()
/external/v8/src/ic/
Dic.cc178 static void LookupForRead(LookupIterator* it, bool is_has_property) { in LookupForRead()
181 case LookupIterator::NOT_FOUND: in LookupForRead()
182 case LookupIterator::TRANSITION: in LookupForRead()
184 case LookupIterator::JSPROXY: in LookupForRead()
186 case LookupIterator::INTERCEPTOR: { in LookupForRead()
199 case LookupIterator::ACCESS_CHECK: in LookupForRead()
205 case LookupIterator::ACCESSOR: in LookupForRead()
206 case LookupIterator::INTEGER_INDEXED_EXOTIC: in LookupForRead()
207 case LookupIterator::DATA: in LookupForRead()
427 LookupIterator::Key key(isolate(), name); in Load()
[all …]
Dic.h192 void UpdateCaches(LookupIterator* lookup);
195 Handle<Object> ComputeHandler(LookupIterator* lookup);
256 bool LookupForWrite(LookupIterator* it, Handle<Object> value,
263 void UpdateCaches(LookupIterator* lookup, Handle<Object> value,
267 MaybeObjectHandle ComputeHandler(LookupIterator* lookup);
/external/v8/src/debug/
Ddebug-property-iterator.cc177 LookupIterator::Key key(isolate, name); in GetNativeAccessorDescriptorInternal()
179 LookupIterator it(isolate, object, key, LookupIterator::OWN); in GetNativeAccessorDescriptorInternal()
181 if (it.state() != LookupIterator::ACCESSOR) { in GetNativeAccessorDescriptorInternal()
/external/v8/src/execution/
Disolate-inl.h89 LookupIterator it(this, handle(JSReceiver::cast(exception), this), in is_catchable_by_wasm()
91 LookupIterator::OWN_SKIP_INTERCEPTOR); in is_catchable_by_wasm()

12