Home | History | Annotate | Download | only in src

Lines Matching defs:atoms

46     if (dpy->atoms) {
47 table = dpy->atoms->table;
52 Xfree(dpy->atoms);
53 dpy->atoms = NULL;
66 register AtomTable *atoms;
75 if (!(atoms = dpy->atoms)) {
76 dpy->atoms = atoms = Xcalloc(1, sizeof(AtomTable));
77 dpy->free_funcs->atoms = _XFreeAtomTable;
83 if (atoms) {
85 while ((e = atoms->table[idx])) {
103 if (atoms && !atoms->table[idx])
104 atoms->table[idx] = RESERVED; /* reserve slot */
129 if (!dpy->atoms) {
131 dpy->atoms = Xcalloc(1, sizeof(AtomTable));
132 dpy->free_funcs->atoms = _XFreeAtomTable;
134 if (!dpy->atoms)
143 if (dpy->atoms->table[idx]) {
147 while (idx != firstidx && dpy->atoms->table[idx]);
156 if ((oe = dpy->atoms->table[idx]) && (oe != RESERVED))
158 dpy->atoms->table[idx] = e;
180 if (dpy->atoms && dpy->atoms->table[idx] == RESERVED)
181 dpy->atoms->table[idx] = NULL; /* unreserve slot */
195 Atom *atoms;
220 if (state->atoms[i] & 0x80000000) {
221 idx = ~state->atoms[i];
222 state->atoms[i] = None;
236 if ((state->atoms[i] = repl->atom))
259 async_state.atoms = atoms_return;
276 if (dpy->atoms) {
281 if (dpy->atoms->table[tidx] == RESERVED)
282 dpy->atoms->table[tidx] = NULL;