Searched refs:maybeMemory (Results 1 – 3 of 3) sorted by relevance
85 hidl_memory maybeMemory; in allocateSharedMemory() local86 auto fn = [&maybeMemory](bool success, const hidl_memory& memory) { in allocateSharedMemory()88 maybeMemory = memory; in allocateSharedMemory()93 if (!maybeMemory.valid()) { in allocateSharedMemory()97 if (maybeMemory.handle()->numFds != 1) { in allocateSharedMemory()99 << maybeMemory.handle()->numFds << " numFds, but expected 1"; in allocateSharedMemory()101 if (maybeMemory.handle()->numInts != 0) { in allocateSharedMemory()103 << maybeMemory.handle()->numInts << " numInts, but expected 0"; in allocateSharedMemory()106 CHECK_LE(maybeMemory.size(), std::numeric_limits<size_t>::max()); in allocateSharedMemory()107 const int fd = maybeMemory.handle()->data[0]; in allocateSharedMemory()[all …]
47 if (const auto* maybeMemory = std::get_if<SharedMemory>(&pool)) { in createRunTimePoolInfos() local48 auto buffer = RunTimePoolInfo::createFromMemory(*maybeMemory); in createRunTimePoolInfos()
542 if (const auto* maybeMemory = std::get_if<SharedMemory>(&pool)) { in execute() local543 auto cacheHold = burstController->cacheMemory(*maybeMemory); in execute()681 if (const auto* maybeMemory = std::get_if<SharedMemory>(&pool)) { in compute() local682 auto cacheHold = burstController->cacheMemory(*maybeMemory); in compute()