| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4arrayobject_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | namespace QV4 { | - |
| 5 | - | |
| 6 | namespace Heap { | - |
| 7 | - | |
| 8 | struct ArrayCtor : FunctionObject { | - |
| 9 | void init(QV4::ExecutionContext *scope); | - |
| 10 | }; | - |
| 11 | - | |
| 12 | } | - |
| 13 | - | |
| 14 | struct ArrayCtor: FunctionObject | - |
| 15 | { | - |
| 16 | private: ArrayCtor() = delete; ArrayCtor(const ArrayCtor &) = delete; ArrayCtor &operator=(const ArrayCtor &) = 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::ArrayCtor Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnend of blockexecuted 297069 times by 153 tests: &static_vtbl;return &static_vtbl;Executed by:
executed 297069 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::ArrayCtor *d_unchecked() const { returnend of blockexecuted 198044 times by 153 tests: static_cast<QV4::Heap::ArrayCtor *>(m());return static_cast<QV4::Heap::ArrayCtor *>(m());Executed by:
executed 198044 times by 153 tests: } QV4::Heap::ArrayCtor *d() const { QV4::Heap::ArrayCtor *dptr = d_unchecked(); dptr->_checkIsInitialized(); returnreturn static_cast<QV4::Heap::ArrayCtor *>(m());Executed by:
executed 98917 times by 153 tests: dptr;return dptr;Executed by:
executed 98917 times by 153 tests: } static_assert(bool(std::is_trivial< QV4::Heap::ArrayCtor >::value), "std::is_trivial< QV4::Heap::ArrayCtor >::value");return dptr;Executed by:
| 0-297069 |
| 17 | - | |
| 18 | static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *); | - |
| 19 | static ReturnedValue virtualCall(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc); | - |
| 20 | }; | - |
| 21 | - | |
| 22 | struct ArrayPrototype: ArrayObject | - |
| 23 | { | - |
| 24 | void init(ExecutionEngine *engine, Object *ctor); | - |
| 25 | - | |
| 26 | static ReturnedValue method_isArray(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 27 | static ReturnedValue method_from(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 28 | static ReturnedValue method_of(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 29 | static ReturnedValue method_toString(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 30 | static ReturnedValue method_toLocaleString(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 31 | static ReturnedValue method_concat(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 32 | static ReturnedValue method_copyWithin(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 33 | static ReturnedValue method_entries(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 34 | static ReturnedValue method_find(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 35 | static ReturnedValue method_findIndex(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 36 | static ReturnedValue method_join(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 37 | static ReturnedValue method_pop(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 38 | static ReturnedValue method_push(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 39 | static ReturnedValue method_reverse(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 40 | static ReturnedValue method_shift(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 41 | static ReturnedValue method_slice(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 42 | static ReturnedValue method_sort(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 43 | static ReturnedValue method_splice(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 44 | static ReturnedValue method_unshift(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 45 | static ReturnedValue method_includes(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 46 | static ReturnedValue method_indexOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 47 | static ReturnedValue method_keys(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 48 | static ReturnedValue method_lastIndexOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 49 | static ReturnedValue method_every(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 50 | static ReturnedValue method_fill(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 51 | static ReturnedValue method_some(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 52 | static ReturnedValue method_forEach(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 53 | static ReturnedValue method_map(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 54 | static ReturnedValue method_filter(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 55 | static ReturnedValue method_reduce(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 56 | static ReturnedValue method_reduceRight(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 57 | static ReturnedValue method_values(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 58 | - | |
| 59 | - | |
| 60 | - | |
| 61 | static ReturnedValue method_get_species(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 62 | }; | - |
| 63 | - | |
| 64 | - | |
| 65 | } | - |
| 66 | - | |
| 67 | - | |
| Switch to Source code | Preprocessed file |