Home
last modified time | relevance | path

Searched refs:ByteOffset (Results 1 – 25 of 32) sorted by relevance

12

/third_party/rust/crates/codespan/codespan/src/
Dindex.rs233 pub struct ByteOffset(pub RawOffset); struct
235 impl ByteOffset { implementation
246 pub fn from_char_len(ch: char) -> ByteOffset { in from_char_len() argument
247 ByteOffset(ch.len_utf8() as RawOffset) in from_char_len()
260 pub fn from_str_len(value: &str) -> ByteOffset { in from_str_len() argument
261 ByteOffset(value.len() as RawOffset) in from_str_len()
270 impl Default for ByteOffset { implementation
272 fn default() -> ByteOffset { in default()
273 ByteOffset(0) in default()
277 impl fmt::Debug for ByteOffset { implementation
[all …]
Dlib.rs18 pub use crate::index::{ByteIndex, ByteOffset};
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalSplit.cpp93 uint64_t ByteOffset = cast<ConstantInt>( in splitGlobal() local
104 uint64_t AttachedTo = (ByteOffset == 0) ? ByteOffset : ByteOffset - 1; in splitGlobal()
111 ConstantInt::get(Int32Ty, ByteOffset - SplitBegin)), in splitGlobal()
DWholeProgramDevirt.cpp259 uint64_t ByteOffset; member
277 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue()
281 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
296 DenseMapInfo<uint64_t>::getHashValue(I.ByteOffset); in getHashValue()
300 return LHS.TypeID == RHS.TypeID && LHS.ByteOffset == RHS.ByteOffset; in isEqual()
500 uint64_t ByteOffset);
604 uint64_t ByteOffset);
729 auto WPDRes = TIdSum->WPDRes.find(SlotSummary.ByteOffset); in updateIndexWPDForExports()
816 const std::set<TypeMemberInfo> &TypeMemberInfos, uint64_t ByteOffset) { in tryFindVirtualCallTargets() argument
822 TM.Offset + ByteOffset, M); in tryFindVirtualCallTargets()
[all …]
DLowerTypeTests.cpp121 if (Offset < ByteOffset) in containsGlobalOffset()
124 if ((Offset - ByteOffset) % (uint64_t(1) << AlignLog2) != 0) in containsGlobalOffset()
127 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; in containsGlobalOffset()
135 OS << "offset " << ByteOffset << " size " << BitSize << " align " in print()
165 BSI.ByteOffset = Min; in build()
1127 Int8Ty, CombinedGlobalAddr, ConstantInt::get(IntPtrTy, BSI.ByteOffset)), in lowerTypeTestCalls()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDebugLocStream.h43 size_t ByteOffset; member
119 .slice(Entries[EI].ByteOffset, getNumBytes(EI)); in getBytes()
145 return DWARFBytes.size() - Entries[EI].ByteOffset; in getNumBytes()
146 return Entries[EI + 1].ByteOffset - Entries[EI].ByteOffset; in getNumBytes()
DDebugLocStream.cpp28 if (Entries.back().ByteOffset != DWARFBytes.size()) in finalizeEntry()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp380 bool ReadDataFromGlobal(Constant *C, uint64_t ByteOffset, unsigned char *CurPtr, in ReadDataFromGlobal() argument
382 assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) && in ReadDataFromGlobal()
398 for (unsigned i = 0; i != BytesLeft && ByteOffset != IntBytes; ++i) { in ReadDataFromGlobal()
399 int n = ByteOffset; in ReadDataFromGlobal()
403 ++ByteOffset; in ReadDataFromGlobal()
411 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
415 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
419 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); in ReadDataFromGlobal()
426 unsigned Index = SL->getElementContainingOffset(ByteOffset); in ReadDataFromGlobal()
428 ByteOffset -= CurEltOffset; in ReadDataFromGlobal()
[all …]
/third_party/node/test/addons/openssl-binding/
Dbinding.cc11 auto byte_offset = view->ByteOffset(); in RandomBytes()
/third_party/node/test/addons/zlib-binding/
Dbinding.cc11 auto byte_offset = view->ByteOffset(); in CompressBytes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DLowerTypeTests.h38 uint64_t ByteOffset; member
DWholeProgramDevirt.h236 uint64_t ByteOffset; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp1250 int64_t getSMRDEncodedOffset(const MCSubtargetInfo &ST, int64_t ByteOffset) { in getSMRDEncodedOffset() argument
1252 return ByteOffset; in getSMRDEncodedOffset()
1253 return ByteOffset >> 2; in getSMRDEncodedOffset()
1256 bool isLegalSMRDImmOffset(const MCSubtargetInfo &ST, int64_t ByteOffset) { in isLegalSMRDImmOffset() argument
1257 int64_t EncodedOffset = getSMRDEncodedOffset(ST, ByteOffset); in isLegalSMRDImmOffset()
DAMDGPUBaseInfo.h653 int64_t getSMRDEncodedOffset(const MCSubtargetInfo &ST, int64_t ByteOffset);
658 bool isLegalSMRDImmOffset(const MCSubtargetInfo &ST, int64_t ByteOffset);
/third_party/node/benchmark/napi/function_args/
Dbinding.cc102 const size_t byte_offset = view->ByteOffset(); in CallWithTypedarray()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUISelDAGToDAG.cpp1201 int64_t ByteOffset = C->getSExtValue(); in SelectDS1Addr1Offset() local
1202 if (isUInt<16>(ByteOffset)) { in SelectDS1Addr1Offset()
1211 if (isDSOffsetLegal(Sub, ByteOffset, 16)) { in SelectDS1Addr1Offset()
1228 Offset = CurDAG->getTargetConstant(ByteOffset, DL, MVT::i16); in SelectDS1Addr1Offset()
1772 int64_t ByteOffset = C->getSExtValue(); in SelectSMRDOffset() local
1773 int64_t EncodedOffset = AMDGPU::getSMRDEncodedOffset(*Subtarget, ByteOffset); in SelectSMRDOffset()
1775 if (AMDGPU::isLegalSMRDImmOffset(*Subtarget, ByteOffset)) { in SelectSMRDOffset()
1781 if (!isUInt<32>(EncodedOffset) || !isUInt<32>(ByteOffset)) in SelectSMRDOffset()
1788 SDValue C32Bit = CurDAG->getTargetConstant(ByteOffset, SL, MVT::i32); in SelectSMRDOffset()
DR600ISelLowering.cpp595 uint32_t ByteOffset = getImplicitParameterOffset(MF, FIRST_IMPLICIT); in LowerOperation() local
596 return DAG.getConstant(ByteOffset, DL, PtrVT); in LowerOperation()
906 unsigned ByteOffset = DwordOffset * 4; in LowerImplicitParameter() local
911 assert(isInt<16>(ByteOffset)); in LowerImplicitParameter()
914 DAG.getConstant(ByteOffset, DL, MVT::i32), // PTR in LowerImplicitParameter()
/third_party/node/src/
Dnode_buffer.cc247 ui->ByteOffset(); in Data()
1102 static_cast<char*>(buf->GetBackingStore()->Data()) + dest->ByteOffset(); in EncodeInto()
1109 result_arr->ByteOffset()); in EncodeInto()
Dnode_blob.cc92 CHECK_EQ(view->ByteOffset(), 0); in New()
Dnode_contextify.cc740 data + cached_data_buf->ByteOffset(), cached_data_buf->ByteLength()); in New()
1100 data + cached_data_buf->ByteOffset(), cached_data_buf->ByteLength()); in CompileFunction()
Dutil-inl.h514 abv->ByteOffset(); in Read()
Dnode_i18n.cc505 orig_ret->ByteOffset() + 2, in Decode()
Djs_native_api_v8.cc2928 array->ByteOffset(); in napi_get_typedarray_info()
2936 *byte_offset = array->ByteOffset(); in napi_get_typedarray_info()
3008 array->ByteOffset(); in napi_get_dataview_info()
3016 *byte_offset = array->ByteOffset(); in napi_get_dataview_info()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp1956 int ByteOffset = AFI->getCalleeSavedStackSize(); in computeCalleeSaveRegisterPairs() local
2048 ByteOffset -= RPI.isPaired() ? 2 * Scale : Scale; in computeCalleeSaveRegisterPairs()
2059 ByteOffset -= 8; in computeCalleeSaveRegisterPairs()
2060 assert(ByteOffset % 16 == 0); in computeCalleeSaveRegisterPairs()
2065 int Offset = RPI.isScalable() ? ScalableByteOffset : ByteOffset; in computeCalleeSaveRegisterPairs()
/third_party/ntfs-3g/libntfs-3g/
Dwin32_io.c232 PLARGE_INTEGER ByteOffset,
244 PLARGE_INTEGER ByteOffset,

12