Home
last modified time | relevance | path

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

/external/google-breakpad/src/client/mac/handler/
Ddynamic_images.cc91 mach_vm_size_t *size_to_end) { in GetMemoryRegionSize() argument
112 *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() local
162 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()
/external/perfetto/src/tracing/core/
Dtrace_buffer_unittest.cc141 size_t size_to_end() { return trace_buffer_->size_to_end(); } in size_to_end() function in perfetto::TraceBufferTest
221 ASSERT_EQ(4096u, size_to_end()); in TEST_F()
260 ASSERT_EQ(128u, size_to_end()); in TEST_F()
264 ASSERT_EQ(4096u - 512, size_to_end()); in TEST_F()
308 ASSERT_EQ(4096u, size_to_end()); in TEST_F()
322 ASSERT_EQ(4096u, size_to_end()); in TEST_F()
344 if (base::AlignUp<16>(chunk_size) >= size_to_end()) in TEST_F()
415 ASSERT_EQ(2048u, size_to_end()); in TEST_F()
448 ASSERT_EQ(2016u, size_to_end()); in TEST_F()
Dtrace_buffer.h580 PERFETTO_CHECK(record.size <= size_to_end()); in WriteChunkRecord()
610 size_t size_to_end() const { return static_cast<size_t>(end() - wptr_); } in size_to_end() function
Dtrace_buffer.cc231 const size_t cached_size_to_end = size_to_end(); in CopyChunkUntrusted()
240 PERFETTO_DCHECK(size_to_end() >= record_size); in CopyChunkUntrusted()