Lines Matching refs:dp
81 xDepth *dp;
426 Depth *dp = &sp->depths[j];
435 dp->depth = u.dp->depth;
436 dp->nvisuals = u.dp->nVisuals;
437 u.dp = (xDepth *) (((char *) u.dp) + sz_xDepth);
438 if (dp->nvisuals > 0) {
439 dp->visuals = Xcalloc(dp->nvisuals, sizeof(Visual));
440 if (dp->visuals == NULL) {
444 for (k = 0; k < dp->nvisuals; k++) {
445 register Visual *vp = &dp->visuals[k];
465 if (dp->depth == 32 && getenv ("XLIB_SKIP_ARGB_VISUALS"))
467 Xfree (dp->visuals);
468 dp->visuals = NULL;
469 dp->nvisuals = 0;
472 dp->visuals = (Visual *) NULL;
637 Depth *dp = &sp->depths[j];
639 if (dp->visuals) {
642 for (k = 0; k < dp->nvisuals; k++)
643 _XFreeExtData (dp->visuals[k].ext_data);
644 Xfree (dp->visuals);