Home
last modified time | relevance | path

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

123

/external/smali/util/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/skia/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/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 …]
DTestData.java246 protected int lineStart; field in TestData
254 private TestData(short[] dirProps, int lineStart, int lineLimit, in TestData() argument
258 this.lineStart = lineStart; in TestData()
/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 …]
DTestData.java243 protected int lineStart; field in TestData
251 private TestData(short[] dirProps, int lineStart, int lineLimit, in TestData() argument
255 this.lineStart = lineStart; in TestData()
/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/icu/icu4j/demos/src/com/ibm/icu/dev/demo/rbnf/
DRbnfDemo.java484 int lineStart = 0; in paint() local
490 while (lineStart < txt.length()) { in paint()
491 maxLineEnd = txt.indexOf('\n', lineStart); in paint()
495 lineStart, tempLineEnd)) < width) { in paint()
499 if (lineStart >= lineEnd) { in paint()
507 g.drawString(txt.substring(lineStart, lineEnd), 0, penY); in paint()
510 lineStart = lineEnd; in paint()
511 if (lineStart < txt.length() && txt.charAt(lineStart) == '\n') in paint()
512 ++lineStart; in paint()
/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/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/setupdesign/main/src/com/google/android/setupdesign/util/
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/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';
DTokenizer.h41 bool lineStart; member
/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/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DBidi.java2281 public Bidi createLineBidi(int lineStart, int lineLimit) in createLineBidi() argument
2283 return new Bidi(bidi.createLineBidi(lineStart, lineLimit)); in createLineBidi()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.h68 int32_t lineStart, lineLimit; member
/external/antlr/runtime/Cpp/include/
Dantlr3commontoken.hpp235 void set_lineStart( const StreamDataType* lineStart );
Dantlr3commontoken.inl273 ANTLR_INLINE void CommonToken<ImplTraits>::set_lineStart( const StreamDataType* lineStart ) argument
275 m_lineStart = lineStart;
/external/antlr/runtime/C/include/
Dantlr3commontoken.h132 void * lineStart; member
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DLabelFlowAnalyzerTest.java44 assertNull(analyzer.lineStart); in testInit()
302 assertSame(label, analyzer.lineStart); in testLineNumber()

123