Lines Matching refs:mMemory
189 : mNnApi(nnapi), mMemory(memory) {} in Memory()
197 size, protect, fd, offset, &mMemory)) == ANEURALNETWORKS_NO_ERROR;
206 mValid = NNAPI_CALL(ANeuralNetworksMemory_createFromAHardwareBuffer(buffer, &mMemory)) ==
212 if (mMemory) {
213 NNAPI_CALL(ANeuralNetworksMemory_free(mMemory));
229 if (mMemory) {
230 NNAPI_CALL(ANeuralNetworksMemory_free(mMemory));
232 mMemory = other.mMemory;
234 other.mMemory = nullptr;
240 ANeuralNetworksMemory* get() const { return mMemory; }
247 ANeuralNetworksMemory* mMemory = nullptr; variable