Home
last modified time | relevance | path

Searched defs:LineIndex (Results 1 – 16 of 16) sorted by relevance

/third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/
Dline_index.rs17 pub(crate) struct LineIndex { struct
18 pub(crate) index: Arc<ide::LineIndex>, argument
19 pub(crate) endings: LineEndings,
20 pub(crate) encoding: PositionEncoding,
Dto_proto.rs30 pub(crate) fn position(line_index: &LineIndex, offset: TextSize) -> lsp_types::Position { in position()
41 pub(crate) fn range(line_index: &LineIndex, range: TextRange) -> lsp_types::Range { in range()
150 pub(crate) fn text_edit(line_index: &LineIndex, indel: Indel) -> lsp_types::TextEdit { in text_edit()
160 line_index: &LineIndex, in completion_text_edit()
177 line_index: &LineIndex, in snippet_text_edit()
193 line_index: &LineIndex, in text_edit_vec()
200 line_index: &LineIndex, in snippet_text_edit_vec()
212 line_index: &LineIndex, in completion_items()
233 line_index: &LineIndex, in completion_item()
434 line_index: &LineIndex, in inlay_hint()
[all …]
Dfrom_proto.rs29 pub(crate) fn offset(line_index: &LineIndex, position: lsp_types::Position) -> Result<TextSize> { in offset()
45 pub(crate) fn text_range(line_index: &LineIndex, range: lsp_types::Range) -> Result<TextRange> { in text_range()
Dglobal_state.rs433 pub(crate) fn file_line_index(&self, file_id: FileId) -> Cancellable<LineIndex> { in file_line_index()
/third_party/rust/rust/src/tools/rust-analyzer/lib/line-index/src/
Dlib.rs85 pub struct LineIndex { struct
94 impl LineIndex { argument
96 pub fn new(text: &str) -> LineIndex { in new()
/third_party/rust/crates/codespan/codespan/src/
Dindex.rs18 pub struct LineIndex(pub RawIndex); struct
20 impl LineIndex { impl
39 impl Default for LineIndex { implementation
45 impl fmt::Debug for LineIndex { implementation
53 impl fmt::Display for LineIndex { implementation
Dlocation.rs18 pub fn new(line: impl Into<LineIndex>, column: impl Into<ColumnIndex>) -> Location { in new()
Dfile.rs131 line_index: impl Into<LineIndex>, in line_span()
150 pub fn line_index(&self, file_id: FileId, byte_index: impl Into<ByteIndex>) -> LineIndex { in line_index()
315 fn last_line_index(&self) -> LineIndex { in last_line_index()
326 fn line_index(&self, byte_index: ByteIndex) -> LineIndex { in line_index()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/
Dlib.rs329 fn line_index(&self, file_id: FileId) -> Arc<LineIndex>; in line_index()
332 fn line_index(db: &dyn LineIndexDatabase, file_id: FileId) -> Arc<LineIndex> { in line_index()
/third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/cli/
Dscip.rs190 fn text_range_to_scip_range(line_index: &LineIndex, range: TextRange) -> Vec<i32> { in text_range_to_scip_range()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DGCOV.cpp740 for (uint32_t LineIndex = 0; LineIndex < Line.LastLine || !AllLines.empty(); in print() local
852 uint32_t LineIndex, uint32_t &BlockNo) const { in printBlockInfo()
/third_party/skia/experimental/sktext/include/
DTypes.h71 typedef size_t LineIndex; typedef
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
Draw_ostream.cpp366 size_t LineIndex = 0; in operator <<() local
/third_party/typescript/src/server/
DscriptVersionCache.ts397 export class LineIndex { class
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
Draw_ostream.cpp406 size_t LineIndex = 0; in operator <<() local
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide/src/
Dlib.rs290 pub fn file_line_index(&self, file_id: FileId) -> Cancellable<Arc<LineIndex>> { in file_line_index()