Home
last modified time | relevance | path

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

/bootable/recovery/otautil/
Dsysutil.cpp135 void* reserve = mmap(nullptr, blocks * blksize, PROT_NONE, MAP_PRIVATE | MAP_ANON, -1, 0); in MapBlockFile() local
136 if (reserve == MAP_FAILED) { in MapBlockFile()
144 munmap(reserve, blocks * blksize); in MapBlockFile()
150 auto next = static_cast<unsigned char*>(reserve); in MapBlockFile()
158 munmap(reserve, blocks * blksize); in MapBlockFile()
168 munmap(reserve, blocks * blksize); in MapBlockFile()
172 addr = static_cast<unsigned char*>(reserve); in MapBlockFile()
/bootable/recovery/tests/component/
Duncrypt_test.cpp172 random_data.reserve(sizeof(bootloader_message)); in TEST_F()
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()
Dupdater_test.cpp802 brotli_new_data.reserve(4096 * 100); in TEST_F()
/bootable/recovery/tests/unit/
Dsysutil_test.cpp110 content.reserve(file_size); in TEST()
/bootable/recovery/recovery_ui/
Dscreen_ui.cpp205 graphic_items_.reserve(graphic_items.size()); in GraphicMenu()
953 intro_frames_.reserve(intro_frames); in LoadAnimation()
959 loop_frames_.reserve(loop_frames); in LoadAnimation()
/bootable/recovery/applypatch/
Dimgdiff.cpp1436 patch_chunks.reserve(tgt_image.NumOfChunks()); in GeneratePatches()