Lines Matching refs:codes
109 XExtCodes *codes;
130 if ((codes = XDPSLGetCodes(dpy))
133 && codes->major_opcode == DPSXOPCODEBASE)
159 codes = XAddExtension(dpy);
160 codes->major_opcode = DPSXOPCODEBASE;
161 codes->first_event = 0; /* REQUIRED */
162 codes->first_error = FirstExtensionError;
163 extData->number = codes->extension;
166 my->codes = codes;
286 XDPSLSetCodes(dpy, codes);
296 (void) XESetCloseDisplay(dpy, codes->extension, DPSCAPCloseDisplayProc);
297 (void) XESetCopyGC(dpy, codes->extension, DPSCAPCopyGCProc);
298 (void) XESetFreeGC(dpy, codes->extension, DPSCAPFreeGCProc);
299 (void) XESetFlushGC(dpy, codes->extension, DPSCAPFlushGCProc);
596 XExtCodes *codes)
602 /* Although it seems that we should free codes here, we can't
618 XExtCodes *codes)
624 codes->extension);
651 XExtCodes *codes)
658 codes->extension);
712 XExtCodes *codes)
730 extData = XFindOnExtensionList(CSDPSHeadOfDpyExt(dpy), codes->extension);