Searched refs:reserve (Results 1 – 8 of 8) sorted by relevance
140 void* reserve = mmap(nullptr, blocks * blksize, PROT_NONE, MAP_PRIVATE | MAP_ANON, -1, 0); in MapBlockFile() local141 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()
53 content.reserve(40960); in TEST()
172 random_data.reserve(sizeof(bootloader_message)); in TEST_F()
110 content.reserve(file_size); in TEST()
828 brotli_new_data.reserve(4096 * 100); in TEST_F()
200 random_data.reserve(4096); in TEST()293 random_data.reserve(4096); in TEST()743 content.reserve(4096 * 50); in TEST()932 random_data.reserve(4096 * 20); in TEST()975 random_data.reserve(4096 * 20); in TEST()
206 graphic_items_.reserve(graphic_items.size()); in GraphicMenu()988 intro_frames_.reserve(intro_frames); in LoadAnimation()994 loop_frames_.reserve(loop_frames); in LoadAnimation()
1436 patch_chunks.reserve(tgt_image.NumOfChunks()); in GeneratePatches()