Lines Matching defs:this
6 of this software and associated documentation files (the "Software"), to deal
12 The above copyright notice and this permission notice shall be included in
22 Except as contained in this notice, the name of the X Consortium shall not be
24 in this Software without prior written authorization from the X Consortium.
117 * this resource is used to delete the ScreenSaverNotifyRec
358 ScreenSaverSuspensionPtr *prev, this;
361 for (prev = &suspendingClients; (this = *prev); prev = &this->next) {
362 if (this == data) {
363 *prev = this->next;
364 free(this);
369 /* Re-enable the screensaver if this was the last client suspending it. */
810 /* Find out if the depth and visual are acceptable for this Screen */
1211 ScreenSaverSuspensionPtr *prev, this;
1225 /* Check if this client is suspending the screensaver */
1226 for (prev = &suspendingClients; (this = *prev); prev = &this->next)
1227 if (this->pClient == client)
1230 if (this) {
1232 this->count++;
1233 else if (--this->count == 0)
1234 FreeResource(this->clientResource, RT_NONE);
1239 /* If we get to this point, this client isn't suspending the screensaver */
1249 this = malloc(sizeof(ScreenSaverSuspensionRec));
1251 if (!this)
1254 this->next = NULL;
1255 this->pClient = client;
1256 this->count = 1;
1257 this->clientResource = FakeClientID(client->index);
1259 if (!AddResource(this->clientResource, SuspendType, (void *) this)) {
1260 free(this);
1264 *prev = this;