| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/jsruntime/qv4objectproto_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | namespace QV4 { | - |
| 5 | - | |
| 6 | namespace Heap { | - |
| 7 | - | |
| 8 | struct ObjectCtor : FunctionObject { | - |
| 9 | void init(QV4::ExecutionContext *scope); | - |
| 10 | }; | - |
| 11 | - | |
| 12 | } | - |
| 13 | - | |
| 14 | struct ObjectCtor: FunctionObject | - |
| 15 | { | - |
| 16 | private: ObjectCtor() = delete; ObjectCtor(const ObjectCtor &) = delete; ObjectCtor &operator=(const ObjectCtor &) = 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::ObjectCtor Data; typedef FunctionObject SuperClass; static const QV4::VTable static_vtbl; static inline const QV4::VTable *staticVTable() { returnend of blockexecuted 297035 times by 153 tests: &static_vtbl;return &static_vtbl;Executed by:
executed 297035 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::ObjectCtor *d_unchecked() const { returnend of blockexecuted 197870 times by 153 tests: static_cast<QV4::Heap::ObjectCtor *>(m());return static_cast<QV4::Heap::ObjectCtor *>(m());Executed by:
executed 197870 times by 153 tests: } QV4::Heap::ObjectCtor *d() const { QV4::Heap::ObjectCtor *dptr = d_unchecked(); dptr->_checkIsInitialized(); returnreturn static_cast<QV4::Heap::ObjectCtor *>(m());Executed by:
executed 98931 times by 153 tests: dptr;return dptr;Executed by:
executed 98931 times by 153 tests: } static_assert(bool(std::is_trivial< QV4::Heap::ObjectCtor >::value), "std::is_trivial< QV4::Heap::ObjectCtor >::value");return dptr;Executed by:
| 0-297035 |
| 17 | - | |
| 18 | static ReturnedValue virtualCallAsConstructor(const FunctionObject *f, const Value *argv, int argc, const Value *); | - |
| 19 | static ReturnedValue virtualCall(const FunctionObject *m, const Value *thisObject, const Value *argv, int argc); | - |
| 20 | }; | - |
| 21 | - | |
| 22 | struct ObjectPrototype: Object | - |
| 23 | { | - |
| 24 | void init(ExecutionEngine *engine, Object *ctor); | - |
| 25 | - | |
| 26 | static ReturnedValue method_assign(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 27 | static ReturnedValue method_create(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 28 | static ReturnedValue method_defineProperties(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 29 | static ReturnedValue method_defineProperty(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 30 | static ReturnedValue method_freeze(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 31 | static ReturnedValue method_getOwnPropertyDescriptor(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 32 | static ReturnedValue method_getOwnPropertyNames(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 33 | static ReturnedValue method_getOwnPropertySymbols(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 34 | static ReturnedValue method_getPrototypeOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 35 | static ReturnedValue method_is(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 36 | static ReturnedValue method_isExtensible(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 37 | static ReturnedValue method_isFrozen(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 38 | static ReturnedValue method_isSealed(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 39 | static ReturnedValue method_keys(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 40 | static ReturnedValue method_preventExtensions(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 41 | static ReturnedValue method_seal(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 42 | static ReturnedValue method_setPrototypeOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 43 | - | |
| 44 | static ReturnedValue method_toString(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 45 | static ReturnedValue method_toLocaleString(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 46 | static ReturnedValue method_valueOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 47 | static ReturnedValue method_hasOwnProperty(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 48 | static ReturnedValue method_isPrototypeOf(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 49 | static ReturnedValue method_propertyIsEnumerable(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 50 | - | |
| 51 | static ReturnedValue method_defineGetter(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 52 | static ReturnedValue method_defineSetter(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 53 | - | |
| 54 | static ReturnedValue method_get_proto(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 55 | static ReturnedValue method_set_proto(const FunctionObject *, const Value *thisObject, const Value *argv, int argc); | - |
| 56 | - | |
| 57 | static void toPropertyDescriptor(ExecutionEngine *engine, const Value &v, Property *desc, PropertyAttributes *attrs); | - |
| 58 | static ReturnedValue fromPropertyDescriptor(ExecutionEngine *engine, const Property *desc, PropertyAttributes attrs); | - |
| 59 | - | |
| 60 | static Heap::ArrayObject *getOwnPropertyNames(ExecutionEngine *v4, const Value &o); | - |
| 61 | }; | - |
| 62 | - | |
| 63 | - | |
| 64 | } | - |
| 65 | - | |
| 66 | - | |
| Switch to Source code | Preprocessed file |