Home
last modified time | relevance | path

Searched refs:PrototypeIterator (Results 1 – 21 of 21) sorted by relevance

/external/v8/src/
Dprototype-inl.h16 PrototypeIterator::PrototypeIterator(Isolate* isolate, in PrototypeIterator() function
30 PrototypeIterator::PrototypeIterator(Isolate* isolate, JSReceiver* receiver, in PrototypeIterator() function
41 PrototypeIterator::PrototypeIterator(Isolate* isolate, Map* receiver_map, in PrototypeIterator() function
55 PrototypeIterator::PrototypeIterator(Isolate* isolate, Handle<Map> receiver_map, in PrototypeIterator() function
71 bool PrototypeIterator::HasAccess() const { in HasAccess()
82 void PrototypeIterator::Advance() { in Advance()
95 void PrototypeIterator::AdvanceIgnoringProxies() { in AdvanceIgnoringProxies()
110 V8_WARN_UNUSED_RESULT bool PrototypeIterator::AdvanceFollowingProxies() { in AdvanceFollowingProxies()
122 PrototypeIterator::AdvanceFollowingProxiesIgnoringAccessChecks() { in AdvanceFollowingProxiesIgnoringAccessChecks()
Dprototype.h26 class PrototypeIterator {
30 inline PrototypeIterator(Isolate* isolate, Handle<JSReceiver> receiver,
34 inline PrototypeIterator(Isolate* isolate, JSReceiver* receiver,
38 inline explicit PrototypeIterator(Isolate* isolate, Map* receiver_map,
41 inline explicit PrototypeIterator(Isolate* isolate, Handle<Map> receiver_map,
44 ~PrototypeIterator() {} in ~PrototypeIterator()
55 static Handle<T> GetCurrent(const PrototypeIterator& iterator) { in GetCurrent()
82 DISALLOW_COPY_AND_ASSIGN(PrototypeIterator);
Dkeys.cc176 PrototypeIterator::WhereToEnd end = mode_ == KeyCollectionMode::kOwnOnly in CollectKeys()
177 ? PrototypeIterator::END_AT_NON_HIDDEN in CollectKeys()
178 : PrototypeIterator::END_AT_NULL; in CollectKeys()
179 for (PrototypeIterator iter(isolate_, object, kStartAtReceiver, end); in CollectKeys()
185 PrototypeIterator::GetCurrent<JSReceiver>(iter); in CollectKeys()
257 for (PrototypeIterator iter(isolate_, *receiver_); !iter.IsAtEnd(); in Prepare()
Dstring-stream.cc434 for (PrototypeIterator iter(isolate, JSObject::cast(receiver), in PrintPrototype()
Dlookup.cc825 PrototypeIterator iter(isolate(), current, kStartAtPrototype, in HolderIsReceiverOrHiddenPrototype()
826 PrototypeIterator::END_AT_NON_HIDDEN); in HolderIsReceiverOrHiddenPrototype()
Dmessages.cc402 for (PrototypeIterator iter(isolate_, receiver, kStartAtReceiver); in GetMethodName()
404 Handle<Object> current = PrototypeIterator::GetCurrent(iter); in GetMethodName()
Dobjects.cc2111 PrototypeIterator iter(isolate, object, kStartAtReceiver); in HasInPrototypeChain()
2115 if (PrototypeIterator::GetCurrent(iter).is_identical_to(proto)) { in HasInPrototypeChain()
3855 PrototypeIterator iter(isolate, receiver); in GetConstructorHelper()
3861 Handle<JSReceiver> start = PrototypeIterator::GetCurrent<JSReceiver>(iter); in GetConstructorHelper()
8512 PrototypeIterator iter(isolate, object); in PreventExtensions()
8514 DCHECK(PrototypeIterator::GetCurrent(iter)->IsJSGlobalObject()); in PreventExtensions()
8515 return PreventExtensions(PrototypeIterator::GetCurrent<JSObject>(iter), in PreventExtensions()
8605 PrototypeIterator iter(isolate, *object); in IsExtensible()
8660 PrototypeIterator iter(isolate, object); in PreventExtensionsWithTransition()
8662 DCHECK(PrototypeIterator::GetCurrent(iter)->IsJSGlobalObject()); in PreventExtensionsWithTransition()
[all …]
Dobjects-inl.h774 PrototypeIterator iter(isolate, receiver, kStartAtReceiver, in GetPrototype()
775 PrototypeIterator::END_AT_NON_HIDDEN); in GetPrototype()
779 return PrototypeIterator::GetCurrent(iter); in GetPrototype()
2866 const PrototypeIterator iter(this->GetIsolate(), in IsDetachedFrom()
Dapi.cc4430 i::PrototypeIterator iter(isolate, self); in GetPrototype()
4431 return Utils::ToLocal(i::PrototypeIterator::GetCurrent(iter)); in GetPrototype()
4457 i::PrototypeIterator iter(isolate, *self, i::kStartAtReceiver); in FindInstanceInPrototypeChain()
4851 i::PrototypeIterator iter(isolate, self); in GetRealNamedPropertyInPrototypeChain()
4854 i::PrototypeIterator::GetCurrent<i::JSReceiver>(iter); in GetRealNamedPropertyInPrototypeChain()
4876 i::PrototypeIterator iter(isolate, self); in GetRealNamedPropertyAttributesInPrototypeChain()
4879 i::PrototypeIterator::GetCurrent<i::JSReceiver>(iter); in GetRealNamedPropertyAttributesInPrototypeChain()
6502 i::PrototypeIterator iter(self->GetIsolate(), in HasInstance()
Dbootstrapper.cc3999 PrototypeIterator iter(isolate, native_context->generator_function_map()); in ExportFromRuntime()
4032 PrototypeIterator iter(isolate, in ExportFromRuntime()
4138 PrototypeIterator iter(isolate, native_context->async_function_map()); in ExportFromRuntime()
Dobjects-printer.cc629 PrototypeIterator iter(isolate, obj); in JSObjectPrintHeader()
Disolate.cc3382 PrototypeIterator iter(this, initial_array_proto); in Throw()
/external/v8/src/runtime/
Druntime-array.cc336 for (PrototypeIterator iter(isolate, object, kStartAtPrototype); in CopyFromPrototype()
338 Handle<JSReceiver> current(PrototypeIterator::GetCurrent<JSReceiver>(iter)); in CopyFromPrototype()
488 for (PrototypeIterator iter(isolate, array, kStartAtReceiver); in RUNTIME_FUNCTION()
490 Handle<JSReceiver> current(PrototypeIterator::GetCurrent<JSReceiver>(iter)); in RUNTIME_FUNCTION()
690 for (PrototypeIterator iter(isolate, array, kStartAtReceiver); in RUNTIME_FUNCTION()
692 if (PrototypeIterator::GetCurrent<JSReceiver>(iter)->HasComplexElements()) { in RUNTIME_FUNCTION()
Druntime-classes.cc637 PrototypeIterator iter(isolate, home_object); in GetSuperHolder()
638 Handle<Object> proto = PrototypeIterator::GetCurrent(iter); in GetSuperHolder()
/external/v8/src/builtins/
Dbuiltins-api.cc38 for (PrototypeIterator iter(isolate, js_obj_receiver, kStartAtPrototype, in GetCompatibleReceiver()
39 PrototypeIterator::END_AT_NON_HIDDEN); in GetCompatibleReceiver()
Dbuiltins-array.cc73 PrototypeIterator iter(isolate, receiver, kStartAtReceiver); in HasOnlySimpleElements()
960 PrototypeIterator iter(isolate, object); in CollectElementIndices()
965 isolate, PrototypeIterator::GetCurrent<JSObject>(iter), range, indices); in CollectElementIndices()
/external/v8/src/compiler/
Dcompilation-dependencies.cc394 for (PrototypeIterator i(broker->isolate(), map); !i.IsAtEnd(); i.Advance()) { in DependOnStablePrototypeChain()
396 PrototypeIterator::GetCurrent<JSReceiver>(i); in DependOnStablePrototypeChain()
Djs-native-context-specialization.cc334 for (PrototypeIterator j(isolate(), receiver_map);; j.Advance()) { in InferHasInPrototypeChain()
340 PrototypeIterator::GetCurrent<HeapObject>(j); in InferHasInPrototypeChain()
/external/v8/src/debug/
Ddebug-evaluate.cc156 PrototypeIterator iter(isolate, Handle<JSGlobalProxy>::cast(result)); in Evaluate()
158 result = PrototypeIterator::GetCurrent<JSObject>(iter); in Evaluate()
/external/v8/src/ic/
Dic.cc1313 PrototypeIterator iter(isolate(), receiver); in LookupForWrite()
1315 PrototypeIterator::GetCurrent(iter)); in LookupForWrite()
/external/v8/src/profiler/
Dheap-snapshot-generator.cc953 PrototypeIterator iter(heap_->isolate(), js_obj); in ExtractJSObjectReferences()