Lines Matching defs:ext
735 register _XExtension *ext;
746 for (ext = dpy->ext_procs; !ret && ext; ext = ext->next) {
747 if (ext->error)
748 ret = (*ext->error)(dpy, err, &ext->codes, &ret_code);
1277 register _XExtension *ext = (_XExtension *)NULL;
1289 for (ext = dpy->ext_procs;
1290 ext && (ext->codes.major_opcode != event->request_code);
1291 ext = ext->next)
1293 if (ext)
1294 strcpy(buffer, ext->name);
1304 if (ext) {
1305 sprintf(mesg, "%s.%d", ext->name, event->minor_code);
1314 for (ext = dpy->ext_procs; ext; ext = ext->next) {
1315 if (ext->error_string)
1316 (*ext->error_string)(dpy, event->error_code, &ext->codes,
1319 bext = ext;
1322 if (ext->codes.first_error &&
1323 ext->codes.first_error < event->error_code &&
1324 (!bext || ext->codes.first_error > bext->codes.first_error))
1325 bext = ext;
1339 for (ext = dpy->ext_procs; ext; ext = ext->next) {
1340 if (ext->error_values)
1341 (*ext->error_values)(dpy, event, fp);