Home
last modified time | relevance | path

Searched refs:reserve (Results 1 – 8 of 8) sorted by relevance

/bootable/recovery/otautil/
Dsysutil.cpp140 void* reserve = mmap(nullptr, blocks * blksize, PROT_NONE, MAP_PRIVATE | MAP_ANON, -1, 0); in MapBlockFile() local
141 if (reserve == MAP_FAILED) { in MapBlockFile()
149 munmap(reserve, blocks * blksize); in MapBlockFile()
155 auto next = static_cast<unsigned char*>(reserve); in MapBlockFile()
163 munmap(reserve, blocks * blksize); in MapBlockFile()
173 munmap(reserve, blocks * blksize); in MapBlockFile()
177 addr = static_cast<unsigned char*>(reserve); in MapBlockFile()
/bootable/recovery/tests/unit/
Dfuse_provider_test.cpp53 content.reserve(40960); in TEST()
Duncrypt_test.cpp172 random_data.reserve(sizeof(bootloader_message)); in TEST_F()
Dsysutil_test.cpp110 content.reserve(file_size); in TEST()
Dupdater_test.cpp828 brotli_new_data.reserve(4096 * 100); in TEST_F()
/bootable/recovery/tests/unit/host/
Dimgdiff_test.cpp201 random_data.reserve(4096); in TEST()
294 random_data.reserve(4096); in TEST()
744 content.reserve(4096 * 50); in TEST()
933 random_data.reserve(4096 * 20); in TEST()
976 random_data.reserve(4096 * 20); in TEST()
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp205 graphic_items_.reserve(graphic_items.size()); in GraphicMenu()
967 intro_frames_.reserve(intro_frames); in LoadAnimation()
973 loop_frames_.reserve(loop_frames); in LoadAnimation()
/bootable/recovery/applypatch/
Dimgdiff.cpp1435 patch_chunks.reserve(tgt_image.NumOfChunks()); in GeneratePatches()