Searched refs:alignedSize (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | mmapped_buffer.cpp | 41 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()
|
D | mmapped_buffer.h | 57 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/ |
D | TestHarness.h | 223 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/ |
D | GeneratedTestUtils.cpp | 119 size += operand.data.alignedSize(); 152 *memoryOffset += operand.data.alignedSize();
|