Home | History | Annotate | Download | only in include

Lines Matching refs:V8_INLINE

203   V8_INLINE Handle() : val_(0) {}
215 template <class S> V8_INLINE Handle(Handle<S> that)
228 V8_INLINE bool IsEmpty() const { return val_ == 0; }
233 V8_INLINE void Clear() { val_ = 0; }
235 V8_INLINE T* operator->() const { return val_; }
237 V8_INLINE T* operator*() const { return val_; }
245 template <class S> V8_INLINE bool operator==(const Handle<S>& that) const {
253 template <class S> V8_INLINE bool operator==(
268 template <class S> V8_INLINE bool operator!=(const Handle<S>& that) const {
272 template <class S> V8_INLINE bool operator!=(
277 template <class S> V8_INLINE static Handle<T> Cast(Handle<S> that) {
286 template <class S> V8_INLINE Handle<S> As() {
290 V8_INLINE static Handle<T> New(Isolate* isolate, Handle<T> that) {
293 V8_INLINE static Handle<T> New(Isolate* isolate,
319 V8_INLINE explicit Handle(T* val) : val_(val) {}
321 V8_INLINE static Handle<T> New(Isolate* isolate, T* that);
336 V8_INLINE Local();
337 template <class S> V8_INLINE Local(Local<S> that)
348 template <class S> V8_INLINE static Local<T> Cast(Local<S> that) {
356 template <class S> V8_INLINE Local(Handle<S> that)
361 template <class S> V8_INLINE Local<S> As() {
370 V8_INLINE static Local<T> New(Isolate* isolate, Handle<T> that);
371 V8_INLINE static Local<T> New(Isolate* isolate,
392 template <class S> V8_INLINE Local(S* that) : Handle<T>(that) { }
393 V8_INLINE static Local<T> New(Isolate* isolate, T* that);
400 V8_INLINE Eternal() : index_(kInitialValue) { }
402 V8_INLINE Eternal(Isolate* isolate, Local<S> handle) : index_(kInitialValue) {
406 V8_INLINE Local<T> Get(Isolate* isolate);
407 V8_INLINE bool IsEmpty() { return index_ == kInitialValue; }
408 template<class S> V8_INLINE void Set(Isolate* isolate, Local<S> handle);
421 V8_INLINE Isolate* GetIsolate() const { return isolate_; }
422 V8_INLINE Local<T> GetValue() const { return handle_; }
423 V8_INLINE P* GetParameter() const { return parameter_; }
454 V8_INLINE void Reset();
460 V8_INLINE void Reset(Isolate* isolate, const Handle<S>& other);
467 V8_INLINE void Reset(Isolate* isolate, const PersistentBase<S>& other);
469 V8_INLINE bool IsEmpty() const { return val_ == 0; }
472 V8_INLINE bool operator==(const PersistentBase<S>& that) const {
480 template <class S> V8_INLINE bool operator==(const Handle<S>& that) const {
489 V8_INLINE bool operator!=(const PersistentBase<S>& that) const {
493 template <class S> V8_INLINE bool operator!=(const Handle<S>& that) const {
505 V8_INLINE void SetWeak(
510 V8_INLINE void SetWeak(
515 V8_INLINE P* ClearWeak();
518 V8_INLINE void ClearWeak() { ClearWeak<void>(); }
526 V8_INLINE void MarkIndependent();
536 V8_INLINE void MarkPartiallyDependent();
538 V8_INLINE bool IsIndependent() const;
541 V8_INLINE bool IsNearDeath() const;
544 V8_INLINE bool IsWeak() const;
550 V8_INLINE void SetWrapperClassId(uint16_t class_id);
556 V8_INLINE uint16_t WrapperClassId() const;
571 explicit V8_INLINE PersistentBase(T* val) : val_(val) {}
574 V8_INLINE static T* New(Isolate* isolate, T* that);
592 V8_INLINE static void Copy(const Persistent<S, M>& source,
597 template<class O> V8_INLINE static void Uncompilable() {
612 static V8_INLINE void Copy(const Persistent<S, M>& source,
632 V8_INLINE Persistent() : PersistentBase<T>(0) { }
638 template <class S> V8_INLINE Persistent(Isolate* isolate, Handle<S> that)
648 V8_INLINE Persistent(Isolate* isolate, const Persistent<S, M2>& that)
658 V8_INLINE Persistent(const Persistent& that) : PersistentBase<T>(0) {
662 V8_INLINE Persistent(const Persistent<S, M2>& that) : PersistentBase<T>(0) {
665 V8_INLINE Persistent& operator=(const Persistent& that) { // NOLINT
670 V8_INLINE Persistent& operator=(const Persistent<S, M2>& that) { // NOLINT
679 V8_INLINE ~Persistent() {
685 V8_INLINE static Persistent<T>& Cast(Persistent<S>& that) { // NOLINT
695 template <class S> V8_INLINE Persistent<S>& As() { // NOLINT
700 V8_INLINE T* ClearAndLeak();
710 template <class S> V8_INLINE Persistent(S* that) : PersistentBase<T>(that) { }
711 V8_INLINE T* operator*() const { return this->val_; }
713 V8_INLINE void Copy(const Persistent<S, M2>& that);
725 V8_INLINE explicit RValue(UniquePersistent* obj) : object(obj) {}
733 V8_INLINE UniquePersistent() : PersistentBase<T>(0) { }
740 V8_INLINE UniquePersistent(Isolate* isolate, Handle<S> that)
750 V8_INLINE UniquePersistent(Isolate* isolate, const PersistentBase<S>& that)
757 V8_INLINE UniquePersistent(RValue rvalue)
761 V8_INLINE ~UniquePersistent() { this->Reset(); }
766 V8_INLINE UniquePersistent& operator=(UniquePersistent<S> rhs) {
776 V8_INLINE operator RValue() { return RValue(this); }
813 V8_INLINE Isolate* GetIsolate() const {
818 V8_INLINE HandleScope() {}
858 V8_INLINE ~EscapableHandleScope() {}
865 V8_INLINE Local<T> Escape(Local<T> value) {
924 V8_INLINE ScriptOrigin(
935 V8_INLINE Handle<Value> ResourceName() const;
936 V8_INLINE Handle<Integer> ResourceLineOffset() const;
937 V8_INLINE Handle<Integer> ResourceColumnOffset() const;
938 V8_INLINE Handle<Boolean> ResourceIsSharedCrossOrigin() const;
939 V8_INLINE Handle<Integer> ScriptID() const;
1061 V8_INLINE Source(Local<String> source_string, const ScriptOrigin& origin,
1063 V8_INLINE Source(Local<String> source_string,
1065 V8_INLINE ~Source();
1070 V8_INLINE const CachedData* GetCachedData() const;
1446 V8_INLINE bool IsUndefined() const;
1452 V8_INLINE bool IsNull() const;
1474 V8_INLINE bool IsString() const;
1697 template <class T> V8_INLINE static Value* Cast(T* value);
1700 V8_INLINE bool QuickIsUndefined() const;
1701 V8_INLINE bool QuickIsNull() const;
1702 V8_INLINE bool QuickIsString() const;
1722 V8_INLINE static Handle<Boolean> New(Isolate* isolate, bool value);
1731 V8_INLINE static Name* Cast(v8::Value* obj);
1828 V8_INLINE static v8::Local<v8::String> Empty(Isolate* isolate);
1928 V8_INLINE ExternalStringResourceBase* GetExternalStringResourceBase(
1935 V8_INLINE ExternalStringResource* GetExternalStringResource() const;
1948 V8_INLINE static String* Cast(v8::Value* obj);
2111 V8_INLINE static Symbol* Cast(v8::Value* obj);
2154 V8_INLINE static Number* Cast(v8::Value* obj);
2169 V8_INLINE static Integer* Cast(v8::Value* obj);
2404 V8_INLINE static int InternalFieldCount(
2410 V8_INLINE Local<Value> GetInternalField(int index);
2420 V8_INLINE void* GetAlignedPointerFromInternalField(int index);
2423 V8_INLINE static void* GetAlignedPointerFromInternalField(
2557 V8_INLINE static Object* Cast(Value* obj);
2586 V8_INLINE static Array* Cast(Value* obj);
2596 template <class S> V8_INLINE ReturnValue(const ReturnValue<S>& that)
2601 template <typename S> V8_INLINE void Set(const Persistent<S>& handle);
2602 template <typename S> V8_INLINE void Set(const Handle<S> handle);
2604 V8_INLINE void Set(bool value);
2605 V8_INLINE void Set(double i);
2606 V8_INLINE void Set(int32_t i);
2607 V8_INLINE void Set(uint32_t i);
2609 V8_INLINE void SetNull();
2610 V8_INLINE void SetUndefined();
2611 V8_INLINE void SetEmptyString();
2613 V8_INLINE Isolate* GetIsolate();
2617 V8_INLINE void Set(S* whatever);
2624 V8_INLINE void SetInternal(internal::Object* value) { *value_ = value; }
2625 V8_INLINE internal::Object* GetDefaultValue();
2626 V8_INLINE explicit ReturnValue(internal::Object** slot);
2640 V8_INLINE int Length() const;
2641 V8_INLINE Local<Value> operator[](int i) const;
2642 V8_INLINE Local<Function> Callee() const;
2643 V8_INLINE Local<Object> This() const;
2644 V8_INLINE Local<Object> Holder() const;
2645 V8_INLINE bool IsConstructCall() const;
2646 V8_INLINE Local<Value> Data() const;
2647 V8_INLINE Isolate* GetIsolate() const;
2648 V8_INLINE ReturnValue<T> GetReturnValue() const;
2663 V8_INLINE
2681 V8_INLINE Isolate* GetIsolate() const;
2682 V8_INLINE Local<Value> Data() const;
2683 V8_INLINE Local<Object> This() const;
2684 V8_INLINE Local<Object> Holder() const;
2685 V8_INLINE ReturnValue<T> GetReturnValue() const;
2700 V8_INLINE PropertyCallbackInfo(internal::Object** args) : args_(args) {}
2770 V8_INLINE static Function* Cast(Value* obj);
2804 V8_INLINE static Resolver* Cast(Value* obj);
2821 V8_INLINE static Promise* Cast(Value* obj);
2941 V8_INLINE static ArrayBuffer* Cast(Value* obj);
2978 V8_INLINE static ArrayBufferView* Cast(Value* obj);
3002 V8_INLINE static TypedArray* Cast(Value* obj);
3018 V8_INLINE static Uint8Array* Cast(Value* obj);
3034 V8_INLINE static Uint8ClampedArray* Cast(Value* obj);
3049 V8_INLINE static Int8Array* Cast(Value* obj);
3065 V8_INLINE static Uint16Array* Cast(Value* obj);
3081 V8_INLINE static Int16Array* Cast(Value* obj);
3097 V8_INLINE static Uint32Array* Cast(Value* obj);
3113 V8_INLINE static Int32Array* Cast(Value* obj);
3129 V8_INLINE static Float32Array* Cast(Value* obj);
3145 V8_INLINE static Float64Array* Cast(Value* obj);
3161 V8_INLINE static DataView* Cast(Value* obj);
3182 V8_INLINE static Date* Cast(v8::Value* obj);
3212 V8_INLINE static NumberObject* Cast(v8::Value* obj);
3228 V8_INLINE static BooleanObject* Cast(v8::Value* obj);
3244 V8_INLINE static StringObject* Cast(v8::Value* obj);
3262 V8_INLINE static SymbolObject* Cast(v8::Value* obj);
3308 V8_INLINE static RegExp* Cast(v8::Value* obj);
3322 V8_INLINE static External* Cast(Value* obj);
3340 V8_INLINE void Set(Isolate* isolate, const char* name, Handle<Data> value);
4039 V8_INLINE Handle<Primitive> Undefined(Isolate* isolate);
4040 V8_INLINE Handle<Primitive> Null(Isolate* isolate);
4041 V8_INLINE Handle<Boolean> True(Isolate* isolate);
4042 V8_INLINE Handle<Boolean> False(Isolate* isolate);
4531 V8_INLINE void SetData(uint32_t slot, void* data);
4537 V8_INLINE void* GetData(uint32_t slot);
4543 V8_INLINE static uint32_t GetNumberOfDataSlots();
4563 V8_INLINE int64_t
5499 V8_INLINE Local<Value> GetEmbedderData(int index);
5514 V8_INLINE void* GetAlignedPointerFromEmbedderData(int index);
5557 explicit V8_INLINE Scope(Handle<Context> context) : context_(context) {
5560 V8_INLINE ~Scope() { context_->Exit(); }
5658 V8_INLINE explicit Unlocker(Isolate* isolate) { Initialize(isolate); }
5673 V8_INLINE explicit Locker(Isolate* isolate) { Initialize(isolate); }
5725 V8_INLINE internal::Object* IntToSmi(int value) {
5737 V8_INLINE static int SmiToInt(const internal::Object* value) {
5742 V8_INLINE static internal::Object* IntToSmi(int value) {
5745 V8_INLINE static bool IsValidSmi(intptr_t value) {
5766 V8_INLINE static int SmiToInt(const internal::Object* value) {
5771 V8_INLINE static internal::Object* IntToSmi(int value) {
5774 V8_INLINE static bool IsValidSmi(intptr_t value) {
5783 V8_INLINE static bool SmiValuesAre31Bits() { return kSmiValueSize == 31; }
5784 V8_INLINE static bool SmiValuesAre32Bits() { return kSmiValueSize == 32; }
5849 V8_INLINE static void CheckInitialized(v8::Isolate* isolate) {
5855 V8_INLINE static bool HasHeapObjectTag(const internal::Object* value) {
5860 V8_INLINE static int SmiValue(const internal::Object* value) {
5864 V8_INLINE static internal::Object* IntToSmi(int value) {
5868 V8_INLINE static bool IsValidSmi(intptr_t value) {
5872 V8_INLINE static int GetInstanceType(const internal::Object* obj) {
5880 V8_INLINE static int GetOddballKind(const internal::Object* obj) {
5885 V8_INLINE static bool IsExternalTwoByteString(int instance_type) {
5890 V8_INLINE static uint8_t GetNodeFlag(internal::Object** obj, int shift) {
5895 V8_INLINE static void UpdateNodeFlag(internal::Object** obj,
5902 V8_INLINE static uint8_t GetNodeState(internal::Object** obj) {
5907 V8_INLINE static void UpdateNodeState(internal::Object** obj,
5913 V8_INLINE static void SetEmbedderData(v8::Isolate* isolate,
5921 V8_INLINE static void* GetEmbedderData(const v8::Isolate* isolate,
5928 V8_INLINE static internal::Object** GetRoot(v8::Isolate* isolate,
5935 V8_INLINE static T ReadField(const internal::Object* ptr, int offset) {
5942 V8_INLINE static T ReadEmbedderData(const v8::Context* context, int index) {