Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dmmapped_buffer.cpp41 int alignedSize = bufferSize + offset; in openBuffer() local
43 void *const mmappedBuffer = mmap(0, alignedSize, protMode, MAP_PRIVATE, mmapFd, in openBuffer()
56 return MmappedBufferPtr(new MmappedBuffer(buffer, bufferSize, mmappedBuffer, alignedSize, in openBuffer()
Dmmapped_buffer.h57 void *const mmappedBuffer, const int alignedSize, const int mmapFd, in MmappedBuffer() argument
60 mAlignedSize(alignedSize), mMmapFd(mmapFd), mIsUpdatable(isUpdatable) {} in MmappedBuffer()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/include/
DTestHarness.h223 mBuffer.reset(aligned_alloc(kAlignment, alignedSize()), free); in mSize()
243 const size_t count = testBuffer.alignedSize() / sizeof(uint32_t); in createRandom()
262 size_t alignedSize() const { return ((mSize + kAlignment - 1) / kAlignment) * kAlignment; } in alignedSize() function
/packages/modules/NeuralNetworks/runtime/test/
DGeneratedTestUtils.cpp119 size += operand.data.alignedSize();
152 *memoryOffset += operand.data.alignedSize();