Home
last modified time | relevance | path

Searched refs:endOffset (Results 1 – 25 of 48) sorted by relevance

12

/third_party/node/lib/internal/test_runner/
Dcoverage.js44 this.endOffset = startOffset + src.length - newlineLength;
305 const { startOffset, endOffset, count } = range;
316 if (startOffset >= line.startOffset && startOffset <= line.endOffset) {
317 while (endOffset > line?.startOffset) {
321 endOffset >= line.endOffset) {
336 } else if (startOffset >= line.endOffset) {
413 newFn.ranges?.[0].endOffset === oldFn.ranges?.[0].endOffset) {
503 range.endOffset === otherRange.endOffset;
508 range.endOffset >= otherRange.endOffset;
/third_party/parse5/packages/parse5/lib/parser/
Dparser-location-info.test.ts29 … assert.strictEqual(html.substring(firstPLocation.startOffset, firstPLocation.endOffset), '<p>1');
45 assert.strictEqual(html.substring(location.startOffset, location.endOffset), '<i>1</i>');
147 html.slice(location.startTag.startOffset, location.endTag.endOffset),
196 assert.strictEqual(htmlLocation.endTag.startOffset, bodyLocation.endOffset);
201 assert.notStrictEqual(htmlLocation.endOffset, html.length);
225 assert.strictEqual(htmlLocation.endOffset, html.length);
226 assert.strictEqual(bodyLocation.endOffset, html.length);
246 offset: location.endOffset,
256 offset: endLocation.endOffset,
Dindex.ts73 endOffset: -1,
250 endOffset: beforeToken ? loc.startOffset : loc.endOffset, constant
472 const { endLine, endCol, endOffset } = token.location; constant
473 this.treeAdapter.updateNodeSourceCodeLocation(textNode, { endLine, endCol, endOffset });
499 endOffset: ctLoc.endOffset,
504 endOffset: ctLoc.startOffset,
/third_party/parse5/packages/parse5-sax-parser/test/
Dlocation-info.test.ts11 assert.strictEqual(typeof sourceCodeLocation.endOffset, 'number');
12 assert.ok(sourceCodeLocation.startOffset < sourceCodeLocation.endOffset);
43 endOffset: 49,
/third_party/parse5/test/utils/
Dgenerate-location-info-parser-tests.ts30 let actual = html.substring(loc.startOffset, loc.endOffset);
52 const length = location.startTag.endOffset - location.startTag.startOffset;
66 const length = location.endTag.endOffset - location.endTag.startOffset;
83 attr.endOffset - location.startOffset
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCompilationMessages.cpp83 uint64_t endOffset = offset; in AddMessage() local
85 endOffset += lines[i].length() + 1; in AddMessage()
91 endOffset += endLinePos - 1; in AddMessage()
95 length = endOffset - offset; in AddMessage()
DRingBufferAllocator.cpp37 mUsedStartOffset = request.endOffset; in Deallocate()
112 request.endOffset = mUsedEndOffset; in Allocate()
DRingBufferAllocator.h46 uint64_t endOffset; member
/third_party/typescript/src/testRunner/unittests/tsserver/
DprojectReferenceCompileOnSave.ts166 endOffset: location.offset,
207 endOffset: location.offset,
308 endOffset: location.offset,
349 endOffset: location.offset,
501 endOffset: location.offset,
542 endOffset: location.offset,
643 endOffset: location.offset,
684 endOffset: location.offset,
778 endOffset: location.offset,
819 endOffset: location.offset,
[all …]
Drefactors.ts31 endOffset: 4,
79 endOffset: 20,
131 endOffset: aTs.content.length,
DcompileOnSave.ts79 endOffset: 1,
89 endOffset: 1,
114 endOffset: 46,
137 endOffset: 28,
150 endOffset: 1,
161 endOffset: 1,
262 endOffset: 1,
347 endOffset: 27,
376 endOffset: 27,
400 endOffset: 1,
[all …]
DduplicatePackages.ts31 endOffset: 4,
DprojectReferencesSourcemap.ts260 endOffset: 1,
274 endOffset: 1,
1578 …file: dependencyTs.path, line: 1, offset: 1, endLine: 1, endOffset: 1, insertString: `function foo…
1604 …file: dependencyTs.path, line: 1, offset: 1, endLine: 1, endOffset: 1, insertString: `function foo…
2602 …file: dependencyTs.path, line: 1, offset: 1, endLine: 1, endOffset: 1, insertString: `function foo…
2636 …file: dependencyTs.path, line: 1, offset: 1, endLine: 1, endOffset: 1, insertString: `function foo…
DresolutionCache.ts95 … { file: file1.path, line: 1, offset: 44, endLine: 1, endOffset: 44, insertString: "\n" }
249 … { file: file1.path, line: 1, offset: 44, endLine: 1, endOffset: 44, insertString: "\n" }
/third_party/parse5/packages/parse5/lib/tokenizer/
Dtokenizer-location-info.test.ts25 const actual = this.html.substring(location.startOffset, location.endOffset);
62 assert.strictEqual(location.endOffset, location.startOffset);
63 assert.strictEqual(location.endOffset, this.html.length);
Dpreprocessor.ts54 endOffset: offset,
Dindex.ts309 endOffset: -1,
496 this.currentLocation.endOffset = this.preprocessor.offset;
508 ct.location.endOffset = this.preprocessor.offset + 1;
562 this.currentCharacterToken.location.endOffset = nextLocation.startOffset;
590 location.endOffset = location.startOffset;
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/
DReadableFontData.java583 int endOffset, in searchUShort() argument
597 int locationEnd = this.readUShort(endIndex + location * endOffset); in searchUShort()
628 int endOffset, in searchULong() argument
642 int locationEnd = this.readULongAsInt(endIndex + location * endOffset); in searchULong()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSROA.cpp178 uint64_t endOffset() const { return EndOffset; } in endOffset() function in __anona8b6ca530111::Slice
201 if (endOffset() > RHS.endOffset()) in operator <()
218 beginOffset() == RHS.beginOffset() && endOffset() == RHS.endOffset(); in operator ==()
386 uint64_t endOffset() const { return EndOffset; } in endOffset() function in llvm::sroa::Partition
475 return S->endOffset() <= in advance()
481 return S->endOffset() == MaxSplitSliceEndOffset; in advance()
486 return S->endOffset() <= MaxSplitSliceEndOffset; in advance()
505 if (S.isSplittable() && S.endOffset() > P.EndOffset) { in advance()
508 std::max(S.endOffset(), MaxSplitSliceEndOffset); in advance()
538 P.EndOffset = P.SI->endOffset(); in advance()
[all …]
/third_party/lzma/C/
DXzIn.c294 Int64 endOffset = 0; in Xzs_ReadBackward() local
295 RINOK(ILookInStream_Seek(stream, &endOffset, SZ_SEEK_END)); in Xzs_ReadBackward()
296 *startOffset = endOffset; in Xzs_ReadBackward()
321 …if (progress && ICompressProgress_Progress(progress, (UInt64)(endOffset - *startOffset), (UInt64)(… in Xzs_ReadBackward()
/third_party/parse5/packages/parse5-htmlparser2-tree-adapter/lib/
Dindex.ts274 node.endIndex = location.endOffset;
285 if (endLocation.endOffset != null) node.endIndex = endLocation.endOffset;
/third_party/parse5/packages/parse5-sax-parser/lib/
Dindex.ts137 const { endLine, endCol, endOffset } = location; constant
142 endOffset,
/third_party/parse5/packages/parse5/lib/common/
Dtoken.ts27 endOffset: number; property
/third_party/parse5/packages/parse5-html-rewriting-stream/lib/
Dindex.ts78 const end = location.endOffset - droppedBufferSize;
/third_party/typescript/src/harness/
Dclient.ts709 … const { line: endLine, offset: endOffset } = this.positionToOneBasedLineOffset(file, end);
710 return { file, startLine, startOffset, endLine, endOffset };
713 …: number, end: number): protocol.FileLocationRequestArgs & { endLine: number, endOffset: number } {
715 … const { line: endLine, offset: endOffset } = this.positionToOneBasedLineOffset(file, end);
716 return { file, line, offset, endLine, endOffset };

12