Home
last modified time | relevance | path

Searched refs:toInt (Results 1 – 25 of 92) sorted by relevance

1234

/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/jgss/
DGSSUtilsTest.java29 int j = GSSUtils.toInt(bytes, 0 , 1); in testGSSUtils_getBytes_and_getInt()
34 j = GSSUtils.toInt(bytes, 0 , 1); in testGSSUtils_getBytes_and_getInt()
39 j = GSSUtils.toInt(bytes, 0, 2); in testGSSUtils_getBytes_and_getInt()
44 j = GSSUtils.toInt(bytes, 0, 2); in testGSSUtils_getBytes_and_getInt()
49 j = GSSUtils.toInt(bytes, 0 , 3); in testGSSUtils_getBytes_and_getInt()
54 j = GSSUtils.toInt(bytes, 0, 4); in testGSSUtils_getBytes_and_getInt()
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dpeers.cpp188 int type = ctx_item->data(peer_role_type).toInt(); in context_menu()
195 config_methods = var.toInt(); in context_menu()
200 method = (enum selected_method) var.toInt(); in context_menu()
314 int peer_type = ctx_item->data(peer_role_type).toInt(); in enter_pin()
442 int type = item->data(peer_role_type).toInt(); in add_station()
538 str.section('=', 1).toInt(0, 0); in add_p2p_group_client()
608 id = (*it).mid(pos).toInt(); in add_bss()
807 if (item->data(peer_role_type).toInt() == type) in find_addr_type()
875 if (item == NULL || item->data(peer_role_type).toInt() != in event_notify()
893 if (item && item->data(peer_role_type).toInt() == in event_notify()
[all …]
/external/webkit/Source/WebCore/html/
DDateComponents.cpp112 static bool toInt(const UChar* src, unsigned length, unsigned parseStart, unsigned parseLength, int… in toInt() function
140 if (!toInt(src, length, start, digitsLength, year)) in parseYear()
309 if (!toInt(src, length, index, 2, hour) || hour < 0 || hour > 23) in parseTimeZone()
317 if (!toInt(src, length, index, 2, minute) || minute < 0 || minute > 59) in parseTimeZone()
344 if (!toInt(src, length, index, 2, month) || month < 1 || month > 12) in parseMonth()
369 if (!toInt(src, length, index, 2, day) || day < 1 || day > maxDayOfMonth(m_year, m_month)) in parseDate()
397 if (!toInt(src, length, index, 2, week) || week < 1 || week > maxWeekNumberInYear()) in parseWeek()
411 if (!toInt(src, length, start, 2, hour) || hour < 0 || hour > 23) in parseTime()
421 if (!toInt(src, length, index, 2, minute) || minute < 0 || minute > 59) in parseTime()
430 if (toInt(src, length, index + 1, 2, second) && second >= 0 && second <= 59) { in parseTime()
[all …]
DHTMLTableCellElement.cpp92 m_rowSpan = max(1, min(attr->value().toInt(), maxRowspan)); in parseMappedAttribute()
96 m_colSpan = max(1, attr->value().toInt()); in parseMappedAttribute()
107 int widthInt = attr->value().toInt(); in parseMappedAttribute()
113 int heightInt = attr->value().toInt(); in parseMappedAttribute()
DHTMLTableColElement.cpp63 m_span = !attr->isNull() ? attr->value().toInt() : 1; in parseMappedAttribute()
71 int newWidth = width().toInt(); in parseMappedAttribute()
DHTMLMarqueeElement.cpp134 int scrollAmount = fastGetAttribute(scrollamountAttr).toInt(&ok); in scrollAmount()
149 int scrollDelay = fastGetAttribute(scrolldelayAttr).toInt(&ok); in scrollDelay()
164 int loopValue = fastGetAttribute(loopAttr).toInt(&ok); in loop()
DHTMLHRElement.cpp79 int v = attr->value().toInt(&ok); in parseMappedAttribute()
100 int size = si->toInt(); in parseMappedAttribute()
DHTMLTextAreaElement.cpp119 int rows = attr->value().toInt(); in parseMappedAttribute()
128 int cols = attr->value().toInt(); in parseMappedAttribute()
382 int value = getAttribute(maxlengthAttr).string().toInt(&ok); in maxLength()
DHTMLFrameElementBase.cpp124 m_marginWidth = attr->value().toInt(); in parseMappedAttribute()
127 m_marginHeight = attr->value().toInt(); in parseMappedAttribute()
DHTMLImageElement.cpp115 addCSSLength(attr, CSSPropertyBorderWidth, attr->value().toInt() ? attr->value() : "0"); in parseMappedAttribute()
265 int width = getAttribute(widthAttr).toInt(&ok); in width()
288 int height = getAttribute(heightAttr).toInt(&ok); in height()
DHTMLDataGridCellElement.cpp90 return getAttribute(progressAttr).toInt(); in progress()
DHTMLFrameElement.cpp86 m_frameBorder = attr->value().toInt(); in parseMappedAttribute()
DHTMLFrameSetElement.cpp89 if (attr->value().toInt() == 0) { in parseMappedAttribute()
102 m_border = attr->value().toInt(); in parseMappedAttribute()
DHTMLOListElement.cpp78 int start = attr->value().toInt(&canParse); in parseMappedAttribute()
/external/webkit/Source/WebKit/qt/tests/qdeclarativewebview/
Dtst_qdeclarativewebview.cpp110 QCOMPARE(wv->property("preferredWidth").toInt(), 0); in basicProperties()
112 QCOMPARE(wv->property("preferredHeight").toInt(), 0); in basicProperties()
114 QCOMPARE(wv->property("status").toInt(), int(QDeclarativeWebView::Ready)); in basicProperties()
130 QCOMPARE(wv->property("pixelCacheSize").toInt(), 0); in basicProperties()
188 QCOMPARE(wv->property("status").toInt(), int(QDeclarativeWebView::Ready)); in historyNav()
204 QCOMPARE(wv->property("status").toInt(), int(QDeclarativeWebView::Ready)); in historyNav()
218 QCOMPARE(wv->property("status").toInt(), int(QDeclarativeWebView::Ready)); in historyNav()
242 QCOMPARE(callEvaluateJavaScript(wv, "123").toInt(), 123); in javaScript()
264 QCOMPARE(wv->property("status").toInt(), int(QDeclarativeWebView::Error)); in loadError()
348 QCOMPARE(wv->property("prefWidth").toInt(), 600); in preferredWidthTest()
[all …]
/external/webkit/Source/WebCore/wml/
DWMLTimerElement.cpp63 if (value().toInt() <= 0) in insertedIntoDocument()
127 interval = pageState->getVariable(m_name).toInt(); in start()
131 interval = value().toInt(); in start()
/external/webkit/Source/WebKit/qt/tests/qwebpage/
Dtst_qwebpage.cpp286 QVERIFY(empty.type() == QVariant::Double && empty.toInt() != 0); in geolocationRequestJS()
294 QVERIFY(empty.type() == QVariant::Double && empty.toInt() != 1); in geolocationRequestJS()
963 … return mainFrame()->evaluateJavaScript("window.getSelection().getRangeAt(0).startOffset").toInt(); in selectionStartOffset()
967 … return mainFrame()->evaluateJavaScript("window.getSelection().getRangeAt(0).endOffset").toInt(); in selectionEndOffset()
1407 …uest.attribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferNetwork).toInt(), in requestCache()
1409 …uest.attribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferNetwork).toInt(), in requestCache()
1411 …uest.attribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferNetwork).toInt(), in requestCache()
1617 QCOMPARE(20, variant.toInt()); in inputMethods()
1626 int anchorPosition = variant.toInt(); in inputMethods()
1631 int cursorPosition = variant.toInt(); in inputMethods()
[all …]
/external/webkit/Tools/MiniBrowser/qt/
DMiniBrowserApplication.cpp89 m_robotTimeoutSeconds = takeOptionValue(&args, robotTimeoutIndex).toInt(); in handleUserOptions()
93 m_robotExtraTimeSeconds = takeOptionValue(&args, robotExtraTimeIndex).toInt(); in handleUserOptions()
/external/webkit/Source/WebKit/qt/tests/hybridPixmap/
Dwidget.cpp50 …>webView->page()->mainFrame()->findFirstElement("#img1").evaluateJavaScript("this.width").toInt()); in completeTest()
51 …>webView->page()->mainFrame()->findFirstElement("#img2").evaluateJavaScript("this.width").toInt()); in completeTest()
/external/webkit/Source/WebKit/qt/tests/qwebframe/
Dtst_qwebframe.cpp780 QCOMPARE(ret.toInt(), 123); in getSetStaticProperty()
809 QCOMPARE(vl.at(0).toInt(), 123); in getSetStaticProperty()
823 QCOMPARE(vm.value("a").toInt(), 123); in getSetStaticProperty()
942 QCOMPARE(v.toInt(), 123); in getSetStaticProperty()
1065 QCOMPARE(m_myObject->qtFunctionActuals().at(0).toInt(), 123); in Q_DECLARE_METATYPE()
1071 QCOMPARE(m_myObject->qtFunctionActuals().at(0).toInt(), 123); in Q_DECLARE_METATYPE()
1133 QCOMPARE(m_myObject->qtFunctionActuals().at(0).toInt(), 123); in Q_DECLARE_METATYPE()
1134 QCOMPARE(m_myObject->qtFunctionActuals().at(1).toInt(), 456); in Q_DECLARE_METATYPE()
1155 QCOMPARE(m_myObject->qtFunctionActuals().at(0).toInt(), 123); in Q_DECLARE_METATYPE()
1156 QCOMPARE(m_myObject->qtFunctionActuals().at(1).toInt(), 456); in Q_DECLARE_METATYPE()
[all …]
/external/webkit/Tools/QtTestBrowser/
Dmain.cpp298 … windowOptions.remoteInspectorPort = takeOptionValue(&args, remoteInspectorPortIndex).toInt(); in handleUserOptions()
317 m_robotTimeoutSeconds = takeOptionValue(&args, robotTimeoutIndex).toInt(); in handleUserOptions()
321 m_robotExtraTimeSeconds = takeOptionValue(&args, robotExtraTimeIndex).toInt(); in handleUserOptions()
/external/webkit/Source/WebCore/dom/
DInputElement.cpp219 data.setSize(attribute->isNull() ? InputElement::s_defaultSize : attribute->value().toInt()); in parseSizeAttribute()
227 … int maxLength = attribute->isNull() ? InputElement::s_maximumLength : attribute->value().toInt(); in parseMaxLengthAttribute()
401 unsigned leftLen = String(&formatCode).toInt(); in validateInputMask()
/external/webkit/Source/WebCore/platform/network/qt/
DQNetworkReplyHandler.cpp406 int httpStatusCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); in shouldIgnoreHttpError()
437 …pStatusCode = m_replyWrapper->reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); in finish()
480 … statusCode = m_replyWrapper->reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); in sendResponseIfNeeded()
514 … statusCode = m_replyWrapper->reply()->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); in redirect()
/external/webkit/Source/WebCore/css/
DCSSSelector.cpp790 m_a = argument.substring(0, n).toInt(); in parseNth()
794 m_a = argument.substring(0, n).toInt(); in parseNth()
798 m_b = argument.substring(p + 1, argument.length() - p - 1).toInt(); in parseNth()
802 m_b = -argument.substring(p + 1, argument.length() - p - 1).toInt(); in parseNth()
805 m_b = argument.toInt(); in parseNth()
/external/webkit/Source/WebKit2/Platform/CoreIPC/
DMessageID.h160 unsigned toInt() const { return m_messageID; } in toInt() function

1234