Home
last modified time | relevance | path

Searched refs:FromObject (Results 1 – 25 of 62) sorted by relevance

123

/third_party/node/src/
Dstream_base-inl.h28 StreamReq* StreamReq::FromObject(v8::Local<v8::Object> req_wrap_obj) { in FromObject() function
126 StreamBase* StreamBase::FromObject(v8::Local<v8::Object> obj) { in FromObject() function
135 WriteWrap* WriteWrap::FromObject(v8::Local<v8::Object> req_wrap_obj) { in FromObject() function
136 return static_cast<WriteWrap*>(StreamReq::FromObject(req_wrap_obj)); in FromObject()
140 WriteWrap* WriteWrap::FromObject( in FromObject() function
143 return FromObject(base_obj->object()); in FromObject()
146 ShutdownWrap* ShutdownWrap::FromObject(v8::Local<v8::Object> req_wrap_obj) { in FromObject() function
147 return static_cast<ShutdownWrap*>(StreamReq::FromObject(req_wrap_obj)); in FromObject()
151 ShutdownWrap* ShutdownWrap::FromObject( in FromObject() function
154 return FromObject(base_obj->object()); in FromObject()
Dstream_base.h59 static inline StreamReq* FromObject(v8::Local<v8::Object> req_wrap_obj);
83 static inline ShutdownWrap* FromObject(v8::Local<v8::Object> req_wrap_obj);
85 static inline ShutdownWrap* FromObject(
100 static inline WriteWrap* FromObject(v8::Local<v8::Object> req_wrap_obj);
102 static inline WriteWrap* FromObject(
373 static inline StreamBase* FromObject(v8::Local<v8::Object> obj);
Dstream_base.cc583 StreamBase* wrap = StreamBase::FromObject(args.This().As<Object>()); in GetFD()
592 StreamBase* wrap = StreamBase::FromObject(args.This().As<Object>()); in GetBytesRead()
600 StreamBase* wrap = StreamBase::FromObject(args.This().As<Object>()); in GetBytesWritten()
608 StreamBase* wrap = StreamBase::FromObject(args.This().As<Object>()); in GetExternal()
617 StreamBase* wrap = StreamBase::FromObject(args.Holder().As<Object>()); in JSMethod()
Dstream_pipe.cc279 StreamBase* source = StreamBase::FromObject(args[0].As<Object>()); in New()
280 StreamBase* sink = StreamBase::FromObject(args[1].As<Object>()); in New()
/third_party/node/deps/v8/src/runtime/
Druntime-atomics.cc217 T FromObject(Handle<Object> number);
220 inline uint8_t FromObject<uint8_t>(Handle<Object> number) { in FromObject() function
225 inline int8_t FromObject<int8_t>(Handle<Object> number) { in FromObject() function
230 inline uint16_t FromObject<uint16_t>(Handle<Object> number) { in FromObject() function
235 inline int16_t FromObject<int16_t>(Handle<Object> number) { in FromObject() function
240 inline uint32_t FromObject<uint32_t>(Handle<Object> number) { in FromObject() function
245 inline int32_t FromObject<int32_t>(Handle<Object> number) { in FromObject() function
250 inline uint64_t FromObject<uint64_t>(Handle<Object> bigint) { in FromObject() function
255 inline int64_t FromObject<int64_t>(Handle<Object> bigint) { in FromObject() function
295 T value = FromObject<T>(obj); in Do()
[all …]
/third_party/node/deps/v8/src/heap/cppgc/
Dmarking-state.h68 HeapObjectHeader::FromObject(const_cast<void*>(desc.base_object_payload)), in MarkAndPush()
257 HeapObjectHeader::FromObject(desc.base_object_payload); in RegisterWeakReferenceIfNeeded()
281 HeapObjectHeader::FromObject(const_cast<void*>(object)); in ProcessWeakContainer()
321 HeapObjectHeader::FromObject(key).IsInConstruction<AccessMode::kAtomic>(); in ProcessEphemeron()
325 : HeapObjectHeader::FromObject(key).IsMarked<AccessMode::kAtomic>(); in ProcessEphemeron()
328 HeapObjectHeader::FromObject(key).IsMarked<AccessMode::kAtomic>()); in ProcessEphemeron()
427 HeapObjectHeader::FromObject(desc.base_object_payload); in InvokeWeakRootsCallbackIfNeeded()
Dheap-object-header.h64 inline static HeapObjectHeader& FromObject(void* address);
65 inline static const HeapObjectHeader& FromObject(const void* address);
168 HeapObjectHeader& HeapObjectHeader::FromObject(void* object) { in FromObject() function
174 const HeapObjectHeader& HeapObjectHeader::FromObject(const void* object) { in FromObject() function
Dexplicit-management.cc36 auto& header = HeapObjectHeader::FromObject(object); in FreeUnreferencedObject()
152 auto& header = HeapObjectHeader::FromObject(object); in Resize()
Dliveness-broker.cc12 return internal::HeapObjectHeader::FromObject(payload).IsMarked(); in IsHeapObjectAliveImpl()
Dobject-size-trait.cc17 return ObjectView<AccessMode::kAtomic>(HeapObjectHeader::FromObject(object)) in GetObjectSizeForGarbageCollected()
Dtesting.cc59 return internal::HeapObjectHeader::FromObject(object).IsMarked(); in IsHeapObjectOld()
Dpointer-policies.cc66 header = &HeapObjectHeader::FromObject(ptr); in CheckPointerImpl()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-bigint.cc37 RETURN_RESULT_OR_FAILURE(isolate, BigInt::FromObject(isolate, value)); in BUILTIN()
53 BigInt::FromObject(isolate, bigint_obj)); in BUILTIN()
71 BigInt::FromObject(isolate, bigint_obj)); in BUILTIN()
/third_party/node/deps/v8/src/objects/
Dprototype-info-inl.h57 array.Set(index, MaybeObject::FromObject(empty_slot_index(array))); in BOOL_ACCESSORS()
66 array.Set(kEmptySlotIndex, MaybeObject::FromObject(Smi::FromInt(index))); in set_empty_slot_index()
Dfeedback-vector-inl.h224 SynchronizedSet(slot, MaybeObject::FromObject(value), mode); in SynchronizedSet()
235 MaybeObject maybe_value = MaybeObject::FromObject(value); in Set()
371 return MaybeObject::FromObject( in UninitializedSentinel()
376 return MaybeObject::FromObject( in MegamorphicSentinel()
381 return MaybeObject::FromObject( in MegaDOMSentinel()
Dmaybe-object-inl.h27 MaybeObject MaybeObject::FromObject(Object object) { in FromObject() function
41 MaybeObject MaybeObject::Create(Object o) { return FromObject(o); } in Create()
Dmaybe-object.h26 V8_INLINE static MaybeObject FromObject(Object object);
/third_party/node/deps/v8/src/heap/cppgc-js/
Dcpp-snapshot.cc492 auto& back_header = HeapObjectHeader::FromObject(back_reference_object); in AddEdge()
601 HeapObjectHeader::FromObject(strong_desc.base_object_payload); in VisitWeakContainer()
629 auto& key_header = HeapObjectHeader::FromObject(key); in VisitEphemeron()
639 key_header, HeapObjectHeader::FromObject(value)); in VisitEphemeron()
656 HeapObjectHeader::FromObject(desc.base_object_payload)); in Visit()
685 HeapObjectHeader::FromObject(desc.base_object_payload), edge_name_); in Visit()
695 HeapObjectHeader::FromObject(strong_desc.base_object_payload), in VisitWeakContainer()
702 HeapObjectHeader::FromObject(desc.base_object_payload), loc); in VisitRoot()
Dcpp-marking-state-inl.h40 cppgc::internal::HeapObjectHeader::FromObject(info.second)); in MarkAndPush()
/third_party/node/deps/v8/src/heap/
Dspaces-inl.h148 return filler_size > 0 ? AllocationResult::FromObject( in AllocateRawAligned()
150 : AllocationResult::FromObject(object); in AllocateRawAligned()
209 return AllocationResult::FromObject(obj); in AllocateFastUnaligned()
237 return AllocationResult::FromObject(obj); in AllocateFastAligned()
Dconcurrent-allocator.cc148 space_->heap(), AllocationResult::FromObject(object), result->second); in EnsureLab()
169 return AllocationResult::FromObject(object); in AllocateOutsideLab()
Dallocation-result.h31 static AllocationResult FromObject(HeapObject heap_object) { in FromObject() function
Dlarge-spaces.cc174 return AllocationResult::FromObject(object); in AllocateRaw()
207 return AllocationResult::FromObject(object); in AllocateRawBackground()
537 return AllocationResult::FromObject(result); in AllocateRaw()
/third_party/node/deps/v8/src/handles/
Dmaybe-handles-inl.h90 return MaybeObject::FromObject(*handle_.ToHandleChecked());
98 return MaybeObject::FromObject(*handle_.ToHandleChecked());
/third_party/node/deps/v8/src/ic/
Dstub-cache.cc93 if (old_handler != MaybeObject::FromObject( in Set()
129 MaybeObject::FromObject(isolate_->builtins()->code(Builtin::kIllegal)); in Clear()

123