/external/smali/util/src/main/java/org/jf/util/ |
D | StringWrapper.java | 71 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/ |
D | ugrep.cpp | 65 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/syzkaller/pkg/report/ |
D | freebsd.go | 57 lineEnd := next 58 if lineEnd != 0 && output[lineEnd-1] == '\r' { 59 lineEnd-- 61 rep.Report = append(rep.Report, output[pos:lineEnd]...)
|
D | linux.go | 223 lineEnd := next 224 if lineEnd != 0 && output[lineEnd-1] == '\r' { 225 lineEnd-- 229 append([]byte{}, output[lineStart:lineEnd]...)) 235 ln := output[lineStart:lineEnd]
|
/external/syzkaller/pkg/email/ |
D | parser.go | 217 lineEnd := bytes.IndexByte(body[pos:], '\n') 218 if lineEnd == -1 { 219 lineEnd = len(body) - pos 221 line := strings.TrimSpace(string(body[pos : pos+lineEnd])) 232 pos += lineEnd + 1 243 lineEnd := bytes.IndexByte(body[pos:], '\n') 244 if lineEnd == -1 { 245 lineEnd = len(body) - pos 247 return strings.TrimSpace(string(body[pos : pos+lineEnd]))
|
/external/syzkaller/pkg/symbolizer/ |
D | symbolizer.go | 169 lineEnd := colon + 1 170 for lineEnd < len(ln) && ln[lineEnd] >= '0' && ln[lineEnd] <= '9' { 171 lineEnd++ 174 line, err := strconv.Atoi(ln[colon+1 : lineEnd])
|
/external/v8/src/inspector/ |
D | search-util.cc | 89 size_t lineEnd = text.find(lineEndString, start); in lineEndings() local 90 if (lineEnd == String16::kNotFound) break; in lineEndings() 92 result->push_back(lineEnd); in lineEndings() 93 start = lineEnd + 1; in lineEndings() 109 size_t lineEnd = endings->at(lineNumber); in scriptRegexpMatchesByLines() local 110 String16 line = text.substring(start, lineEnd - start); in scriptRegexpMatchesByLines() 118 start = lineEnd + 1; in scriptRegexpMatchesByLines()
|
/external/python/cpython2/Lib/ |
D | quopri.py | 59 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/ |
D | quopri.py | 59 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/ |
D | RbnfDemo.java | 486 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/skia/tools/bookmaker/ |
D | textParser.h | 131 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()
|
D | parserCommon.cpp | 218 const char* lineEnd = parser.strnchr('\n', data + size); in writeBlockIndent() local 219 int len = lineEnd ? (int) (lineEnd - data) : size; in writeBlockIndent()
|
D | spellCheck.cpp | 177 const char* lineEnd = strchr(textStart, '\n'); in check() local 178 this->wordCheck(lineEnd - textStart, textStart); in check() 179 textStart = lineEnd; in check()
|
D | bmhParser.cpp | 531 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() 2082 const char* lineEnd = fLine + this->lineLength(); in topicName() local 2084 while (fChar < lineEnd) { in topicName() 2099 if (fChar < lineEnd && fMC == this->peek()) { in topicName() 2335 const char* lineEnd = fLine + this->lineLength(); in word() local 2337 while (fChar < lineEnd) { in word()
|
/external/skqp/tools/bookmaker/ |
D | textParser.h | 131 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()
|
D | parserCommon.cpp | 218 const char* lineEnd = parser.strnchr('\n', data + size); in writeBlockIndent() local 219 int len = lineEnd ? (int) (lineEnd - data) : size; in writeBlockIndent()
|
D | spellCheck.cpp | 177 const char* lineEnd = strchr(textStart, '\n'); in check() local 178 this->wordCheck(lineEnd - textStart, textStart); in check() 179 textStart = lineEnd; in check()
|
D | bmhParser.cpp | 531 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()
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | TouchCatcherView.java | 95 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/ |
D | StrictLineReader.java | 140 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/ |
D | cpvt_line.h | 19 CPVT_WordPlace lineEnd; variable
|
/external/setupdesign/main/src/com/google/android/setupdesign/util/ |
D | LinkAccessibilityHelper.java | 267 final int lineEnd = layout.getLineForOffset(spanEnd); in getBoundsForSpan() local 269 if (lineEnd == lineStart) { in getBoundsForSpan()
|
/external/skqp/src/core/ |
D | SkStroke.cpp | 500 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()
|
/external/skia/src/core/ |
D | SkStroke.cpp | 500 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()
|
D | SkPath.cpp | 502 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()
|