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/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/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.java314 int lineEnd = lines.get(lineRange.upperEndpoint()) - 1; in lineRangesToCharRanges() local
315 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/skqp/tools/bookmaker/
DtextParser.h131 bool contains(const char* match, const char* lineEnd, const char** loc) const { in contains() argument
132 const char* result = this->strnstr(match, lineEnd); in contains()
139 bool containsWord(const char* match, const char* lineEnd, const char** loc) { in containsWord() argument
142 const char* result = this->strnstr(match, lineEnd); in containsWord()
189 const char* lineEnd() const { in lineEnd() function
204 return this->lineEnd() - fLine; in lineLength()
577 const char* result = this->lineEnd(); in trimmedLineEnd()
DparserCommon.cpp218 const char* lineEnd = parser.strnchr('\n', data + size); in writeBlockIndent() local
219 int len = lineEnd ? (int) (lineEnd - data) : size; in writeBlockIndent()
DspellCheck.cpp177 const char* lineEnd = strchr(textStart, '\n'); in check() local
178 this->wordCheck(lineEnd - textStart, textStart); in check()
179 textStart = lineEnd; in check()
DbmhParser.cpp531 definition->fTerminator = this->lineEnd() - 1; in addDefinition()
748 const char* end = this->lineEnd(); in className()
1739 const char* end = this->lineEnd(); in methodName()
1748 end = this->lineEnd(); in methodName()
2085 const char* lineEnd = fLine + this->lineLength(); in topicName() local
2087 while (fChar < lineEnd) { in topicName()
2102 if (fChar < lineEnd && fMC == this->peek()) { in topicName()
2338 const char* lineEnd = fLine + this->lineLength(); in word() local
2340 while (fChar < lineEnd) { in word()
DincludeParser.cpp126 TextParser t(tp.fFileName, tp.fChar, tp.lineEnd(), tp.fLineCount); in looks_like_forward_declaration()
150 TextParser t(tp.fFileName, tp.fLine, tp.lineEnd(), tp.fLineCount); in looks_like_constructor()
188 TextParser t(tp.fFileName, tp.fChar, tp.lineEnd(), tp.fLineCount); in looks_like_const()
206 TextParser t(tp.fFileName, tp.fChar, tp.lineEnd(), tp.fLineCount); in looks_like_member()
2143 const char* lineEnd = parser.trimmedLineEnd(); in parseComment() local
2144 markupDef->fTokens.emplace_back(MarkType::kComment, parser.fChar, lineEnd, in parseComment()
/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/pdfium/core/fpdfdoc/
Dcpvt_line.h19 CPVT_WordPlace lineEnd; variable
Dcpdf_variabletext.cpp177 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.cpp3465 SkPoint lineEnd = SkPath::kClose_Verb == verb ? *firstPt : *pts++; in IsRectContour() local
3466 SkVector lineDelta = lineEnd - lineStart; in IsRectContour()
3473 if (lineStart == lineEnd) { in IsRectContour()
3481 lineStart = lineEnd; in IsRectContour()
3493 thirdCorner = lineEnd; in IsRectContour()
3495 lineStart = lineEnd; in IsRectContour()
3508 thirdCorner = lineEnd; in IsRectContour()
3518 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/skqp/src/core/
DSkStroke.cpp500 static SkScalar pt_to_line(const SkPoint& pt, const SkPoint& lineStart, const SkPoint& lineEnd) { in pt_to_line() argument
501 SkVector dxy = lineEnd - lineStart; in pt_to_line()
510 hit.fX = lineStart.fX * (1 - t) + lineEnd.fX * t; in pt_to_line()
511 hit.fY = lineStart.fY * (1 - t) + lineEnd.fY * t; in pt_to_line()
DSkPath.cpp502 SkPoint lineEnd = kClose_Verb == verb ? *firstPt : *pts++; in isRectContour() local
503 SkVector lineDelta = lineEnd - lineStart; in isRectContour()
510 if (lineStart == lineEnd) { in isRectContour()
518 lineStart = lineEnd; in isRectContour()
530 thirdCorner = lineEnd; in isRectContour()
532 lineStart = lineEnd; in isRectContour()
545 thirdCorner = lineEnd; in isRectContour()
555 lineStart = lineEnd; in isRectContour()
/external/cldr/tools/c/genldml/resources/
Droot.txt518 lineEnd {
/external/skia/modules/skparagraph/src/
DTextLine.cpp1116 auto lineEnd = this->offset().fX + this->width(); in getRectsForRange() local
1125 right.rect.fRight >= lineEnd && in getRectsForRange()
/external/pdfium/fpdfsdk/pwl/
Dcpwl_edit_impl.cpp1199 m_Refresh.Push(CPVT_WordRange(lineinfo.lineplace, lineinfo.lineEnd), in RefreshPushLineRects()
/external/python/setuptools/setuptools/_vendor/
Dpyparsing.py4711 lineEnd = LineEnd().setName("lineEnd") variable

12