Searched refs:flatten (Results 1 - 4 of 4) sorted by relevance

/system/core/include/utils/
H A DFlattenable.h88 // number of file descriptors to flatten
95 // flatten() if needed).
96 inline status_t flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const;
117 inline status_t Flattenable<T>::flatten( function in class:android::Flattenable
119 return static_cast<T const*>(this)->T::flatten(buffer, size, fds, count);
136 // returns whether this object always flatten into the same size.
144 inline status_t flatten(void* buffer, size_t size) const;
159 inline status_t LightFlattenable<T>::flatten(void* buffer, size_t size) const { function in class:android::LightFlattenable
160 return static_cast<T const*>(this)->T::flatten(buffer, size);
183 inline status_t flatten(voi function in class:android::LightFlattenablePod
[all...]
H A DBlobCache.h87 // flatten serializes the current contents of the cache into the memory
94 status_t flatten(void* buffer, size_t size) const;
/system/core/libutils/tests/
H A DBlobCache_test.cpp276 ASSERT_EQ(OK, mBC->flatten(flat, size));
324 ASSERT_EQ(OK, mBC->flatten(flat, size));
346 ASSERT_EQ(BAD_VALUE, mBC->flatten(flat, size));
356 ASSERT_EQ(OK, mBC->flatten(flat, size));
373 ASSERT_EQ(OK, mBC->flatten(flat, size));
392 ASSERT_EQ(OK, mBC->flatten(flat, size));
411 ASSERT_EQ(OK, mBC->flatten(flat, size));
/system/core/libutils/
H A DBlobCache.cpp179 status_t BlobCache::flatten(void* buffer, size_t size) const { function in class:android::BlobCache
182 ALOGE("flatten: not enough room for cache header");
203 ALOGE("flatten: not enough room for cache entries");

Completed in 79 milliseconds