Home
last modified time | relevance | path

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

/system/extras/memory_replay/
DThreads.cpp52 data_size_ = (max_threads_ * sizeof(Thread) + pagesize - 1) & ~(pagesize - 1); in Threads()
53 max_threads_ = data_size_ / sizeof(Thread); in Threads()
55 void* memory = mmap(nullptr, data_size_, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in Threads()
58 data_size_, max_threads_); in Threads()
66 munmap(threads_, data_size_); in ~Threads()
68 data_size_ = 0; in ~Threads()
DThreads.h44 size_t data_size_ = 0; variable
/system/extras/verity/
Dhash_tree_builder.cpp54 : block_size_(block_size), data_size_(0), md_(md) { in HashTreeBuilder()
116 data_size_ = expected_data_size; in Initialize()
119 if (data_size_ % block_size_ != 0) { in Initialize()
120 LOG(ERROR) << "file size " << data_size_ in Initialize()
127 verity_tree_blocks(data_size_, block_size_, hash_size_, 0); in Initialize()
188 CHECK_GT(data_size_, 0); in Update()
242 verity_tree_blocks(data_size_, block_size_, hash_size_, 0); in BuildHashTree()
/system/update_engine/payload_consumer/
Dverity_writer_android.cc47 data_size_ = _data_size; in Init()
61 TEST_AND_RETURN_FALSE(data_size_ % block_size_ == 0); in Init()
64 num_rounds_ = utils::DivRoundUp(data_size_ / block_size_, rs_n_); in Init()
85 if (offset >= data_size_) { in Compute()
Dverity_writer_android.h71 uint64_t data_size_; variable
/system/extras/verity/include/verity/
Dhash_tree_builder.h92 uint64_t data_size_; variable
/system/extras/simpleperf/
DRecordReadThread.cpp190 data_size_ = event_fd_->GetAvailableMmapDataSize(data_pos_); in GetDataFromKernelBuffer()
191 if (data_size_ == 0) { in GetDataFromKernelBuffer()
194 init_data_size_ = data_size_; in GetDataFromKernelBuffer()
210 data_size_ -= record_header_.size; in MoveToNextRecord()
211 if (data_size_ == 0) { in MoveToNextRecord()
DRecordReadThread.h123 size_t data_size_ = 0; variable