Searched defs:res (Results 1 - 8 of 8) sorted by relevance

/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A Ddpsabbrev.c347 int res; local
354 res = strcmp(op, abbrev[n].operatorName);
355 if (res == 0) return abbrev[n].abbrev;
356 if (res < 0) max = n - 1;
357 if (res > 0) min = n + 1;
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_pci.c218 drm_pci_resource_t res; local
221 res.regnum = regnum;
223 ret = do_get_pci_res(dev, &res);
230 return (res.offset);
237 drm_pci_resource_t res; local
240 res.regnum = regnum;
242 ret = do_get_pci_res(softstate, &res);
249 return (res.size);
H A Ddrm_context.c301 struct drm_ctx_res *res = data; local
305 if (res->count >= DRM_RESERVED_CONTEXTS) {
309 DRM_COPYTO_WITH_RETURN(&res->contexts[i],
313 res->count = DRM_RESERVED_CONTEXTS;
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_context.c305 drm_ctx_res_t res; local
313 res.count = res32.count;
314 res.contexts = (drm_ctx_t *)(uintptr_t)res32.contexts;
317 DRM_COPYFROM_WITH_RETURN(&res, (void *)data, sizeof (res));
319 if (res.count >= DRM_RESERVED_CONTEXTS) {
323 DRM_COPYTO_WITH_RETURN(&res.contexts[i],
327 res.count = DRM_RESERVED_CONTEXTS;
332 res32.count = res.count;
333 res32.contexts = (caddr32_t)(uintptr_t)res
[all...]
H A Ddrm_pci.c312 drm_pci_resource_t res; local
315 res.regnum = regnum;
317 ret = do_get_pci_res(softstate, &res);
324 return (res.offset);
331 drm_pci_resource_t res; local
334 res.regnum = regnum;
336 ret = do_get_pci_res(softstate, &res);
343 return (res.size);
/solaris-x11-s11/open-src/xserver/xorg/sun-src/IA/
H A Dinteractive.c732 int res; local
737 res = (*IASavedProcVector[X_SetInputFocus])(client);
738 if ((res != Success) || (InteractiveOS != TRUE))
739 return res;
751 res = dixLookupWindow(&focusWin, focusID, client, DixReadAccess);
752 if (res != Success)
753 return res;
761 return res;
767 int res; local
770 res
[all...]
/solaris-x11-s11/open-src/app/dispswitch/sun-src/
H A Ddispswitch.c192 static XRRScreenResources *res = NULL; variable
407 for (m = 0; m < res->nmode; m++)
409 XRRModeInfo *mode = &res->modes[m];
467 num_crtcs = res->ncrtc;
470 for (c = 0; c < res->ncrtc; c++)
482 for (c = 0; c < res->ncrtc; c++)
484 XRRCrtcInfo *crtc_info = XRRGetCrtcInfo (dpy, res, res->crtcs[c]);
485 set_name_xid (&crtcs[c].crtc, res->crtcs[c]);
487 if (!crtc_info) fatal ("could not get crtc 0x%x information", res
[all...]
/solaris-x11-s11/open-src/app/accessx/sun-src/
H A DAccessX.c3218 char *res, classValueString[256], classDecimalPointsString[256]; local
3230 &res, &resourceValue);
3244 &res, &resourceValue);
3249 &res, &resourceValue);
3382 char *res, classValueString[256], classDecimalPointsString[256]; local
3388 &res, &resourceValue);
3405 &res, &resourceValue);
3408 classStrings[i], &res, &resourceValue);

Completed in 29 milliseconds