Lines Matching defs:NULL

135 static XDPSLEventHandler TextProc = NULL;
185 DPSFatalProc(NULL, "Extension has not been initialized");
282 Codes[DPY_NUMBER(dpy)] = NULL;
286 dpys[DPY_NUMBER(dpy)] = NULL;
406 XExtCodes *codes = (XExtCodes *)NULL;
415 if ((ddt = getenv("DPSNXOVER")) != NULL) {
418 DPSWarnProc(NULL, "*** USING DPS NX ***");
422 if ((codes = Codes[DPY_NUMBER(dpy)]) != NULL) {
432 if (codes == NULL) {
436 if (codes == NULL) {
493 DPSFatalProc(NULL, "Incompatible protocol versions");
513 DPSFatalProc(NULL, "Server replied with bogus version");
544 if (colorcube != NULL) {
567 if (grayramp != NULL) {
606 if (grayRamp == NULL && colorCube == NULL) return(None);
619 index = ((grayRamp == DefaultStdCMap || grayRamp == NULL) ? 0 : 1) +
626 XDPSGetDefaultColorMaps(xdpy, (Screen *) NULL, draw,
633 XDPSGetDefaultColorMaps(xdpy, (Screen *) NULL, draw,
634 &defColorcube, (XStandardColormap *) NULL);
640 XDPSGetDefaultColorMaps(xdpy, (Screen *) NULL, draw,
641 (XStandardColormap *) NULL, &defGrayramp);
652 if (gc != NULL)
673 req->gc = (gc != NULL) ? XGContextFromGC(gc) : None;
688 if (rep.cpsid && xdpy != dpy && gc != NULL)
744 XDPSGetDefaultColorMaps(xdpy, (Screen *) NULL, draw,
751 XDPSGetDefaultColorMaps(xdpy, (Screen *) NULL, draw,
752 &defColorcube, (XStandardColormap *) NULL);
758 XDPSGetDefaultColorMaps(xdpy, (Screen *) NULL, draw,
759 (XStandardColormap *) NULL, &defGrayramp);
771 if (gc != NULL)
792 req->gc = (gc != NULL) ? XGContextFromGC(gc) : None;
804 if (rep.cpsid && xdpy != dpy && gc != NULL)
1334 DPSWarnProc(NULL, "Attempted use of XDPSLNotifyWhenReady with incompatible server ignored");
1382 if (c == NULL)
1488 if (gCSDPS == NULL)
1507 if (dpy == NULL) return;
1517 if (xdpy == NULL) return;
1531 if (event->type != ClientMessage || codes == NULL)
1564 if (codes == NULL)
1642 if (ret_ctxt != NULL)
1644 if (ret_status != NULL)
1657 if (ret_ctxt != NULL)
1660 if (ret_val != NULL)
1726 if (codes == NULL)
1891 prev = (DPSCAPPausedContextData *)NULL;
1916 DPSWarnProc(NULL, "DPS NX: Bogus GC flush mode.\n");
1947 NULL, "DPS NX: XGetGCValues returned False\n");
1975 if (codes != NULL)
2091 NULL, "DPS NX: XGetGCValues returned False\n");
2122 if (dpy != (Display *)NULL && dpy != xdpy)
2131 if ((proc = AfterProcs[DPY_NUMBER(xdpy)]) != NULL)
2184 DPSWarnProc(NULL, "Pause sequence wrapped around!");