Home
last modified time | relevance | path

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

/frameworks/native/libs/ui/include_private/ui/
DFlattenableHelpers.h31 struct FlattenableHelpers { struct
37 static constexpr size_t getFlattenedSize(const T&) { in getFlattenedSize()
45 static status_t flatten(void** buffer, size_t* size, const T& value) { in flatten()
55 static status_t unflatten(const void** buffer, size_t* size, T* value) { in unflatten()
62 static size_t getFlattenedSize(const std::string& str) { in getFlattenedSize()
66 static status_t flatten(void** buffer, size_t* size, const std::string& str) { in flatten()
74 static status_t unflatten(const void** buffer, size_t* size, std::string* str) { in unflatten()
85 static size_t getFlattenedSize(const LightFlattenable<T>& value) { in getFlattenedSize()
90 static status_t flatten(void** buffer, size_t* size, const LightFlattenable<T>& value) { in flatten()
97 static status_t unflatten(const void** buffer, size_t* size, LightFlattenable<T>* value) { in unflatten()
[all …]