/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/ |
D | tst_qscriptvalue_generated_init.cpp | 27 QPair<QString, QScriptValue> tst_QScriptValue::initScriptValues(uint idx) in initScriptValues() 31 case 0: return QPair<QString, QScriptValue>("QScriptValue()", QScriptValue()); in initScriptValues() 32 …case 1: return QPair<QString, QScriptValue>("QScriptValue(QScriptValue::UndefinedValue)", QScriptV… in initScriptValues() 33 …case 2: return QPair<QString, QScriptValue>("QScriptValue(QScriptValue::NullValue)", QScriptValue(… in initScriptValues() 34 case 3: return QPair<QString, QScriptValue>("QScriptValue(true)", QScriptValue(true)); in initScriptValues() 35 case 4: return QPair<QString, QScriptValue>("QScriptValue(false)", QScriptValue(false)); in initScriptValues() 36 case 5: return QPair<QString, QScriptValue>("QScriptValue(int(122))", QScriptValue(int(122))); in initScriptValues() 37 case 6: return QPair<QString, QScriptValue>("QScriptValue(uint(124))", QScriptValue(uint(124))); in initScriptValues() 38 case 7: return QPair<QString, QScriptValue>("QScriptValue(0)", QScriptValue(0)); in initScriptValues() 39 case 8: return QPair<QString, QScriptValue>("QScriptValue(0.0)", QScriptValue(0.0)); in initScriptValues() [all …]
|
D | tst_qscriptvalue_generated_istype.cpp | 28 static const QString isValid_array[] = { 171 QSet<QString> expectedValue; in isValid_data() 176 QPair<QString, QScriptValue> testcase = initScriptValues(i); in isValid_data() 189 static const QString isBool_array[] = { 206 QSet<QString> expectedValue; in isBool_data() 211 QPair<QString, QScriptValue> testcase = initScriptValues(i); in isBool_data() 224 static const QString isBoolean_array[] = { 241 QSet<QString> expectedValue; in isBoolean_data() 246 QPair<QString, QScriptValue> testcase = initScriptValues(i); in isBoolean_data() 259 static const QString isNumber_array[] = { [all …]
|
D | tst_qscriptvalue_generated_totype.cpp | 26 static const QString toString_tagArray[] = { 163 static const QString toString_valueArray[] = { 236 QTest::addColumn<QString>("expected"); in toString_data() 240 QHash<QString, QString> expectedValue; in toString_data() 245 QPair<QString, QScriptValue> testcase = initScriptValues(i); in toString_data() 253 QFETCH(QString, expected); in toString() 258 static const QString toNumber_tagArray[] = { 418 QHash<QString, qsreal> expectedValue; in toNumber_data() 423 QPair<QString, QScriptValue> testcase = initScriptValues(i); in toNumber_data() 445 static const QString toBool_tagArray[] = { [all …]
|
D | tst_qscriptvalue_generated_comparison.cpp | 26 static const QString equals_array[] = { 1147 QSet<QString> equals; in equals_data() 1152 QPair<QString, QScriptValue> value1 = initScriptValues(i); in equals_data() 1154 QPair<QString, QScriptValue> value2 = initScriptValues(j); in equals_data() 1155 QString tag = QString::fromLatin1("%20 <=> %21").arg(value1.first, value2.first); in equals_data() 1184 static const QString strictlyEquals_array[] = { 1685 QSet<QString> equals; in strictlyEquals_data() 1690 QPair<QString, QScriptValue> value1 = initScriptValues(i); in strictlyEquals_data() 1692 QPair<QString, QScriptValue> value2 = initScriptValues(j); in strictlyEquals_data() 1693 QString tag = QString::fromLatin1("%20 <=> %21").arg(value1.first, value2.first); in strictlyEquals_data() [all …]
|
/external/webkit/Tools/DumpRenderTree/qt/ |
D | LayoutTestControllerQt.h | 103 QString counterValueForElementById(const QString& id); 123 void queueLoad(const QString& url, const QString& target = QString()); 124 …void queueLoadHTMLString(const QString& content, const QString& baseURL = QString(), const QString… 126 void queueLoadingScript(const QString& script); 127 void queueNonLoadingScript(const QString& script); 131 void grantDesktopNotificationPermission(const QString& origin); 133 bool checkDesktopNotificationPermission(const QString& origin); 134 void simulateDesktopNotificationClick(const QString& title); 137 QString pathToLocalResource(const QString& url); 139 QString encodeHostName(const QString& host); [all …]
|
D | WorkQueueItemQt.h | 50 LoadItem(const QString &url, const QString &target, QWebPage *page) in LoadItem() 57 QString url() const { return m_url; } in url() 58 QString target() const { return m_target; } in target() 63 QString m_url; 64 QString m_target; 69 LoadHTMLStringItem(const QString& content, const QString &baseURL, QWebPage *page) in LoadHTMLStringItem() 79 QString m_content; 80 QString m_baseURL; 85 …LoadAlternateHTMLStringItem(const QString& content, const QString& baseURL, const QString &failin… in LoadAlternateHTMLStringItem() 96 QString m_content; [all …]
|
D | LayoutTestControllerQt.cpp | 147 QString LayoutTestController::counterValueForElementById(const QString& id) in counterValueForElementById() 152 void LayoutTestController::setViewModeMediaFeature(const QString& mode) in setViewModeMediaFeature() 201 void LayoutTestController::grantDesktopNotificationPermission(const QString& origin) in grantDesktopNotificationPermission() 213 bool LayoutTestController::checkDesktopNotificationPermission(const QString& origin) in checkDesktopNotificationPermission() 218 void LayoutTestController::simulateDesktopNotificationClick(const QString& title) in simulateDesktopNotificationClick() 233 QString LayoutTestController::pathToLocalResource(const QString& url) in pathToLocalResource() 241 …QString res = DumpRenderTreeSupportQt::viewportAsText(m_drt->webPage(), deviceDPI, QSize(deviceWid… in dumpConfigurationForViewport() 310 void LayoutTestController::queueLoad(const QString& url, const QString& target) in queueLoad() 314 QString absoluteUrl = mainResourceUrl.resolved(QUrl(url)).toEncoded(); in queueLoad() 318 … LayoutTestController::queueLoadHTMLString(const QString& content, const QString& baseURL, const Q… in queueLoadHTMLString() [all …]
|
D | DumpRenderTreeQt.h | 94 QString persistentStoragePath() const { return m_persistentStoragePath; } in persistentStoragePath() 109 void setRedirectOutputFileName(const QString& fileName) { m_redirectOutputFileName = fileName; } in setRedirectOutputFileName() 110 void setRedirectErrorFileName(const QString& fileName) { m_redirectErrorFileName = fileName; } in setRedirectErrorFileName() 116 void processLine(const QString&); 119 void titleChanged(const QString &s); 121 void dumpDatabaseQuota(QWebFrame* frame, const QString& dbName); 123 void statusBarMessage(const QString& message); 141 QString dumpFramesAsText(QWebFrame* frame); 142 QString dumpBackForwardList(QWebPage* page); 143 QString dumpFrameScrollPosition(QWebFrame* frame); [all …]
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
D | DumpRenderTreeSupportQt.h | 90 static void executeCoreCommandByName(QWebPage* page, const QString& name, const QString& value); in Q_DECLARE_METATYPE() 91 static bool isCommandEnabled(QWebPage* page, const QString& name); in Q_DECLARE_METATYPE() 92 static bool findString(QWebPage* page, const QString& string, const QStringList& optionArray); in Q_DECLARE_METATYPE() 98 …static bool pauseAnimation(QWebFrame*, const QString& name, double time, const QString& elementId); in Q_DECLARE_METATYPE() 99 …static bool pauseTransitionOfProperty(QWebFrame*, const QString& name, double time, const QString&… in Q_DECLARE_METATYPE() 100 …static bool pauseSVGAnimation(QWebFrame*, const QString& animationId, double time, const QString& … in Q_DECLARE_METATYPE() 104 static void setDomainRelaxationForbiddenForURLScheme(bool forbidden, const QString& scheme); in Q_DECLARE_METATYPE() 107 static void setMediaType(QWebFrame* qframe, const QString& type); in Q_DECLARE_METATYPE() 115 static void evaluateScriptInIsolatedWorld(QWebFrame* frame, int worldID, const QString& script); in Q_DECLARE_METATYPE() 118 static void webInspectorExecuteScript(QWebPage* page, long callId, const QString& script); in Q_DECLARE_METATYPE() [all …]
|
/external/webkit/Source/WebKit/qt/Api/ |
D | qwebelement.h | 70 QWebElementCollection findAll(const QString &selectorQuery) const; 71 QWebElement findFirst(const QString &selectorQuery) const; 73 void setPlainText(const QString& text); 74 QString toPlainText() const; 76 void setOuterXml(const QString& markup); 77 QString toOuterXml() const; 79 void setInnerXml(const QString& markup); 80 QString toInnerXml() const; 82 void setAttribute(const QString& name, const QString& value); 83 void setAttributeNS(const QString& namespaceUri, const QString& name, const QString& value); [all …]
|
D | qwebelement.cpp | 238 QWebElementCollection QWebElement::findAll(const QString &selectorQuery) const in findAll() 253 QWebElement QWebElement::findFirst(const QString &selectorQuery) const in findFirst() 268 void QWebElement::setPlainText(const QString &text) in setPlainText() 284 QString QWebElement::toPlainText() const in toPlainText() 287 return QString(); in toPlainText() 300 void QWebElement::setOuterXml(const QString &markup) in setOuterXml() 323 QString QWebElement::toOuterXml() const in toOuterXml() 326 return QString(); in toOuterXml() 340 void QWebElement::setInnerXml(const QString &markup) in setInnerXml() 362 QString QWebElement::toInnerXml() const in toInnerXml() [all …]
|
D | qwebsettings.h | 101 void setFontFamily(FontFamily which, const QString &family); 102 QString fontFamily(FontFamily which) const; 116 void setDefaultTextEncoding(const QString &encoding); 117 QString defaultTextEncoding() const; 119 static void setIconDatabasePath(const QString &location); 120 static QString iconDatabasePath(); 133 static void setOfflineStoragePath(const QString& path); 134 static QString offlineStoragePath(); 138 static void setOfflineWebApplicationCachePath(const QString& path); 139 static QString offlineWebApplicationCachePath(); [all …]
|
D | qwebframe.h | 77 QString title() const; 79 QString linkText() const; 85 QString alternateText() const; // for img, area, input and applet 110 Q_PROPERTY(QString title READ title) 130 void setHtml(const QString &html, const QUrl &baseUrl = QUrl()); 131 …void setContent(const QByteArray &data, const QString &mimeType = QString(), const QUrl &baseUrl =… 133 void addToJavaScriptWindowObject(const QString &name, QObject *object); 134 …void addToJavaScriptWindowObject(const QString &name, QObject *object, QScriptEngine::ValueOwnersh… 135 QString toHtml() const; 136 QString toPlainText() const; [all …]
|
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptstring/ |
D | tst_qscriptstring.cpp | 69 QString ciao = QString::fromLatin1("ciao"); in test() 99 QString one = QString::fromLatin1("one"); in test() 100 QString two = QString::fromLatin1("two"); in test() 131 QTest::addColumn<QString>("input"); in toArrayIndex_data() 134 QTest::newRow("foo") << QString::fromLatin1("foo") << false << quint32(0xffffffff); in toArrayIndex_data() 135 QTest::newRow("empty") << QString::fromLatin1("") << false << quint32(0xffffffff); in toArrayIndex_data() 136 QTest::newRow("0") << QString::fromLatin1("0") << true << quint32(0); in toArrayIndex_data() 137 QTest::newRow("00") << QString::fromLatin1("00") << false << quint32(0xffffffff); in toArrayIndex_data() 138 QTest::newRow("1") << QString::fromLatin1("1") << true << quint32(1); in toArrayIndex_data() 139 QTest::newRow("123") << QString::fromLatin1("123") << true << quint32(123); in toArrayIndex_data() [all …]
|
/external/webkit/Source/JavaScriptCore/qt/benchmarks/qscriptengine/ |
D | tst_qscriptengine.cpp | 49 QFETCH(QString, code); in checkSyntax() 65 QTest::addColumn<QString>("code"); in evaluateString_data() 66 QTest::newRow("empty script") << QString::fromLatin1(""); in evaluateString_data() 67 QTest::newRow("number literal") << QString::fromLatin1("123"); in evaluateString_data() 68 QTest::newRow("string literal") << QString::fromLatin1("'ciao'"); in evaluateString_data() 69 QTest::newRow("regexp literal") << QString::fromLatin1("/foo/gim"); in evaluateString_data() 70 QTest::newRow("null literal") << QString::fromLatin1("null"); in evaluateString_data() 71 QTest::newRow("undefined literal") << QString::fromLatin1("undefined"); in evaluateString_data() 72 QTest::newRow("empty object literal") << QString::fromLatin1("{}"); in evaluateString_data() 73 QTest::newRow("this") << QString::fromLatin1("this"); in evaluateString_data() [all …]
|
/external/webkit/Tools/QtTestBrowser/ |
D | utils.cpp | 31 QString takeOptionValue(QStringList* arguments, int index) in takeOptionValue() 33 QString result; in takeOptionValue() 41 QString formatKeys(QList<QString> keys) in formatKeys() 43 QString result; in formatKeys() 50 QList<QString> enumToKeys(const QMetaObject o, const QString& name, const QString& strip) in enumToKeys() 52 QList<QString> list; in enumToKeys() 59 QString key(enumerator.valueToKey(i)); in enumToKeys() 67 void appQuit(int exitCode, const QString& msg) in appQuit() 78 QUrl urlFromUserInput(const QString& string) in urlFromUserInput() 80 QString input(string); in urlFromUserInput()
|
D | utils.h | 44 QString takeOptionValue(QStringList* arguments, int index); 45 QString formatKeys(QList<QString> keys); 46 QList<QString> enumToKeys(const QMetaObject o, const QString& name, const QString& strip); 48 NO_RETURN void appQuit(int status, const QString& msg = QString()); 50 QUrl urlFromUserInput(const QString& input);
|
/external/webkit/Tools/MiniBrowser/qt/ |
D | utils.cpp | 31 QString takeOptionValue(QStringList* arguments, int index) in takeOptionValue() 33 QString result; in takeOptionValue() 41 QString formatKeys(QList<QString> keys) in formatKeys() 43 QString result; in formatKeys() 50 QList<QString> enumToKeys(const QMetaObject o, const QString& name, const QString& strip) in enumToKeys() 52 QList<QString> list; in enumToKeys() 59 QString key(enumerator.valueToKey(i)); in enumToKeys() 67 void appQuit(int exitCode, const QString& msg) in appQuit() 78 QUrl urlFromUserInput(const QString& string) in urlFromUserInput() 80 QString input(string); in urlFromUserInput()
|
D | utils.h | 45 QString takeOptionValue(QStringList* arguments, int index); 46 QString formatKeys(QList<QString> keys); 47 QList<QString> enumToKeys(const QMetaObject, const QString&, const QString&); 49 NO_RETURN void appQuit(int status, const QString& msg = QString()); 51 QUrl urlFromUserInput(const QString& input);
|
/external/qemu/ |
D | qstring.h | 19 typedef struct QString { struct 24 } QString; argument 26 QString *qstring_new(void); 27 QString *qstring_from_str(const char *str); 28 QString *qstring_from_substr(const char *str, int start, int end); 29 const char *qstring_get_str(const QString *qstring); 30 void qstring_append_int(QString *qstring, int64_t value); 31 void qstring_append(QString *qstring, const char *str); 32 void qstring_append_chr(QString *qstring, int c); 33 QString *qobject_to_qstring(const QObject *obj);
|
D | qstring.c | 29 QString *qstring_new(void) in qstring_new() 39 QString *qstring_from_substr(const char *str, int start, int end) in qstring_from_substr() 41 QString *qstring; in qstring_from_substr() 62 QString *qstring_from_str(const char *str) in qstring_from_str() 67 static void capacity_increase(QString *qstring, size_t len) in capacity_increase() 79 void qstring_append(QString *qstring, const char *str) in qstring_append() 89 void qstring_append_int(QString *qstring, int64_t value) in qstring_append_int() 100 void qstring_append_chr(QString *qstring, int c) in qstring_append_chr() 110 QString *qobject_to_qstring(const QObject *obj) in qobject_to_qstring() 115 return container_of(obj, QString, base); in qobject_to_qstring() [all …]
|
/external/webkit/Source/WebKit/qt/tests/qwebpage/ |
D | tst_qwebpage.cpp | 213 …m_view->setHtml(QString("<html><body><form name='tstform' action='data:text/html,foo'method='get'>" in acceptNavigationRequest() 223 QCOMPARE(m_view->page()->mainFrame()->toPlainText(), QString("foo?")); in acceptNavigationRequest() 262 m_view->setHtml(QString("<html><body>test</body></html>"), QUrl()); in infiniteLoopJS() 281 m_view->setHtml(QString("<html><body>test</body></html>"), QUrl()); in geolocationRequestJS() 326 …virtual void javaScriptConsoleMessage(const QString& message, int lineNumber, const QString& sourc… in javaScriptConsoleMessage() 383 …m_view->setUrl(QString("data:text/html,<a href=\"data:text/html,Reached\" target=\"_blank\">Click … in acceptNavigationRequestWithNewWindow() 398 QCOMPARE(n.request.url().toString(), QString("data:text/html,Reached")); in acceptNavigationRequestWithNewWindow() 556 QString path = QDir::currentPath(); in database() 566 QString dbFileName = path + "Databases.db"; in database() 572 QSignalSpy spy(m_page, SIGNAL(databaseQuotaExceeded(QWebFrame*,QString))); in database() [all …]
|
/external/webkit/Source/WebKit/qt/declarative/ |
D | qdeclarativewebview_p.h | 54 QString chooseFile(QWebFrame *originatingFrame, const QString& oldFile); 55 void javaScriptAlert(QWebFrame *originatingFrame, const QString& msg); 56 bool javaScriptConfirm(QWebFrame *originatingFrame, const QString& msg); 57 …avaScriptPrompt(QWebFrame *originatingFrame, const QString& msg, const QString& defaultValue, QStr… 94 Q_PROPERTY(QString title READ title NOTIFY titleChanged) 96 Q_PROPERTY(QString statusText READ statusText NOTIFY statusTextChanged) 98 Q_PROPERTY(QString html READ html WRITE setHtml NOTIFY htmlChanged) 137 QString title() const; 155 QString statusText() const; 171 QString html() const; [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | 2006-12-16-InlineAsmCrash.ll | 12 …*, i1, %struct.QImageIOHandler*, i32, float, %struct.QString, %struct.QString, i32, %struct.QStrin… 19 %struct.QString = type { %"struct.QString::Data"* } 20 %"struct.QString::Data" = type { %struct.QBasicAtomic, i32, i32, i16*, i8, i8, [1 x i16] } 24 …%tmp = getelementptr %struct.QImageWriterPrivate* %tmp62, i32 0, i32 9 ; <%struct.QString*> [#use… 25 …%tmp75 = call %struct.QString* @_ZN7QStringaSERKS_( %struct.QString* %tmp, %struct.QString* null )… 30 declare %struct.QString* @_ZN7QStringaSERKS_(%struct.QString*, %struct.QString*)
|
/external/webkit/Source/WebKit/qt/tests/qwebelement/ |
D | tst_qwebelement.cpp | 104 QString html = "<head></head><body><p>test</p></body>"; in textHtml() 109 QCOMPARE(body.toPlainText(), QString("test")); in textHtml() 117 QString html = "<body><p>first para</p><p>second para</p></body>"; in simpleCollection() 123 QCOMPARE(list.at(0).toPlainText(), QString("first para")); in simpleCollection() 124 QCOMPARE(list.at(1).toPlainText(), QString("second para")); in simpleCollection() 140 QCOMPARE(body.attribute("title"), QString("test title")); in attributes() 147 QCOMPARE(body.attribute("does-not-exist", "testvalue"), QString("testvalue")); in attributes() 152 QString content = "<html xmlns=\"http://www.w3.org/1999/xhtml\" " in attributesNS() 163 …QCOMPARE(svg.attributeNS("http://www.w3.org/2000/svg", "foobar", "defaultblah"), QString("defaultb… in attributesNS() 166 … QCOMPARE(svg.attributeNS("http://www.w3.org/2000/svg", "foobar", "defaultblah"), QString("true")); in attributesNS() [all …]
|