Searched refs:map_region (Results 1 – 2 of 2) sorted by relevance
97 using map_region = std::unique_ptr<void, std::function<void(void*)>>; typedef99 map_region map(const Ashmem& mem) { in map()105 return map_region{buf, [size](void* localBuf) { munmap(localBuf, size); }}; in map()229 map_region buf = map(mem); in TEST_P()
137 using map_region = std::unique_ptr<void, std::function<void(void*)>>; typedef139 map_region map(const hidl_memory &mem) { in map()145 return map_region{buf, [size](void *localBuf) { in map()259 map_region buf = map(mem); in TEST_P()