OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lineEndings
(Results
1 - 15
of
15
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/text/
TextPosition.cpp
33
PassOwnPtr<Vector<unsigned> >
lineEndings
(const String& text)
56
TextPosition TextPosition::fromOffsetAndLineEndings(unsigned offset, const Vector<unsigned>&
lineEndings
)
58
const unsigned* foundLineEnding = approximateBinarySearch<unsigned, unsigned>(
lineEndings
,
lineEndings
.size(), offset, valueExtractor);
59
int lineIndex = foundLineEnding - &
lineEndings
.at(0);
62
unsigned lineStartOffset = lineIndex > 0 ?
lineEndings
.at(lineIndex - 1) + 1 : 0;
TextPosition.h
85
WTF_EXPORT PassOwnPtr<Vector<unsigned> >
lineEndings
(const String&);
93
using WTF::
lineEndings
;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
ContentProvider.js
83
var
lineEndings
= content.
lineEndings
();
84
for (var i = 0; i <
lineEndings
.length; ++i) {
85
var lineStart = i > 0 ?
lineEndings
[i - 1] + 1 : 0;
86
var lineEnd =
lineEndings
[i];
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);
CSSFormatter.js
63
var
lineEndings
= [];
66
lineEndings
.push(i);
69
lineEndings
.push(text.length);
70
return
lineEndings
;
BreakpointsSidebarPane.js
114
var
lineEndings
= content.
lineEndings
();
115
if (uiLocation.lineNumber <
lineEndings
.length)
116
snippetElement.textContent = content.substring(
lineEndings
[uiLocation.lineNumber - 1],
lineEndings
[uiLocation.lineNumber]);
utilities.js
73
String.prototype.
lineEndings
= function()
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorStyleSheet.cpp
440
static PassRefPtr<TypeBuilder::CSS::SourceRange> buildSourceRangeObject(const SourceRange& range, Vector<unsigned>*
lineEndings
)
442
if (!
lineEndings
)
444
TextPosition start = TextPosition::fromOffsetAndLineEndings(range.start, *
lineEndings
);
445
TextPosition end = TextPosition::fromOffsetAndLineEndings(range.end, *
lineEndings
);
513
result->setRange(buildSourceRangeObject(sourceData->ruleBodyRange, m_parentStyleSheet->
lineEndings
().get()));
695
OwnPtr<Vector<unsigned> >
lineEndings
(m_parentStyleSheet ? m_parentStyleSheet->
lineEndings
() : PassOwnPtr<Vector<unsigned> >());
730
property->setRange(buildSourceRangeObject(absolutePropertyRange,
lineEndings
.get()));
[
all
...]
InspectorStyleSheet.h
224
virtual PassOwnPtr<Vector<unsigned> >
lineEndings
() const;
279
virtual PassOwnPtr<Vector<unsigned> >
lineEndings
() const;
ContentSearchUtils.cpp
66
OwnPtr<Vector<unsigned> > endings(
lineEndings
(text));
/external/chromium_org/third_party/WebKit/Source/core/css/
CSSParser-in.cpp
[
all
...]
/prebuilts/sdk/tools/lib/
lombok-ast-0.2.jar
/prebuilts/tools/common/lombok-ast/
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.1/
lombok-ast-0.2.1.jar
Completed in 230 milliseconds