| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4mathobject_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | namespace QV4 { | - |
| 4 | - | |
| 5 | namespace Heap { | - |
| 6 | - | |
| 7 | struct MathObject : Object { | - |
| 8 | void init(); | - |
| 9 | }; | - |
| 10 | - | |
| 11 | } | - |
| 12 | - | |
| 13 | struct MathObject: Object | - |
| 14 | { | - |
| 15 | private: MathObject() = delete; MathObject(const MathObject &) = delete; MathObject &operator=(const MathObject &) = delete; public: template <typename Type> inline void qt_check_for_QMANAGED_macro(const Type *_q_argument) const { int i = qYouForgotTheQ_MANAGED_Macro(this, _q_argument); i = i + 1; } never executed: typedef QV4::Heap::MathObject Data; typedef Object SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnend of blockexecuted 295959 times by 153 tests: &static_vtbl;return &static_vtbl;Executed by:
executed 295959 times by 153 tests: } void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }return &static_vtbl;Executed by:
never executed: QV4::Heap::MathObject *d_unchecked() const { returnend of blockexecuted 197209 times by 153 tests: static_cast<QV4::Heap::MathObject *>(m());return static_cast<QV4::Heap::MathObject *>(m());Executed by:
executed 197209 times by 153 tests: } QV4::Heap::MathObject *d() const { QV4::Heap::MathObject *dptr = d_unchecked(); dptr->_checkIsInitialized(); returnreturn static_cast<QV4::Heap::MathObject *>(m());Executed by:
executed 98944 times by 153 tests: dptr;return dptr;Executed by:
executed 98944 times by 153 tests: } static_assert(bool(std::is_trivial< QV4::Heap::MathObject >::value), "std::is_trivial< QV4::Heap::MathObject >::value");return dptr;Executed by:
| 0-295959 |
| 16 | public: enum { MyType = Type_MathObject }; | - |
| 17 | - | |
| 18 | static ReturnedValue method_abs(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 19 | static ReturnedValue method_acos(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 20 | static ReturnedValue method_acosh(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 21 | static ReturnedValue method_asin(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 22 | static ReturnedValue method_asinh(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 23 | static ReturnedValue method_atan(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 24 | static ReturnedValue method_atanh(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 25 | static ReturnedValue method_atan2(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 26 | static ReturnedValue method_cbrt(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 27 | static ReturnedValue method_ceil(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 28 | static ReturnedValue method_clz32(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 29 | static ReturnedValue method_cos(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 30 | static ReturnedValue method_cosh(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 31 | static ReturnedValue method_exp(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 32 | static ReturnedValue method_expm1(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 33 | static ReturnedValue method_floor(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 34 | static ReturnedValue method_fround(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 35 | static ReturnedValue method_hypot(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 36 | static ReturnedValue method_imul(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 37 | static ReturnedValue method_log(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 38 | static ReturnedValue method_log10(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 39 | static ReturnedValue method_log1p(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 40 | static ReturnedValue method_log2(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 41 | static ReturnedValue method_max(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 42 | static ReturnedValue method_min(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 43 | static ReturnedValue method_pow(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 44 | static ReturnedValue method_random(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 45 | static ReturnedValue method_round(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 46 | static ReturnedValue method_sign(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 47 | static ReturnedValue method_sin(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 48 | static ReturnedValue method_sinh(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 49 | static ReturnedValue method_sqrt(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 50 | static ReturnedValue method_tan(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 51 | static ReturnedValue method_tanh(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 52 | static ReturnedValue method_trunc(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 53 | }; | - |
| 54 | - | |
| 55 | } | - |
| 56 | - | |
| 57 | - | |
| Switch to Source code | Preprocessed file |