Lines Matching defs:modeInfo
52 RRModeCreate (xRRModeInfo *modeInfo,
61 mode = malloc(sizeof (RRModeRec) + modeInfo->nameLength + 1);
65 mode->mode = *modeInfo;
67 memcpy (mode->name, name, modeInfo->nameLength);
68 mode->name[modeInfo->nameLength] = '\0';
115 RRModeGet (xRRModeInfo *modeInfo,
123 if (RRModeEqual (&mode->mode, modeInfo) &&
124 !memcmp (name, mode->name, modeInfo->nameLength))
131 return RRModeCreate (modeInfo, name, NULL);
136 xRRModeInfo *modeInfo,
142 mode = RRModeFindByName (name, modeInfo->nameLength);
149 mode = RRModeCreate (modeInfo, name, pScreen);
295 xRRModeInfo *modeInfo;
309 modeInfo = &stuff->modeInfo;
314 if (bytes_to_int32(modeInfo->nameLength) > units_after)
317 mode = RRModeCreateUser (pScreen, modeInfo, name, &error);