Home
last modified time | relevance | path

Searched refs:offset_t (Results 1 – 12 of 12) sorted by relevance

/third_party/boost/boost/interprocess/
Dmapped_region.hpp131 ,offset_t offset = 0
240 (offset_t mapping_size, offset_t offset, offset_t page_offset, std::size_t &size);
241 static offset_t priv_page_offset_addr_fixup(offset_t page_offset, const void *&addr);
346 (offset_t mapping_size, offset_t offset, offset_t page_offset, std::size_t &size) in priv_size_from_mapping_size()
359 inline offset_t mapped_region::priv_page_offset_addr_fixup(offset_t offset, const void *&address) in priv_page_offset_addr_fixup()
395 ,offset_t offset in mapped_region()
463 const offset_t page_offset = priv_page_offset_addr_fixup(offset, address); in mapped_region()
467 offset_t mapping_size; in mapped_region()
588 , offset_t offset in mapped_region()
643 const offset_t page_offset = priv_page_offset_addr_fixup(offset, address); in mapped_region()
Dshared_memory_object.hpp111 void truncate(offset_t length);
127 bool get_size(offset_t &size) const;
164 inline bool shared_memory_object::get_size(offset_t &size) const in get_size()
238 inline void shared_memory_object::truncate(offset_t length) in truncate()
395 inline void shared_memory_object::truncate(offset_t length) in truncate()
Dwindows_shared_memory.hpp126 offset_t get_size() const;
168 inline offset_t windows_shared_memory::get_size() const in get_size()
170 offset_t size; //This shall never fail in get_size()
/third_party/boost/boost/interprocess/detail/
Dos_file_functions.hpp60 typedef __int64 offset_t; typedef
156 offset_t filesize; in truncate_file()
160 typedef ::boost::move_detail::make_unsigned<offset_t>::type uoffset_t; in truncate_file()
161 const uoffset_t max_filesize = uoffset_t((std::numeric_limits<offset_t>::max)()); in truncate_file()
169 if(offset_t(size) > filesize){ in truncate_file()
199 inline bool get_file_size(file_handle_t hnd, offset_t &size) in get_file_size()
202 inline bool set_file_pointer(file_handle_t hnd, offset_t off, file_pos_t pos) in set_file_pointer()
205 inline bool get_file_pointer(file_handle_t hnd, offset_t &off) in get_file_pointer()
389 typedef off_t offset_t;
498 inline bool get_file_size(file_handle_t hnd, offset_t &size)
[all …]
Dfile_wrapper.hpp87 void truncate(offset_t length);
99 bool get_size(offset_t &size) const;
131 inline bool file_wrapper::get_size(offset_t &size) const in get_size()
191 inline void file_wrapper::truncate(offset_t length) in truncate()
Dmanaged_open_or_create_impl.hpp277 static void truncate_device(DeviceAbstraction &, offset_t, false_) in truncate_device() argument
281 static void truncate_device(DeviceAbstraction &dev, offset_t size, true_) in truncate_device()
291 { return size == std::size_t(offset_t(size)); } in check_offset_t_size()
442 offset_t filesize = 0; in priv_open_or_create()
Dmanaged_memory_impl.hpp119 offset_t old_size; in grow()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dtensor.h62 using offset_t = uint32_t; // type of offset values to store strin… variable
269 offset_t length = 0; in SetItemAt()
584 auto offset_ = reinterpret_cast<const offset_t *>(data_);
585 offset_t start = offset_[index_];
705 Status GetItemPtr(uchar **, const std::vector<dsize_t> &index, offset_t *length = nullptr) const;
711 Status GetStringAt(dsize_t index, uchar **string_start, offset_t *length) const;
752 static constexpr uint8_t kOffsetSize = sizeof(offset_t);
809 auto offset_arr = reinterpret_cast<offset_t *>((*out)->data_);
812 offset_t offset = buf - (*out)->data_; // the first string will start here
Dtensor.cc236 auto offset_arr = reinterpret_cast<offset_t *>((*out)->data_); in CreateFromByteList()
239 offset_t offset = buf - (*out)->data_; // the first string will start here in CreateFromByteList()
521 Status Tensor::GetItemPtr(uchar **ptr, const std::vector<dsize_t> &index, offset_t *length) const { in GetItemPtr()
531 offset_t length_temp = 0; in GetItemPtr()
780 offset_t length = 0; in GetItemAt()
982 Status Tensor::GetStringAt(dsize_t index, uchar **string_start, offset_t *length) const { in GetStringAt()
987 auto *offset_ptr = reinterpret_cast<offset_t *>(data_); // offsets starts here in GetStringAt()
988 offset_t start = offset_ptr[index]; in GetStringAt()
/third_party/boost/boost/geometry/srs/projections/impl/
Dpj_gridinfo.hpp128 typedef boost::long_long_type offset_t; typedef
132 offset_t off = 0, in pj_gi_load()
144 offset_t grid_offset; // offset in file, for delayed loading
165 pj_gi_load::offset_t off = 0, in pj_gi()
/third_party/boost/libs/log/src/posix/
Dipc_reliable_message_queue.cpp247 boost::interprocess::offset_t shmem_size = 0; in implementation()
269 boost::interprocess::offset_t shmem_size = 0; in implementation()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d40_tex.c166 p2_unpacked->offset_t = in handle_tex_src()