kPageShift 98 third_party/tcmalloc/chromium/src/central_freelist.cc const PageID p = reinterpret_cast<uintptr_t>(object) >> kPageShift; kPageShift 124 third_party/tcmalloc/chromium/src/central_freelist.cc (span->length<<kPageShift) / kPageShift 132 third_party/tcmalloc/chromium/src/central_freelist.cc counter_ -= ((span->length<<kPageShift) / kPageShift 320 third_party/tcmalloc/chromium/src/central_freelist.cc "tcmalloc: allocation failed", npages << kPageShift); kPageShift 335 third_party/tcmalloc/chromium/src/central_freelist.cc char* ptr = reinterpret_cast<char*>(span->start << kPageShift); kPageShift 336 third_party/tcmalloc/chromium/src/central_freelist.cc char* limit = ptr + (npages << kPageShift); kPageShift 135 third_party/tcmalloc/chromium/src/common.cc const size_t my_pages = psize >> kPageShift; kPageShift 140 third_party/tcmalloc/chromium/src/common.cc const size_t my_objects = (my_pages << kPageShift) / size; kPageShift 141 third_party/tcmalloc/chromium/src/common.cc const size_t prev_objects = (class_to_pages_[sc-1] << kPageShift) kPageShift 79 third_party/tcmalloc/chromium/src/common.h static const size_t kPageShift = 15; kPageShift 84 third_party/tcmalloc/chromium/src/common.h static const size_t kPageShift = 12; kPageShift 89 third_party/tcmalloc/chromium/src/common.h static const size_t kPageSize = 1 << kPageShift; kPageShift 95 third_party/tcmalloc/chromium/src/common.h static const size_t kMaxPages = 1 << (20 - kPageShift); kPageShift 125 third_party/tcmalloc/chromium/src/common.h static const Length kMaxValidPages = (~static_cast<Length>(0)) >> kPageShift; kPageShift 143 third_party/tcmalloc/chromium/src/common.h return (bytes >> kPageShift) + kPageShift 165 third_party/tcmalloc/chromium/src/page_heap.cc TCMalloc_SystemCommit(reinterpret_cast<void*>(span->start << kPageShift), kPageShift 166 third_party/tcmalloc/chromium/src/page_heap.cc static_cast<size_t>(span->length << kPageShift)); kPageShift 167 third_party/tcmalloc/chromium/src/page_heap.cc stats_.committed_bytes += span->length << kPageShift; kPageShift 171 third_party/tcmalloc/chromium/src/page_heap.cc TCMalloc_SystemRelease(reinterpret_cast<void*>(span->start << kPageShift), kPageShift 172 third_party/tcmalloc/chromium/src/page_heap.cc static_cast<size_t>(span->length << kPageShift)); kPageShift 173 third_party/tcmalloc/chromium/src/page_heap.cc stats_.committed_bytes -= span->length << kPageShift; kPageShift 271 third_party/tcmalloc/chromium/src/page_heap.cc stats_.committed_bytes += prev->length << kPageShift; kPageShift 287 third_party/tcmalloc/chromium/src/page_heap.cc stats_.committed_bytes += next->length << kPageShift; kPageShift 306 third_party/tcmalloc/chromium/src/page_heap.cc stats_.free_bytes += (span->length << kPageShift); kPageShift 309 third_party/tcmalloc/chromium/src/page_heap.cc stats_.unmapped_bytes += (span->length << kPageShift); kPageShift 317 third_party/tcmalloc/chromium/src/page_heap.cc stats_.free_bytes -= (span->length << kPageShift); kPageShift 319 third_party/tcmalloc/chromium/src/page_heap.cc stats_.unmapped_bytes -= (span->length << kPageShift); kPageShift 360 third_party/tcmalloc/chromium/src/page_heap.cc TCMalloc_SystemRelease(reinterpret_cast<void*>(s->start << kPageShift), kPageShift 361 third_party/tcmalloc/chromium/src/page_heap.cc static_cast<size_t>(s->length << kPageShift)); kPageShift 432 third_party/tcmalloc/chromium/src/page_heap.cc r->address = span->start << kPageShift; kPageShift 433 third_party/tcmalloc/chromium/src/page_heap.cc r->length = span->length << kPageShift; kPageShift 471 third_party/tcmalloc/chromium/src/page_heap.cc void* ptr = TCMalloc_SystemAlloc(ask << kPageShift, &actual_size, kPageSize); kPageShift 476 third_party/tcmalloc/chromium/src/page_heap.cc ptr = TCMalloc_SystemAlloc(ask << kPageShift, &actual_size, kPageSize); kPageShift 480 third_party/tcmalloc/chromium/src/page_heap.cc ask = actual_size >> kPageShift; kPageShift 481 third_party/tcmalloc/chromium/src/page_heap.cc RecordGrowth(ask << kPageShift); kPageShift 484 third_party/tcmalloc/chromium/src/page_heap.cc stats_.system_bytes += (ask << kPageShift); kPageShift 485 third_party/tcmalloc/chromium/src/page_heap.cc stats_.committed_bytes += (ask << kPageShift); kPageShift 486 third_party/tcmalloc/chromium/src/page_heap.cc const PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 86 third_party/tcmalloc/chromium/src/page_heap.h typedef TCMalloc_PageMap3<BITS-kPageShift> Type; kPageShift 95 third_party/tcmalloc/chromium/src/page_heap.h typedef TCMalloc_PageMap1_LazyCommit<32-kPageShift> Type; kPageShift 98 third_party/tcmalloc/chromium/src/page_heap.h typedef TCMalloc_PageMap2<32-kPageShift> Type; kPageShift 144 third_party/tcmalloc/chromium/src/pagemap.h char committed_[sizeof(void*) << (BITS - kPageShift - 3)]; kPageShift 149 third_party/tcmalloc/chromium/src/pagemap.h return (index * sizeof(*array_)) >> kPageShift; kPageShift 176 third_party/tcmalloc/chromium/src/pagemap.h ASSERT(sizeof(committed_) * 8 == (LENGTH * sizeof(*array_)) >> kPageShift); kPageShift 248 third_party/tcmalloc/chromium/src/pagemap.h void* start = reinterpret_cast<char*>(array_) + (first_page << kPageShift); kPageShift 249 third_party/tcmalloc/chromium/src/pagemap.h size_t length = (last_page - first_page + 1) << kPageShift; kPageShift 358 third_party/tcmalloc/chromium/src/tcmalloc.cc return (pages << kPageShift) / 1048576.0; kPageShift 579 third_party/tcmalloc/chromium/src/tcmalloc.cc page = (limit + kPageSize - 1) >> kPageShift; kPageShift 755 third_party/tcmalloc/chromium/src/tcmalloc.cc Length num_pages = max<Length>(num_bytes >> kPageShift, 1); kPageShift 757 third_party/tcmalloc/chromium/src/tcmalloc.cc num_pages) << kPageShift; kPageShift 781 third_party/tcmalloc/chromium/src/tcmalloc.cc return tcmalloc::pages(size) << kPageShift; kPageShift 794 third_party/tcmalloc/chromium/src/tcmalloc.cc const PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 798 third_party/tcmalloc/chromium/src/tcmalloc.cc if ((p >> (kAddressBits - kPageShift)) > 0) { kPageShift 874 third_party/tcmalloc/chromium/src/tcmalloc.cc span_info.min_object_size = kMaxPages << kPageShift; kPageShift 875 third_party/tcmalloc/chromium/src/tcmalloc.cc span_info.total_bytes_free = large.normal_pages << kPageShift; kPageShift 880 third_party/tcmalloc/chromium/src/tcmalloc.cc span_info.total_bytes_free = large.returned_pages << kPageShift; kPageShift 886 third_party/tcmalloc/chromium/src/tcmalloc.cc i.max_object_size = (s << kPageShift); kPageShift 887 third_party/tcmalloc/chromium/src/tcmalloc.cc i.min_object_size = ((s - 1) << kPageShift); kPageShift 890 third_party/tcmalloc/chromium/src/tcmalloc.cc i.total_bytes_free = (s << kPageShift) * small.normal_length[s]; kPageShift 894 third_party/tcmalloc/chromium/src/tcmalloc.cc i.total_bytes_free = (s << kPageShift) * small.returned_length[s]; kPageShift 956 third_party/tcmalloc/chromium/src/tcmalloc.cc PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 971 third_party/tcmalloc/chromium/src/tcmalloc.cc CheckMallocResult(reinterpret_cast<void*>(span->start << kPageShift)); kPageShift 1017 third_party/tcmalloc/chromium/src/tcmalloc.cc static_cast<uint64>(num_pages) << kPageShift, kPageShift 1047 third_party/tcmalloc/chromium/src/tcmalloc.cc if (threshold > 0 && num_pages >= (threshold >> kPageShift)) { kPageShift 1063 third_party/tcmalloc/chromium/src/tcmalloc.cc size = num_pages << kPageShift; kPageShift 1152 third_party/tcmalloc/chromium/src/tcmalloc.cc const PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 1178 third_party/tcmalloc/chromium/src/tcmalloc.cc span->start << kPageShift == reinterpret_cast<uintptr_t>(ptr), kPageShift 1218 third_party/tcmalloc/chromium/src/tcmalloc.cc const PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 1230 third_party/tcmalloc/chromium/src/tcmalloc.cc return span->length << kPageShift; kPageShift 1355 third_party/tcmalloc/chromium/src/tcmalloc.cc while ((((span->start+skip) << kPageShift) & (align - 1)) != 0) { kPageShift 17 third_party/tcmalloc/chromium/src/tests/page_heap_test.cc EXPECT_EQ(system_pages, stats.system_bytes >> kPageShift); kPageShift 18 third_party/tcmalloc/chromium/src/tests/page_heap_test.cc EXPECT_EQ(free_pages, stats.free_bytes >> kPageShift); kPageShift 19 third_party/tcmalloc/chromium/src/tests/page_heap_test.cc EXPECT_EQ(unmapped_pages, stats.unmapped_bytes >> kPageShift); kPageShift 98 third_party/tcmalloc/vendor/src/central_freelist.cc const PageID p = reinterpret_cast<uintptr_t>(object) >> kPageShift; kPageShift 124 third_party/tcmalloc/vendor/src/central_freelist.cc (span->length<<kPageShift) / kPageShift 132 third_party/tcmalloc/vendor/src/central_freelist.cc counter_ -= ((span->length<<kPageShift) / kPageShift 323 third_party/tcmalloc/vendor/src/central_freelist.cc "tcmalloc: allocation failed", npages << kPageShift); kPageShift 338 third_party/tcmalloc/vendor/src/central_freelist.cc char* ptr = reinterpret_cast<char*>(span->start << kPageShift); kPageShift 339 third_party/tcmalloc/vendor/src/central_freelist.cc char* limit = ptr + (npages << kPageShift); kPageShift 131 third_party/tcmalloc/vendor/src/common.cc const size_t my_pages = psize >> kPageShift; kPageShift 136 third_party/tcmalloc/vendor/src/common.cc const size_t my_objects = (my_pages << kPageShift) / size; kPageShift 137 third_party/tcmalloc/vendor/src/common.cc const size_t prev_objects = (class_to_pages_[sc-1] << kPageShift) kPageShift 65 third_party/tcmalloc/vendor/src/common.h static const size_t kPageShift = 15; kPageShift 68 third_party/tcmalloc/vendor/src/common.h static const size_t kPageShift = 13; kPageShift 73 third_party/tcmalloc/vendor/src/common.h static const size_t kPageSize = 1 << kPageShift; kPageShift 78 third_party/tcmalloc/vendor/src/common.h static const size_t kMaxPages = 1 << (20 - kPageShift); kPageShift 108 third_party/tcmalloc/vendor/src/common.h static const Length kMaxValidPages = (~static_cast<Length>(0)) >> kPageShift; kPageShift 126 third_party/tcmalloc/vendor/src/common.h return (bytes >> kPageShift) + kPageShift 245 third_party/tcmalloc/vendor/src/page_heap.cc stats_.free_bytes += (span->length << kPageShift); kPageShift 248 third_party/tcmalloc/vendor/src/page_heap.cc stats_.unmapped_bytes += (span->length << kPageShift); kPageShift 256 third_party/tcmalloc/vendor/src/page_heap.cc stats_.free_bytes -= (span->length << kPageShift); kPageShift 258 third_party/tcmalloc/vendor/src/page_heap.cc stats_.unmapped_bytes -= (span->length << kPageShift); kPageShift 299 third_party/tcmalloc/vendor/src/page_heap.cc TCMalloc_SystemRelease(reinterpret_cast<void*>(s->start << kPageShift), kPageShift 300 third_party/tcmalloc/vendor/src/page_heap.cc static_cast<size_t>(s->length << kPageShift)); kPageShift 371 third_party/tcmalloc/vendor/src/page_heap.cc r->address = span->start << kPageShift; kPageShift 372 third_party/tcmalloc/vendor/src/page_heap.cc r->length = span->length << kPageShift; kPageShift 410 third_party/tcmalloc/vendor/src/page_heap.cc void* ptr = TCMalloc_SystemAlloc(ask << kPageShift, &actual_size, kPageSize); kPageShift 415 third_party/tcmalloc/vendor/src/page_heap.cc ptr = TCMalloc_SystemAlloc(ask << kPageShift, &actual_size, kPageSize); kPageShift 419 third_party/tcmalloc/vendor/src/page_heap.cc ask = actual_size >> kPageShift; kPageShift 420 third_party/tcmalloc/vendor/src/page_heap.cc RecordGrowth(ask << kPageShift); kPageShift 423 third_party/tcmalloc/vendor/src/page_heap.cc stats_.system_bytes += (ask << kPageShift); kPageShift 424 third_party/tcmalloc/vendor/src/page_heap.cc const PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 84 third_party/tcmalloc/vendor/src/page_heap.h typedef TCMalloc_PageMap3<BITS-kPageShift> Type; kPageShift 91 third_party/tcmalloc/vendor/src/page_heap.h typedef TCMalloc_PageMap2<32-kPageShift> Type; kPageShift 348 third_party/tcmalloc/vendor/src/tcmalloc.cc return (pages << kPageShift) / 1048576.0; kPageShift 551 third_party/tcmalloc/vendor/src/tcmalloc.cc page = (limit + kPageSize - 1) >> kPageShift; kPageShift 748 third_party/tcmalloc/vendor/src/tcmalloc.cc Length num_pages = max<Length>(num_bytes >> kPageShift, 1); kPageShift 750 third_party/tcmalloc/vendor/src/tcmalloc.cc num_pages) << kPageShift; kPageShift 774 third_party/tcmalloc/vendor/src/tcmalloc.cc return tcmalloc::pages(size) << kPageShift; kPageShift 787 third_party/tcmalloc/vendor/src/tcmalloc.cc const PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 791 third_party/tcmalloc/vendor/src/tcmalloc.cc if ((p >> (kAddressBits - kPageShift)) > 0) { kPageShift 867 third_party/tcmalloc/vendor/src/tcmalloc.cc span_info.min_object_size = kMaxPages << kPageShift; kPageShift 868 third_party/tcmalloc/vendor/src/tcmalloc.cc span_info.total_bytes_free = large.normal_pages << kPageShift; kPageShift 873 third_party/tcmalloc/vendor/src/tcmalloc.cc span_info.total_bytes_free = large.returned_pages << kPageShift; kPageShift 879 third_party/tcmalloc/vendor/src/tcmalloc.cc i.max_object_size = (s << kPageShift); kPageShift 880 third_party/tcmalloc/vendor/src/tcmalloc.cc i.min_object_size = ((s - 1) << kPageShift); kPageShift 883 third_party/tcmalloc/vendor/src/tcmalloc.cc i.total_bytes_free = (s << kPageShift) * small.normal_length[s]; kPageShift 887 third_party/tcmalloc/vendor/src/tcmalloc.cc i.total_bytes_free = (s << kPageShift) * small.returned_length[s]; kPageShift 949 third_party/tcmalloc/vendor/src/tcmalloc.cc PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 963 third_party/tcmalloc/vendor/src/tcmalloc.cc CheckedMallocResult(reinterpret_cast<void*>(span->start << kPageShift)); kPageShift 1009 third_party/tcmalloc/vendor/src/tcmalloc.cc static_cast<uint64>(num_pages) << kPageShift, kPageShift 1039 third_party/tcmalloc/vendor/src/tcmalloc.cc if (threshold > 0 && num_pages >= (threshold >> kPageShift)) { kPageShift 1055 third_party/tcmalloc/vendor/src/tcmalloc.cc size = num_pages << kPageShift; kPageShift 1128 third_party/tcmalloc/vendor/src/tcmalloc.cc const PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 1183 third_party/tcmalloc/vendor/src/tcmalloc.cc const PageID p = reinterpret_cast<uintptr_t>(ptr) >> kPageShift; kPageShift 1195 third_party/tcmalloc/vendor/src/tcmalloc.cc return span->length << kPageShift; kPageShift 1313 third_party/tcmalloc/vendor/src/tcmalloc.cc while ((((span->start+skip) << kPageShift) & (align - 1)) != 0) { kPageShift 17 third_party/tcmalloc/vendor/src/tests/page_heap_test.cc EXPECT_EQ(system_pages, stats.system_bytes >> kPageShift); kPageShift 18 third_party/tcmalloc/vendor/src/tests/page_heap_test.cc EXPECT_EQ(free_pages, stats.free_bytes >> kPageShift); kPageShift 19 third_party/tcmalloc/vendor/src/tests/page_heap_test.cc EXPECT_EQ(unmapped_pages, stats.unmapped_bytes >> kPageShift);