Lines Matching refs:dex_mem_map
175 std::unique_ptr<MemMap> dex_mem_map(MemMap::MapAnonymous("DEX data", in AllocateDexMemoryMap() local
182 if (dex_mem_map == nullptr) { in AllocateDexMemoryMap()
186 return dex_mem_map; in AllocateDexMemoryMap()
189 static const DexFile* CreateDexFile(JNIEnv* env, std::unique_ptr<MemMap> dex_mem_map) { in CreateDexFile() argument
191 dex_mem_map->Begin(), in CreateDexFile()
192 dex_mem_map->End()); in CreateDexFile()
197 std::move(dex_mem_map), in CreateDexFile()
239 std::unique_ptr<MemMap> dex_mem_map(AllocateDexMemoryMap(env, start, end)); in DexFile_createCookieWithDirectBuffer() local
240 if (dex_mem_map == nullptr) { in DexFile_createCookieWithDirectBuffer()
246 memcpy(dex_mem_map->Begin(), base_address, length); in DexFile_createCookieWithDirectBuffer()
247 return CreateSingleDexFileCookie(env, std::move(dex_mem_map)); in DexFile_createCookieWithDirectBuffer()
255 std::unique_ptr<MemMap> dex_mem_map(AllocateDexMemoryMap(env, start, end)); in DexFile_createCookieWithArray() local
256 if (dex_mem_map == nullptr) { in DexFile_createCookieWithArray()
261 auto destination = reinterpret_cast<jbyte*>(dex_mem_map.get()->Begin()); in DexFile_createCookieWithArray()
263 return CreateSingleDexFileCookie(env, std::move(dex_mem_map)); in DexFile_createCookieWithArray()