Home
last modified time | relevance | path

Searched refs:offset_ptr (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDataExtractor.cpp27 static T getU(uint64_t *offset_ptr, const DataExtractor *de, in getU() argument
34 uint64_t offset = *offset_ptr; in getU()
44 *offset_ptr += sizeof(val); in getU()
49 static T *getUs(uint64_t *offset_ptr, T *dst, uint32_t count, in getUs() argument
56 uint64_t offset = *offset_ptr; in getUs()
64 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data, Err); in getUs()
66 *offset_ptr = offset; in getUs()
72 uint8_t DataExtractor::getU8(uint64_t *offset_ptr, llvm::Error *Err) const { in getU8() argument
73 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data(), Err); in getU8()
77 DataExtractor::getU8(uint64_t *offset_ptr, uint8_t *dst, uint32_t count) const { in getU8() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugArangeSet.cpp33 DWARFDebugArangeSet::extract(DataExtractor data, uint64_t *offset_ptr) { in extract() argument
34 if (data.isValidOffset(*offset_ptr)) { in extract()
36 Offset = *offset_ptr; in extract()
52 HeaderData.Length = data.getU32(offset_ptr); in extract()
53 HeaderData.Version = data.getU16(offset_ptr); in extract()
54 HeaderData.CuOffset = data.getU32(offset_ptr); in extract()
55 HeaderData.AddrSize = data.getU8(offset_ptr); in extract()
56 HeaderData.SegSize = data.getU8(offset_ptr); in extract()
69 const uint32_t header_size = *offset_ptr - Offset; in extract()
75 *offset_ptr = Offset + first_tuple_offset; in extract()
[all …]
DDWARFDebugRangeList.cpp26 uint64_t *offset_ptr) { in extract() argument
28 if (!data.isValidOffset(*offset_ptr)) in extract()
30 "invalid range list offset 0x%" PRIx64, *offset_ptr); in extract()
36 Offset = *offset_ptr; in extract()
41 uint64_t prev_offset = *offset_ptr; in extract()
42 Entry.StartAddress = data.getRelocatedAddress(offset_ptr); in extract()
44 data.getRelocatedAddress(offset_ptr, &Entry.SectionIndex); in extract()
47 if (*offset_ptr != prev_offset + 2 * AddressSize) { in extract()
DDWARFUnit.cpp257 uint64_t *offset_ptr, in extract() argument
261 Offset = *offset_ptr; in extract()
265 IndexEntry = Index->getFromOffset(*offset_ptr); in extract()
266 Length = debug_info.getRelocatedValue(4, offset_ptr, nullptr, &Err); in extract()
269 Length = debug_info.getU64(offset_ptr, &Err); in extract()
272 FormParams.Version = debug_info.getU16(offset_ptr, &Err); in extract()
274 UnitType = debug_info.getU8(offset_ptr, &Err); in extract()
275 FormParams.AddrSize = debug_info.getU8(offset_ptr, &Err); in extract()
277 FormParams.getDwarfOffsetByteSize(), offset_ptr, nullptr, &Err); in extract()
280 FormParams.getDwarfOffsetByteSize(), offset_ptr, nullptr, &Err); in extract()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DDataExtractor.h120 const char *getCStr(uint64_t *offset_ptr) const;
142 StringRef getCStrRef(uint64_t *offset_ptr) const;
174 uint64_t getUnsigned(uint64_t *offset_ptr, uint32_t byte_size,
207 int64_t getSigned(uint64_t *offset_ptr, uint32_t size) const;
226 uint64_t getAddress(uint64_t *offset_ptr) const { in getAddress() argument
227 return getUnsigned(offset_ptr, AddressSize); in getAddress()
255 uint8_t getU8(uint64_t *offset_ptr, Error *Err = nullptr) const;
285 uint8_t *getU8(uint64_t *offset_ptr, uint8_t *dst, uint32_t count) const;
329 uint16_t getU16(uint64_t *offset_ptr, Error *Err = nullptr) const;
359 uint16_t *getU16(uint64_t *offset_ptr, uint16_t *dst, uint32_t count) const;
[all …]
/third_party/node/deps/v8/src/profiler/
Dtick-sample.cc64 for (int* offset_ptr = pattern->offsets; *offset_ptr != -1; ++offset_ptr) { in IsNoFrameRegion() local
65 int offset = *offset_ptr; in IsNoFrameRegion()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dbackward_references_enc.h155 int* const offset_ptr, in VP8LHashChainFindCopy() argument
157 *offset_ptr = VP8LHashChainFindOffset(p, base_position); in VP8LHashChainFindCopy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugRangeList.h71 Error extract(const DWARFDataExtractor &data, uint64_t *offset_ptr);
DDWARFDebugArangeSet.h60 bool extract(DataExtractor data, uint64_t *offset_ptr);
DDWARFUnit.h74 uint64_t *offset_ptr, DWARFSectionKind Kind = DW_SECT_INFO,
/third_party/node/src/
Dnode_wasi.cc943 uint32_t offset_ptr; in FdTell() local
948 CHECK_TO_TYPE_OR_RETURN(args, args[1], Uint32, offset_ptr); in FdTell()
950 Debug(wasi, "fd_tell(%d, %d)\n", fd, offset_ptr); in FdTell()
954 offset_ptr, in FdTell()
960 uvwasi_serdes_write_filesize_t(memory, offset_ptr, offset); in FdTell()
/third_party/pcre2/pcre2/src/sljit/
DsljitNativeARM_T2_32.c2315 sljit_u8 *offset_ptr = offsets; in softfloat_call_with_args() local
2329 *offset_ptr++ = (sljit_u8)offset; in softfloat_call_with_args()
2334 *offset_ptr++ = (sljit_u8)offset; in softfloat_call_with_args()
2339 *offset_ptr++ = (sljit_u8)offset; in softfloat_call_with_args()
2374 offset = *(--offset_ptr); in softfloat_call_with_args()
2390 offset = *(--offset_ptr); in softfloat_call_with_args()
2404 offset = *(--offset_ptr); in softfloat_call_with_args()
DsljitNativeARM_32.c2738 sljit_u8 *offset_ptr = offsets; in softfloat_call_with_args() local
2752 *offset_ptr++ = (sljit_u8)offset; in softfloat_call_with_args()
2757 *offset_ptr++ = (sljit_u8)offset; in softfloat_call_with_args()
2762 *offset_ptr++ = (sljit_u8)offset; in softfloat_call_with_args()
2795 offset = *(--offset_ptr); in softfloat_call_with_args()
2811 offset = *(--offset_ptr); in softfloat_call_with_args()
2825 offset = *(--offset_ptr); in softfloat_call_with_args()
/third_party/glib/patch/
Dbackport-CVE-2023-24593_CVE-2023-25180-1.patch2351 - return offset_ptr == offset;
2352 + /* @offset_ptr has been counting backwards from the end of the variant, to
2356 + if (offset_ptr != offset)
2359 + offset_table_size = value.size - offset_ptr;
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c4152 LLVMValueRef offset_ptr = LLVMBuildGEP2(ctx->ac.builder, comp_type, ptr, &offset, 1, ""); in visit_intrinsic() local
4154 offset_ptr = LLVMBuildBitCast(ctx->ac.builder, offset_ptr, in visit_intrinsic()
4157 LLVMBuildStore(ctx->ac.builder, offset_src, offset_ptr); in visit_intrinsic()
Dac_llvm_build.c1104 LLVMValueRef offset_ptr = LLVMBuildGEP(ctx->builder, ptr, &index, 1, ""); in ac_build_pointer_add() local
1105 return LLVMBuildPointerCast(ctx->builder, offset_ptr, LLVMTypeOf(ptr), ""); in ac_build_pointer_add()