Lines Matching refs:slot
1851 register DPSCAPPausedContextData *slot;
1855 for (slot = PausedPerDisplay[dpyix]; slot; slot = PausedPerDisplay[dpyix])
1857 PausedPerDisplay[dpyix] = slot->next;
1858 Xfree(slot);
1884 register DPSCAPPausedContextData *slot, *prev;
1887 /* If this is DPS/X, then slot will never have been initialized.
1892 for (slot = PausedPerDisplay[dpyix]; slot; prev = slot, slot = slot->next)
1894 if (slot->cxid != cxid)
1897 PausedPerDisplay[dpyix] = slot->next;
1899 prev->next = slot->next;
1900 Xfree(slot);
2141 register DPSCAPPausedContextData *slot;
2145 /* Find or create slot */
2147 slot = PausedPerDisplay[dpyix = DPY_NUMBER(xdpy)];
2148 if (!slot)
2150 slot = (DPSCAPPausedContextData *)
2152 PausedPerDisplay[dpyix] = slot;
2158 if (slot->cxid == cxid)
2160 if (!slot->paused)
2162 slot->paused = True;
2166 ret = ++slot->seqnum;
2169 else if (slot->next) slot = slot->next;
2172 /* ASSERT: slot points to last record of the list */
2173 slot->next = (DPSCAPPausedContextData *)
2175 slot = slot->next;
2177 slot->paused = True;
2179 slot->cxid = cxid;
2180 ret = ++slot->seqnum;
2192 register DPSCAPPausedContextData *slot;
2196 for (slot = PausedPerDisplay[dpyix]; slot; slot = slot->next)
2197 if (slot->cxid == cxid && slot->paused)
2220 ee->data.l[1] = slot->seqnum;
2229 slot->paused = False;