Searched refs:reserve (Results 1 – 7 of 7) sorted by relevance
135 void* reserve = mmap(nullptr, blocks * blksize, PROT_NONE, MAP_PRIVATE | MAP_ANON, -1, 0); in MapBlockFile() local136 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()
172 random_data.reserve(sizeof(bootloader_message)); 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()
802 brotli_new_data.reserve(4096 * 100); in TEST_F()
110 content.reserve(file_size); in TEST()
205 graphic_items_.reserve(graphic_items.size()); in GraphicMenu()953 intro_frames_.reserve(intro_frames); in LoadAnimation()959 loop_frames_.reserve(loop_frames); in LoadAnimation()
1436 patch_chunks.reserve(tgt_image.NumOfChunks()); in GeneratePatches()