toInt 808 Source/core/accessibility/AXNodeObject.cpp return getAttribute(aria_levelAttr).toInt(); toInt 839 Source/core/accessibility/AXNodeObject.cpp return ariaLevel.toInt(); toInt 851 Source/core/css/CSSSelector.cpp m_a = argument.substring(0, n).toInt(); toInt 855 Source/core/css/CSSSelector.cpp m_a = argument.substring(0, n).toInt(); toInt 859 Source/core/css/CSSSelector.cpp m_b = argument.substring(p + 1, argument.length() - p - 1).toInt(); toInt 863 Source/core/css/CSSSelector.cpp m_b = -argument.substring(p + 1, argument.length() - p - 1).toInt(); toInt 866 Source/core/css/CSSSelector.cpp m_b = argument.toInt(); toInt 2670 Source/core/dom/Element.cpp return getAttribute(attributeName).string().toInt(); toInt 242 Source/core/html/HTMLCanvasElement.cpp int w = getAttribute(widthAttr).toInt(&ok); toInt 246 Source/core/html/HTMLCanvasElement.cpp int h = getAttribute(heightAttr).toInt(&ok); toInt 77 Source/core/html/HTMLFrameElement.cpp m_frameBorder = value.toInt(); toInt 115 Source/core/html/HTMLFrameElementBase.cpp m_marginWidth = value.toInt(); toInt 118 Source/core/html/HTMLFrameElementBase.cpp m_marginHeight = value.toInt(); toInt 104 Source/core/html/HTMLFrameSetElement.cpp m_border = value.toInt(); toInt 69 Source/core/html/HTMLHRElement.cpp int v = value.toInt(&ok); toInt 88 Source/core/html/HTMLHRElement.cpp int size = si->toInt(); toInt 67 Source/core/html/HTMLIFrameElement.cpp if (!value.toInt()) { toInt 255 Source/core/html/HTMLImageElement.cpp int width = getAttribute(widthAttr).toInt(&ok); toInt 278 Source/core/html/HTMLImageElement.cpp int height = getAttribute(heightAttr).toInt(&ok); toInt 663 Source/core/html/HTMLInputElement.cpp int valueAsInteger = value.toInt(); toInt 678 Source/core/html/HTMLInputElement.cpp m_maxResults = !value.isNull() ? std::min(value.toInt(), maxSavedResults) : -1; toInt 118 Source/core/html/HTMLLIElement.cpp int requestedValue = value.toInt(&valueOK); toInt 132 Source/core/html/HTMLMarqueeElement.cpp int scrollAmount = fastGetAttribute(scrollamountAttr).toInt(&ok); toInt 147 Source/core/html/HTMLMarqueeElement.cpp int scrollDelay = fastGetAttribute(scrolldelayAttr).toInt(&ok); toInt 162 Source/core/html/HTMLMarqueeElement.cpp int loopValue = fastGetAttribute(loopAttr).toInt(&ok); toInt 80 Source/core/html/HTMLOListElement.cpp int parsedStart = value.toInt(&canParse); toInt 321 Source/core/html/HTMLSelectElement.cpp int size = value.toInt(); toInt 59 Source/core/html/HTMLTableCellElement.cpp return max(1, colSpanValue.toInt()); toInt 65 Source/core/html/HTMLTableCellElement.cpp return max(1, min(rowSpanValue.toInt(), maxRowspan)); toInt 93 Source/core/html/HTMLTableCellElement.cpp int widthInt = value.toInt(); toInt 99 Source/core/html/HTMLTableCellElement.cpp int heightInt = value.toInt(); toInt 67 Source/core/html/HTMLTableColElement.cpp int newSpan = value.toInt(); toInt 77 Source/core/html/HTMLTableColElement.cpp int newWidth = width().toInt(); toInt 387 Source/core/html/HTMLTableElement.cpp m_padding = max(0, value.toInt()); toInt 159 Source/core/html/HTMLTextAreaElement.cpp int rows = value.toInt(); toInt 168 Source/core/html/HTMLTextAreaElement.cpp int cols = value.toInt(); toInt 433 Source/core/html/HTMLTextAreaElement.cpp int value = getAttribute(maxlengthAttr).string().toInt(&ok); toInt 264 Source/core/html/MediaFragmentURIParser.cpp int value1 = digits1.toInt(); toInt 291 Source/core/html/MediaFragmentURIParser.cpp int value2 = digits2.toInt(); toInt 305 Source/core/html/MediaFragmentURIParser.cpp value3 = digits3.toInt(); toInt 115 Source/core/html/forms/TypeAhead.cpp int index = m_buffer.toString().toInt(&ok); toInt 213 Source/core/html/shadow/DateTimeNumericFieldElement.cpp return m_typeAheadBuffer.toString().toInt(); toInt 288 Source/core/inspector/InspectorLayerTreeAgent.cpp int id = layerId.toInt(&ok); toInt 130 Source/core/page/WindowFeatures.cpp value = valueString.toInt(); toInt 142 Source/core/rendering/RenderGeometryMap.cpp fprintf(stderr, "RenderGeometryMap::dumpSteps accumulatedOffset=%d,%d\n", m_accumulatedOffset.width().toInt(), m_accumulatedOffset.height().toInt()); toInt 144 Source/core/rendering/RenderGeometryMap.cpp fprintf(stderr, " [%d] %s: offset=%d,%d", i, m_mapping[i].m_renderer->debugName().ascii().data(), m_mapping[i].m_offset.width().toInt(), m_mapping[i].m_offset.height().toInt()); toInt 325 Source/core/rendering/RenderTable.cpp ASSERT(logicalWidth().toInt() >= minPreferredLogicalWidth().toInt()); toInt 88 Source/modules/websockets/WebSocketDeflateFramer.cpp windowBits = parameter->value.toInt(); toInt 448 Source/modules/websockets/WebSocketHandshake.cpp statusCode = statusCodeString.toInt(&ok); toInt 129 Source/platform/DateComponents.cpp if (!toInt(src, start, digitsLength, year)) toInt 298 Source/platform/DateComponents.cpp if (!toInt(src, index, 2, hour) || hour < 0 || hour > 23) toInt 306 Source/platform/DateComponents.cpp if (!toInt(src, index, 2, minute) || minute < 0 || minute > 59) toInt 332 Source/platform/DateComponents.cpp if (!toInt(src, index, 2, month) || month < 1 || month > 12) toInt 356 Source/platform/DateComponents.cpp if (!toInt(src, index, 2, day) || day < 1 || day > maxDayOfMonth(m_year, m_month)) toInt 383 Source/platform/DateComponents.cpp if (!toInt(src, index, 2, week) || week < minimumWeekNumber || week > maxWeekNumberInYear()) toInt 396 Source/platform/DateComponents.cpp if (!toInt(src, start, 2, hour) || hour < 0 || hour > 23) toInt 406 Source/platform/DateComponents.cpp if (!toInt(src, index, 2, minute) || minute < 0 || minute > 59) toInt 415 Source/platform/DateComponents.cpp if (toInt(src, index + 1, 2, second) && second >= 0 && second <= 59) { toInt 425 Source/platform/DateComponents.cpp ok = toInt(src, index, 1, millisecond); toInt 428 Source/platform/DateComponents.cpp ok = toInt(src, index, 2, millisecond); toInt 431 Source/platform/DateComponents.cpp ok = toInt(src, index, 3, millisecond); toInt 94 Source/platform/LayoutUnit.h int toInt() const { return m_value / kFixedPointDenominator; } toInt 106 Source/platform/LayoutUnit.h unsigned toUnsigned() const { REPORT_OVERFLOW(m_value >= 0); return toInt(); } toInt 108 Source/platform/LayoutUnit.h operator int() const { return toInt(); } toInt 144 Source/platform/LayoutUnit.h return toInt(); toInt 159 Source/platform/LayoutUnit.h return toInt(); toInt 793 Source/platform/LayoutUnit.h return value.toInt() == value; toInt 43 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(INT_MIN).toInt(), intMinForLayoutUnit); toInt 44 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(INT_MIN / 2).toInt(), intMinForLayoutUnit); toInt 45 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMinForLayoutUnit - 1).toInt(), intMinForLayoutUnit); toInt 46 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMinForLayoutUnit).toInt(), intMinForLayoutUnit); toInt 47 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMinForLayoutUnit + 1).toInt(), intMinForLayoutUnit + 1); toInt 48 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMinForLayoutUnit / 2).toInt(), intMinForLayoutUnit / 2); toInt 49 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-10000).toInt(), -10000); toInt 50 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-1000).toInt(), -1000); toInt 51 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-100).toInt(), -100); toInt 52 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-10).toInt(), -10); toInt 53 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(-1).toInt(), -1); toInt 54 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(0).toInt(), 0); toInt 55 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(1).toInt(), 1); toInt 56 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(100).toInt(), 100); toInt 57 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(1000).toInt(), 1000); toInt 58 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(10000).toInt(), 10000); toInt 59 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMaxForLayoutUnit / 2).toInt(), intMaxForLayoutUnit / 2); toInt 60 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMaxForLayoutUnit - 1).toInt(), intMaxForLayoutUnit - 1); toInt 61 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMaxForLayoutUnit).toInt(), intMaxForLayoutUnit); toInt 62 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(intMaxForLayoutUnit + 1).toInt(), intMaxForLayoutUnit); toInt 63 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(INT_MAX / 2).toInt(), intMaxForLayoutUnit); toInt 64 Source/platform/LayoutUnitTest.cpp ASSERT_EQ(LayoutUnit(INT_MAX).toInt(), intMaxForLayoutUnit); toInt 131 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(1) * LayoutUnit(1)).toInt(), 1); toInt 132 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(1) * LayoutUnit(2)).toInt(), 2); toInt 133 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(2) * LayoutUnit(1)).toInt(), 2); toInt 134 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(2) * LayoutUnit(0.5)).toInt(), 1); toInt 135 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(0.5) * LayoutUnit(2)).toInt(), 1); toInt 136 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(100) * LayoutUnit(1)).toInt(), 100); toInt 138 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-1) * LayoutUnit(1)).toInt(), -1); toInt 139 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-1) * LayoutUnit(2)).toInt(), -2); toInt 140 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-2) * LayoutUnit(1)).toInt(), -2); toInt 141 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-2) * LayoutUnit(0.5)).toInt(), -1); toInt 142 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-0.5) * LayoutUnit(2)).toInt(), -1); toInt 143 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-100) * LayoutUnit(1)).toInt(), -100); toInt 145 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-1) * LayoutUnit(-1)).toInt(), 1); toInt 146 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-1) * LayoutUnit(-2)).toInt(), 2); toInt 147 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-2) * LayoutUnit(-1)).toInt(), 2); toInt 148 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-2) * LayoutUnit(-0.5)).toInt(), 1); toInt 149 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-0.5) * LayoutUnit(-2)).toInt(), 1); toInt 150 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-100) * LayoutUnit(-1)).toInt(), 100); toInt 157 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(aHundredSizeT) * LayoutUnit(1)).toInt(), 100); toInt 158 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((aHundredSizeT * LayoutUnit(4)).toInt(), 400); toInt 159 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(4) * aHundredSizeT).toInt(), 400); toInt 162 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(quarterMax) * LayoutUnit(2)).toInt(), quarterMax * 2); toInt 163 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(quarterMax) * LayoutUnit(3)).toInt(), quarterMax * 3); toInt 164 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(quarterMax) * LayoutUnit(4)).toInt(), quarterMax * 4); toInt 165 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(quarterMax) * LayoutUnit(5)).toInt(), intMaxForLayoutUnit); toInt 168 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(overflowIntSizeT) * LayoutUnit(2)).toInt(), intMaxForLayoutUnit); toInt 169 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((overflowIntSizeT * LayoutUnit(4)).toInt(), intMaxForLayoutUnit); toInt 170 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(4) * overflowIntSizeT).toInt(), intMaxForLayoutUnit); toInt 175 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(1) / LayoutUnit(1)).toInt(), 1); toInt 176 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(1) / LayoutUnit(2)).toInt(), 0); toInt 177 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(2) / LayoutUnit(1)).toInt(), 2); toInt 178 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(2) / LayoutUnit(0.5)).toInt(), 4); toInt 179 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(0.5) / LayoutUnit(2)).toInt(), 0); toInt 180 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(100) / LayoutUnit(10)).toInt(), 10); toInt 184 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-1) / LayoutUnit(1)).toInt(), -1); toInt 185 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-1) / LayoutUnit(2)).toInt(), 0); toInt 186 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-2) / LayoutUnit(1)).toInt(), -2); toInt 187 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-2) / LayoutUnit(0.5)).toInt(), -4); toInt 188 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-0.5) / LayoutUnit(2)).toInt(), 0); toInt 189 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-100) / LayoutUnit(10)).toInt(), -10); toInt 193 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-1) / LayoutUnit(-1)).toInt(), 1); toInt 194 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-1) / LayoutUnit(-2)).toInt(), 0); toInt 195 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-2) / LayoutUnit(-1)).toInt(), 2); toInt 196 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-2) / LayoutUnit(-0.5)).toInt(), 4); toInt 197 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-0.5) / LayoutUnit(-2)).toInt(), 0); toInt 198 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(-100) / LayoutUnit(-10)).toInt(), 10); toInt 203 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(aHundredSizeT) / LayoutUnit(2)).toInt(), 50); toInt 204 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((aHundredSizeT / LayoutUnit(4)).toInt(), 25); toInt 205 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(400) / aHundredSizeT).toInt(), 4); toInt 207 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(intMaxForLayoutUnit) / LayoutUnit(2)).toInt(), intMaxForLayoutUnit / 2); toInt 208 Source/platform/LayoutUnitTest.cpp ASSERT_EQ((LayoutUnit(intMaxForLayoutUnit) / LayoutUnit(0.5)).toInt(), intMaxForLayoutUnit); toInt 70 Source/platform/weborigin/DatabaseIdentifier.cpp int port = databaseIdentifier.right(databaseIdentifier.length() - separator2 - 1).toInt(&portOkay); toInt 132 Source/wtf/text/AtomicString.h int toInt(bool* ok = 0) const { return m_string.toInt(ok); } toInt 331 Source/wtf/text/StringImpl.h int toInt(bool* ok = 0); // ignores trailing garbage toInt 607 Source/wtf/text/WTFString.cpp return m_impl->toInt(ok); toInt 368 Source/wtf/text/WTFString.h int toInt(bool* ok = 0) const;