Lines Matching refs:V8_INLINE

218   V8_INLINE Local() : val_(0) {}  in Local()
220 V8_INLINE Local(Local<S> that) in Local()
233 V8_INLINE bool IsEmpty() const { return val_ == 0; } in IsEmpty()
238 V8_INLINE void Clear() { val_ = 0; } in Clear()
240 V8_INLINE T* operator->() const { return val_; }
242 V8_INLINE T* operator*() const { return val_; }
251 V8_INLINE bool operator==(const Local<S>& that) const {
259 template <class S> V8_INLINE bool operator==(
275 V8_INLINE bool operator!=(const Local<S>& that) const {
279 template <class S> V8_INLINE bool operator!=(
284 template <class S> V8_INLINE static Local<T> Cast(Local<S> that) { in Cast()
294 template <class S> V8_INLINE Local<S> As() { in As()
303 V8_INLINE static Local<T> New(Isolate* isolate, Local<T> that);
304 V8_INLINE static Local<T> New(Isolate* isolate,
333 V8_INLINE Local(S* that) in Local()
335 V8_INLINE static Local<T> New(Isolate* isolate, T* that);
360 V8_INLINE MaybeLocal() : val_(nullptr) {} in MaybeLocal()
362 V8_INLINE MaybeLocal(Local<S> that) in MaybeLocal()
367 V8_INLINE bool IsEmpty() const { return val_ == nullptr; } in IsEmpty()
370 V8_WARN_UNUSED_RESULT V8_INLINE bool ToLocal(Local<S>* out) const { in ToLocal()
376 V8_INLINE Local<T> ToLocalChecked();
379 V8_INLINE Local<S> FromMaybe(Local<S> default_value) const { in FromMaybe()
391 V8_INLINE Eternal() : index_(kInitialValue) { } in Eternal()
393 V8_INLINE Eternal(Isolate* isolate, Local<S> handle) : index_(kInitialValue) { in Eternal()
397 V8_INLINE Local<T> Get(Isolate* isolate);
398 V8_INLINE bool IsEmpty() { return index_ == kInitialValue; } in IsEmpty()
399 template<class S> V8_INLINE void Set(Isolate* isolate, Local<S> handle);
424 V8_INLINE Isolate* GetIsolate() const { return isolate_; } in GetIsolate()
425 V8_INLINE T* GetParameter() const { return parameter_; } in GetParameter()
426 V8_INLINE void* GetInternalField(int index) const;
428 V8_INLINE V8_DEPRECATED("use indexed version",
432 V8_INLINE V8_DEPRECATED("use indexed version",
463 V8_INLINE Isolate* GetIsolate() const { return isolate_; } in GetIsolate()
464 V8_INLINE P* GetParameter() const { return parameter_; } in GetParameter()
465 V8_INLINE Local<T> GetValue() const { return handle_; } in GetValue()
501 V8_INLINE void Reset();
507 V8_INLINE void Reset(Isolate* isolate, const Local<S>& other);
514 V8_INLINE void Reset(Isolate* isolate, const PersistentBase<S>& other);
516 V8_INLINE bool IsEmpty() const { return val_ == NULL; } in IsEmpty()
517 V8_INLINE void Empty() { val_ = 0; } in Empty()
519 V8_INLINE Local<T> Get(Isolate* isolate) const { in Get()
524 V8_INLINE bool operator==(const PersistentBase<S>& that) const {
533 V8_INLINE bool operator==(const Local<S>& that) const {
542 V8_INLINE bool operator!=(const PersistentBase<S>& that) const {
547 V8_INLINE bool operator!=(const Local<S>& that) const {
559 V8_INLINE V8_DEPRECATED(
565 V8_INLINE V8_DEPRECATED(
577 V8_INLINE V8_DEPRECATED(
585 V8_INLINE void SetWeak(P* parameter,
590 V8_INLINE P* ClearWeak();
593 V8_INLINE void ClearWeak() { ClearWeak<void>(); } in ClearWeak()
601 V8_INLINE void MarkIndependent();
611 V8_INLINE void MarkPartiallyDependent();
618 V8_INLINE void MarkActive();
620 V8_INLINE bool IsIndependent() const;
623 V8_INLINE bool IsNearDeath() const;
626 V8_INLINE bool IsWeak() const;
632 V8_INLINE void SetWrapperClassId(uint16_t class_id);
638 V8_INLINE uint16_t WrapperClassId() const;
654 explicit V8_INLINE PersistentBase(T* val) : val_(val) {} in PersistentBase()
657 V8_INLINE static T* New(Isolate* isolate, T* that);
675 V8_INLINE static void Copy(const Persistent<S, M>& source, in Copy()
680 template<class O> V8_INLINE static void Uncompilable() { in Uncompilable()
695 static V8_INLINE void Copy(const Persistent<S, M>& source, in Copy()
715 V8_INLINE Persistent() : PersistentBase<T>(0) { } in Persistent()
722 V8_INLINE Persistent(Isolate* isolate, Local<S> that) in Persistent()
732 V8_INLINE Persistent(Isolate* isolate, const Persistent<S, M2>& that) in Persistent()
742 V8_INLINE Persistent(const Persistent& that) : PersistentBase<T>(0) { in Persistent()
746 V8_INLINE Persistent(const Persistent<S, M2>& that) : PersistentBase<T>(0) { in Persistent()
749 V8_INLINE Persistent& operator=(const Persistent& that) { // NOLINT
754 V8_INLINE Persistent& operator=(const Persistent<S, M2>& that) { // NOLINT
763 V8_INLINE ~Persistent() { in ~Persistent()
769 V8_INLINE static Persistent<T>& Cast(Persistent<S>& that) { // NOLINT in Cast()
779 template <class S> V8_INLINE Persistent<S>& As() { // NOLINT in As()
790 template <class S> V8_INLINE Persistent(S* that) : PersistentBase<T>(that) { } in Persistent()
791 V8_INLINE T* operator*() const { return this->val_; }
793 V8_INLINE void Copy(const Persistent<S, M2>& that);
808 V8_INLINE Global() : PersistentBase<T>(nullptr) {} in Global()
815 V8_INLINE Global(Isolate* isolate, Local<S> that) in Global()
825 V8_INLINE Global(Isolate* isolate, const PersistentBase<S>& that) in Global()
832 V8_INLINE Global(Global&& other) : PersistentBase<T>(other.val_) { // NOLINT in Global()
835 V8_INLINE ~Global() { this->Reset(); } in ~Global()
840 V8_INLINE Global& operator=(Global<S>&& rhs) { // NOLINT
864 V8_INLINE T* operator*() const { return this->val_; }
898 V8_INLINE Isolate* GetIsolate() const { in GetIsolate()
903 V8_INLINE HandleScope() {} in HandleScope()
943 V8_INLINE ~EscapableHandleScope() {} in ~EscapableHandleScope()
950 V8_INLINE Local<T> Escape(Local<T> value) { in Escape()
1005 V8_INLINE ScriptOriginOptions(bool is_embedder_debug_script = false,
1011 V8_INLINE ScriptOriginOptions(int flags) in ScriptOriginOptions()
1037 V8_INLINE ScriptOrigin(
1046 V8_INLINE Local<Value> ResourceName() const;
1047 V8_INLINE Local<Integer> ResourceLineOffset() const;
1048 V8_INLINE Local<Integer> ResourceColumnOffset() const;
1052 V8_INLINE Local<Integer> ScriptID() const;
1053 V8_INLINE Local<Value> SourceMapUrl() const;
1054 V8_INLINE ScriptOriginOptions Options() const { return options_; } in Options()
1184 V8_INLINE Source(Local<String> source_string, const ScriptOrigin& origin,
1186 V8_INLINE Source(Local<String> source_string,
1188 V8_INLINE ~Source();
1193 V8_INLINE const CachedData* GetCachedData() const;
1703 V8_INLINE bool IsUndefined() const;
1709 V8_INLINE bool IsNull() const;
1731 V8_INLINE bool IsString() const;
2039 template <class T> V8_INLINE static Value* Cast(T* value);
2042 V8_INLINE bool QuickIsUndefined() const;
2043 V8_INLINE bool QuickIsNull() const;
2044 V8_INLINE bool QuickIsString() const;
2064 V8_INLINE static Boolean* Cast(v8::Value* obj);
2065 V8_INLINE static Local<Boolean> New(Isolate* isolate, bool value);
2086 V8_INLINE static Name* Cast(v8::Value* obj);
2186 V8_INLINE static v8::Local<v8::String> Empty(Isolate* isolate);
2283 V8_INLINE ExternalStringResourceBase* GetExternalStringResourceBase(
2290 V8_INLINE ExternalStringResource* GetExternalStringResource() const;
2298 V8_INLINE static String* Cast(v8::Value* obj);
2491 V8_INLINE static Symbol* Cast(v8::Value* obj);
2534 V8_INLINE static Number* Cast(v8::Value* obj);
2549 V8_INLINE static Integer* Cast(v8::Value* obj);
2562 V8_INLINE static Int32* Cast(v8::Value* obj);
2576 V8_INLINE static Uint32* Cast(v8::Value* obj);
2825 V8_INLINE static int InternalFieldCount( in InternalFieldCount()
2831 V8_INLINE Local<Value> GetInternalField(int index);
2841 V8_INLINE void* GetAlignedPointerFromInternalField(int index);
2844 V8_INLINE static void* GetAlignedPointerFromInternalField( in GetAlignedPointerFromInternalField()
2987 V8_INLINE static Object* Cast(Value* obj);
3020 V8_INLINE static Array* Cast(Value* obj);
3055 V8_INLINE static Map* Cast(Value* obj);
3087 V8_INLINE static Set* Cast(Value* obj);
3098 template <class S> V8_INLINE ReturnValue(const ReturnValue<S>& that) in ReturnValue()
3104 V8_INLINE V8_DEPRECATE_SOON("Use Global<> instead",
3107 V8_INLINE void Set(const Global<S>& handle);
3109 V8_INLINE void Set(const Local<S> handle);
3111 V8_INLINE void Set(bool value);
3112 V8_INLINE void Set(double i);
3113 V8_INLINE void Set(int32_t i);
3114 V8_INLINE void Set(uint32_t i);
3116 V8_INLINE void SetNull();
3117 V8_INLINE void SetUndefined();
3118 V8_INLINE void SetEmptyString();
3120 V8_INLINE Isolate* GetIsolate();
3124 V8_INLINE void Set(S* whatever);
3132 V8_INLINE void SetInternal(internal::Object* value) { *value_ = value; } in SetInternal()
3133 V8_INLINE internal::Object* GetDefaultValue();
3134 V8_INLINE explicit ReturnValue(internal::Object** slot);
3148 V8_INLINE int Length() const;
3149 V8_INLINE Local<Value> operator[](int i) const;
3150 V8_INLINE Local<Function> Callee() const;
3151 V8_INLINE Local<Object> This() const;
3152 V8_INLINE Local<Object> Holder() const;
3153 V8_INLINE bool IsConstructCall() const;
3154 V8_INLINE Local<Value> Data() const;
3155 V8_INLINE Isolate* GetIsolate() const;
3156 V8_INLINE ReturnValue<T> GetReturnValue() const;
3171 V8_INLINE FunctionCallbackInfo(internal::Object** implicit_args,
3189 V8_INLINE Isolate* GetIsolate() const;
3190 V8_INLINE Local<Value> Data() const;
3191 V8_INLINE Local<Object> This() const;
3192 V8_INLINE Local<Object> Holder() const;
3193 V8_INLINE ReturnValue<T> GetReturnValue() const;
3208 V8_INLINE PropertyCallbackInfo(internal::Object** args) : args_(args) {} in PropertyCallbackInfo()
3303 V8_INLINE static Function* Cast(Value* obj);
3345 V8_INLINE static Resolver* Cast(Value* obj);
3380 V8_INLINE static Promise* Cast(Value* obj);
3406 V8_INLINE static Proxy* Cast(Value* obj);
3548 V8_INLINE static ArrayBuffer* Cast(Value* obj);
3602 V8_INLINE static ArrayBufferView* Cast(Value* obj);
3626 V8_INLINE static TypedArray* Cast(Value* obj);
3644 V8_INLINE static Uint8Array* Cast(Value* obj);
3663 V8_INLINE static Uint8ClampedArray* Cast(Value* obj);
3680 V8_INLINE static Int8Array* Cast(Value* obj);
3698 V8_INLINE static Uint16Array* Cast(Value* obj);
3716 V8_INLINE static Int16Array* Cast(Value* obj);
3734 V8_INLINE static Uint32Array* Cast(Value* obj);
3752 V8_INLINE static Int32Array* Cast(Value* obj);
3770 V8_INLINE static Float32Array* Cast(Value* obj);
3788 V8_INLINE static Float64Array* Cast(Value* obj);
3806 V8_INLINE static DataView* Cast(Value* obj);
3903 V8_INLINE static SharedArrayBuffer* Cast(Value* obj);
3929 V8_INLINE static Date* Cast(v8::Value* obj);
3959 V8_INLINE static NumberObject* Cast(v8::Value* obj);
3976 V8_INLINE static BooleanObject* Cast(v8::Value* obj);
3992 V8_INLINE static StringObject* Cast(v8::Value* obj);
4010 V8_INLINE static SymbolObject* Cast(v8::Value* obj);
4063 V8_INLINE static RegExp* Cast(v8::Value* obj);
4077 V8_INLINE static External* Cast(Value* obj);
4104 V8_INLINE void Set(Isolate* isolate, const char* name, Local<Data> value);
4874 V8_INLINE Local<Primitive> Undefined(Isolate* isolate);
4875 V8_INLINE Local<Primitive> Null(Isolate* isolate);
4876 V8_INLINE Local<Boolean> True(Isolate* isolate);
4877 V8_INLINE Local<Boolean> False(Isolate* isolate);
5020 V8_INLINE Local<Promise> GetPromise() const { return promise_; } in GetPromise()
5021 V8_INLINE PromiseRejectEvent GetEvent() const { return event_; } in GetEvent()
5022 V8_INLINE Local<Value> GetValue() const { return value_; } in GetValue()
5025 V8_INLINE Local<StackTrace> GetStackTrace() const) {
5537 V8_INLINE void SetData(uint32_t slot, void* data);
5543 V8_INLINE void* GetData(uint32_t slot);
5549 V8_INLINE static uint32_t GetNumberOfDataSlots();
5618 V8_INLINE int64_t
6105 V8_INLINE static V8_DEPRECATED(
6113 V8_INLINE static V8_DEPRECATED(
6121 V8_INLINE static V8_DEPRECATED("Use isolate version", bool IsDead());
6157 V8_INLINE static V8_DEPRECATED(
6165 V8_INLINE static V8_DEPRECATED(
6172 V8_INLINE static V8_DEPRECATED(
6194 V8_INLINE static V8_DEPRECATED(
6217 V8_INLINE static V8_DEPRECATED(
6240 V8_INLINE static V8_DEPRECATED(
6248 V8_INLINE static V8_DEPRECATED(
6257 V8_INLINE static V8_DEPRECATED(
6289 V8_INLINE static V8_DEPRECATED("Use isolate version",
6302 V8_INLINE static V8_DEPRECATED(
6322 V8_INLINE static V8_DEPRECATED(
6341 V8_INLINE static V8_DEPRECATED(
6349 V8_INLINE static V8_DEPRECATED(
6357 V8_INLINE static V8_DEPRECATED(
6369 V8_INLINE static V8_DEPRECATED(
6469 V8_INLINE bool IsNothing() const { return !has_value; } in IsNothing()
6470 V8_INLINE bool IsJust() const { return has_value; } in IsJust()
6473 V8_INLINE T FromJust() const { in FromJust()
6478 V8_INLINE T FromMaybe(const T& default_value) const { in FromMaybe()
6482 V8_INLINE bool operator==(const Maybe& other) const {
6487 V8_INLINE bool operator!=(const Maybe& other) const {
6784 V8_INLINE Local<Value> GetEmbedderData(int index);
6807 V8_INLINE void* GetAlignedPointerFromEmbedderData(int index);
6855 explicit V8_INLINE Scope(Local<Context> context) : context_(context) { in Scope()
6858 V8_INLINE ~Scope() { context_->Exit(); } in ~Scope()
6956 V8_INLINE explicit Unlocker(Isolate* isolate) { Initialize(isolate); } in Unlocker()
6971 V8_INLINE explicit Locker(Isolate* isolate) { Initialize(isolate); } in Locker()
7021 V8_INLINE internal::Object* IntToSmi(int value) { in IntToSmi()
7033 V8_INLINE static int SmiToInt(const internal::Object* value) {
7038 V8_INLINE static internal::Object* IntToSmi(int value) {
7041 V8_INLINE static bool IsValidSmi(intptr_t value) {
7062 V8_INLINE static int SmiToInt(const internal::Object* value) {
7067 V8_INLINE static internal::Object* IntToSmi(int value) {
7070 V8_INLINE static bool IsValidSmi(intptr_t value) {
7079 V8_INLINE static bool SmiValuesAre31Bits() { return kSmiValueSize == 31; }
7080 V8_INLINE static bool SmiValuesAre32Bits() { return kSmiValueSize == 32; }
7146 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) {
7152 V8_INLINE static bool HasHeapObjectTag(const internal::Object* value) {
7157 V8_INLINE static int SmiValue(const internal::Object* value) {
7161 V8_INLINE static internal::Object* IntToSmi(int value) {
7165 V8_INLINE static bool IsValidSmi(intptr_t value) {
7169 V8_INLINE static int GetInstanceType(const internal::Object* obj) {
7177 V8_INLINE static int GetOddballKind(const internal::Object* obj) {
7182 V8_INLINE static bool IsExternalTwoByteString(int instance_type) {
7187 V8_INLINE static uint8_t GetNodeFlag(internal::Object** obj, int shift) {
7192 V8_INLINE static void UpdateNodeFlag(internal::Object** obj,
7199 V8_INLINE static uint8_t GetNodeState(internal::Object** obj) {
7204 V8_INLINE static void UpdateNodeState(internal::Object** obj,
7210 V8_INLINE static void SetEmbedderData(v8::Isolate* isolate,
7218 V8_INLINE static void* GetEmbedderData(const v8::Isolate* isolate,
7225 V8_INLINE static internal::Object** GetRoot(v8::Isolate* isolate,
7232 V8_INLINE static T ReadField(const internal::Object* ptr, int offset) {
7239 V8_INLINE static T ReadEmbedderData(const v8::Context* context, int index) {
7423 V8_INLINE void PersistentBase<T>::SetWeak(