Home
last modified time | relevance | path

Searched refs:page_offset (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/boost/interprocess/
Dmapped_region.hpp240 (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() argument
351 boost::uintmax_t(mapping_size - (offset - page_offset)) > in priv_size_from_mapping_size()
367 const std::size_t page_offset = in priv_page_offset_addr_fixup() local
371 address = static_cast<const char*>(address) - page_offset; in priv_page_offset_addr_fixup()
373 return page_offset; in priv_page_offset_addr_fixup()
463 const offset_t page_offset = priv_page_offset_addr_fixup(offset, address); in mapped_region() local
473 priv_size_from_mapping_size(mapping_size, offset, page_offset, size); in mapped_region()
480 offset - page_offset, in mapped_region()
[all …]
/third_party/libsnd/src/
Dogg.c458 sf_count_t page_offset = -1 ; in ogg_stream_seek_page_search() local
510 page_offset = -1 ; in ogg_stream_seek_page_search()
530 page_offset = seek_pos ; in ogg_stream_seek_page_search()
570 next_boundary = SF_MIN (page_offset, next_boundary) ; in ogg_stream_seek_page_search()
626 best_start = page_offset ; in ogg_stream_seek_page_search()
680 { if (best_start != page_offset) in ogg_stream_seek_page_search()
681 { page_offset = -1 ; in ogg_stream_seek_page_search()
687 { if (page_offset < 0) in ogg_stream_seek_page_search()
693 page_offset = -1 ; in ogg_stream_seek_page_search()
697 if (page_offset >= 0) in ogg_stream_seek_page_search()
/third_party/glib/gio/
Dgresource-tool.c222 gsize page_size, page_offset; in resource_from_section() local
229 page_offset = shdr->sh_offset % page_size; in resource_from_section()
230 contents = mmap (NULL, shdr->sh_size + page_offset, in resource_from_section()
231 PROT_READ, MAP_PRIVATE, fd, shdr->sh_offset - page_offset); in resource_from_section()
237 bytes = g_bytes_new_static (contents + page_offset, shdr->sh_size); in resource_from_section()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_reader.cc561 uint64_t page_offset = page_size_ * page_ptr->GetPageID() + header_size_; in ReadRowGroupBrief() local
565 …*row_group_brief_ptr = std::make_shared<ROW_GROUP_BRIEF>(file_name, page_length, page_offset, std:… in ReadRowGroupBrief()
581 uint64_t page_offset = page_size_ * page_ptr->GetPageID() + header_size_; in ReadRowGroupCriteria() local
588 …*row_group_brief_ptr = std::make_shared<ROW_GROUP_BRIEF>(file_name, page_length, page_offset, std:… in ReadRowGroupCriteria()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch70977 + const int64_t page_offset = int64_t{page_number.value()} * page_size.value();
70984 + return file.WriteAndCheck(page_offset, page_buffer);