OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lineEndings
(Results
1 - 16
of
16
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/text/
TextPosition.cpp
33
PassOwnPtr<Vector<unsigned> >
lineEndings
(const String& text)
51
OrdinalNumber TextPosition::toOffset(const Vector<unsigned>&
lineEndings
)
53
unsigned lineStartOffset = m_line != OrdinalNumber::first() ?
lineEndings
.at(m_line.zeroBasedInt() - 1) + 1 : 0;
57
TextPosition TextPosition::fromOffsetAndLineEndings(unsigned offset, const Vector<unsigned>&
lineEndings
)
59
const unsigned* foundLineEnding = std::lower_bound(
lineEndings
.begin(),
lineEndings
.end(), offset);
60
int lineIndex = foundLineEnding - &
lineEndings
.at(0);
61
unsigned lineStartOffset = lineIndex > 0 ?
lineEndings
.at(lineIndex - 1) + 1 : 0;
TextPosition.h
86
WTF_EXPORT PassOwnPtr<Vector<unsigned> >
lineEndings
(const String&);
94
using WTF::
lineEndings
;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
ScriptFormatter.js
50
* @param {!Array.<number>}
lineEndings
55
WebInspector.Formatter.locationToPosition = function(
lineEndings
, lineNumber, columnNumber)
57
var position = lineNumber ?
lineEndings
[lineNumber - 1] + 1 : 0;
62
* @param {!Array.<number>}
lineEndings
66
WebInspector.Formatter.positionToLocation = function(
lineEndings
, position)
68
var lineNumber =
lineEndings
.upperBound(position - 1);
72
var columnNumber = position -
lineEndings
[lineNumber - 1] - 1;
117
var sourceMapping = new WebInspector.FormatterSourceMappingImpl(originalContent.
lineEndings
(), formattedContent.
lineEndings
(), mapping);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/
CSSFormatter.js
63
var
lineEndings
= [];
66
lineEndings
.push(i);
69
lineEndings
.push(text.length);
70
return
lineEndings
;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorStyleSheet.cpp
458
static PassRefPtr<TypeBuilder::CSS::SourceRange> buildSourceRangeObject(const SourceRange& range, Vector<unsigned>*
lineEndings
)
460
if (!
lineEndings
)
462
TextPosition start = TextPosition::fromOffsetAndLineEndings(range.start, *
lineEndings
);
463
TextPosition end = TextPosition::fromOffsetAndLineEndings(range.end, *
lineEndings
);
528
result->setRange(buildSourceRangeObject(sourceData->ruleBodyRange, m_parentStyleSheet->
lineEndings
().get()));
667
OwnPtr<Vector<unsigned> >
lineEndings
(m_parentStyleSheet ? m_parentStyleSheet->
lineEndings
() : PassOwnPtr<Vector<unsigned> >());
698
property->setRange(buildSourceRangeObject(absolutePropertyRange,
lineEndings
.get()));
[
all
...]
ContentSearchUtils.cpp
64
OwnPtr<Vector<unsigned> > endings(
lineEndings
(text));
InspectorStyleSheet.h
177
PassOwnPtr<Vector<unsigned> >
lineEndings
();
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/
utilities.js
83
String.prototype.
lineEndings
= function()
97
var
lineEndings
= this.
lineEndings
();
98
return
lineEndings
.length;
106
var
lineEndings
= this.
lineEndings
();
107
var lineStart = lineNumber > 0 ?
lineEndings
[lineNumber - 1] + 1 : 0;
108
var lineEnd =
lineEndings
[lineNumber];
[
all
...]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
SourceFrame.js
592
var replacementLineEndings = replacement.
lineEndings
();
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
BisonCSSParser-in.cpp
[
all
...]
/prebuilts/tools/common/lombok-ast/
lombok-ast-0.2.2.jar
lombok-ast-0.2.1.jar
lombok-ast-0.2.jar
/prebuilts/tools/common/m2/repository/com/android/tools/external/lombok/lombok-ast/0.2.2/
lombok-ast-0.2.2.jar
/prebuilts/sdk/tools/lib/
lombok-ast-0.2.jar
/prebuilts/tools/common/m2/repository/com/android/tools/external/lombok/lombok-ast/0.2.1/
lombok-ast-0.2.1.jar
Completed in 328 milliseconds