Home
last modified time | relevance | path

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

12

/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/boost/boost/interprocess/
Doffset_ptr.hpp229 class offset_ptr class
232 typedef offset_ptr<PointedType, DifferenceType, OffsetType, OffsetAlignment> self_t;
254 BOOST_INTERPROCESS_FORCEINLINE offset_ptr() BOOST_NOEXCEPT in offset_ptr() function in boost::interprocess::offset_ptr
260 BOOST_INTERPROCESS_FORCEINLINE offset_ptr(pointer ptr) BOOST_NOEXCEPT in offset_ptr() function in boost::interprocess::offset_ptr
267 BOOST_INTERPROCESS_FORCEINLINE offset_ptr( T *ptr in offset_ptr() function in boost::interprocess::offset_ptr
274 BOOST_INTERPROCESS_FORCEINLINE offset_ptr(const offset_ptr& ptr) BOOST_NOEXCEPT in offset_ptr() function in boost::interprocess::offset_ptr
281 …BOOST_INTERPROCESS_FORCEINLINE offset_ptr( const offset_ptr<T2, DifferenceType, OffsetType, Offset… in offset_ptr() function in boost::interprocess::offset_ptr
292 …BOOST_INTERPROCESS_FORCEINLINE offset_ptr( const offset_ptr<T2, DifferenceType, OffsetType, Offset… in offset_ptr() function in boost::interprocess::offset_ptr
302 …BOOST_INTERPROCESS_FORCEINLINE explicit offset_ptr(const offset_ptr<T2, DifferenceType, OffsetType… in offset_ptr() function in boost::interprocess::offset_ptr
315 …BOOST_INTERPROCESS_FORCEINLINE offset_ptr(const offset_ptr<T2, P2, O2, A2> & r, ipcdetail::static_… in offset_ptr() function in boost::interprocess::offset_ptr
[all …]
Dinterprocess_fwd.hpp254 class offset_ptr;
261 template<class MutexFamily, class VoidMutex = offset_ptr<void> >
264 template<class MutexFamily, class VoidMutex = offset_ptr<void>, std::size_t MemAlignment = 0>
508 typedef message_queue_t<offset_ptr<void> > message_queue;
/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/boost/libs/interprocess/test/
Doffset_ptr_test.cpp32 typedef offset_ptr<int> pint_t; in test_types_and_conversions()
33 typedef offset_ptr<const int> pcint_t; in test_types_and_conversions()
34 typedef offset_ptr<volatile int> pvint_t; in test_types_and_conversions()
35 typedef offset_ptr<const volatile int> pcvint_t; in test_types_and_conversions()
132 typedef offset_ptr<Base> pbase_t; in test_base_derived()
133 typedef offset_ptr<const Base> pcbas_t; in test_base_derived()
134 typedef offset_ptr<Derived> pderi_t; in test_base_derived()
135 typedef offset_ptr<VirtualDerived> pvder_t; in test_base_derived()
145 typedef offset_ptr<int> pint_t; in test_arithmetic()
210 typedef offset_ptr<int> pint_t; in test_comparison()
[all …]
Dintrusive_ptr_test.cpp22 typedef boost::interprocess::offset_ptr<void> VP;
126 boost::interprocess::offset_ptr<X> p = new X; in pointer_constructor()
135 boost::interprocess::offset_ptr<X> p = new X; in pointer_constructor()
308 (boost::interprocess::offset_ptr<X>(new X)); in test()
339 boost::interprocess::offset_ptr<X> p = new X; in test()
362 boost::interprocess::offset_ptr<X> p1 = new X; in test()
363 boost::interprocess::offset_ptr<X> p2 = new X; in test()
413 std::less<boost::interprocess::offset_ptr<T> > less; in test3()
521 boost::interprocess::offset_ptr<foo> foo_ptr = new foo; in test()
Dmemory_algorithm_test.cpp54 ,rbtree_best_fit<mutex_family, offset_ptr<void>, Alignment> in test_rbtree_best_fit()
71 …const std::size_t void_ptr_align = ::boost::container::dtl::alignment_of<offset_ptr<void> >::value; in main()
Dunique_ptr_test.cpp66 offset_ptr<MyClass> ptr1 = my_ptr.get(); in main()
67 offset_ptr<MyClass> ptr2 = my_ptr2.get(); in main()
/third_party/mindspore/mindspore/ccsrc/pybind_api/random_normal/
Drandom_cpu_kernel.cc46 float *offset_ptr = nullptr; in InitRandomNormal() local
49 offset_ptr = start_ptr + batchSize * i; in InitRandomNormal()
51 generator, offset_ptr, batchSize, i); in InitRandomNormal()
53 offset_ptr = start_ptr + batchSize * (thread_num - 1); in InitRandomNormal()
56 offset_ptr, total_count - (thread_num - 1) * batchSize, thread_num - 1); in InitRandomNormal()
/third_party/mindspore/mindspore/ccsrc/ps/random_normal/
Drandom_normal.cc88 float *offset_ptr = nullptr; in InitRandomNormal() local
90 offset_ptr = start_ptr + batchSize * i; in InitRandomNormal()
92 …std::thread(FillRandoms<NormalDistribution<PhiloxGenerator, float>>, generator, offset_ptr, batchS… in InitRandomNormal()
94 offset_ptr = start_ptr + batchSize * (thread_num - 1); in InitRandomNormal()
96offset_ptr, total_count - (thread_num - 1) * batchSize, thread_num - 1); in InitRandomNormal()
/third_party/glib/glib/
Dgvariant-serialiser.c739 guchar *offset_ptr; in gvs_variable_sized_array_serialise() local
749 offset_ptr = value.data + value.size - offset_size * n_children; in gvs_variable_sized_array_serialise()
762 gvs_write_unaligned_le (offset_ptr, offset, offset_size); in gvs_variable_sized_array_serialise()
763 offset_ptr += offset_size; in gvs_variable_sized_array_serialise()
1052 gsize offset_ptr; in gvs_tuple_is_normal() local
1063 offset_ptr = value.size; in gvs_tuple_is_normal()
1096 end = offset_ptr; in gvs_tuple_is_normal()
1100 if (offset_ptr < offset_size) in gvs_tuple_is_normal()
1103 offset_ptr -= offset_size; in gvs_tuple_is_normal()
1105 if (offset_ptr < offset) in gvs_tuple_is_normal()
[all …]
/third_party/boost/libs/interprocess/example/
Ddoc_offset_ptr.cpp24 offset_ptr<list_node> next;
65 offset_ptr<list_node> prev = 0, current, first; in main()
Ddoc_intrusive.cpp37 offset_ptr<segment_manager> mp_segment_manager;
66 offset_ptr<void> > intrusive_ptr_t;
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/
Dbatchnorm_int8_coder.cc118 auto offset_ptr = reinterpret_cast<int8_t *>(offset->MutableData()); in InitFusedConstTensor() local
123 MS_CHECK_PTR(offset_ptr); in InitFusedConstTensor()
153 float tmp_b = zp_out + div_36 * (offset_ptr[i] - zp_offset) - tmp_a * zp_in - in InitFusedConstTensor()
/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/flutter/skia/third_party/externals/libwebp/src/enc/
Dbackward_references_enc.h154 int* const offset_ptr, in VP8LHashChainFindCopy() argument
156 *offset_ptr = VP8LHashChainFindOffset(p, base_position); in VP8LHashChainFindCopy()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dbatchnorm_int8.cc110 auto offset_ptr = reinterpret_cast<int8_t *>(offset->MutableData()); in InitFusedConstTensor() local
111 CHECK_NULL_RETURN(offset_ptr); in InitFusedConstTensor()
156 float tmp_b = zp_out + div_36 * (offset_ptr[i] - zp_offset) - tmp_a * zp_in - in InitFusedConstTensor()
Dscale_int8.cc74 auto *offset_ptr = reinterpret_cast<int8_t *>(offset_tensor->data()); in InitScaleOffset() local
76 if (offset_ptr != nullptr) { in InitScaleOffset()
78 input2_data_ = offset_ptr; in InitScaleOffset()
/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);
/third_party/boost/boost/interprocess/detail/
Dmanaged_global_memory.hpp49 typedef rbtree_best_fit<intermodule_singleton_mutex_family, offset_ptr<void> > mem_algo;
/third_party/boost/libs/intrusive/example/
Ddoc_offset_ptr.cpp49 : public list_base_hook< void_pointer< ip::offset_ptr<void> > >

12