HomeSort by relevance Sort by last modified time
    Searched refs:ZeroBasedNumber (Results 1 - 9 of 9) sorted by null

  /external/webkit/Source/JavaScriptCore/wtf/text/
TextPosition.h 46 * Here we introduce 2 types of numbers: ZeroBasedNumber and OneBasedNumber and
85 class ZeroBasedNumber {
87 static ZeroBasedNumber fromZeroBasedInt(int zeroBasedInt) { return ZeroBasedNumber(zeroBasedInt); }
89 ZeroBasedNumber() {}
95 bool operator==(ZeroBasedNumber other) { return m_value == other.m_value; }
96 bool operator!=(ZeroBasedNumber other) { return !((*this) == other); }
98 static ZeroBasedNumber base() { return 0; }
99 static ZeroBasedNumber belowBase() { return -1; }
102 ZeroBasedNumber(int value) : m_value(value) {
    [all...]
  /external/webkit/Source/WebCore/html/parser/
HTMLInputStream.h 150 WTF::ZeroBasedNumber m_line;
151 WTF::ZeroBasedNumber m_column;
HTMLDocumentParser.cpp 462 WTF::ZeroBasedNumber line = currentString.currentLine();
463 WTF::ZeroBasedNumber column = currentString.currentColumn();
  /external/webkit/Source/WebCore/platform/text/
SegmentedString.cpp 240 WTF::ZeroBasedNumber SegmentedString::currentLine() const
242 return WTF::ZeroBasedNumber::fromZeroBasedInt(m_currentLine);
245 WTF::ZeroBasedNumber SegmentedString::currentColumn() const
248 return WTF::ZeroBasedNumber::fromZeroBasedInt(zeroBasedColumn);
251 void SegmentedString::setCurrentPosition(WTF::ZeroBasedNumber line, WTF::ZeroBasedNumber columnAftreProlog, int prologLength)
SegmentedString.h 228 WTF::ZeroBasedNumber currentColumn() const;
229 WTF::ZeroBasedNumber currentLine() const;
232 void setCurrentPosition(WTF::ZeroBasedNumber line, WTF::ZeroBasedNumber columnAftreProlog, int prologLength);
  /external/webkit/Source/WebCore/bindings/v8/
ScriptEventListener.cpp 53 TextPosition0 position(WTF::ZeroBasedNumber::fromZeroBasedInt(1), WTF::ZeroBasedNumber::base());
  /external/webkit/Source/WebCore/bindings/js/
ScriptDebugServer.cpp 307 TextPosition0 textPosition(WTF::OneBasedNumber::fromOneBasedInt(lineNumber).convertToZeroBased(), WTF::ZeroBasedNumber::base());
318 TextPosition0 textPosition(WTF::OneBasedNumber::fromOneBasedInt(lineNumber).convertToZeroBased(), WTF::ZeroBasedNumber::base());
  /external/webkit/Source/WebCore/dom/
XMLDocumentParserQt.cpp 244 return TextPosition0(WTF::ZeroBasedNumber::fromZeroBasedInt(lineNumber()), WTF::ZeroBasedNumber::fromZeroBasedInt(columnNumber()));
XMLDocumentParserLibxml2.cpp     [all...]

Completed in 685 milliseconds