Lines Matching refs:screen_modes
166 RRModePtr *screen_modes;
169 screen_modes = xallocarray((num_modes ? num_modes : 1), sizeof(RRModePtr));
170 if (!screen_modes)
185 if (screen_modes[n] == mode)
188 screen_modes[num_screen_modes++] = mode;
204 if (screen_modes[n] == mode)
207 screen_modes[num_screen_modes++] = mode;
219 if (screen_modes[n] == mode)
222 screen_modes[num_screen_modes++] = mode;
226 return screen_modes;