Lines Matching refs:rid
77 XID rid;
100 #define Hash(db,rid,context) \
101 (db)->table[(((rid) << 1) + context) & (db)->mask]
124 head = &Hash(db, entry->rid, entry->context);
162 register XID rid,
206 head = &Hash(db, rid, context);
209 if (entry->rid == rid && entry->context == context) {
217 entry->rid = rid;
237 int XFindContext(Display *display, XID rid, XContext context, XPointer *data)
253 for (entry = Hash(db, rid, context); entry; entry = entry->next)
255 if (entry->rid == rid && entry->context == context) {
272 int XDeleteContext(Display *display, XID rid, XContext context)
288 for (prev = &Hash(db, rid, context);
291 if (entry->rid == rid && entry->context == context) {