Home
last modified time | relevance | path

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

123

/external/smali/dexlib2/src/main/java/org/jf/util/
DStringWrapper.java142 int lineStart = 0;
149 output = addString(output, str.substring(lineStart, i), arrayIndex++);
150 lineStart = i+1;
151 } else if (i - lineStart == maxWidth) {
152 output = addString(output, str.substring(lineStart, i), arrayIndex++);
153 lineStart = i;
156 if (lineStart != i || i == 0) {
157 output = addString(output, str.substring(lineStart), arrayIndex++, output.length+1);
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp64 int lineStart; // Index of first char of the current line in the file buffer 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()
442 &ucharBuf[lineStart], // Input to conversion in printMatch()
443 lineEnd-lineStart, // number of UChars to convert in printMatch()
/external/skqp/tools/bookmaker/
DtextParser.cpp40 const char* lineStart = fLine; in reportWarning() local
41 if (lineStart >= fEnd) { in reportWarning()
42 lineStart = fChar; in reportWarning()
44 SkASSERT(lineStart < fEnd); in reportWarning()
45 TextParser err(fFileName, lineStart, fEnd, fLineCount); in reportWarning()
47 ptrdiff_t spaces = fChar - lineStart; in reportWarning()
DparserCommon.cpp18 const char* lineStart = str; in checkLineLength() local
23 SkDebugf("%.*s\n", &str[index + 1] - lineStart, lineStart); in checkLineLength()
28 lineStart = &str[index + 1]; in checkLineLength()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DStringMsgParser.java152 int lineStart = i; in parseSIPMessage() local
163 int lineLength = i - lineStart; in parseSIPMessage()
167 currentLine = new String(msgBuffer, lineStart, lineLength, "UTF-8"); in parseSIPMessage()
267 int lineStart = i; in parseSIPMessage() local
283 currentLine = msgString.substring(lineStart, i); in parseSIPMessage()
547 int lineStart = start; in parseSIPHeader() local
553 buffer.append(header.substring(lineStart, i)); in parseSIPHeader()
562 lineStart = i + 1; in parseSIPHeader()
565 lineStart = i; in parseSIPHeader()
572 buffer.append(header.substring(lineStart, i)); in parseSIPHeader()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestBidi.java48 int lineStart; in doTests() local
66 lineStart = test.lineStart; in doTests()
67 if (lineStart == -1) { in doTests()
71 bidiLine = bidi.setLine(lineStart, test.lineLimit); in doTests()
72 logln("Bidi.setLine(" + lineStart + ", " + test.lineLimit in doTests()
76 doTest(bidiLine, testNumber, test, lineStart, countRunsFirst); in doTests()
78 errln("Bidi.setLine(" + lineStart + ", " + test.lineLimit in doTests()
83 bidiLine = bidi.createLineBidi(lineStart, test.lineLimit); in doTests()
84 logln("Bidi.createLineBidi(" + lineStart + ", " + test.lineLimit in doTests()
88 doTest(bidiLine, testNumber, test, lineStart, countRunsFirst); in doTests()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestBidi.java51 int lineStart; in doTests() local
69 lineStart = test.lineStart; in doTests()
70 if (lineStart == -1) { in doTests()
74 bidiLine = bidi.setLine(lineStart, test.lineLimit); in doTests()
75 logln("Bidi.setLine(" + lineStart + ", " + test.lineLimit in doTests()
79 doTest(bidiLine, testNumber, test, lineStart, countRunsFirst); in doTests()
81 errln("Bidi.setLine(" + lineStart + ", " + test.lineLimit in doTests()
86 bidiLine = bidi.createLineBidi(lineStart, test.lineLimit); in doTests()
87 logln("Bidi.createLineBidi(" + lineStart + ", " + test.lineLimit in doTests()
91 doTest(bidiLine, testNumber, test, lineStart, countRunsFirst); in doTests()
[all …]
/external/grpc-grpc-java/benchmarks/src/main/java/io/grpc/benchmarks/qps/
DAbstractConfigurationBuilder.java218 int lineStart = startPos; in wordWrap() local
220 if (pos < lineStart) { in wordWrap()
221 builder.append(Strings.repeat(" ", lineStart - pos)); in wordWrap()
222 pos = lineStart; in wordWrap()
238 lineStart = isBulleted ? startPos + 2 : startPos; in wordWrap()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/
DLabelFlowAnalyzer.java59 Label lineStart = null; field in LabelFlowAnalyzer
103 lineStart = start; in visitLineNumber()
199 if (lineStart != null) { in markMethodInvocationLine()
200 LabelInfo.setMethodInvocationLine(lineStart); in markMethodInvocationLine()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
DRbnfDemo.java511 int lineStart = 0; in paint() local
517 while (lineStart < txt.length()) { in paint()
518 maxLineEnd = txt.indexOf('\n', lineStart); in paint()
522 lineStart, tempLineEnd)) < width) { in paint()
526 if (lineStart >= lineEnd) { in paint()
534 g.drawString(txt.substring(lineStart, lineEnd), 0, penY); in paint()
537 lineStart = lineEnd; in paint()
538 if (lineStart < txt.length() && txt.charAt(lineStart) == '\n') in paint()
539 ++lineStart; in paint()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DTouchCatcherView.java94 int lineStart = (int) (w * (1 - lineLength) / 2); in onDraw() local
96 canvas.drawLine(lineStart, pos, lineEnd, pos, linePaint); in onDraw()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DDebugInfoItem.java55 int lineStart = reader.readBigUleb128(); in makeAnnotator() local
56 out.annotateTo(reader.getOffset(), "line_start = %d", lineStart & 0xFFFFFFFFL); in makeAnnotator()
76 int lineNumber = lineStart; in makeAnnotator()
/external/swiftshader/src/OpenGL/compiler/preprocessor/
DTokenizer.l76 yyextra->lineStart = true; \
145 return yyextra->lineStart ? pp::Token::PP_HASH : pp::Token::PP_OTHER;
374 token->setAtStartOfLine(mContext.lineStart);
375 mContext.lineStart = token->type == '\n';
/external/setupdesign/main/src/com/google/android/setupdesign/accessibility/
DLinkAccessibilityHelper.java266 final int lineStart = layout.getLineForOffset(spanStart); in getBoundsForSpan() local
268 layout.getLineBounds(lineStart, outRect); in getBoundsForSpan()
269 if (lineEnd == lineStart) { in getBoundsForSpan()
279 if (layout.getParagraphDirection(lineStart) == Layout.DIR_RIGHT_TO_LEFT) { in getBoundsForSpan()
/external/angle/src/compiler/preprocessor/
Dpreprocessor.l75 yyextra->lineStart = true; \
145 return yyextra->lineStart ? angle::pp::Token::PP_HASH : angle::pp::Token::PP_OTHER;
376 token->setAtStartOfLine(mContext.lineStart);
377 mContext.lineStart = token->type == '\n';
/external/starlark-go/syntax/
Dscan.go253 lineStart bool // after NEWLINE; convert spaces to indentation tokens member
269 lineStart: true,
481 savedLineStart := sc.lineStart
482 if sc.lineStart {
483 sc.lineStart = false
569 sc.lineStart = true
607 sc.lineStart = true
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/span/
Dtoken112.go24 func lineStart(f *token.File, line int) token.Pos { func
Dtoken111.go26 func lineStart(f *token.File, line int) token.Pos { func
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/span/
Dtoken112.go24 func lineStart(f *token.File, line int) token.Pos { func
Dtoken111.go26 func lineStart(f *token.File, line int) token.Pos { func
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/span/
Dtoken112.go24 func lineStart(f *token.File, line int) token.Pos { func
Dtoken111.go26 func lineStart(f *token.File, line int) token.Pos { func
/external/deqp-deps/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dspan.go104 lineStart := span.NewPoint(line, 1, offset)
105 return span.FromUTF16Column(lineStart, int(p.Character)+1, m.Content)
/external/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dspan.go104 lineStart := span.NewPoint(line, 1, offset)
105 return span.FromUTF16Column(lineStart, int(p.Character)+1, m.Content)
/external/angle/third_party/vulkan-deps/spirv-tools/src/utils/vscode/src/lsp/protocol/
Dspan.go105 lineStart := span.NewPoint(line, 1, offset)
106 return span.FromUTF16Column(lineStart, int(p.Character)+1, m.Content)

123