Home
last modified time | relevance | path

Searched refs:lineEnd (Results 1 – 18 of 18) sorted by relevance

/external/qemu/android/utils/
Dproperty_file.c41 const char* lineEnd = (const char*)memchr(p, '\n', end - p); in propertyFileIterator_next() local
42 if (!lineEnd) { in propertyFileIterator_next()
43 lineEnd = end; in propertyFileIterator_next()
46 p = lineEnd + 1; in propertyFileIterator_next()
50 if (lineEnd > line && lineEnd[-1] == '\r') in propertyFileIterator_next()
51 lineEnd--; in propertyFileIterator_next()
54 while (line < lineEnd && isspace(line[0])) in propertyFileIterator_next()
58 if (lineEnd == line || line[0] == '#') in propertyFileIterator_next()
63 (const char*)memchr(name, '=', lineEnd - name); in propertyFileIterator_next()
82 size_t valueLen = (lineEnd - value); in propertyFileIterator_next()
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp58 int lineEnd; // Index of char following the new line sequence for the current line variable
136 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { in main()
137 UnicodeString s(FALSE, ucharBuf+lineStart, lineEnd-lineStart); in main()
380 lineStart = lineEnd = startPos; in nextLine()
383 if (lineEnd >= fileLen) { in nextLine()
386 UChar c = ucharBuf[lineEnd]; in nextLine()
387 lineEnd++; in nextLine()
400 if (lineEnd < fileLen && in nextLine()
401 ucharBuf[lineEnd-1] == 0x0d && in nextLine()
402 ucharBuf[lineEnd] == 0x0a) in nextLine()
[all …]
/external/chromium_org/third_party/icu/source/samples/ugrep/
Dugrep.cpp58 int lineEnd; // Index of char following the new line sequence for the current line variable
136 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { in main()
137 UnicodeString s(FALSE, ucharBuf+lineStart, lineEnd-lineStart); in main()
380 lineStart = lineEnd = startPos; in nextLine()
383 if (lineEnd >= fileLen) { in nextLine()
386 UChar c = ucharBuf[lineEnd]; in nextLine()
387 lineEnd++; in nextLine()
400 if (lineEnd < fileLen && in nextLine()
401 ucharBuf[lineEnd-1] == 0x0d && in nextLine()
402 ucharBuf[lineEnd] == 0x0a) in nextLine()
[all …]
/external/chromium_org/third_party/WebKit/Source/wtf/text/
DTextPosition.cpp39 size_t lineEnd = text.find('\n', start); in lineEndings() local
40 if (lineEnd == kNotFound) in lineEndings()
43 result->append(static_cast<unsigned>(lineEnd)); in lineEndings()
44 start = lineEnd + 1; in lineEndings()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DContentSearchUtils.cpp69 unsigned lineEnd = endings->at(lineNumber); in getScriptRegexpMatchesByLines() local
70 String line = text.substring(start, lineEnd - start); in getScriptRegexpMatchesByLines()
78 start = lineEnd + 1; in getScriptRegexpMatchesByLines()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dmatchbrackets.js46 var lineEnd = dir > 0 ? Math.min(where.line + maxScanLines, cm.lastLine() + 1)
48 for (var lineNo = where.line; lineNo != lineEnd; lineNo += dir) {
Dcodemirror.js4751 cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); },
7562 function lineEnd(cm, lineN) { function
/external/chromium_org/third_party/d3/src/
Dd3.js2837 listener.lineEnd();
2857 lineEnd: d3_noop, property
2865 d3_geo_area.lineStart = d3_geo_area.lineEnd = d3_geo_area.point = d3_noop;
2882 d3_geo_area.lineEnd = function() { function
2921 lineEnd: lineEnd, property
2925 bound.lineEnd = ringEnd;
2933 bound.lineEnd = lineEnd;
2986 function lineEnd() { function
3004 d3_geo_area.lineEnd();
3061 lineEnd: d3_geo_centroidLineEnd, property
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
Dbraille_util.js263 var lineEnd = shadow.getLineEnd(lineIndex);
264 var lineText = node.value.substring(lineStart, lineEnd);
Deditable_text.js294 var lineEnd = this.getLineEnd(index);
295 return this.value.substr(lineStart, lineEnd - lineStart);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/documentation/
DWikiParser.js178 var lineEnd = WebInspector.WikiParser.newLineWithoutSpace.exec(this._text);
179 if (lineEnd)
180 end = lineEnd.index;
255 WebInspector.WikiParser.lineEnd = /^\n/;
295 …new WebInspector.WikiParser.TokenDescriptor(WebInspector.WikiParser.lineEnd, WebInspector.WikiPars…
/external/google-diff-match-patch/name/fraser/neil/plaintext/
Ddiff_match_patch.java362 int lineEnd = -1; in diff_linesToCharsMunge() local
368 while (lineEnd < text.length() - 1) { in diff_linesToCharsMunge()
369 lineEnd = text.indexOf('\n', lineStart); in diff_linesToCharsMunge()
370 if (lineEnd == -1) { in diff_linesToCharsMunge()
371 lineEnd = text.length() - 1; in diff_linesToCharsMunge()
373 line = text.substring(lineStart, lineEnd + 1); in diff_linesToCharsMunge()
374 lineStart = lineEnd + 1; in diff_linesToCharsMunge()
/external/pdfium/core/include/fpdfdoc/
Dfpdf_vt.h255 CPVT_WordPlace lineEnd; member
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/
Dutilities.js111 var lineEnd = lineEndings[lineNumber];
112 var lineContent = this.substring(lineStart, lineEnd);
/external/pdfium/core/src/fpdfdoc/
Ddoc_vt.cpp1829 line.lineEnd = pLine->GetEndWordPlace(); in GetLine()
/external/pdfium/fpdfsdk/src/fxedit/
Dfxet_edit.cpp2467 m_Refresh.Push(CPVT_WordRange(lineinfo.lineplace,lineinfo.lineEnd),VTToEdit(rcLine)); in RefreshPushLineRects()
/external/skia/experimental/webtry/res/js/cm/
Dcodemirror.js4570 cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); }, sel_move);
7274 function lineEnd(cm, lineN) { function
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
Dcodemirror.js4570 cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); }, sel_move);
7274 function lineEnd(cm, lineN) { function