Home
last modified time | relevance | path

Searched refs:V8_INLINE (Results 1 – 25 of 152) sorted by relevance

1234567

/external/v8/src/heap/
Dmarking-visitor.h29 V8_INLINE MarkBit MarkBitFrom(HeapObject obj) { in MarkBitFrom()
34 V8_INLINE MarkBit MarkBitFrom(BasicMemoryChunk* p, Address addr) { in MarkBitFrom()
43 V8_INLINE bool IsImpossible(HeapObject obj) { in IsImpossible()
47 V8_INLINE bool IsBlack(HeapObject obj) { in IsBlack()
51 V8_INLINE bool IsWhite(HeapObject obj) { in IsWhite()
55 V8_INLINE bool IsGrey(HeapObject obj) { in IsGrey()
59 V8_INLINE bool IsBlackOrGrey(HeapObject obj) { in IsBlackOrGrey()
63 V8_INLINE bool WhiteToGrey(HeapObject obj) { in WhiteToGrey()
67 V8_INLINE bool WhiteToBlack(HeapObject obj) { in WhiteToBlack()
71 V8_INLINE bool GreyToBlack(HeapObject obj) { in GreyToBlack()
[all …]
Dobjects-visiting.h82 V8_INLINE ResultType Visit(HeapObject object); in TORQUE_VISITOR_ID_LIST()
83 V8_INLINE ResultType Visit(Map map, HeapObject object); in TORQUE_VISITOR_ID_LIST()
89 V8_INLINE bool ShouldVisit(HeapObject object) { return true; } in TORQUE_VISITOR_ID_LIST()
91 V8_INLINE bool ShouldVisitMapPointer() { return true; } in TORQUE_VISITOR_ID_LIST()
93 V8_INLINE void VisitMapPointer(HeapObject host); in TORQUE_VISITOR_ID_LIST()
96 V8_INLINE bool AllowDefaultJSObjectVisit() { return true; } in TORQUE_VISITOR_ID_LIST()
99 V8_INLINE ResultType Visit##TypeName(Map map, TypeName object); in TORQUE_VISITOR_ID_LIST()
103 V8_INLINE ResultType VisitShortcutCandidate(Map map, ConsString object); in TORQUE_VISITOR_ID_LIST()
104 V8_INLINE ResultType VisitDataObject(Map map, HeapObject object); in TORQUE_VISITOR_ID_LIST()
105 V8_INLINE ResultType VisitJSObjectFast(Map map, JSObject object); in TORQUE_VISITOR_ID_LIST()
[all …]
Dscavenger.h146 V8_INLINE bool MigrateObject(Map map, HeapObject source, HeapObject target,
149 V8_INLINE SlotCallbackResult
153 V8_INLINE CopyAndForwardResult
158 V8_INLINE CopyAndForwardResult PromoteObject(Map map, THeapObjectSlot slot,
164 V8_INLINE SlotCallbackResult EvacuateObject(THeapObjectSlot slot, Map map,
167 V8_INLINE bool HandleLargeObject(Map map, HeapObject object, int object_size,
172 V8_INLINE SlotCallbackResult
233 V8_INLINE void VisitPointers(HeapObject host, ObjectSlot start,
236 V8_INLINE void VisitPointers(HeapObject host, MaybeObjectSlot start,
239 V8_INLINE void VisitCodeTarget(Code host, RelocInfo* rinfo) final;
[all …]
Dmarking.h115 V8_INLINE static uint32_t IndexToCell(uint32_t index) { in IndexToCell()
119 V8_INLINE static uint32_t IndexInCell(uint32_t index) { in IndexInCell()
124 V8_INLINE static uint32_t CellAlignIndex(uint32_t index) { in CellAlignIndex()
128 V8_INLINE MarkBit::CellType* cells() { in cells()
132 V8_INLINE static Bitmap* FromAddress(Address addr) { in FromAddress()
357 V8_INLINE static bool IsImpossible(MarkBit mark_bit) { in IsImpossible()
375 V8_INLINE static bool IsBlack(MarkBit mark_bit) { in IsBlack()
382 V8_INLINE static bool IsWhite(MarkBit mark_bit) { in IsWhite()
390 V8_INLINE static bool IsGrey(MarkBit mark_bit) { in IsGrey()
397 V8_INLINE static bool IsBlackOrGrey(MarkBit mark_bit) { in IsBlackOrGrey()
[all …]
/external/v8/src/objects/
Dlayout-descriptor.h32 V8_INLINE bool IsTagged(int field_index);
43 V8_INLINE bool IsFastPointerLayout();
44 V8_INLINE static bool IsFastPointerLayout(Object layout_descriptor);
47 V8_INLINE bool IsSlowLayout();
51 V8_INLINE static LayoutDescriptor cast_gc_safe(Object object);
74 V8_INLINE static LayoutDescriptor FastPointerLayout();
95 V8_INLINE int capacity();
107 V8_INLINE int number_of_layout_words();
108 V8_INLINE uint32_t get_layout_word(int index) const;
109 V8_INLINE void set_layout_word(int index, uint32_t value);
[all …]
Dembedder-data-slot.h36 V8_INLINE EmbedderDataSlot(EmbedderDataArray array, int entry_index);
37 V8_INLINE EmbedderDataSlot(JSObject object, int embedder_field_index);
58 V8_INLINE void AllocateExternalPointerEntry(Isolate* isolate);
60 V8_INLINE Object load_tagged() const;
61 V8_INLINE void store_smi(Smi value);
66 static V8_INLINE void store_tagged(EmbedderDataArray array, int entry_index,
68 static V8_INLINE void store_tagged(JSObject object, int embedder_field_index,
78 V8_INLINE bool ToAlignedPointer(IsolateRoot isolate, void** out_result) const;
89 V8_INLINE bool ToAlignedPointerSafe(IsolateRoot isolate,
94 V8_INLINE V8_WARN_UNUSED_RESULT bool store_aligned_pointer(Isolate* isolate,
[all …]
Dmaybe-object.h24 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 static HeapObjectReference From(Object object,
[all …]
Dheap-object.h75 V8_INLINE bool Is##Type() const; \
76 V8_INLINE bool Is##Type(IsolateRoot isolate) const;
87 V8_INLINE bool Is##Type(Isolate* isolate) const; \
88 V8_INLINE bool Is##Type(LocalIsolate* isolate) const; \
89 V8_INLINE bool Is##Type(ReadOnlyRoots roots) const; \
90 V8_INLINE bool Is##Type() const;
96 V8_INLINE bool Is##Name() const; \
97 V8_INLINE bool Is##Name(IsolateRoot isolate) const;
/external/v8/src/parsing/
Dpreparser.h1001 V8_INLINE bool SkipFunction(const AstRawString* name, FunctionKind kind,
1026 V8_INLINE TemplateLiteralState OpenTemplateLiteral(int pos) {
1029 V8_INLINE void AddTemplateExpression(TemplateLiteralState* state,
1031 V8_INLINE void AddTemplateSpan(TemplateLiteralState* state, bool should_cook,
1033 V8_INLINE PreParserExpression CloseTemplateLiteral(
1037 V8_INLINE bool IsPrivateReference(const PreParserExpression& expression) {
1040 V8_INLINE void SetLanguageMode(Scope* scope, LanguageMode mode) {
1043 V8_INLINE void SetAsmModule() {}
1045 V8_INLINE PreParserExpression SpreadCall(const PreParserExpression& function,
1050 V8_INLINE PreParserExpression
[all …]
Dparser.h527 V8_INLINE bool IsEval(const AstRawString* identifier) const {
531 V8_INLINE bool IsAsync(const AstRawString* identifier) const {
535 V8_INLINE bool IsArguments(const AstRawString* identifier) const {
539 V8_INLINE bool IsEvalOrArguments(const AstRawString* identifier) const {
544 V8_INLINE static bool IsThisProperty(Expression* expression) {
551 V8_INLINE static bool IsPrivateReference(Expression* expression) {
564 V8_INLINE static bool IsIdentifier(Expression* expression) {
569 V8_INLINE static const AstRawString* AsIdentifier(Expression* expression) {
574 V8_INLINE VariableProxy* AsIdentifierExpression(Expression* expression) {
578 V8_INLINE bool IsConstructor(const AstRawString* identifier) const {
[all …]
/external/v8/src/common/
Dptr-compr-inl.h32 V8_INLINE Tagged_t CompressTagged(Address tagged) { in CompressTagged()
36 V8_INLINE constexpr Address GetIsolateRootAddress(Address on_heap_addr) { in GetIsolateRootAddress()
40 V8_INLINE Address GetIsolateRootAddress(IsolateRoot isolate) { in GetIsolateRootAddress()
45 V8_INLINE Address DecompressTaggedSigned(Tagged_t raw_value) { in DecompressTaggedSigned()
53 V8_INLINE Address DecompressTaggedPointer(TOnHeapAddress on_heap_addr, in DecompressTaggedPointer()
60 V8_INLINE Address DecompressTaggedAny(TOnHeapAddress on_heap_addr, in DecompressTaggedAny()
72 V8_INLINE Tagged_t CompressTagged(Address tagged) { UNREACHABLE(); }
74 V8_INLINE Address GetIsolateRootAddress(Address on_heap_addr) { UNREACHABLE(); }
76 V8_INLINE Address GetIsolateRootAddress(IsolateRoot isolate) { UNREACHABLE(); }
78 V8_INLINE Address DecompressTaggedSigned(Tagged_t raw_value) { UNREACHABLE(); }
[all …]
Dexternal-pointer.h15 V8_INLINE Address DecodeExternalPointer(IsolateRoot isolate,
24 V8_INLINE void InitExternalPointerField(Address field_address,
31 V8_INLINE void InitExternalPointerField(Address field_address, Isolate* isolate,
36 V8_INLINE Address ReadExternalPointerField(Address field_address,
41 V8_INLINE void WriteExternalPointerField(Address field_address,
/external/v8/src/base/
Dfunctional.h69 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 V8_BASE_HASH_VALUE_SIGNED()
115 V8_INLINE size_t hash_value(double v) { in hash_value()
121 V8_INLINE size_t hash_value(const T (&v)[N]) { in hash_value()
126 V8_INLINE size_t hash_value(T (&v)[N]) { in hash_value()
[all …]
/external/v8/include/
Dv8-internal.h64 V8_INLINE static int SmiToInt(const internal::Address value) {
69 V8_INLINE static constexpr bool IsValidSmi(intptr_t value) {
89 V8_INLINE static int SmiToInt(const internal::Address value) {
94 V8_INLINE static constexpr bool IsValidSmi(intptr_t value) {
155 V8_INLINE static constexpr internal::Address IntToSmi(int value) {
255 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) {
261 V8_INLINE static bool HasHeapObjectTag(const internal::Address value) {
265 V8_INLINE static int SmiValue(const internal::Address value) {
269 V8_INLINE static constexpr internal::Address IntToSmi(int value) {
273 V8_INLINE static constexpr bool IsValidSmi(intptr_t value) {
[all …]
Dv8.h199 V8_INLINE Local() : val_(nullptr) {} in Local()
201 V8_INLINE Local(Local<S> that) in Local()
214 V8_INLINE bool IsEmpty() const { return val_ == nullptr; } in IsEmpty()
219 V8_INLINE void Clear() { val_ = nullptr; } in Clear()
221 V8_INLINE T* operator->() const { return val_; }
223 V8_INLINE T* operator*() const { return val_; }
236 V8_INLINE bool operator==(const Local<S>& that) const {
244 template <class S> V8_INLINE bool operator==(
264 V8_INLINE bool operator!=(const Local<S>& that) const {
268 template <class S> V8_INLINE bool operator!=(
[all …]
/external/v8/src/handles/
Dhandles.h41 V8_INLINE explicit HandleBase(Address* location) : location_(location) {} in HandleBase()
42 V8_INLINE explicit HandleBase(Address object, Isolate* isolate);
43 V8_INLINE explicit HandleBase(Address object, LocalIsolate* isolate);
44 V8_INLINE explicit HandleBase(Address object, LocalHeap* local_heap);
47 V8_INLINE bool is_identical_to(const HandleBase that) const;
48 V8_INLINE bool is_null() const { return location_ == nullptr; } in is_null()
52 V8_INLINE Address address() const { return bit_cast<Address>(location_); } in address()
57 V8_INLINE Address* location() const { in location()
66 V8_INLINE
106 V8_INLINE explicit Handle() : HandleBase(nullptr) { in Handle()
[all …]
Dmaybe-handles.h30 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 bool ToHandle(Handle<S>* out) const { in ToHandle()
[all …]
/external/v8/src/codegen/
Dlabel.h50 V8_INLINE ~Label() { in ~Label()
56 V8_INLINE void Unuse() { pos_ = 0; } in Unuse()
57 V8_INLINE void UnuseNear() { near_link_pos_ = 0; } in UnuseNear()
59 V8_INLINE bool is_bound() const { return pos_ < 0; } in is_bound()
60 V8_INLINE bool is_unused() const { return pos_ == 0 && near_link_pos_ == 0; } in is_unused()
61 V8_INLINE bool is_linked() const { return pos_ > 0; } in is_linked()
62 V8_INLINE bool is_near_linked() const { return near_link_pos_ > 0; } in is_near_linked()
Dreloc-info.h204 V8_INLINE void apply(intptr_t delta);
236 V8_INLINE Address target_address();
237 V8_INLINE HeapObject target_object();
241 V8_INLINE HeapObject target_object_no_host(Isolate* isolate);
242 V8_INLINE Handle<HeapObject> target_object_handle(Assembler* origin);
244 V8_INLINE void set_target_object(
248 V8_INLINE Address target_runtime_entry(Assembler* origin);
249 V8_INLINE void set_target_runtime_entry(
253 V8_INLINE Address target_off_heap_target();
254 V8_INLINE void set_target_external_reference(
[all …]
/external/v8/src/strings/
Dstring-builder-inl.h120 V8_INLINE String::Encoding CurrentEncoding() { return encoding_; } in CurrentEncoding()
123 V8_INLINE void Append(SrcChar c);
125 V8_INLINE void AppendCharacter(uint8_t c) { in AppendCharacter()
133 V8_INLINE void AppendCString(const char* s) { in AppendCString()
142 V8_INLINE void AppendCString(const uc16* s) { in AppendCString()
150 V8_INLINE void AppendInt(int i) { in AppendInt()
157 V8_INLINE bool CurrentPartCanFit(int length) { in CurrentPartCanFit()
165 V8_INLINE int EscapedLengthIfCurrentPartFits(int length) { in EscapedLengthIfCurrentPartFits()
178 V8_INLINE bool HasOverflowed() const { return overflowed_; } in HasOverflowed()
206 V8_INLINE void Append(DestChar c) { *(cursor_++) = c; } in Append()
[all …]
/external/v8/src/interpreter/
Dbytecode-node.h21 V8_INLINE BytecodeNode(Bytecode bytecode,
30 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0,
40 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0,
52 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0,
65 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0,
80 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0,
98 V8_INLINE static BytecodeNode Name(BytecodeSourceInfo source_info, \
134 V8_INLINE BytecodeNode(Bytecode bytecode, int operand_count,
152 V8_INLINE static BytecodeNode Create(BytecodeSourceInfo source_info) { in Create()
158 V8_INLINE static BytecodeNode Create(BytecodeSourceInfo source_info, in Create()
[all …]
/external/v8/src/utils/
Dpointer-with-payload.h74 V8_INLINE PointerType* GetPointer() const {
79 V8_INLINE PointerType* GetPointerWithKnownPayload(PayloadType payload) const {
85 V8_INLINE PointerType* operator->() const { return GetPointer(); }
87 V8_INLINE void update(PointerType* new_pointer, PayloadType new_payload) {
94 V8_INLINE void SetPointer(PointerType* newptr) {
100 V8_INLINE PayloadType GetPayload() const {
104 V8_INLINE void SetPayload(PayloadType new_payload) {
/external/v8/src/execution/
Disolate-utils.h17 V8_INLINE IsolateRoot GetIsolateForPtrCompr(HeapObject object);
19 V8_INLINE Heap* GetHeapFromWritableObject(HeapObject object);
21 V8_INLINE Isolate* GetIsolateFromWritableObject(HeapObject object);
26 V8_INLINE bool GetIsolateFromHeapObject(HeapObject object, Isolate** isolate);
Dpointer-authentication.h23 V8_INLINE static Address AuthenticatePC(Address* pc_address,
29 V8_INLINE static Address StripPAC(Address pc);
35 V8_INLINE static void ReplacePC(Address* pc_address, Address new_pc,
41 V8_INLINE static Address SignAndCheckPC(Address pc, Address sp);
/external/v8/src/compiler/
Dnode-marker.h25 V8_INLINE Mark Get(const Node* node) { in Get()
33 V8_INLINE void Set(Node* node, Mark mark) { in Set()
63 V8_INLINE NodeMarker(Graph* graph, uint32_t num_states) in NodeMarker()
66 V8_INLINE State Get(const Node* node) { in Get()
70 V8_INLINE void Set(Node* node, State state) { in Set()

1234567