Searched refs:OneBasedNumber (Results 1 – 8 of 8) sorted by relevance
/external/webkit/Source/JavaScriptCore/wtf/text/ |
D | TextPosition.h | 82 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/ |
D | XMLDocumentParser.cpp | 147 …handleError(type, m, TextPosition1(WTF::OneBasedNumber::fromOneBasedInt(lineNumber), WTF::OneBased… in handleError()
|
D | XMLDocumentParserQt.cpp | 251 …return TextPosition1(WTF::OneBasedNumber::fromOneBasedInt(lineNumber()), WTF::OneBasedNumber::from… in textPositionOneBased()
|
D | XMLDocumentParserLibxml2.cpp | 1414 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/ |
D | ScriptDebugServer.cpp | 307 …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/ |
D | WebFrameImpl.cpp | 772 …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/ |
D | HTMLTreeBuilder.cpp | 64 return TextPosition1(WTF::OneBasedNumber::fromOneBasedInt(-1), WTF::OneBasedNumber::base()); in uninitializedPositionValue1()
|
/external/webkit/Source/JavaScriptCore/ |
D | ChangeLog-2011-02-16 | 6551 (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 …]
|