Lines Matching refs:extension
49 * This routine is used to link a extension in so it will be called
57 XExtCodes codes; /* temp. place for extension information. */
70 codes.extension = dpy->ext_number++;
78 return (&ext->codes); /* tell him which extension */
90 ext->codes.extension = dpy->ext_number++;
97 return (&ext->codes); /* tell him which extension */
102 register int extension) /* extension number */
106 if (ext->codes.extension == extension) return (ext);
138 * Routines to hang procs on the extension structure.
142 int extension, /* extension number */
145 register _XExtension *e; /* for lookup of extension */
147 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
157 int extension, /* extension number */
160 register _XExtension *e; /* for lookup of extension */
162 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
172 int extension, /* extension number */
175 register _XExtension *e; /* for lookup of extension */
177 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
187 int extension, /* extension number */
190 register _XExtension *e; /* for lookup of extension */
192 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
202 int extension, /* extension number */
205 register _XExtension *e; /* for lookup of extension */
207 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
217 int extension, /* extension number */
220 register _XExtension *e; /* for lookup of extension */
222 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
232 int extension, /* extension number */
235 register _XExtension *e; /* for lookup of extension */
237 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
259 fprintf(stderr, "Xlib: ignoring invalid extension event %d\n",
279 int extension, /* extension major opcode */
284 if (extension < FirstExtensionRequest ||
285 extension > LastExtensionRequest) {
286 fprintf(stderr, "Xlib: ignoring invalid extension opcode %d\n",
287 extension);
292 oldproc = dpy->generic_event_vec[extension & 0x7F];
293 dpy->generic_event_vec[extension & 0x7F] = proc;
306 int extension, /* extension major opcode */
311 if (extension < FirstExtensionRequest ||
312 extension > LastExtensionRequest) {
313 fprintf(stderr, "Xlib: ignoring invalid extension opcode %d\n",
314 extension);
319 oldproc = dpy->generic_event_copy_vec[extension & 0x7F];
320 dpy->generic_event_copy_vec[extension & 0x7F] = proc;
340 fprintf(stderr, "Xlib: ignoring invalid extension event %d\n",
366 fprintf(stderr, "Xlib: ignoring invalid extension error %d\n",
388 int extension, /* extension number */
391 register _XExtension *e; /* for lookup of extension */
393 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
403 int extension, /* extension number */
406 register _XExtension *e; /* for lookup of extension */
408 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
418 int extension, /* extension number */
421 register _XExtension *e; /* for lookup of extension */
423 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);
433 int extension, /* extension number */
436 register _XExtension *e; /* for lookup of extension */
439 if ((e = XLookupExtension (dpy, extension)) == NULL) return (NULL);