Lines Matching +full:separately +full:- +full:defined
88 * This initializes the specified key and optionally requests pre-allocated
109 return key->initialized; in dixPrivateKeyRegistered()
115 * For keys with pre-defined storage, this gets the base of that storage
121 assert(key->initialized); in dixGetPrivateAddr()
122 return (char *) (*privates) + key->offset; in dixGetPrivateAddr()
130 * no pre-defined storage
135 assert(key->size == 0); in dixGetPrivate()
146 assert(key->size == 0); in dixSetPrivate()
156 * For privates with defined storage, return the address of the
157 * storage. For privates without defined storage, return the pointer
163 if (key->size) in dixLookupPrivate()
178 assert(key->size == 0); in dixLookupPrivateAddr()
236 * screen, allowing multiple screen-related chunks of storage in a
246 /* Clean up screen-specific privates before CloseScreen */
250 /* Initialize screen-specific privates in AddScreen */
254 /* is this private created - so hotplug can avoid crashing */
272 #define dixInitScreenPrivates(s, o, v, type) _dixInitScreenPrivates(s, &(o)->devPrivates, (v), type…
275 * Allocates private data separately from main object.
278 * privates to be re-allocated as new private keys are registered.
287 * Frees separately allocated private data
298 #define dixInitPrivates(o, v, type) _dixInitPrivates(&(o)->devPrivates, (v), type);
306 #define dixFiniPrivates(o,t) _dixFiniPrivates((o)->devPrivates,t)
325 #define dixFreeObjectWithPrivates(o,t) _dixFreeObjectWithPrivates(o, (o)->devPrivates, t)
349 * Returns -1 if the specified resource has no dev privates.