Lines Matching defs:from
144 static inline Local<T> ToLocal(ecmascript::JSHandle<ecmascript::JSTaggedValue> from)
146 return Local<T>(from.GetAddress());
149 static inline ecmascript::JSTaggedValue ToJSTaggedValue(JSValueRef *from)
151 ASSERT(from != nullptr);
152 return *reinterpret_cast<ecmascript::JSTaggedValue *>(from);
155 static inline ecmascript::JSMutableHandle<ecmascript::JSTaggedValue> ToJSMutableHandle(Local<JSValueRef> from)
157 ASSERT(!from.IsEmpty());
158 return ecmascript::JSMutableHandle<ecmascript::JSTaggedValue>(reinterpret_cast<uintptr_t>(*from));
161 static inline ecmascript::JSHandle<ecmascript::JSTaggedValue> ToJSHandle(Local<JSValueRef> from)
163 ASSERT(!from.IsEmpty());
164 return ecmascript::JSHandle<ecmascript::JSTaggedValue>(reinterpret_cast<uintptr_t>(*from));
167 static inline ecmascript::JSHandle<ecmascript::JSTaggedValue> ToJSHandle(JSValueRef *from)
169 ASSERT(from != nullptr);
170 return ecmascript::JSHandle<ecmascript::JSTaggedValue>(reinterpret_cast<uintptr_t>(from));