Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/icu/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()
/third_party/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()
/third_party/typescript/src/harness/
Dutil.ts39 let lineStart = 0;
41 if (lineStart !== match.index || lines.length > 0) {
42 lines.push(text.slice(lineStart, match.index));
45 lineStart = match.index + match[0].length;
48 if (lineStart < text.length) {
49 lines.push(text.slice(lineStart));
/third_party/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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/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()
/third_party/typescript/src/compiler/
DohApi.ts709 let lineStart: boolean;
716 lineStart = (linePos - output.length) === 0;
719 lineStart = false;
725 if (lineStart) {
726 lineStart = false;
739 lineStart = true;
757 if (!lineStart || force) {
764 return lineStart ? output.length : (output.length + space.length);
779 getColumn: () => lineStart ? 0 : output.length - linePos,
781 isAtStartOfLine: () => lineStart,
/third_party/skia/third_party/externals/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
/third_party/skia/third_party/externals/angle2/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';
DTokenizer.h36 bool lineStart; member
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/
Dspan.go105 lineStart := span.NewPoint(line, 1, offset)
106 return span.FromUTF16Column(lineStart, int(p.Character)+1, m.Content)
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/
Dspan.go105 lineStart := span.NewPoint(line, 1, offset)
106 return span.FromUTF16Column(lineStart, int(p.Character)+1, m.Content)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/
Dspan.go105 lineStart := span.NewPoint(line, 1, offset)
106 return span.FromUTF16Column(lineStart, int(p.Character)+1, m.Content)
/third_party/skia/third_party/externals/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
/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
/third_party/skia/third_party/externals/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
/third_party/typescript/src/services/formatting/
DsmartIndenter.ts136 const lineStart = getLineStartPositionForPosition(current, sourceFile); constant
137 return findFirstNonWhitespaceColumn(lineStart, current, sourceFile, options);
545 const lineStart = sourceFile.getPositionOfLineAndCharacter(lineAndCharacter.line, 0); constant
546 …return findFirstNonWhitespaceColumn(lineStart, lineStart + lineAndCharacter.character, sourceFile,…
/third_party/icu/icu4c/source/test/cintltst/
Dcbiditst.h68 int32_t lineStart, lineLimit; member
/third_party/typescript/src/services/
DjsDoc.ts400 const lineStart = getLineStartPositionForPosition(position, sourceFile); constant
401 let pos = lineStart;
403 return text.slice(lineStart, pos);

12