Searched refs:xalloc (Results 1 - 25 of 29) sorted by relevance

12

/xsrc/external/mit/xf86-video-intel-old/dist/src/reg_dumper/
H A Dreg_dumper.h80 #define xalloc malloc macro
/xsrc/external/mit/xorg-server.old/dist/include/
H A Dos.h71 #ifndef xalloc
76 #define xalloc(size) Xalloc((unsigned long)(size)) macro
/xsrc/external/mit/ico/dist/
H A Dico.c280 xalloc(unsigned int nbytes) function in typeref:typename:char *
741 xalloc(closure->totalplanes * sizeof(unsigned long));
747 xalloc(closure->totalpixels * sizeof(XColor));
749 xalloc(closure->pixelsperbuf * sizeof(unsigned long));
1321 closure = (struct closure *) xalloc(sizeof(struct closure));
1331 closure = (struct closure *) xalloc(sizeof(struct closure));
/xsrc/external/mit/xf86-video-nsc/dist/src/
H A Dnsc_gx2_video.c259 xalloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr *));
1369 if (!(surface->pitches = xalloc(sizeof(int))))
1371 if (!(surface->offsets = xalloc(sizeof(int)))) {
1375 if (!(pPriv = xalloc(sizeof(OffscreenPrivRec)))) {
1506 if (!(offscreenImages = xalloc(sizeof(XF86OffscreenImageRec))))
H A Dnsc_gx1_video.c266 xalloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr *));
1426 if (!(surface->pitches = xalloc(sizeof(int))))
1428 if (!(surface->offsets = xalloc(sizeof(int)))) {
1432 if (!(pPriv = xalloc(sizeof(OffscreenPrivRec)))) {
1566 if (!(offscreenImages = xalloc(sizeof(XF86OffscreenImageRec))))
H A Dnsc_gx1_driver.c1859 xalloc(sizeof(unsigned long) * pGeode->NoOfImgBuffers);
1955 pGeode->ShadowPtr = xalloc(pGeode->ShadowPitch * height);
H A Dnsc_gx2_driver.c1778 xalloc(sizeof(unsigned long) * pGeode->NoOfImgBuffers);
1871 pGeode->ShadowPtr = xalloc(pGeode->ShadowPitch * height);
/xsrc/external/mit/xorg-server.old/dist/hw/sun/
H A DsunInit.c291 fbattr = (struct fbgattr *) xalloc (sizeof (struct fbgattr));
417 deviceList = (char **) xalloc ((MAXSCREENS + 1) * sizeof (char *));
432 (char **) xalloc ((FALLBACK_LIST_LEN + 1) * sizeof (char *));
/xsrc/external/mit/xf86-video-intel-old/dist/src/
H A Di810_video.c177 xalloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr*));
1228 if(!(surface->pitches = xalloc(sizeof(int)))) {
1232 if(!(surface->offsets = xalloc(sizeof(int)))) {
1237 if(!(pPriv = xalloc(sizeof(OffscreenPrivRec)))) {
1404 if(!(offscreenImages = xalloc(sizeof(XF86OffscreenImageRec)))) {
H A Di830_bios.c360 bios = xalloc(size);
H A Di810_dri.c341 pDRIInfo->busIdString = xalloc(64);
1205 pboxNew1 = (BoxPtr) xalloc(sizeof(BoxRec) * nbox);
1208 pptNew1 = (DDXPointPtr) xalloc(sizeof(DDXPointRec) * nbox);
1241 pboxNew2 = (BoxPtr) xalloc(sizeof(BoxRec) * nbox);
1242 pptNew2 = (DDXPointPtr) xalloc(sizeof(DDXPointRec) * nbox);
H A Di830_video.c572 newAdaptors = xalloc((num_adaptors + 2) * sizeof(XF86VideoAdaptorPtr *));
2720 if (!(surface->pitches = xalloc(sizeof(int))))
2722 if (!(surface->offsets = xalloc(sizeof(int)))) {
2726 if (!(pPriv = xalloc(sizeof(OffscreenPrivRec)))) {
2857 if (!(offscreenImages = xalloc(sizeof(XF86OffscreenImageRec)))) {
H A Di830_sdvo.c1726 dev_priv->name = xalloc(strlen(name_prefix) + strlen(name_suffix) + 1);
1743 char *name = xalloc(nameLength + 1);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/os-support/bus/
H A DnetbsdSbus.c465 ret = xalloc(4096);
535 name = xalloc(i + 2);
/xsrc/external/mit/xorgproto/dist/include/X11/extensions/
H A DXKBsrv.h294 #define _XkbAlloc(s) xalloc((s))
297 #define _XkbTypedAlloc(t) ((t *)xalloc(sizeof(t)))
/xsrc/external/mit/xf86-video-intel-old/dist/uxa/
H A Duxa-accel.c523 prect = xalloc(sizeof(xRectangle) * npt);
560 prect = xalloc(sizeof(xRectangle) * (npt - 1));
631 prect = xalloc(sizeof(xRectangle) * nseg);
H A Duxa-glyphs.c217 cache->hashEntries = xalloc(sizeof(int) * cache->hashSize);
218 cache->glyphs = xalloc(sizeof(uxa_cached_glyph_t) * cache->size);
/xsrc/external/mit/xf86-video-xgi/dist/src/
H A Dxgi_memcpy.c743 if(!((*buf2) = (UChar *)xalloc(BUFFERSIZE + 15))) {
748 if(!((*buf3) = (UChar *)xalloc(BUFFERSIZE + 15))) {
H A Dxgi_opt.c198 if(!(pXGI->Options = xalloc(sizeof(XGIOptions)))) return;
H A Dxgi_driver.c1049 if (!((mode = xalloc(sizeof(DisplayModeRec)))))
1052 if (!((mode->Private = xalloc(sizeof(XGIMergedDisplayModeRec))))) {
2445 pXGI->CRT2pScrn->monitor = xalloc(sizeof(MonRec));
2453 if (!(newm = xalloc(sizeof(DisplayModeRec))))
2456 if (!(newm->name = xalloc(strlen(tempm->name) + 1))) {
3549 pXGI->CRT2pScrn = xalloc(sizeof(ScrnInfoRec));
4923 pXGI->ShadowPtr = xalloc(pXGI->ShadowPitch * height);
H A Dxgi_video.c145 xalloc((num_adaptors + 1) * sizeof(XF86VideoAdaptorPtr*));
/xsrc/external/mit/xf86-video-crime/dist/src/
H A Dcrime_driver.c468 if (!(fPtr->Options = xalloc(sizeof(CrimeOptions))))
475 mode = (DisplayModePtr)xalloc(sizeof(DisplayModeRec));
/xsrc/external/mit/xf86-video-ag10e/dist/src/
H A Dag10e_driver.c376 if (!(pAG10E->Options = xalloc(sizeof(AG10EOptions))))
/xsrc/external/mit/xf86-video-openchrome/dist/src/
H A Dvia_dri.c561 pDRIInfo->busIdString = xalloc(64);
/xsrc/external/mit/xf86-video-imstt/dist/src/
H A Dimstt_driver.c379 if (!(iptr->Options = xalloc(sizeof(IMSTTOptions))))

Completed in 59 milliseconds

12