OpenCoverage

qv4arrayobject_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4arrayobject_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4namespace QV4 {-
5-
6namespace Heap {-
7-
8struct ArrayCtor : FunctionObject {-
9 void init(QV4::ExecutionContext *scope);-
10};-
11-
12}-
13-
14struct 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: end of block
typedef QV4::Heap::ArrayCtor Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { return
executed 297069 times by 153 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
&static_vtbl;
executed 297069 times by 153 tests: return &static_vtbl;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} void __dataTest() { static_assert (sizeof(*this) == sizeof(Managed), "Classes derived from Managed can't have own data members."); }
never executed: end of block
QV4::Heap::ArrayCtor *d_unchecked() const { return
executed 198044 times by 153 tests: return static_cast<QV4::Heap::ArrayCtor *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
static_cast<QV4::Heap::ArrayCtor *>(m());
executed 198044 times by 153 tests: return static_cast<QV4::Heap::ArrayCtor *>(m());
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} QV4::Heap::ArrayCtor *d() const { QV4::Heap::ArrayCtor *dptr = d_unchecked(); dptr->_checkIsInitialized(); return
executed 98917 times by 153 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
dptr;
executed 98917 times by 153 tests: return dptr;
Executed by:
  • tst_bindingdependencyapi
  • tst_drawingmodes
  • tst_ecmascripttests
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_parserstress
  • tst_qjsengine
  • tst_qjsonbinding
  • tst_qjsvalue
  • tst_qjsvalueiterator
  • tst_qmlcachegen
  • tst_qmldiskcache
  • tst_qqmlapplicationengine
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlconnections
  • tst_qqmlconsole
  • tst_qqmlcontext
  • tst_qqmldebugclient
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmldebugservice
  • tst_qqmlecmascript
  • tst_qqmlenginecleanup
  • ...
} static_assert(bool(std::is_trivial< QV4::Heap::ArrayCtor >::value), "std::is_trivial< QV4::Heap::ArrayCtor >::value");
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-
22struct 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 codePreprocessed file

Generated by Squish Coco 4.2.0