Home | History | Annotate | Download | only in api

Lines Matching refs:m_engine

171     QScriptEnginePtr m_engine;
212 JSValueUnprotect(*m_engine, u.m_value);
259 , m_engine(const_cast<QScriptEnginePrivate*>(engine))
263 JSValueProtect(*m_engine, u.m_value);
268 , m_engine(const_cast<QScriptEnginePrivate*>(engine))
269 , u(m_engine->makeJSValue(value))
272 JSValueProtect(*m_engine, u.m_value);
277 , m_engine(const_cast<QScriptEnginePrivate*>(engine))
278 , u(m_engine->makeJSValue(value))
281 JSValueProtect(*m_engine, u.m_value);
286 , m_engine(const_cast<QScriptEnginePrivate*>(engine))
287 , u(m_engine->makeJSValue(value))
290 JSValueProtect(*m_engine, u.m_value);
295 , m_engine(const_cast<QScriptEnginePrivate*>(engine))
296 , u(m_engine->makeJSValue(value))
299 JSValueProtect(*m_engine, u.m_value);
304 , m_engine(const_cast<QScriptEnginePrivate*>(engine))
305 , u(m_engine->makeJSValue(value))
308 JSValueProtect(*m_engine, u.m_value);
313 , m_engine(const_cast<QScriptEnginePrivate*>(engine))
318 JSValueProtect(*m_engine, u.m_value);
323 , m_engine(const_cast<QScriptEnginePrivate*>(engine))
328 JSValueProtect(*m_engine, object);
343 return JSValueIsBoolean(*m_engine, *this);
359 return JSValueIsNumber(*m_engine, *this);
375 return JSValueIsNull(*m_engine, *this);
391 return JSValueIsString(*m_engine, *this);
407 return JSValueIsUndefined(*m_engine, *this);
421 return m_engine->isError(*this);
448 return JSObjectIsFunction(*m_engine, *this);
462 return m_engine->isArray(*this);
476 return m_engine->isDate(*this);
501 JSRetainPtr<JSStringRef> ptr(Adopt, JSValueToStringCopy(*m_engine, *this, &exception));
502 m_engine->setException(exception);
518 qsreal result = JSValueToNumber(*m_engine, *this, &exception);
519 m_engine->setException(exception);
553 return JSValueToBoolean(*m_engine, *this);
651 JSObjectRef object = JSValueToObject(*m_engine, *this, &exception);
653 return new QScriptValuePrivate(m_engine.constData(), object);
655 m_engine->setException(exception, QScriptEnginePrivate::NotNullException);
676 return toObject(m_engine.data());
688 qsreal t = JSValueToNumber(*m_engine, *this, &exception);
691 m_engine->setException(exception, QScriptEnginePrivate::NotNullException);
703 JSValueRef prototype = JSObjectGetPrototype(*m_engine, *this);
704 if (JSValueIsNull(*m_engine, prototype))
722 JSObjectSetPrototype(*m_engine, *this, *prototype);
723 JSValueRef proto = JSObjectGetPrototype(*m_engine, *this);
724 if (!JSValueIsStrictEqual(*m_engine, proto, *prototype))
792 bool result = JSValueIsEqual(*m_engine, *this, *other, &exception);
793 m_engine->setException(exception);
803 return JSValueIsStrictEqual(*m_engine, *this, *other);
810 return JSValueIsStrictEqual(*m_engine, *this, *other);
817 return JSValueIsStrictEqual(*m_engine, *this, *other);
825 return JSValueIsStrictEqual(*m_engine, *this, *other);
839 bool result = JSValueIsInstanceOfConstructor(*m_engine, *this, *other, &exception);
840 m_engine->setException(exception);
875 m_engine = engine;
878 JSValueProtect(*m_engine, value);
904 return JSObjectGetPropertyAtIndex(*m_engine, *this, property, exception);
913 return JSObjectGetProperty(*m_engine, *this, property, exception);
937 return m_engine->objectHasOwnProperty(*this, property);
958 m_engine->setException(exception, QScriptEnginePrivate::NotNullException);
961 if (JSValueIsUndefined(*m_engine, value))
993 JSObjectSetProperty(*m_engine, *this, propertyName.get(), value, flags, exception);
996 JSObjectSetPropertyAtIndex(*m_engine, *this, property, value, exception);
1006 JSObjectSetProperty(*m_engine, *this, property, value, flags, exception);
1018 JSObjectDeleteProperty(*m_engine, *this, propertyName.get(), exception);
1028 JSObjectDeleteProperty(*m_engine, *this, property, exception);
1044 m_engine->setException(exception);
1047 if (m_engine != value->m_engine) {
1053 m_engine->setException(exception);
1079 JSObjectRef globalObject = JSContextGetGlobalObject(*m_engine);
1080 JSValueRef objectConstructor = JSObjectGetProperty(*m_engine, globalObject, objectName, &exception);
1081 Q_ASSERT(JSValueIsObject(*m_engine, objectConstructor));
1082 JSValueRef propertyDescriptorGetter = JSObjectGetProperty(*m_engine, const_cast<JSObjectRef>(objectConstructor), propertyDescriptorName, &exception);
1083 Q_ASSERT(JSValueIsObject(*m_engine, propertyDescriptorGetter));
1085 JSValueRef arguments[] = { *this, JSValueMakeString(*m_engine, name) };
1087 = const_cast<JSObjectRef>(JSObjectCallAsFunction(*m_engine,
1098 if (!JSValueIsObject(*m_engine, propertyDescriptor)) {
1102 || ((proto = const_cast<JSObjectRef>(JSObjectGetPrototype(*m_engine, *this))) && JSValueIsNull(*m_engine, proto))) {
1113 bool readOnly = !JSValueToBoolean(*m_engine, JSObjectGetProperty(*m_engine, propertyDescriptor, writableName, &exception));
1116 bool undeletable = !JSValueToBoolean(*m_engine, JSObjectGetProperty(*m_engine, propertyDescriptor, configurableName, &exception));
1119 bool skipInEnum = !JSValueToBoolean(*m_engine, JSObjectGetProperty(*m_engine, propertyDescriptor, enumerableName, &exception));
1150 JSValueRef result = JSObjectCallAsFunction(*m_engine, *this, /* thisObject */ 0, argc, argv.constData(), &exception);
1152 m_engine->setException(exception);
1166 // As long as m_engine is an autoinitializated pointer we can safely return it without
1168 return m_engine.data();
1192 if (!JSValueIsObject(*m_engine, *this)) {