Home
last modified time | relevance | path

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

/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/v8/src/inspector/
Dsearch-util.cc91 size_t lineEnd = text.find(lineEndString, start); in lineEndings() local
92 if (lineEnd == String16::kNotFound) break; in lineEndings()
94 result->push_back(lineEnd); in lineEndings()
95 start = lineEnd + 1; in lineEndings()
111 size_t lineEnd = endings->at(lineNumber); in scriptRegexpMatchesByLines() local
112 String16 line = text.substring(start, lineEnd - start); in scriptRegexpMatchesByLines()
120 start = lineEnd + 1; in scriptRegexpMatchesByLines()
/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.java486 int lineEnd = 0; in paint() local
496 lineEnd = tempLineEnd; in paint()
499 if (lineStart >= lineEnd) { in paint()
501 lineEnd = txt.length(); in paint()
503 lineEnd = tempLineEnd; in paint()
505 if (lineEnd > maxLineEnd) in paint()
506 lineEnd = maxLineEnd; in paint()
507 g.drawString(txt.substring(lineStart, lineEnd), 0, penY); in paint()
510 lineStart = lineEnd; in paint()
/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.cpp3335 SkPoint lineEnd = SkPath::kClose_Verb == verb ? *firstPt : *pts++; in IsRectContour() local
3336 SkVector lineDelta = lineEnd - lineStart; in IsRectContour()
3343 if (lineStart == lineEnd) { in IsRectContour()
3351 lineStart = lineEnd; in IsRectContour()
3363 thirdCorner = lineEnd; in IsRectContour()
3365 lineStart = lineEnd; in IsRectContour()
3378 thirdCorner = lineEnd; in IsRectContour()
3388 lineStart = lineEnd; in IsRectContour()
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()
508 hit.fX = lineStart.fX * (1 - t) + lineEnd.fX * t; in pt_to_line()
509 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/
DParagraphImpl.cpp808 auto lineEnd = line.offset().fX + line.width(); in getRectsForRange() local
817 … right.rect.fRight >= lineEnd && right.rect.fRight < this->fMaxWidthWithTrailingSpaces) { 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
/external/python/setuptools/pkg_resources/_vendor/
Dpyparsing.py4711 lineEnd = LineEnd().setName("lineEnd") variable