RoundUp 14 cc/base/util.h template <typename T> T RoundUp(T n, T mul) { RoundUp 12 cc/base/util_unittest.cc TEST(UtilTest, RoundUp) { RoundUp 20 cc/base/util_unittest.cc EXPECT_EQ(correct, RoundUp(attempt, multiplier)) RoundUp 32 cc/base/util_unittest.cc EXPECT_EQ(correct, RoundUp(attempt, multiplier)) RoundUp 35 cc/base/util_unittest.cc EXPECT_EQ(0u, RoundUp(0u, multiplier)) RoundUp 602 cc/layers/picture_layer_impl.cc width = RoundUp(width, round_up_to); RoundUp 603 cc/layers/picture_layer_impl.cc height = RoundUp(height, round_up_to); RoundUp 1808 cc/resources/resource_provider.cc RoundUp(bytes_per_pixel * resource->size.width(), 4u), RoundUp 196 cc/resources/texture_uploader.cc RoundUp(bytes_per_pixel * source_rect.width(), 4u); RoundUp 251 cc/resources/texture_uploader.cc RoundUp(bytes_per_pixel * source_rect.width(), 4u); RoundUp 126 cc/resources/texture_uploader_unittest.cc RoundUp(bytes_per_pixel * width, unpack_alignment_); RoundUp 2801 cc/trees/layer_tree_host_impl.cc memory_visible_bytes = RoundUp(memory_visible_bytes, rounding_step); RoundUp 2802 cc/trees/layer_tree_host_impl.cc memory_visible_and_nearby_bytes = RoundUp(memory_visible_and_nearby_bytes, RoundUp 2804 cc/trees/layer_tree_host_impl.cc memory_use_bytes = RoundUp(memory_use_bytes, rounding_step); RoundUp 209 content/common/gpu/gpu_memory_manager.cc bytes_allocated_unmanaged_high_ = RoundUp( RoundUp 71 gpu/command_buffer/client/fenced_allocator.cc size = RoundUp(size); RoundUp 113 media/base/video_frame.cc RoundUp(visible_rect.bottom(), 2)) RoundUp 118 media/base/video_frame.cc RoundUp(visible_rect.right(), 2)) RoundUp 330 media/base/video_frame.cc const int width = RoundUp(coded_size.width(), 2); RoundUp 331 media/base/video_frame.cc const int height = RoundUp(coded_size.height(), 2); RoundUp 409 media/base/video_frame.cc size_t y_stride = RoundUp(row_bytes(VideoFrame::kYPlane), RoundUp 411 media/base/video_frame.cc size_t uv_stride = RoundUp(row_bytes(VideoFrame::kUPlane), RoundUp 416 media/base/video_frame.cc size_t y_height = RoundUp(coded_size_.height(), kFrameSizeAlignment * 2); RoundUp 500 media/base/video_frame.cc return RoundUp(width, 2) / 2; RoundUp 526 media/base/video_frame.cc return RoundUp(height, 2) / 2; RoundUp 441 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc size_t req_rnd = RoundUp(request + sizeof (s->header), arena->roundup); RoundUp 459 third_party/tcmalloc/chromium/src/base/low_level_alloc.cc size_t new_pages_size = RoundUp(req_rnd, arena->pagesize * 16); RoundUp 1303 third_party/tcmalloc/chromium/src/debugallocation.cc p = reinterpret_cast<void *>(RoundUp(orig_p + data_offset, alignment)); RoundUp 1406 third_party/tcmalloc/chromium/src/debugallocation.cc size = RoundUp(size, pagesize); RoundUp 441 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc size_t req_rnd = RoundUp(request + sizeof (s->header), arena->roundup); RoundUp 459 third_party/tcmalloc/vendor/src/base/low_level_alloc.cc size_t new_pages_size = RoundUp(req_rnd, arena->pagesize * 16); RoundUp 1291 third_party/tcmalloc/vendor/src/debugallocation.cc p = reinterpret_cast<void *>(RoundUp(orig_p + data_offset, alignment)); RoundUp 1394 third_party/tcmalloc/vendor/src/debugallocation.cc size = RoundUp(size, pagesize);