Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/cache/BlobCache/
DBlobCache.cpp265 EntryHeader* eheader = reinterpret_cast<EntryHeader*>(&byteBuffer[byteOffset]); in flatten() local
266 eheader->mKeySize = keySize; in flatten()
267 eheader->mValueSize = valueSize; in flatten()
269 memcpy(eheader->mData, keyBlob->getData(), keySize); in flatten()
270 memcpy(eheader->mData + keySize, valueBlob->getData(), valueSize); in flatten()
275 memset(eheader->mData + keySize + valueSize, 0, totalSize - entrySize); in flatten()
318 const EntryHeader* eheader = reinterpret_cast<const EntryHeader*>(&byteBuffer[byteOffset]); in unflatten() local
319 size_t keySize = eheader->mKeySize; in unflatten()
320 size_t valueSize = eheader->mValueSize; in unflatten()
330 const uint8_t* data = eheader->mData; in unflatten()