Lines Matching defs:newModes
164 RRModePtr *newModes;
179 newModes = xallocarray(numModes, sizeof(RRModePtr));
180 if (!newModes)
184 newModes = NULL;
190 memcpy(newModes, modes, numModes * sizeof(RRModePtr));
191 output->modes = newModes;
205 RRModePtr *newModes;
222 newModes = reallocarray(output->userModes,
225 newModes = malloc(sizeof(RRModePtr));
226 if (!newModes)
229 output->userModes = newModes;