Lines Matching defs:pd
171 PerDisplayTablePtr pd;
173 pd = XtNew(PerDisplayTable);
176 pd->dpy = dpy;
177 pd->next = _XtperDisplayList;
178 _XtperDisplayList = pd;
180 return &(pd->perDpy);
189 XtPerDisplay pd;
193 pd = NewPerDisplay(dpy);
194 _XtHeapInit(&pd->heap);
195 pd->destroy_callbacks = NULL;
196 pd->region = XCreateRegion();
197 pd->case_cvt = NULL;
198 pd->defaultKeycodeTranslator = XtTranslateKey;
199 pd->keysyms_serial = 0;
200 pd->keysyms = NULL;
201 XDisplayKeycodes(dpy, &pd->min_keycode, &pd->max_keycode);
202 pd->modKeysyms = NULL;
203 pd->modsToKeysyms = NULL;
204 pd->appContext = app;
205 pd->name = XrmStringToName(name);
206 pd->class = XrmStringToClass(classname);
207 pd->being_destroyed = False;
208 pd->GClist = NULL;
209 pd->pixmap_tab = NULL;
210 pd->language = NULL;
211 pd->rv = False;
212 pd->last_event.xany.serial = 0;
213 pd->last_timestamp = 0;
214 _XtAllocTMContext(pd);
215 pd->mapping_callbacks = NULL;
217 pd->pdi.grabList = NULL;
218 pd->pdi.trace = NULL;
219 pd->pdi.traceDepth = 0;
220 pd->pdi.traceMax = 0;
221 pd->pdi.focusWidget = NULL;
222 pd->pdi.activatingKey = 0;
223 pd->pdi.keyboard.grabType = XtNoServerGrab;
224 pd->pdi.pointer.grabType = XtNoServerGrab;
226 _XtAllocWWTable(pd);
227 pd->per_screen_db = (XrmDatabase *) __XtCalloc((Cardinal) ScreenCount(dpy),
230 pd->cmd_db = (XrmDatabase) NULL;
231 pd->server_db = (XrmDatabase) NULL;
232 pd->dispatcher_list = NULL;
233 pd->ext_select_list = NULL;
234 pd->ext_select_count = 0;
235 pd->hook_object = NULL;
237 pd->hook_object = _XtCreate("hooks", "Hooks", hookObjectClass,
245 pd->rcm_init = XInternAtom(dpy, RCM_INIT, 0);
246 pd->rcm_data = XInternAtom(dpy, RCM_DATA, 0);
249 return pd;
311 XtPerDisplay pd;
313 pd = InitPerDisplay(d, app, applName, className);
314 pd->language = language;
315 _XtDisplayInitialize(d, pd, applName, urlist, num_urs, argc, argv);
389 XtPerDisplay pd;
393 pd = InitPerDisplay(dpy, app, name, classname);
398 &pd->language);
400 _XtDisplayInitialize(dpy, pd, name, urlist, num_urs, argc, argv);
607 register PerDisplayTablePtr pd, opd = NULL;
611 for (pd = _XtperDisplayList; pd != NULL && pd->dpy != dpy; pd = pd->next) {
612 opd = pd;
615 if (pd == NULL) {
620 if (pd != _XtperDisplayList) { /* move it to the front */
623 opd->next = pd->next;
624 pd->next = _XtperDisplayList;
625 _XtperDisplayList = pd;
627 result = &(pd->perDpy);
646 register PerDisplayTablePtr pd, opd = NULL;
652 for (pd = _XtperDisplayList; pd != NULL && pd->dpy != dpy; pd = pd->next) {
653 opd = pd;
656 if (pd == NULL) {
662 if (pd == _XtperDisplayList)
663 _XtperDisplayList = pd->next;
665 opd->next = pd->next;
667 xtpd = &(pd->perDpy);
716 XtFree((char *) pd);
725 XtPerDisplay pd;
729 pd = _XtGetPerDisplay(dpy);
730 if (pd->being_destroyed) {
738 pd->being_destroyed = TRUE;
777 XtPerDisplay pd;
779 pd = _XtGetPerDisplay(dpy);
780 *name_return = XrmQuarkToString(pd->name);
781 *class_return = XrmQuarkToString(pd->class);