Home
last modified time | relevance | path

Searched refs:js_object (Results 1 – 15 of 15) sorted by relevance

/external/v8/src/heap/
Dembedder-tracing.cc92 JSObject js_object) { in ExtractWrapperInfo() argument
93 DCHECK_GE(js_object.GetEmbedderFieldCount(), 2); in ExtractWrapperInfo()
94 DCHECK(js_object.IsApiWrapper()); in ExtractWrapperInfo()
97 if (EmbedderDataSlot(js_object, 0) in ExtractWrapperInfo()
100 EmbedderDataSlot(js_object, 1) in ExtractWrapperInfo()
108 JSObject js_object) { in TracePossibleWrapper() argument
109 DCHECK(js_object.IsApiWrapper()); in TracePossibleWrapper()
110 if (js_object.GetEmbedderFieldCount() < 2) return; in TracePossibleWrapper()
113 LocalEmbedderHeapTracer::ExtractWrapperInfo(tracer_->isolate_, js_object); in TracePossibleWrapper()
Dembedder-tracing.h45 void TracePossibleWrapper(JSObject js_object);
58 static WrapperInfo ExtractWrapperInfo(Isolate* isolate, JSObject js_object);
Dfactory.cc2142 Handle<JSObject> js_object = in NewSlowJSObjectFromMap() local
2144 js_object->set_raw_properties_or_hash(*object_properties); in NewSlowJSObjectFromMap()
2145 return js_object; in NewSlowJSObjectFromMap()
/external/v8/src/strings/
Dstring-stream.cc299 void StringStream::PrintUsingMap(JSObject js_object) { in PrintUsingMap() argument
300 Map map = js_object.map(); in PrintUsingMap()
320 if (js_object.IsUnboxedDoubleField(index)) { in PrintUsingMap()
321 double value = js_object.RawFastDoublePropertyAt(index); in PrintUsingMap()
324 Object value = js_object.RawFastPropertyAt(index); in PrintUsingMap()
Dstring-stream.h176 void PrintUsingMap(JSObject js_object);
/external/v8/src/runtime/
Druntime-object.cc653 Handle<JSObject> js_object = Handle<JSObject>::cast(holder_obj); in RUNTIME_FUNCTION() local
654 ElementsKind elements_kind = js_object->GetElementsKind(); in RUNTIME_FUNCTION()
656 if (Smi::ToInt(*key_obj) >= js_object->elements().length()) { in RUNTIME_FUNCTION()
659 JSObject::TransitionElementsKind(js_object, elements_kind); in RUNTIME_FUNCTION()
862 CONVERT_ARG_HANDLE_CHECKED(JSObject, js_object, 0); in RUNTIME_FUNCTION()
864 if (!js_object->map().is_deprecated()) return Smi::zero(); in RUNTIME_FUNCTION()
869 if (!JSObject::TryMigrateInstance(isolate, js_object)) return Smi::zero(); in RUNTIME_FUNCTION()
870 return *js_object; in RUNTIME_FUNCTION()
/external/v8/src/heap/cppgc-js/
Dcpp-snapshot.cc309 JSObject js_object = JSObject::cast(*v8_object); in HasEmbedderDataBackref() local
310 return js_object.GetEmbedderFieldCount() >= 2 && in HasEmbedderDataBackref()
312 LocalEmbedderHeapTracer::ExtractWrapperInfo(isolate, js_object)) in HasEmbedderDataBackref()
/external/v8/src/objects/
Dvalue-serializer.cc534 Handle<JSObject> js_object = Handle<JSObject>::cast(receiver); in WriteJSReceiver() local
535 if (JSObject::GetEmbedderFieldCount(js_object->map())) { in WriteJSReceiver()
536 return WriteHostObject(js_object); in WriteJSReceiver()
538 return WriteJSObject(js_object); in WriteJSReceiver()
1972 Handle<JSObject> js_object = in ReadHostObject() local
1974 AddObjectWithID(id, js_object); in ReadHostObject()
1975 return js_object; in ReadHostObject()
2224 Handle<JSObject> js_object = in ReadObjectUsingEntireBufferForLegacyFormat() local
2228 isolate_, js_object, &stack[begin_properties], num_properties) in ReadObjectUsingEntireBufferForLegacyFormat()
2235 new_object = js_object; in ReadObjectUsingEntireBufferForLegacyFormat()
Dlookup.cc1157 JSObject js_object = JSObject::cast(holder); in LookupInRegularHolder() local
1158 ElementsAccessor* accessor = js_object.GetElementsAccessor(isolate_); in LookupInRegularHolder()
1159 FixedArrayBase backing_store = js_object.elements(isolate_); in LookupInRegularHolder()
1161 accessor->GetEntryForIndex(isolate_, js_object, backing_store, index_); in LookupInRegularHolder()
1166 property_details_ = accessor->GetDetails(js_object, number_); in LookupInRegularHolder()
Djs-objects.cc2635 JSObject js_object = JSObject::cast(object); in IsUnmodifiedApiObject() local
2636 if (!js_object.IsDroppableApiWrapper()) return false; in IsUnmodifiedApiObject()
2637 Object maybe_constructor = js_object.map().GetConstructor(); in IsUnmodifiedApiObject()
2640 if (js_object.elements().length() != 0) return false; in IsUnmodifiedApiObject()
2642 if (!js_object.GetIdentityHash().IsUndefined()) return false; in IsUnmodifiedApiObject()
/external/v8/src/builtins/
Dbuiltins-call-gen.cc181 TNode<JSObject> js_object = CAST(arguments_list); in CallOrConstructWithArrayLike() local
183 var_elements = LoadElements(js_object); in CallOrConstructWithArrayLike()
185 LoadAndUntagToWord32ObjectField(js_object, JSArray::kLengthOffset); in CallOrConstructWithArrayLike()
Dbuiltins-internal-gen.cc33 auto js_object = Parameter<JSObject>(Descriptor::kObject); in TF_BUILTIN() local
37 CAST(LoadObjectField(js_object, JSObject::kElementsOffset)); in TF_BUILTIN()
40 StoreObjectField(js_object, JSObject::kElementsOffset, target); in TF_BUILTIN()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_node.h394 std::unique_ptr<CJX_Object> js_object);
Dcxfa_node.cpp955 std::unique_ptr<CJX_Object> js_object) in CXFA_Node() argument
956 : CXFA_Object(pDoc, oType, eType, std::move(js_object)), in CXFA_Node()
/external/v8/src/api/
Dapi.cc4299 auto js_object = i::Handle<i::JSObject>::cast(self); in SetPrivate() local
4300 i::LookupIterator it(isolate, js_object, key_obj, js_object); in SetPrivate()