Searched refs:SizeToIndex (Results 1 – 2 of 2) sorted by relevance
542 (is_size_for_thread_local == (SizeToIndex(size) < kNumThreadLocalSizeBrackets))); in IsSizeForThreadLocal()560 static size_t SizeToIndex(size_t size) { in SizeToIndex() function594 DCHECK_EQ(idx, SizeToIndex(size)) << idx; in SizeToIndexAndBracketSize()
1974 CHECK_EQ(SizeToIndex(obj_size + memory_tool_modifier), idx) in Verify()2090 required_bytes = numOfPages[SizeToIndex(failed_alloc_bytes)] * kPageSize; in LogFragmentationAllocFailure()