Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4globalobject_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | namespace QV4 { | - |
4 | - | |
5 | namespace Heap { | - |
6 | - | |
7 | struct EvalFunction : FunctionObject { | - |
8 | void init(QV4::ExecutionContext *scope); | - |
9 | }; | - |
10 | - | |
11 | } | - |
12 | - | |
13 | struct __attribute__((visibility("default"))) EvalFunction : FunctionObject | - |
14 | { | - |
15 | private: EvalFunction() = delete; EvalFunction(const EvalFunction &) = delete; EvalFunction &operator=(const EvalFunction &) = 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::EvalFunction Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnend of block executed 295814 times by 153 tests: &static_vtbl;return &static_vtbl; Executed by:
executed 295814 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::EvalFunction *d_unchecked() const { returnend of block executed 1777632 times by 153 tests: static_cast<QV4::Heap::EvalFunction *>(m());return static_cast<QV4::Heap::EvalFunction *>(m()); Executed by:
executed 1777632 times by 153 tests: } QV4::Heap::EvalFunction *d() const { QV4::Heap::EvalFunction *dptr = d_unchecked(); dptr->_checkIsInitialized(); returnreturn static_cast<QV4::Heap::EvalFunction *>(m()); Executed by:
executed 1679315 times by 153 tests: dptr;return dptr; Executed by:
executed 1679315 times by 153 tests: } static_assert(bool(std::is_trivial< QV4::Heap::EvalFunction >::value), "std::is_trivial< QV4::Heap::EvalFunction >::value");return dptr; Executed by:
| 0-1777632 |
16 | - | |
17 | ReturnedValue evalCall(const Value *thisObject, const Value *argv, int argc, bool directCall) const; | - |
18 | - | |
19 | static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc); | - |
20 | }; | - |
21 | - | |
22 | struct GlobalFunctions | - |
23 | { | - |
24 | static ReturnedValue method_parseInt(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
25 | static ReturnedValue method_parseFloat(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
26 | static ReturnedValue method_isNaN(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
27 | static ReturnedValue method_isFinite(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
28 | static ReturnedValue method_decodeURI(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
29 | static ReturnedValue method_decodeURIComponent(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
30 | static ReturnedValue method_encodeURI(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
31 | static ReturnedValue method_encodeURIComponent(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
32 | static ReturnedValue method_escape(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
33 | static ReturnedValue method_unescape(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
34 | }; | - |
35 | - | |
36 | } | - |
37 | - | |
38 | - | |
Switch to Source code | Preprocessed file |