Home
last modified time | relevance | path

Searched refs:align4 (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp163 static inline size_t align4(size_t size) { in align4() function
169 size_t size = align4(sizeof(Header) + buildId.size()); in getFlattenedSize()
173 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize()
195 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in flatten()
203 size_t totalSize = align4(entrySize); in flatten()
253 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in unflatten()
268 size_t totalSize = align4(entrySize); in unflatten()
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache.cpp216 static inline size_t align4(size_t size) { in align4() function
221 size_t size = align4(sizeof(Header) + PROPERTY_VALUE_MAX); in getFlattenedSize()
225 size += align4(sizeof(EntryHeader) + keyBlob->getSize() + valueBlob->getSize()); in getFlattenedSize()
247 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in flatten()
255 size_t totalSize = align4(entrySize); in flatten()
305 off_t byteOffset = align4(sizeof(Header) + header->mBuildIdLength); in unflatten()
319 size_t totalSize = align4(entrySize); in unflatten()