Lines Matching defs:modeInfo
64 RRModeCreate(xRRModeInfo * modeInfo, const char *name, ScreenPtr userScreen)
71 mode = malloc(sizeof(RRModeRec) + modeInfo->nameLength + 1);
75 mode->mode = *modeInfo;
77 memcpy(mode->name, name, modeInfo->nameLength);
78 mode->name[modeInfo->nameLength] = '\0';
123 RRModeGet(xRRModeInfo * modeInfo, const char *name)
130 if (RRModeEqual(&mode->mode, modeInfo) &&
131 !memcmp(name, mode->name, modeInfo->nameLength)) {
137 return RRModeCreate(modeInfo, name, NULL);
142 xRRModeInfo * modeInfo, const char *name, int *error)
146 mode = RRModeFindByName(name, modeInfo->nameLength);
152 mode = RRModeCreate(modeInfo, name, pScreen);
290 xRRModeInfo *modeInfo;
303 modeInfo = &stuff->modeInfo;
308 if (bytes_to_int32(modeInfo->nameLength) > units_after)
311 mode = RRModeCreateUser(pScreen, modeInfo, name, &error);