Home
last modified time | relevance | path

Searched refs:ByteIndex (Results 1 - 7 of 7) sorted by relevance

/third_party/rust/crates/codespan/codespan/src/
H A Dspan.rs6 use crate::{ByteIndex, RawIndex};
11 start: ByteIndex,
12 end: ByteIndex,
17 pub fn new(start: impl Into<ByteIndex>, end: impl Into<ByteIndex>) -> Span { in new()
29 start: ByteIndex(0),
30 end: ByteIndex(0),
37 /// use codespan::{ByteIndex, Span};
90 /// use codespan::{ByteIndex, Span};
94 /// assert_eq!(span.start(), ByteIndex
[all...]
H A Dfile.rs7 use crate::{ByteIndex, ColumnIndex, LineIndex, LineOffset, Location, RawIndex, Span};
150 pub fn line_index(&self, file_id: FileId, byte_index: impl Into<ByteIndex>) -> LineIndex { in line_index()
157 /// use codespan::{ByteIndex, Files, Location, Span};
171 byte_index: impl Into<ByteIndex>, in location()
271 line_starts: Vec<ByteIndex>,
280 .map(|i| ByteIndex::from(i as u32)) in new()
292 .map(|i| ByteIndex::from(i as u32)) in update()
302 fn line_start(&self, line_index: LineIndex) -> Result<ByteIndex, Error> { in line_start()
326 fn line_index(&self, byte_index: ByteIndex) -> LineIndex { in line_index()
334 fn location(&self, byte_index: ByteIndex)
[all...]
H A Dlib.rs18 pub use crate::index::{ByteIndex, ByteOffset};
/third_party/skia/src/sfnt/
H A DSkOTTable_glyf.h195 struct ByteIndex { struct
/third_party/node/deps/v8/src/objects/
H A Dordered-hash-table.h406 // ByteIndex points to a index in the table that needs to be
408 using ByteIndex = int;
613 byte getByte(Offset offset, ByteIndex index) const {
619 void setByte(Offset offset, ByteIndex index, byte value) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp1489 uint64_t ByteIndex = M == -1 ? 0 : (uint64_t)M * LaneBytes + J; in LowerVECTOR_SHUFFLE() local
1490 Ops[OpIdx++] = DAG.getConstant(ByteIndex, DL, MVT::i32); in LowerVECTOR_SHUFFLE()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DR600ISelLowering.cpp1287 SDValue ByteIndex = DAG.getNode(ISD::AND, DL, PtrVT, Ptr, in LowerSTORE() local
1289 SDValue BitShift = DAG.getNode(ISD::SHL, DL, VT, ByteIndex, in LowerSTORE()

Completed in 15 milliseconds