/external/google-breakpad/src/common/ |
D | memory.h | 64 : page_size_(getpagesize()), in PageAllocator() 78 if (current_page_ && page_size_ - page_offset_ >= bytes) { in Alloc() 81 if (page_offset_ == page_size_) { in Alloc() 90 (bytes + sizeof(PageHeader) + page_size_ - 1) / page_size_; in Alloc() 96 (page_size_ - (page_size_ * pages - (bytes + sizeof(PageHeader)))) % in Alloc() 97 page_size_; in Alloc() 98 current_page_ = page_offset_ ? ret + page_size_ * (pages - 1) : NULL; in Alloc() 108 if ((p >= current) && (p < current + header->num_pages * page_size_)) in OwnsPointer() 119 void *a = sys_mmap(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages() 122 void *a = sys_mmap2(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, in GetNPages() [all …]
|
/external/webp/src/enc/ |
D | token_enc.c | 50 b->page_size_ = (page_size < MIN_PAGE_SIZE) ? MIN_PAGE_SIZE : page_size; in VP8TBufferInit() 62 VP8TBufferInit(b, b->page_size_); in VP8TBufferClear() 69 const size_t size = sizeof(*page) + b->page_size_ * sizeof(token_t); in TBufferNewPage() 80 b->left_ = b->page_size_; in TBufferNewPage() 207 int n = b->page_size_; in VP8EmitTokens() 233 int n = b->page_size_; in VP8EstimateTokenSize()
|
D | vp8i_enc.h | 319 int page_size_; // number of tokens per page member
|
/external/stressapptest/src/ |
D | finelock_queue.cc | 42 page_size_ = pagesize; in FineLockPEQueue() 241 reinterpret_cast<char*>(os->PrepareTestMem(pe.offset, page_size_)); in ErrorLogCallback() 243 os->ReleaseTestMem(vaddr, pe.offset, page_size_); in ErrorLogCallback() 277 if ((page_addr <= paddr) && (page_addr + page_size_ > paddr)) { in GetPageFromPhysical() 424 int64 index = pe->offset / page_size_; in PutEmpty() 442 int64 index = pe->offset / page_size_; in PutValid()
|
D | finelock_queue.h | 91 int64 page_size_; // For calculating array index from offset. variable
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/ |
D | ignite_dataset.cc | 35 page_size_(page_size), in IgniteDataset() 48 << ", page_size=" << page_size_ << ", username='" << username_ in IgniteDataset() 60 this->page_size_, std::move(this->username_), std::move(this->password_), in MakeIteratorInternal()
|
D | ignite_dataset.h | 49 const int32 page_size_; variable
|
D | ignite_dataset_iterator.h | 63 const int32 page_size_; variable
|
D | ignite_dataset_iterator.cc | 34 page_size_(page_size), in IgniteDatasetIterator() 281 TF_RETURN_IF_ERROR(client_->WriteInt(page_size_)); // Cursor page size in ScanQuery()
|
/external/perfetto/src/tracing/test/ |
D | aligned_buffer_test.cc | 27 page_size_ = GetParam(); in SetUp() 28 buf_.reset(new TestSharedMemory(page_size_ * kNumPages)); in SetUp()
|
D | aligned_buffer_test.h | 39 size_t page_size() const { return page_size_; } in page_size() 42 size_t page_size_ = 0;
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_ptrace_dumper_unittest.cc | 181 size_t page_size_; member in LinuxPtraceDumperMappingsTest 194 page_size_ = sysconf(_SC_PAGESIZE); in SetUp() 195 const size_t kMappingSize = 3 * page_size_; in SetUp() 213 mmap(mapping + 2 * page_size_, in SetUp() 214 page_size_, in SetUp() 220 page_size_)); in SetUp()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_allocator.h | 1039 page_size_ = GetPageSizeCached(); in InitLinkerInitialized() 1051 if (alignment > page_size_) in Allocate() 1058 CHECK(IsAligned(map_beg, page_size_)); in Allocate() 1061 uptr res = map_beg + page_size_; in Allocate() 1065 CHECK(IsAligned(res, page_size_)); in Allocate() 1137 return RoundUpTo(GetHeader(p)->size, page_size_); in GetActuallyAllocatedSize() 1143 if (!IsAligned(reinterpret_cast<uptr>(p), page_size_)) { in GetMetaData() 1145 CHECK(IsAligned(reinterpret_cast<uptr>(p), page_size_)); in GetMetaData() 1255 CHECK(IsAligned(p, page_size_)); in GetHeader() 1256 return reinterpret_cast<Header*>(p - page_size_); in GetHeader() [all …]
|
/external/perfetto/include/perfetto/tracing/core/ |
D | shared_memory_abi.h | 436 size_t page_size() const { return page_size_; } in page_size() 442 return start_ + page_size_ * page_idx; in page_start() 574 size_t page_size_ = 0; variable
|
/external/perfetto/src/tracing/core/ |
D | shared_memory_abi.cc | 91 page_size_ = page_size; in Initialize() 320 const size_t page_idx = rel_addr / page_size_; in GetPageAndChunkIndex() 321 const size_t offset = rel_addr % page_size_; in GetPageAndChunkIndex()
|