Searched refs:mOwnedFd (Results 1 – 1 of 1) sorted by relevance
57 : mNnApi(nnapi), mOwnedFd(ownsFd ? std::optional<int>{fd} : std::nullopt), mSize(size) { in mNnApi()80 if (mOwnedFd) { in ~Memory()81 close(*mOwnedFd); in ~Memory()103 if (mOwnedFd) {104 close(*mOwnedFd);113 mOwnedFd = other.mOwnedFd;117 other.mOwnedFd.reset();134 std::optional<int> mOwnedFd; variable