| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland-glamor-xv.c | 203 pFormat = xnfcalloc(totFormat, sizeof(XvFormatRec)); in xwl_glamor_xv_add_formats() 246 pPorts = xnfcalloc(NUM_PORTS, sizeof(XvPortRec)); in xwl_glamor_xv_add_ports() 249 xwlXvScreen->port_privates = xnfcalloc(NUM_PORTS, in xwl_glamor_xv_add_ports() 280 pa->pAttributes = xnfcalloc(glamor_xv_num_attributes, sizeof(XvAttributeRec)); in xwl_glamor_xv_add_attributes() 293 pa->pImages = xnfcalloc(glamor_xv_num_images, sizeof(XvImageRec)); in xwl_glamor_xv_add_images() 307 pe = xnfcalloc(1, sizeof(XvEncodingRec)); in xwl_glamor_xv_add_encodings() 337 pa = xnfcalloc(1, sizeof(XvAdaptorRec)); in xwl_glamor_xv_add_adaptors()
|
| /OK3568_Linux_fs/external/xserver/hw/kdrive/ephyr/ |
| H A D | ephyr_glamor_xv.c | 126 adaptor = xnfcalloc(1, sizeof(*adaptor)); in ephyr_glamor_xv_init() 138 port_privates = xnfcalloc(adaptor->nPorts, in ephyr_glamor_xv_init() 140 adaptor->pPortPrivates = xnfcalloc(adaptor->nPorts, in ephyr_glamor_xv_init()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/ramdac/ |
| H A D | xf86RamDac.c | 112 xnfcalloc(sizeof(RamDacHWRec), 1); in RamDacGetRec() 114 xnfcalloc(sizeof(RamDacScreenRec), 1); in RamDacGetRec()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86Config.c | 184 dir_elem = xnfcalloc(1, strlen(path_elem) + 1); in xf86ValidateFontPath() 334 xf86configptr->conf_modules = xnfcalloc(1, sizeof(XF86ConfModuleRec)); in xf86ModulelistFromConfig() 1323 indp = xnfcalloc((count + 1), sizeof(InputInfoPtr)); in configInputDevices() 1407 slp = xnfcalloc((count + 1), sizeof(screenLayoutRec)); in configLayout() 1417 slp[count].screen = xnfcalloc(1, sizeof(confScreenRec)); in configLayout() 1471 slp[0].screen = xnfcalloc(1, sizeof(confScreenRec)); in configLayout() 1599 slp = xnfcalloc(1, 2 * sizeof(screenLayoutRec)); in configImpliedLayout() 1600 slp[0].screen = xnfcalloc(1, sizeof(confScreenRec)); in configImpliedLayout() 1608 servlayoutp->inactives = xnfcalloc(1, sizeof(GDevRec)); in configImpliedLayout() 1693 screenp->monitor = xnfcalloc(1, sizeof(MonRec)); in configScreen() [all …]
|
| H A D | xf86Bus.c | 284 xf86Entities[xf86NumEntities - 1] = xnfcalloc(1, sizeof(EntityRec)); in xf86AllocateEntity() 286 xnfcalloc(xf86EntityPrivateCount, sizeof(DevUnion)); in xf86AllocateEntity() 484 pEnt = xnfcalloc(1, sizeof(EntityInfoRec)); in xf86GetEntityInfo()
|
| H A D | xf86sbusBus.c | 73 xf86SbusInfo[xf86nSbusInfo - 1] = psdp = xnfcalloc(sizeof(sbusDevice), 1); in CheckSbusDevice() 592 mode = xnfcalloc(sizeof(DisplayModeRec), 1); in xf86SbusUseBuiltinMode() 701 cmap = xnfcalloc(1, sizeof(sbusCmapRec)); in xf86SbusHandleColormaps()
|
| H A D | xf86Configure.c | 705 dev2screen = xnfcalloc(nDevToConfig, sizeof(int)); in DoConfigure() 708 Bool *driverProbed = xnfcalloc(xf86NumDrivers, sizeof(Bool)); in DoConfigure()
|
| H A D | xf86AutoConfig.c | 402 xf86ConfigLayout.screens = xnfcalloc(num_screens + md.nmatches, in autoConfigDevice()
|
| H A D | xf86Helper.c | 170 xf86GPUScreens[i] = xnfcalloc(sizeof(ScrnInfoRec), 1); in xf86AllocateScreen() 181 xf86Screens[i] = xnfcalloc(sizeof(ScrnInfoRec), 1); in xf86AllocateScreen() 188 pScrn->privates = xnfcalloc(sizeof(DevUnion), xf86ScrnInfoPrivateCount); in xf86AllocateScreen()
|
| H A D | xf86Mode.c | 1635 new = xnfcalloc(1, sizeof(DisplayModeRec)); in xf86ValidateModes() 1703 p = xnfcalloc(1, sizeof(DisplayModeRec)); in xf86ValidateModes()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/int10/ |
| H A D | generic.c | 135 pInt = (xf86Int10InfoPtr) xnfcalloc(1, sizeof(xf86Int10InfoRec)); in xf86ExtendedInitInt10() 140 pInt->private = (void *) xnfcalloc(1, sizeof(genericInt10Priv)); in xf86ExtendedInitInt10() 141 INTPriv(pInt)->alloc = (void *) xnfcalloc(1, ALLOC_ENTRIES(getpagesize())); in xf86ExtendedInitInt10()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/int10/ |
| H A D | linux.c | 161 pInt = (xf86Int10InfoPtr) xnfcalloc(1, sizeof(xf86Int10InfoRec)); in xf86ExtendedInitInt10() 170 pInt->private = (void *) xnfcalloc(1, sizeof(linuxInt10Priv)); in xf86ExtendedInitInt10() 172 (void *) xnfcalloc(1, ALLOC_ENTRIES(pagesize)); in xf86ExtendedInitInt10()
|
| /OK3568_Linux_fs/external/xserver/config/ |
| H A D | config.c | 136 xnfcalloc(1, sizeof (struct OdevAttributes)); in config_odev_allocate_attributes()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/vbe/ |
| H A D | vbeModes.c | 243 pMode = xnfcalloc(sizeof(DisplayModeRec), 1); in CheckMode() 252 data = xnfcalloc(sizeof(VbeModeInfoData), 1); in CheckMode()
|
| H A D | vbe.c | 889 m = xnfcalloc(sizeof(vbeModeInfoRec), 1);
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/modes/ |
| H A D | xf86gtf.c | 103 DisplayModeRec *mode = xnfcalloc(1, sizeof(DisplayModeRec)); in xf86GTFMode()
|
| H A D | xf86cvt.c | 66 DisplayModeRec *Mode = xnfcalloc(1, sizeof(DisplayModeRec)); in xf86CVTMode()
|
| H A D | xf86Crtc.c | 62 config = xnfcalloc(1, sizeof(xf86CrtcConfigRec)); in xf86CrtcConfigInit() 2275 preferred = xnfcalloc(config->num_output, sizeof(DisplayModePtr)); in xf86TargetPreferred() 2276 preferred_match = xnfcalloc(config->num_output, sizeof(DisplayModePtr)); in xf86TargetPreferred() 2385 aspects = xnfcalloc(config->num_output, sizeof(float)); in xf86TargetAspect() 2532 crtcs = xnfcalloc(config->num_output, sizeof(xf86CrtcPtr)); in xf86InitialConfiguration() 2533 modes = xnfcalloc(config->num_output, sizeof(DisplayModePtr)); in xf86InitialConfiguration() 2534 enabled = xnfcalloc(config->num_output, sizeof(Bool)); in xf86InitialConfiguration()
|
| H A D | xf86Modes.c | 324 char *flags = xnfcalloc(1, 1); in xf86PrintModeline()
|
| /OK3568_Linux_fs/external/xserver/include/ |
| H A D | os.h | 81 #define xnfcalloc(_num, _size) XNFcallocarray((_num), (_size)) macro
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bus/ |
| H A D | Sbus.c | 430 devicePtrs[fbNum] = psdp = xnfcalloc(sizeof(sbusDevice), 1); in sparcPromAssignNodes()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/ddc/ |
| H A D | interpret_edid.c | 174 if (!(m = xnfcalloc(sizeof(xf86Monitor), 1))) in xf86InterpretEDID()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/vgahw/ |
| H A D | vgaHW.c | 1634 hwp = VGAHWPTRLVAL(scrp) = xnfcalloc(sizeof(vgaHWRec), 1); in vgaHWGetHWRec() 1928 hwp->ddc = xnfcalloc(sizeof(struct _vgaDdcSave), 1); in vgaHWddc1SetSpeed()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | driver.c | 404 pPriv->ptr = xnfcalloc(sizeof(modesettingEntRec), 1); in ms_setup_entity() 526 pScrn->driverPrivate = xnfcalloc(sizeof(modesettingRec), 1); in GetRec()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/fbdevhw/ |
| H A D | fbdevhw.c | 96 FBDEVHWPTRLVAL(pScrn) = xnfcalloc(sizeof(fbdevHWRec), 1); in fbdevHWGetRec()
|