/third_party/node/deps/v8/src/heap/ |
H A D | marking-visitor.h | 42 V8_INLINE PtrComprCageBase cage_base() const { in cage_base() 50 V8_INLINE MarkBit MarkBitFrom(HeapObject obj) { in MarkBitFrom() 55 V8_INLINE MarkBit MarkBitFrom(BasicMemoryChunk* p, Address addr) { in MarkBitFrom() 64 V8_INLINE bool IsImpossible(HeapObject obj) { in IsImpossible() 68 V8_INLINE bool IsBlack(HeapObject obj) { in IsBlack() 72 V8_INLINE bool IsWhite(HeapObject obj) { in IsWhite() 76 V8_INLINE bool IsGrey(HeapObject obj) { in IsGrey() 80 V8_INLINE bool IsBlackOrGrey(HeapObject obj) { in IsBlackOrGrey() 84 V8_INLINE bool WhiteToGrey(HeapObject obj) { in WhiteToGrey() 88 V8_INLINE boo [all...] |
H A D | objects-visiting.h | 95 V8_INLINE ResultType Visit(HeapObject object); 96 V8_INLINE ResultType Visit(Map map, HeapObject object); 98 V8_INLINE void VisitMapPointer(HeapObject host); 104 V8_INLINE bool ShouldVisit(HeapObject object) { return true; } in ShouldVisit() 106 V8_INLINE bool ShouldVisitMapPointer() { return true; } in ShouldVisitMapPointer() 109 V8_INLINE bool AllowDefaultJSObjectVisit() { return true; } in AllowDefaultJSObjectVisit() 112 V8_INLINE ResultType Visit##TypeName(Map map, TypeName object); 116 V8_INLINE ResultType VisitShortcutCandidate(Map map, ConsString object); 117 V8_INLINE ResultType VisitDataObject(Map map, HeapObject object); 118 V8_INLINE ResultTyp [all...] |
H A D | heap-allocator.h | 38 V8_WARN_UNUSED_RESULT V8_INLINE AllocationResult 47 V8_WARN_UNUSED_RESULT V8_INLINE AllocationResult AllocateRaw( 54 V8_WARN_UNUSED_RESULT V8_INLINE AllocationResult 63 V8_WARN_UNUSED_RESULT V8_INLINE HeapObject 68 V8_INLINE bool CanAllocateInReadOnlySpace() const; 76 V8_INLINE PagedSpace* code_space() const; 77 V8_INLINE CodeLargeObjectSpace* code_lo_space() const; 78 V8_INLINE PagedSpace* space_for_maps() const; 79 V8_INLINE NewSpace* new_space() const; 80 V8_INLINE NewLargeObjectSpac [all...] |
/third_party/node/deps/v8/include/v8-include/ |
H A D | v8-handle-base.h | 27 V8_INLINE static bool IsEmpty(T* value) { in IsEmpty() 36 V8_INLINE static T* HandleAsValue(const H<T, Ms...>& handle) { in HandleAsValue() 43 V8_INLINE static Address ValueAsAddress(const T* value) { in ValueAsAddress() 48 V8_INLINE static T* SlotAsValue(S* slot) { in SlotAsValue() 53 V8_INLINE static T* ValueAsSlot(T* const& value) { in ValueAsSlot() 60 V8_INLINE static Address ValueAsAddress(const T* value) { in ValueAsAddress() 65 V8_INLINE static T* SlotAsValue(S* slot) { in SlotAsValue() 70 V8_INLINE static T* ValueAsSlot(T* const& value) { in ValueAsSlot() 93 V8_INLINE static bool EqualHandles(const T1& lhs, const T2& rhs) { in EqualHandles() 109 V8_INLINE boo [all...] |
H A D | v8-local-handle.h | 103 V8_INLINE Isolate* GetIsolate() const { in GetIsolate() 114 V8_INLINE HandleScope() = default; 157 V8_INLINE LocalBase() = default; 159 V8_INLINE explicit LocalBase(internal::Address ptr) : DirectHandleBase(ptr) {} in LocalBase() 162 V8_INLINE LocalBase(const LocalBase<S>& other) : DirectHandleBase(other) {} in LocalBase() 164 V8_INLINE static LocalBase<T> New(Isolate* isolate, internal::Address value) { in New() 168 V8_INLINE static LocalBase<T> New(Isolate* isolate, T* that) { in New() 173 V8_INLINE static LocalBase<T> FromSlot(internal::Address* slot) { in FromSlot() 186 V8_INLINE LocalBase() = default; 188 V8_INLINE explici [all...] |
H A D | v8-persistent-handle.h | 49 V8_INLINE Eternal() = default; 52 V8_INLINE Eternal(Isolate* isolate, Local<S> handle) { in Eternal() 57 V8_INLINE Local<T> Get(Isolate* isolate) const { in Get() 97 V8_INLINE void Reset(); 104 V8_INLINE void Reset(Isolate* isolate, const Local<S>& other); 111 V8_INLINE void Reset(Isolate* isolate, const PersistentBase<S>& other); 113 V8_INLINE Local<T> Get(Isolate* isolate) const { in Get() 118 V8_INLINE bool operator==(const PersistentBase<S>& that) const { in operator ==() 123 V8_INLINE bool operator==(const Local<S>& that) const { in operator ==() 128 V8_INLINE boo [all...] |
H A D | v8-function-callback.h | 35 V8_INLINE ReturnValue(const ReturnValue<S>& that) : value_(that.value_) { in ReturnValue() 40 V8_INLINE void Set(const Global<S>& handle); 42 V8_INLINE void Set(const BasicTracedReference<S>& handle); 44 V8_INLINE void Set(const Local<S> handle); 46 V8_INLINE void Set(bool value); 47 V8_INLINE void Set(double i); 48 V8_INLINE void Set(int32_t i); 49 V8_INLINE void Set(uint32_t i); 51 V8_INLINE void SetNull(); 52 V8_INLINE voi [all...] |
H A D | v8-maybe.h | 34 V8_INLINE bool IsNothing() const { return !has_value_; } in IsNothing() 35 V8_INLINE bool IsJust() const { return has_value_; } in IsJust() 40 V8_INLINE T ToChecked() const { return FromJust(); } in ToChecked() 46 V8_INLINE void Check() const { in Check() 54 V8_WARN_UNUSED_RESULT V8_INLINE bool To(T* out) const { in To() 63 V8_INLINE T FromJust() const& { in FromJust() 72 V8_INLINE T FromJust() && { in FromJust() 81 V8_INLINE T FromMaybe(const T& default_value) const { in FromMaybe() 85 V8_INLINE bool operator==(const Maybe& other) const { in operator ==() 90 V8_INLINE boo [all...] |
H A D | v8-internal.h | 83 V8_INLINE static int SmiToInt(Address value) { in SmiToInt() 88 V8_INLINE static constexpr bool IsValidSmi(intptr_t value) { in IsValidSmi() 108 V8_INLINE static int SmiToInt(Address value) { in SmiToInt() 113 V8_INLINE static constexpr bool IsValidSmi(intptr_t value) { in IsValidSmi() 153 V8_INLINE static constexpr Address IntToSmi(int value) { in IntToSmi() 454 V8_INLINE static constexpr bool IsSharedExternalPointerType( in IsSharedExternalPointerType() 489 V8_INLINE static constexpr Address UnpackMapWord(Address mapword) { in UnpackMapWord() 642 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { in CheckInitialized() 648 V8_INLINE static bool HasHeapObjectTag(Address value) { in HasHeapObjectTag() 652 V8_INLINE stati [all...] |
H A D | v8-traced-handle.h | 56 V8_INLINE void Reset(); 61 V8_INLINE Local<Value> Get(Isolate* isolate) const { in Get() 77 V8_INLINE void SetWrapperClassId(uint16_t class_id); 83 V8_INLINE uint16_t WrapperClassId() const; 86 V8_INLINE TracedReferenceBase() = default; 138 V8_INLINE BasicTracedReference<S>& As() const { in As() 144 V8_INLINE T* operator->() const { in operator ->() 152 V8_INLINE T* operator*() const { return this->operator->(); } in operator *() 160 V8_INLINE static internal::Address* New( 188 V8_INLINE TracedReferenc [all...] |
/third_party/node/deps/v8/include/v8-include/cppgc/internal/ |
H A D | member-storage.h | 40 V8_INLINE CPPGC_CONST static uintptr_t Get() { in Get() 45 V8_INLINE CPPGC_CONST static bool IsSet() { in IsSet() 62 V8_INLINE static bool IsBaseConsistent() { in IsBaseConsistent() 78 V8_INLINE CompressedPointer() : value_(0u) {} in CompressedPointer() 79 V8_INLINE explicit CompressedPointer(const void* ptr) in CompressedPointer() 81 V8_INLINE explicit CompressedPointer(std::nullptr_t) : value_(0u) {} in CompressedPointer() 82 V8_INLINE explicit CompressedPointer(SentinelPointer) in CompressedPointer() 85 V8_INLINE const void* Load() const { return Decompress(value_); } in Load() 86 V8_INLINE const void* LoadAtomic() const { in LoadAtomic() 92 V8_INLINE voi [all...] |
/third_party/node/deps/v8/include/v8-include/cppgc/ |
H A D | member.h | 39 V8_INLINE MemberBase() = default; 40 V8_INLINE explicit MemberBase(const void* value) : raw_(value) {} in MemberBase() 41 V8_INLINE MemberBase(const void* value, AtomicInitializerTag) { in MemberBase() 45 V8_INLINE explicit MemberBase(RawStorage raw) : raw_(raw) {} in MemberBase() 46 V8_INLINE explicit MemberBase(std::nullptr_t) : raw_(nullptr) {} in MemberBase() 47 V8_INLINE explicit MemberBase(SentinelPointer s) : raw_(s) {} in MemberBase() 49 V8_INLINE const void** GetRawSlot() const { in GetRawSlot() 52 V8_INLINE const void* GetRaw() const { return raw_.Load(); } in GetRaw() 53 V8_INLINE void SetRaw(void* value) { raw_.Store(value); } in SetRaw() 55 V8_INLINE cons [all...] |
/third_party/node/deps/v8/src/common/ |
H A D | ptr-compr-inl.h | 31 V8_INLINE Tagged_t CompressTagged(Address tagged) { in CompressTagged() 35 V8_INLINE constexpr Address GetPtrComprCageBaseAddress(Address on_heap_addr) { in GetPtrComprCageBaseAddress() 39 V8_INLINE Address GetPtrComprCageBaseAddress(PtrComprCageBase cage_base) { in GetPtrComprCageBaseAddress() 43 V8_INLINE constexpr PtrComprCageBase GetPtrComprCageBaseFromOnHeapAddress( in GetPtrComprCageBaseFromOnHeapAddress() 49 V8_INLINE Address DecompressTaggedSigned(Tagged_t raw_value) { in DecompressTaggedSigned() 57 V8_INLINE Address DecompressTaggedPointer(TOnHeapAddress on_heap_addr, in DecompressTaggedPointer() 65 V8_INLINE Address DecompressTaggedAny(TOnHeapAddress on_heap_addr, in DecompressTaggedAny() 72 V8_INLINE Tagged_t CompressTagged(Address tagged) { UNREACHABLE(); } 74 V8_INLINE constexpr PtrComprCageBase GetPtrComprCageBaseFromOnHeapAddress( 79 V8_INLINE Addres [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | embedder-data-slot.h | 93 V8_INLINE static void PopulateEmbedderDataSnapshot(Map map, 99 V8_INLINE EmbedderDataSlot(EmbedderDataArray array, int entry_index); 100 V8_INLINE EmbedderDataSlot(JSObject object, int embedder_field_index); 101 V8_INLINE explicit EmbedderDataSlot(const EmbedderDataSlotSnapshot& snapshot); 106 V8_INLINE void Initialize(Object initial_value); 108 V8_INLINE Object load_tagged() const; 109 V8_INLINE void store_smi(Smi value); 114 static V8_INLINE void store_tagged(EmbedderDataArray array, int entry_index, 116 static V8_INLINE void store_tagged(JSObject object, int embedder_field_index, 126 V8_INLINE boo [all...] |
H A D | maybe-object.h | 24 V8_INLINE static MaybeObject FromSmi(Smi smi); 26 V8_INLINE static MaybeObject FromObject(Object object); 28 V8_INLINE static MaybeObject MakeWeak(MaybeObject object); 30 V8_INLINE static MaybeObject Create(MaybeObject o); 31 V8_INLINE static MaybeObject Create(Object o); 32 V8_INLINE static MaybeObject Create(Smi smi); 48 V8_INLINE explicit HeapObjectReference(Object object); 50 V8_INLINE static HeapObjectReference Strong(Object object); 52 V8_INLINE static HeapObjectReference Weak(Object object); 54 V8_INLINE stati [all...] |
/third_party/node/deps/v8/include/ |
H A D | v8-persistent-handle.h | 49 V8_INLINE Eternal() : val_(nullptr) {} in Eternal() 51 V8_INLINE Eternal(Isolate* isolate, Local<S> handle) : val_(nullptr) { in Eternal() 55 V8_INLINE Local<T> Get(Isolate* isolate) const { in Get() 61 V8_INLINE bool IsEmpty() const { return val_ == nullptr; } in IsEmpty() 100 V8_INLINE void Reset(); 107 V8_INLINE void Reset(Isolate* isolate, const Local<S>& other); 114 V8_INLINE void Reset(Isolate* isolate, const PersistentBase<S>& other); 116 V8_INLINE bool IsEmpty() const { return val_ == nullptr; } in IsEmpty() 117 V8_INLINE void Empty() { val_ = 0; } in Empty() 119 V8_INLINE Loca [all...] |
H A D | v8-function-callback.h | 34 V8_INLINE ReturnValue(const ReturnValue<S>& that) : value_(that.value_) { in ReturnValue() 39 V8_INLINE void Set(const Global<S>& handle); 41 V8_INLINE void Set(const BasicTracedReference<S>& handle); 43 V8_INLINE void Set(const Local<S> handle); 45 V8_INLINE void Set(bool value); 46 V8_INLINE void Set(double i); 47 V8_INLINE void Set(int32_t i); 48 V8_INLINE void Set(uint32_t i); 50 V8_INLINE void SetNull(); 51 V8_INLINE voi [all...] |
H A D | v8-internal.h | 82 V8_INLINE static int SmiToInt(const internal::Address value) { in SmiToInt() 87 V8_INLINE static constexpr bool IsValidSmi(intptr_t value) { in IsValidSmi() 107 V8_INLINE static int SmiToInt(const internal::Address value) { in SmiToInt() 112 V8_INLINE static constexpr bool IsValidSmi(intptr_t value) { in IsValidSmi() 151 V8_INLINE static constexpr internal::Address IntToSmi(int value) { in IntToSmi() 337 V8_INLINE static constexpr internal::Address UnpackMapWord( in UnpackMapWord() 444 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) { in CheckInitialized() 450 V8_INLINE static bool HasHeapObjectTag(const internal::Address value) { in HasHeapObjectTag() 454 V8_INLINE static int SmiValue(const internal::Address value) { in SmiValue() 458 V8_INLINE stati [all...] |
H A D | v8-maybe.h | 31 V8_INLINE bool IsNothing() const { return !has_value_; } in IsNothing() 32 V8_INLINE bool IsJust() const { return has_value_; } in IsJust() 37 V8_INLINE T ToChecked() const { return FromJust(); } in ToChecked() 43 V8_INLINE void Check() const { in Check() 51 V8_WARN_UNUSED_RESULT V8_INLINE bool To(T* out) const { in To() 60 V8_INLINE T FromJust() const { in FromJust() 69 V8_INLINE T FromMaybe(const T& default_value) const { in FromMaybe() 73 V8_INLINE bool operator==(const Maybe& other) const { in operator ==() 78 V8_INLINE bool operator!=(const Maybe& other) const { in operator !=() 109 V8_INLINE boo [all...] |
H A D | v8-local-handle.h | 88 V8_INLINE Isolate* GetIsolate() const { in GetIsolate() 96 V8_INLINE HandleScope() = default; 157 V8_INLINE Local() : val_(nullptr) {} in Local() 159 V8_INLINE Local(Local<S> that) : val_(reinterpret_cast<T*>(*that)) { in Local() 171 V8_INLINE bool IsEmpty() const { return val_ == nullptr; } in IsEmpty() 176 V8_INLINE void Clear() { val_ = nullptr; } in Clear() 178 V8_INLINE T* operator->() const { return val_; } in operator ->() 180 V8_INLINE T* operator*() const { return val_; } in operator *() 193 V8_INLINE bool operator==(const Local<S>& that) const { in operator ==() 202 V8_INLINE boo [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | functional.h | 69 V8_INLINE size_t hash_combine() { return 0u; } in hash_combine() 70 V8_INLINE size_t hash_combine(size_t seed) { return seed; } in hash_combine() 73 V8_INLINE size_t hash_combine(T const& v, Ts const&... vs) { in hash_combine() 79 V8_INLINE size_t hash_range(Iterator first, Iterator last) { in hash_range() 89 V8_INLINE size_t hash_value(type v) { return static_cast<size_t>(v); } 100 V8_INLINE size_t hash_value(signed type v) { \ 110 V8_INLINE size_t hash_value(float v) { in hash_value() 115 V8_INLINE size_t hash_value(double v) { in hash_value() 121 V8_INLINE size_t hash_value(const T (&v)[N]) { 126 V8_INLINE size_ [all...] |
/third_party/node/deps/v8/src/handles/ |
H A D | handles.h | 44 V8_INLINE explicit HandleBase(Address* location) : location_(location) {} in HandleBase() 45 V8_INLINE explicit HandleBase(Address object, Isolate* isolate); 46 V8_INLINE explicit HandleBase(Address object, LocalIsolate* isolate); 47 V8_INLINE explicit HandleBase(Address object, LocalHeap* local_heap); 50 V8_INLINE bool is_identical_to(const HandleBase that) const; 51 V8_INLINE bool is_null() const { return location_ == nullptr; } in is_null() 55 V8_INLINE Address address() const { return bit_cast<Address>(location_); } in address() 60 V8_INLINE Address* location() const { in location() 69 V8_INLINE 109 V8_INLINE explici [all...] |
H A D | maybe-handles.h | 30 V8_INLINE MaybeHandle() = default; 32 V8_INLINE MaybeHandle(NullMaybeHandleType) {} in MaybeHandle() 38 V8_INLINE MaybeHandle(Handle<S> handle) : location_(handle.location_) {} in MaybeHandle() 44 V8_INLINE MaybeHandle(MaybeHandle<S> maybe_handle) in MaybeHandle() 47 V8_INLINE MaybeHandle(T object, Isolate* isolate); 48 V8_INLINE MaybeHandle(T object, LocalHeap* local_heap); 50 V8_INLINE void Assert() const { DCHECK_NOT_NULL(location_); } in Assert() 51 V8_INLINE void Check() const { CHECK_NOT_NULL(location_); } in Check() 53 V8_INLINE Handle<T> ToHandleChecked() const { in ToHandleChecked() 60 V8_WARN_UNUSED_RESULT V8_INLINE boo [all...] |
/third_party/node/deps/v8/src/parsing/ |
H A D | parser.h | 542 V8_INLINE bool IsEval(const AstRawString* identifier) const { in IsEval() 546 V8_INLINE bool IsAsync(const AstRawString* identifier) const { in IsAsync() 550 V8_INLINE bool IsArguments(const AstRawString* identifier) const { in IsArguments() 554 V8_INLINE bool IsEvalOrArguments(const AstRawString* identifier) const { in IsEvalOrArguments() 559 V8_INLINE static bool IsThisProperty(Expression* expression) { in IsThisProperty() 566 V8_INLINE static bool IsPrivateReference(Expression* expression) { in IsPrivateReference() 579 V8_INLINE static bool IsIdentifier(Expression* expression) { in IsIdentifier() 584 V8_INLINE static const AstRawString* AsIdentifier(Expression* expression) { in AsIdentifier() 589 V8_INLINE VariableProxy* AsIdentifierExpression(Expression* expression) { in AsIdentifierExpression() 593 V8_INLINE boo [all...] |
H A D | preparser.h | 1007 V8_INLINE bool SkipFunction(const AstRawString* name, FunctionKind kind, in SkipFunction() 1032 V8_INLINE TemplateLiteralState OpenTemplateLiteral(int pos) { in OpenTemplateLiteral() 1035 V8_INLINE void AddTemplateExpression(TemplateLiteralState* state, in AddTemplateExpression() 1037 V8_INLINE void AddTemplateSpan(TemplateLiteralState* state, bool should_cook, in AddTemplateSpan() 1039 V8_INLINE PreParserExpression CloseTemplateLiteral( in CloseTemplateLiteral() 1043 V8_INLINE bool IsPrivateReference(const PreParserExpression& expression) { in IsPrivateReference() 1046 V8_INLINE void SetLanguageMode(Scope* scope, LanguageMode mode) { in SetLanguageMode() 1049 V8_INLINE void SetAsmModule() {} in SetAsmModule() 1051 V8_INLINE void PrepareGeneratorVariables() {} in PrepareGeneratorVariables() 1052 V8_INLINE voi in PrepareGeneratorVariables() [all...] |