Home
last modified time | relevance | path

Searched refs:TryPartitionPage (Results 1 – 4 of 4) sorted by relevance

/external/perfetto/src/tracing/core/
Dshared_memory_abi_unittest.cc52 ASSERT_TRUE(abi.TryPartitionPage(0, SharedMemoryABI::kPageDiv1)); in TEST_P()
55 ASSERT_TRUE(abi.TryPartitionPage(1, SharedMemoryABI::kPageDiv2)); in TEST_P()
58 ASSERT_TRUE(abi.TryPartitionPage(2, SharedMemoryABI::kPageDiv4)); in TEST_P()
61 ASSERT_TRUE(abi.TryPartitionPage(3, SharedMemoryABI::kPageDiv7)); in TEST_P()
64 ASSERT_TRUE(abi.TryPartitionPage(4, SharedMemoryABI::kPageDiv14)); in TEST_P()
68 ASSERT_FALSE(abi.TryPartitionPage(0, SharedMemoryABI::kPageDiv1)); in TEST_P()
69 ASSERT_FALSE(abi.TryPartitionPage(4, SharedMemoryABI::kPageDiv14)); in TEST_P()
Dshared_memory_arbiter_impl.cc88 is_new_page = shmem_abi_.TryPartitionPage(page_idx_, layout); in GetNewChunk()
Dshared_memory_abi.cc205 bool SharedMemoryABI::TryPartitionPage(size_t page_idx, PageLayout layout) { in TryPartitionPage() function in perfetto::SharedMemoryABI
/external/perfetto/include/perfetto/tracing/core/
Dshared_memory_abi.h493 bool TryPartitionPage(size_t page_idx, PageLayout layout);