Home
last modified time | relevance | path

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

/external/smali/util/src/main/java/org/jf/util/
DStringWrapper.java59 int lineStart = 0; in wrapString() local
66 output = addString(output, str.substring(lineStart, i), arrayIndex++); in wrapString()
67 lineStart = i+1; in wrapString()
68 } else if (i - lineStart == maxWidth) { in wrapString()
69 output = addString(output, str.substring(lineStart, i), arrayIndex++); in wrapString()
70 lineStart = i; in wrapString()
73 if (lineStart != i || i == 0) { in wrapString()
74 output = addString(output, str.substring(lineStart), arrayIndex++, output.length+1); in wrapString()
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp57 int lineStart; // Index of first char of the current line in the file buffer variable
136 for (nextLine(0); lineStart<fileLen; nextLine(lineEnd)) { in main()
137 UnicodeString s(FALSE, ucharBuf+lineStart, lineEnd-lineStart); in main()
380 lineStart = lineEnd = startPos; in nextLine()
435 &ucharBuf[lineStart], // Input to conversion in printMatch()
436 lineEnd-lineStart, // number of UChars to convert in printMatch()
/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.java43 int lineStart; in doTests() local
61 lineStart = test.lineStart; in doTests()
62 if (lineStart == -1) { in doTests()
66 bidiLine = bidi.setLine(lineStart, test.lineLimit); in doTests()
67 logln("Bidi.setLine(" + lineStart + ", " + test.lineLimit in doTests()
71 doTest(bidiLine, testNumber, test, lineStart, countRunsFirst); in doTests()
73 errln("Bidi.setLine(" + lineStart + ", " + test.lineLimit in doTests()
78 bidiLine = bidi.createLineBidi(lineStart, test.lineLimit); in doTests()
79 logln("Bidi.createLineBidi(" + lineStart + ", " + test.lineLimit in doTests()
83 doTest(bidiLine, testNumber, test, lineStart, countRunsFirst); in doTests()
[all …]
DTestData.java241 protected int lineStart; field in TestData
249 private TestData(short[] dirProps, int lineStart, int lineLimit, in TestData() argument
253 this.lineStart = lineStart; in TestData()
/external/libvncserver/libvncserver/
Dselbox.c84 int lineStart,lineEnd; in selSelect() local
95 lineStart = m->pageH-delta; in selSelect()
97 rfbDoCopyRect(m->screen,m->x1,m->y1,m->x2,m->y1+lineStart*m->textH, in selSelect()
100 lineStart = 0; in selSelect()
107 lineStart = 0; in selSelect()
111 for(delta=lineStart;delta<lineEnd;delta++) in selSelect()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DDebugInfoItem.java55 int lineStart = reader.readSmallUleb128(); in makeAnnotator() local
56 out.annotateTo(reader.getOffset(), "line_start = %d", lineStart); in makeAnnotator() local
76 int lineNumber = lineStart; in makeAnnotator()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.h69 int32_t lineStart, lineLimit; member
Dcbiditst.c41 int32_t lineStart, UBool countRunsFirst);
205 int32_t lineStart; in doTests() local
216 lineStart=tests[testNumber].lineStart; in doTests()
217 if(lineStart==-1) { in doTests()
220 ubidi_setLine(pBiDi, lineStart, tests[testNumber].lineLimit, pLine, &errorCode); in doTests()
223lineStart, tests[testNumber].lineLimit, ubidi_getDirection(pLine), ubidi_getParaLevel(pLine)); in doTests()
224 doTest(pLine, testNumber, tests+testNumber, lineStart, countRunsFirst); in doTests()
227 … testNumber, lineStart, tests[testNumber].lineLimit, myErrorName(errorCode)); in doTests()
1033 doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test, int32_t lineStart, UBool countRunsFi… in doTest() argument
1034 const uint8_t *dirProps=test->text+lineStart; in doTest()
/external/mesa3d/src/mesa/program/
Dprogram.c231 const GLubyte *lineStart = string; in _mesa_find_line_column() local
241 lineStart = p + 1; in _mesa_find_line_column()
246 *col = (pos - lineStart) + 1; in _mesa_find_line_column()
251 len = p - lineStart; in _mesa_find_line_column()
253 memcpy(s, lineStart, len); in _mesa_find_line_column()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3commontoken.h132 void * lineStart; member
/external/skia/src/core/
DSkStroke.cpp518 static SkScalar pt_to_line(const SkPoint& pt, const SkPoint& lineStart, const SkPoint& lineEnd) { in pt_to_line() argument
519 SkVector dxy = lineEnd - lineStart; in pt_to_line()
521 return pt.distanceToSqd(lineStart); in pt_to_line()
523 SkVector ab0 = pt - lineStart; in pt_to_line()
528 hit.fX = lineStart.fX * (1 - t) + lineEnd.fX * t; in pt_to_line()
529 hit.fY = lineStart.fY * (1 - t) + lineEnd.fY * t; in pt_to_line()
/external/skia/src/pathops/
DSkOpAngle.cpp182 int lineStart = fStart->t() < fEnd->t() ? 0 : 1; in allOnOneSide() local
183 line = linePts[lineStart ^ 1] - linePts[lineStart]; in allOnOneSide()
/external/chromium-trace/trace-viewer/tracing/third_party/d3/
Dd3.min.js3lineStart:g,lineEnd:g,polygonStart:function(){hc.reset(),gc.lineStart=ce},polygonEnd:function(){va… property
4lineStart:xe,lineEnd:Me,polygonStart:function(){kc.lineStart=_e},polygonEnd:function(){kc.lineStar… property
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3baserecognizer.c2210 token->lineStart = current->lineStart; in getMissingSymbol()
Dantlr3lexer.c673 token->lineStart = lexer->input->currentLine; in emit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidi.java5398 public Bidi createLineBidi(int lineStart, int lineLimit) in createLineBidi() argument
5400 return setLine(lineStart, lineLimit); in createLineBidi()