Home
last modified time | relevance | path

Searched defs:ContiguousMemoryRange (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/perfetto/include/perfetto/protozero/
H A Dcontiguous_memory_range.h27 struct ContiguousMemoryRange { struct
28 uint8_t* begin;
29 uint8_t* end; // STL style: one byte past the end of the buffer.
31 inline bool is_valid() const { return begin != nullptr; } in is_valid()
32 inline void reset() { begin = nullptr; } in reset()
33 inline size_t size() const { return static_cast<size_t>(end - begin); } in size()
/aosp_15_r20/prebuilts/runtime/mainline/platform/sdk/include/external/perfetto/include/perfetto/protozero/
H A Dcontiguous_memory_range.h27 struct ContiguousMemoryRange { struct
28 uint8_t* begin;
29 uint8_t* end; // STL style: one byte past the end of the buffer.
31 inline bool is_valid() const { return begin != nullptr; } in is_valid()
32 inline void reset() { begin = nullptr; } in reset()
33 inline size_t size() const { return static_cast<size_t>(end - begin); } in size()