Home
last modified time | relevance | path

Searched refs:OneBasedNumber (Results 1 – 8 of 8) sorted by relevance

/external/webkit/Source/JavaScriptCore/wtf/text/
DTextPosition.h82 class OneBasedNumber; variable
93 OneBasedNumber convertToOneBased() const;
107 class OneBasedNumber {
109 static OneBasedNumber fromOneBasedInt(int oneBasedInt) { return OneBasedNumber(oneBasedInt); } in fromOneBasedInt()
110 OneBasedNumber() {} in OneBasedNumber() function
116 bool operator==(OneBasedNumber other) { return m_value == other.m_value; }
117 bool operator!=(OneBasedNumber other) { return !((*this) == other); }
119 static OneBasedNumber base() { return 1; } in base()
120 static OneBasedNumber belowBase() { return 0; } in belowBase()
123 OneBasedNumber(int value) : m_value(value) {} in OneBasedNumber() function
[all …]
/external/webkit/Source/WebCore/dom/
DXMLDocumentParser.cpp147 …handleError(type, m, TextPosition1(WTF::OneBasedNumber::fromOneBasedInt(lineNumber), WTF::OneBased… in handleError()
DXMLDocumentParserQt.cpp251 …return TextPosition1(WTF::OneBasedNumber::fromOneBasedInt(lineNumber()), WTF::OneBasedNumber::from… in textPositionOneBased()
DXMLDocumentParserLibxml2.cpp1414 return TextPosition1(WTF::OneBasedNumber::fromOneBasedInt(context->input->line), in textPositionOneBased()
1415 WTF::OneBasedNumber::fromOneBasedInt(context->input->col)); in textPositionOneBased()
/external/webkit/Source/WebCore/bindings/js/
DScriptDebugServer.cpp307 …TextPosition0 textPosition(WTF::OneBasedNumber::fromOneBasedInt(lineNumber).convertToZeroBased(), … in createCallFrameAndPauseIfNeeded()
318 …TextPosition0 textPosition(WTF::OneBasedNumber::fromOneBasedInt(lineNumber).convertToZeroBased(), … in updateCallFrameAndPauseIfNeeded()
/external/webkit/Source/WebKit/chromium/src/
DWebFrameImpl.cpp772 …TextPosition1 position(WTF::OneBasedNumber::fromOneBasedInt(source.startLine), WTF::OneBasedNumber in executeScript()
784 …TextPosition1 position(WTF::OneBasedNumber::fromOneBasedInt(sourcesIn[i].startLine), WTF::OneBased… in executeScriptInIsolatedWorld()
838 …TextPosition1 position(WTF::OneBasedNumber::fromOneBasedInt(source.startLine), WTF::OneBasedNumber in executeScriptAndReturnValue()
/external/webkit/Source/WebCore/html/parser/
DHTMLTreeBuilder.cpp64 return TextPosition1(WTF::OneBasedNumber::fromOneBasedInt(-1), WTF::OneBasedNumber::base()); in uninitializedPositionValue1()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2011-02-166551 (WTF::OneBasedNumber::operator==): Added.
6552 (WTF::OneBasedNumber::operator!=): Added.
10475 (WTF::OneBasedNumber::fromOneBasedInt):
10476 (WTF::OneBasedNumber::OneBasedNumber):
10477 (WTF::OneBasedNumber::oneBasedInt):
10478 (WTF::OneBasedNumber::convertAsZeroBasedInt):
10479 (WTF::OneBasedNumber::convertToZeroBased):
10480 (WTF::OneBasedNumber::base):
10481 (WTF::OneBasedNumber::belowBase):
11274 (WTF::OneBasedNumber::fromOneBasedInt):
[all …]