Home
last modified time | relevance | path

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

12

/external/smali/dexlib2/src/main/java/org/jf/util/
DStringWrapper.java71 int lineEnd = currentLineStart; in wrapStringOnBreaks() local
73 lineEnd = breakIterator.following(lineEnd); in wrapStringOnBreaks()
74 if (lineEnd == BreakIterator.DONE) { in wrapStringOnBreaks()
75 lineEnd = breakIterator.last(); in wrapStringOnBreaks()
76 if (lineEnd <= currentLineStart) { in wrapStringOnBreaks()
84 if (lineEnd - currentLineStart > maxWidth) { in wrapStringOnBreaks()
85 lineEnd = breakIterator.preceding(lineEnd); in wrapStringOnBreaks()
86 if (lineEnd <= currentLineStart) { in wrapStringOnBreaks()
87 lineEnd = currentLineStart + maxWidth; in wrapStringOnBreaks()
92 if (string.charAt(lineEnd-1) == '\n') { in wrapStringOnBreaks()
[all …]
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/util/
DStringWrapper.java70 int lineEnd = currentLineStart; in wrapStringOnBreaks() local
72 lineEnd = breakIterator.following(lineEnd); in wrapStringOnBreaks()
73 if (lineEnd == BreakIterator.DONE) { in wrapStringOnBreaks()
74 lineEnd = breakIterator.last(); in wrapStringOnBreaks()
75 if (lineEnd <= currentLineStart) { in wrapStringOnBreaks()
83 if (lineEnd - currentLineStart > maxWidth) { in wrapStringOnBreaks()
84 lineEnd = breakIterator.preceding(lineEnd); in wrapStringOnBreaks()
85 if (lineEnd <= currentLineStart) { in wrapStringOnBreaks()
86 lineEnd = currentLineStart + maxWidth; in wrapStringOnBreaks()
91 if (string.charAt(lineEnd-1) == '\n') { in wrapStringOnBreaks()
[all …]
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp65 int lineEnd; // Index of char following the new line sequence for the current line variable
143 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { in main()
144 UnicodeString s(false, ucharBuf+lineStart, lineEnd-lineStart); in main()
387 lineStart = lineEnd = startPos; in nextLine()
390 if (lineEnd >= fileLen) { in nextLine()
393 UChar c = ucharBuf[lineEnd]; in nextLine()
394 lineEnd++; in nextLine()
407 if (lineEnd < fileLen && in nextLine()
408 ucharBuf[lineEnd-1] == 0x0d && in nextLine()
409 ucharBuf[lineEnd] == 0x0a) in nextLine()
[all …]
/external/cronet/third_party/icu/source/samples/ugrep/
Dugrep.cpp65 int lineEnd; // Index of char following the new line sequence for the current line variable
143 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { in main()
144 UnicodeString s(false, ucharBuf+lineStart, lineEnd-lineStart); in main()
387 lineStart = lineEnd = startPos; in nextLine()
390 if (lineEnd >= fileLen) { in nextLine()
393 UChar c = ucharBuf[lineEnd]; in nextLine()
394 lineEnd++; in nextLine()
407 if (lineEnd < fileLen && in nextLine()
408 ucharBuf[lineEnd-1] == 0x0d && in nextLine()
409 ucharBuf[lineEnd] == 0x0a) in nextLine()
[all …]
/external/openthread/src/cli/
Dcli_output.cpp271 char *lineEnd = strchr(mOutputString, '\r'); in OutputFormatV() local
273 if (lineEnd == nullptr) in OutputFormatV()
278 *lineEnd = '\0'; in OutputFormatV()
280 if (lineEnd > mOutputString) in OutputFormatV()
285 lineEnd++; in OutputFormatV()
287 while ((*lineEnd == '\n') || (*lineEnd == '\r')) in OutputFormatV()
289 lineEnd++; in OutputFormatV()
317 mOutputLength = static_cast<uint16_t>(&mOutputString[mOutputLength] - lineEnd); in OutputFormatV()
318 memmove(mOutputString, lineEnd, mOutputLength + 1); in OutputFormatV()
/external/python/cpython2/Lib/
Dquopri.py59 def write(s, output=output, lineEnd='\n'): argument
63 output.write(s[:-1] + quote(s[-1]) + lineEnd)
65 output.write(quote(s) + lineEnd)
67 output.write(s + lineEnd)
97 write(thisline[:MAXLINESIZE-1], lineEnd='=\n')
103 write(prevline, lineEnd=stripped)
/external/python/cpython3/Lib/
Dquopri.py59 def write(s, output=output, lineEnd=b'\n'): argument
63 output.write(s[:-1] + quote(s[-1:]) + lineEnd)
65 output.write(quote(s) + lineEnd)
67 output.write(s + lineEnd)
98 write(thisline[:MAXLINESIZE-1], lineEnd=b'=\n')
104 write(prevline, lineEnd=stripped)
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
DRbnfDemo.java513 int lineEnd = 0; in paint() local
523 lineEnd = tempLineEnd; in paint()
526 if (lineStart >= lineEnd) { in paint()
528 lineEnd = txt.length(); in paint()
530 lineEnd = tempLineEnd; in paint()
532 if (lineEnd > maxLineEnd) in paint()
533 lineEnd = maxLineEnd; in paint()
534 g.drawString(txt.substring(lineStart, lineEnd), 0, penY); in paint()
537 lineStart = lineEnd; in paint()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DStringWrapper.java129 int lineEnd = endPosition; in getReflowReplacements() local
130 while (Newlines.hasNewlineAt(input, lineEnd) == -1) { in getReflowReplacements()
131 lineEnd++; in getReflowReplacements()
133 if (lineMap.getColumnNumber(lineEnd) - 1 <= columnLimit) { in getReflowReplacements()
161 int lineEnd = end; in getReflowReplacements() local
162 while (Newlines.hasNewlineAt(input, lineEnd) == -1) { in getReflowReplacements()
163 lineEnd++; in getReflowReplacements()
165 int trailing = lineEnd - end; in getReflowReplacements()
DFormatter.java294 int lineEnd = lines.get(lineRange.upperEndpoint()) - 1; in lineRangesToCharRanges() local
295 Range<Integer> range = Range.closedOpen(lineStart, lineEnd); in lineRangesToCharRanges()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTouchCatcherView.java95 int lineEnd = (int) (w * (1 + lineLength) / 2); in onDraw() local
96 canvas.drawLine(lineStart, pos, lineEnd, pos, linePaint); in onDraw()
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/
DStrictLineReader.java140 int lineEnd = (i != pos && buf[i - 1] == CR) ? i - 1 : i; in readLine() local
141 String res = new String(buf, pos, lineEnd - pos, charset.name()); in readLine()
/external/spdx-tools/tvloader/parser2v1/
Dparse_snippet.go76 lineStart, lineEnd, err := extractSubs(value)
84 lInttEnd, err := strconv.Atoi(lineEnd)
/external/spdx-tools/tvloader/parser2v2/
Dparse_snippet.go76 lineStart, lineEnd, err := extractSubs(value)
84 lInttEnd, err := strconv.Atoi(lineEnd)
/external/spdx-tools/tvloader/parser2v3/
Dparse_snippet.go76 lineStart, lineEnd, err := extractSubs(value)
84 lInttEnd, err := strconv.Atoi(lineEnd)
/external/pdfium/core/fpdfdoc/
Dcpvt_line.h18 CPVT_WordPlace lineEnd; variable
Dcpvt_variabletext.cpp165 line.lineEnd = pLine->GetEndWordPlace(); in GetLine()
/external/setupdesign/main/src/com/google/android/setupdesign/accessibility/
DLinkAccessibilityHelper.java267 final int lineEnd = layout.getLineForOffset(spanEnd); in getBoundsForSpan() local
269 if (lineEnd == lineStart) { in getBoundsForSpan()
/external/skia/src/core/
DSkPath.cpp3557 SkPoint lineEnd = SkPath::kClose_Verb == verb ? *firstPt : *pts++; in IsRectContour() local
3558 SkVector lineDelta = lineEnd - lineStart; in IsRectContour()
3565 if (lineStart == lineEnd) { in IsRectContour()
3573 lineStart = lineEnd; in IsRectContour()
3585 thirdCorner = lineEnd; in IsRectContour()
3587 lineStart = lineEnd; in IsRectContour()
3600 thirdCorner = lineEnd; in IsRectContour()
3610 lineStart = lineEnd; in IsRectContour()
DSkStroke.cpp533 static SkScalar pt_to_line(const SkPoint& pt, const SkPoint& lineStart, const SkPoint& lineEnd) { in pt_to_line() argument
534 SkVector dxy = lineEnd - lineStart; in pt_to_line()
541 hit.fX = lineStart.fX * (1 - t) + lineEnd.fX * t; in pt_to_line()
542 hit.fY = lineStart.fY * (1 - t) + lineEnd.fY * t; in pt_to_line()
/external/crosvm/docs/book/
Dmermaid.min.js1lineEnd()}function Ic(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)Pc(t[n],e,1);e.polygonE… method in $_
/external/cldr/tools/c/genldml/resources/
Droot.txt518 lineEnd {
/external/skia/modules/skparagraph/src/
DTextLine.cpp1263 auto lineEnd = this->offset().fX + this->width(); in getRectsForRange() local
1272 right.rect.fRight >= lineEnd && in getRectsForRange()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.cpp1269 m_Refresh.Push(CPVT_WordRange(lineinfo.lineplace, lineinfo.lineEnd), in RefreshPushLineRects()
/external/python/setuptools/pkg_resources/_vendor/
Dpyparsing.py4752 lineEnd = LineEnd().setName("lineEnd") variable

12