Home
last modified time | relevance | path

Searched refs:ByteOffset (Results 1 - 25 of 38) sorted by relevance

12

/third_party/rust/crates/codespan/codespan/src/
H A Dindex.rs233 pub struct ByteOffset(pub RawOffset); in fmt() structure names
235 impl ByteOffset { impls
239 /// use codespan::ByteOffset;
241 /// assert_eq!(ByteOffset::from_char_len('A').to_usize(), 1);
242 /// assert_eq!(ByteOffset::from_char_len('ß').to_usize(), 2);
243 /// assert_eq!(ByteOffset::from_char_len('ℝ').to_usize(), 3);
244 /// assert_eq!(ByteOffset::from_char_len('?').to_usize(), 4);
246 pub fn from_char_len(ch: char) -> ByteOffset { in from_char_len()
247 ByteOffset(ch.len_utf8() as RawOffset) in from_char_len()
253 /// use codespan::ByteOffset;
[all...]
H A Dlib.rs18 pub use crate::index::{ByteIndex, ByteOffset};
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
H A 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()
H A DWholeProgramDevirt.cpp255 // tables, and the ByteOffset is the offset in bytes from the address point to
259 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);
814 tryFindVirtualCallTargets( std::vector<VirtualCallTarget> &TargetsForSlot, const std::set<TypeMemberInfo> &TypeMemberInfos, uint64_t ByteOffset) tryFindVirtualCallTargets() argument
842 tryFindVirtualCallTargets( std::vector<ValueInfo> &TargetsForSlot, const TypeIdCompatibleVtableInfo TIdInfo, uint64_t ByteOffset) tryFindVirtualCallTargets() argument
[all...]
H A 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/
H A 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()
H A DDebugLocStream.cpp28 if (Entries.back().ByteOffset != DWARFBytes.size()) in finalizeEntry()
/third_party/node/test/addons/openssl-binding/
H A Dbinding.cc12 auto byte_offset = view->ByteOffset(); in RandomBytes()
26 auto byte_offset = view->ByteOffset(); in Hash()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DConstantFolding.cpp377 /// out of. ByteOffset is an offset into C. CurPtr is the pointer to copy
380 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()
[all...]
/third_party/node/test/addons/zlib-binding/
H A 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/
H A DLowerTypeTests.h38 uint64_t ByteOffset; member
H A DWholeProgramDevirt.h236 uint64_t ByteOffset; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp1250 int64_t getSMRDEncodedOffset(const MCSubtargetInfo &ST, int64_t ByteOffset) {
1252 return ByteOffset;
1253 return ByteOffset >> 2;
1256 bool isLegalSMRDImmOffset(const MCSubtargetInfo &ST, int64_t ByteOffset) {
1257 int64_t EncodedOffset = getSMRDEncodedOffset(ST, ByteOffset);
H A DAMDGPUBaseInfo.h651 /// \returns The encoding that will be used for \p ByteOffset in the SMRD
653 int64_t getSMRDEncodedOffset(const MCSubtargetInfo &ST, int64_t ByteOffset);
656 /// offset field. \p ByteOffset should be the offset in bytes and
658 bool isLegalSMRDImmOffset(const MCSubtargetInfo &ST, int64_t ByteOffset);
/third_party/node/deps/v8/include/
H A Dv8-array-buffer.h306 size_t ByteOffset();
318 * ByteOffset of the underlying buffer to the memory starting at |dest|.
/third_party/node/src/
H A Dnode_wasm_web_api.cc111 offset = view->ByteOffset(); in Push()
H A Daliased_buffer-inl.h93 DCHECK_EQ(byte_offset_, arr->ByteOffset()); in Deserialize()
H A Dnode_buffer.cc249 return static_cast<char*>(ui->Buffer()->Data()) + ui->ByteOffset(); in Data()
1206 char* write_result = static_cast<char*>(buf->Data()) + dest->ByteOffset(); in EncodeInto()
1213 result_arr->ByteOffset()); in EncodeInto()
H A Dnode_blob.cc107 CHECK_EQ(view->ByteOffset(), 0); in New()
/third_party/node/benchmark/napi/function_args/
H A Dbinding.cc102 const size_t byte_offset = view->ByteOffset(); in CallWithTypedarray()
/third_party/node/deps/v8/include/v8-include/
H A Dv8-array-buffer.h360 size_t ByteOffset();
372 * ByteOffset of the underlying buffer to the memory starting at |dest|.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A 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()
H A 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/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A 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/node/src/crypto/
H A Dcrypto_util.h700 offset_ = view->ByteOffset(); in ArrayBufferOrViewContents()

Completed in 32 milliseconds

12