Searched refs:size_to_end (Results 1 – 4 of 4) sorted by relevance
91 mach_vm_size_t *size_to_end) { in GetMemoryRegionSize() argument112 *size_to_end = region_base + region_size -(mach_vm_address_t)address; in GetMemoryRegionSize()118 if (*size_to_end < 4096) { in GetMemoryRegionSize()140 *size_to_end = region_base + region_size -(mach_vm_address_t)address; in GetMemoryRegionSize()143 *size_to_end = 0; in GetMemoryRegionSize()161 mach_vm_size_t size_to_end; in ReadTaskString() local162 GetMemoryRegionSize(target_task, address, &size_to_end); in ReadTaskString()164 if (size_to_end > 0) { in ReadTaskString()166 size_to_end > kMaxStringLength ? kMaxStringLength : size_to_end; in ReadTaskString()
130 size_t size_to_end() { return trace_buffer_->size_to_end(); } in size_to_end() function in perfetto::TraceBufferTest202 ASSERT_EQ(4096u, size_to_end()); in TEST_F()241 ASSERT_EQ(128u, size_to_end()); in TEST_F()245 ASSERT_EQ(4096u - 512, size_to_end()); in TEST_F()274 ASSERT_EQ(4096u, size_to_end()); in TEST_F()288 ASSERT_EQ(4096u, size_to_end()); in TEST_F()310 if (base::AlignUp<16>(chunk_size) >= size_to_end()) in TEST_F()381 ASSERT_EQ(2048u, size_to_end()); in TEST_F()414 ASSERT_EQ(2016u, size_to_end()); in TEST_F()
482 PERFETTO_CHECK(record.size <= size_to_end()); in WriteChunkRecord()499 size_t size_to_end() const { return static_cast<size_t>(end() - wptr_); } in size_to_end() function
130 const size_t cached_size_to_end = size_to_end(); in CopyChunkUntrusted()137 PERFETTO_DCHECK(size_to_end() >= record_size); in CopyChunkUntrusted()