HomeSort by relevance Sort by last modified time
    Searched refs:max_threads_ (Results 1 - 7 of 7) sorted by null

  /system/extras/memory_replay/
Threads.cpp 49 : pointers_(pointers), max_threads_(max_threads) {
51 data_size_ = (max_threads_ * sizeof(Thread) + pagesize - 1) & ~(pagesize - 1);
52 max_threads_ = data_size_ / sizeof(Thread);
57 data_size_, max_threads_);
65 threads_ = new (memory) Thread[max_threads_];
77 if (num_threads_ == max_threads_) {
83 max_threads_, num_threads_);
106 if (++index == max_threads_) {
124 return tid % max_threads_;
129 for (size_t entries = 0; entries < max_threads_; entries++)
    [all...]
Threads.h 38 size_t max_threads() { return max_threads_; }
45 size_t max_threads_ = 0; member in class:Threads
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_thread_registry.cc 93 max_threads_(max_threads),
102 threads_ = (ThreadContextBase **)MmapOrDie(max_threads_ * sizeof(threads_[0]),
128 } else if (n_contexts_ < max_threads_) {
136 SanitizerToolName, max_threads_);
139 " dying\n", max_threads_);
145 CHECK_LT(tid, max_threads_);
sanitizer_thread_registry.h 122 const u32 max_threads_; member in class:__sanitizer::ThreadRegistry
129 // at most max_threads_.
131 // max_threads_ if contexts were reused.