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()
201 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()
205 graphic_items_.reserve(graphic_items.size()); in GraphicMenu()967 intro_frames_.reserve(intro_frames); in LoadAnimation()973 loop_frames_.reserve(loop_frames); in LoadAnimation()
1435 patch_chunks.reserve(tgt_image.NumOfChunks()); in GeneratePatches()