Home
last modified time | relevance | path

Searched refs:data_size_ (Results 1 – 6 of 6) sorted by relevance

/system/extras/memory_replay/
DThreads.cpp51 data_size_ = (max_threads_ * sizeof(Thread) + pagesize - 1) & ~(pagesize - 1); in Threads()
52 max_threads_ = data_size_ / sizeof(Thread); in Threads()
54 void* memory = mmap(nullptr, data_size_, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in Threads()
57 data_size_, max_threads_); in Threads()
70 munmap(threads_, data_size_); in ~Threads()
72 data_size_ = 0; in ~Threads()
DThreads.h44 size_t data_size_ = 0; variable
/system/extras/verity/
Dhash_tree_builder.cpp50 : block_size_(block_size), data_size_(0), md_(md) { in HashTreeBuilder()
111 data_size_ = expected_data_size; in Initialize()
114 if (data_size_ % block_size_ != 0) { in Initialize()
115 LOG(ERROR) << "file size " << data_size_ in Initialize()
122 verity_tree_blocks(data_size_, block_size_, hash_size_, 0); in Initialize()
183 CHECK_GT(data_size_, 0); in Update()
227 verity_tree_blocks(data_size_, block_size_, hash_size_, 0); in BuildHashTree()
/system/extras/verity/include/verity/
Dhash_tree_builder.h83 uint64_t data_size_; variable
/system/extras/simpleperf/
DRecordReadThread.cpp172 data_size_ = event_fd_->GetAvailableMmapDataSize(data_pos_); in GetDataFromKernelBuffer()
173 if (data_size_ == 0) { in GetDataFromKernelBuffer()
176 init_data_size_ = data_size_; in GetDataFromKernelBuffer()
192 data_size_ -= record_header_.size; in MoveToNextRecord()
193 if (data_size_ == 0) { in MoveToNextRecord()
DRecordReadThread.h107 size_t data_size_ = 0; variable