| /xsrc/external/mit/xorg-server.old/dist/randr/ |
| H A D | rrinfo.c | 267 RRScreenSizePtr pNew; local in function:RRRegisterSize 282 pNew = realloc(pScrPriv->pSizes, 284 if (!pNew) 286 pNew[pScrPriv->nSizes++] = tmp; 287 pScrPriv->pSizes = pNew; 288 return &pNew[pScrPriv->nSizes-1]; 297 RRScreenRatePtr pNew, pRate; local in function:RRRegisterRate 306 pNew = realloc(pSize->pRates, 308 if (!pNew) 310 pRate = &pNew[pSiz [all...] |
| /xsrc/external/mit/xorg-server/dist/randr/ |
| H A D | rrinfo.c | 254 RRScreenSizePtr pNew; local in function:RRRegisterSize 269 pNew = reallocarray(pScrPriv->pSizes, 271 if (!pNew) 273 pNew[pScrPriv->nSizes++] = tmp; 274 pScrPriv->pSizes = pNew; 275 return &pNew[pScrPriv->nSizes - 1]; 283 RRScreenRatePtr pNew, pRate; local in function:RRRegisterRate 292 pNew = reallocarray(pSize->pRates, pSize->nRates + 1, sizeof(RRScreenRate)); 293 if (!pNew) 295 pRate = &pNew[pSiz [all...] |
| /xsrc/external/mit/libX11/dist/src/xcms/ |
| H A D | cmsCmap.c | 258 XcmsCmapRec *pNew; 260 if ((pNew = Xcalloc(1, sizeof(XcmsCmapRec))) == NULL) { 264 pNew->cmapID = cmap; 265 pNew->dpy = dpy; 266 pNew->windowID = windowID; 267 pNew->visual = visual; 269 pNew->pNext = (XcmsCmapRec *)dpy->cms.clientCmaps; 270 dpy->cms.clientCmaps = (XPointer)pNew; 276 * Note, we don't create the XcmsCCC for pNew->ccc here because 280 return(pNew); 256 XcmsCmapRec *pNew; local in function:_XcmsAddCmapRec [all...] |
| /xsrc/external/mit/xf86-video-amdgpu/dist/src/ |
| H A D | amdgpu_drv.h | 97 RegionPtr pNew; local in function:RegionDuplicate 99 pNew = RegionCreate(&pOld->extents, 0); 100 if (!pNew) 102 if (!RegionCopy(pNew, pOld)) { 103 RegionDestroy(pNew); 106 return pNew;
|
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/common/ |
| H A D | xf86Cursor.c | 496 xf86EdgePtr pEdge = edge, pPrev = NULL, pNew; local in function:AddEdge 505 if(!(pNew = malloc(sizeof(xf86EdgeRec)))) 508 pNew->screen = screen; 509 pNew->start = min; 510 pNew->end = max; 511 pNew->offset.x = dx; 512 pNew->offset.y = dy; 513 pNew->next = NULL; 516 pPrev->next = pNew; 518 edge = pNew; [all...] |
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/common/ |
| H A D | xf86Cursor.c | 472 xf86EdgePtr pEdge = edge, pPrev = NULL, pNew; local in function:AddEdge 481 if (!(pNew = malloc(sizeof(xf86EdgeRec)))) 484 pNew->screen = screen; 485 pNew->start = min; 486 pNew->end = max; 487 pNew->offset.x = dx; 488 pNew->offset.y = dy; 489 pNew->next = NULL; 492 pPrev->next = pNew; 494 edge = pNew; [all...] |
| /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/modes/ |
| H A D | xf86Modes.c | 199 DisplayModePtr pNew; local in function:xf86DuplicateMode 201 pNew = xnfalloc(sizeof(DisplayModeRec)); 202 *pNew = *pMode; 203 pNew->next = NULL; 204 pNew->prev = NULL; 207 xf86SetModeDefaultName(pNew); 209 pNew->name = xnfstrdup(pMode->name); 211 return pNew; 231 /* Insert pNew into modeList */
|
| /xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/ |
| H A D | xf86Modes.c | 213 DisplayModePtr pNew; local in function:xf86DuplicateMode 215 pNew = xnfalloc(sizeof(DisplayModeRec)); 216 *pNew = *pMode; 217 pNew->next = NULL; 218 pNew->prev = NULL; 221 xf86SetModeDefaultName(pNew); 223 pNew->name = xnfstrdup(pMode->name); 225 return pNew; 245 /* Insert pNew into modeList */
|
| /xsrc/external/mit/libxkbfile/dist/src/ |
| H A D | xkbconfig.c | 1138 XkbConfigFieldsPtr pNew; local in function:XkbCFDup 1140 pNew = _XkbTypedAlloc(XkbConfigFieldsRec); 1141 if (pNew != NULL) { 1142 memcpy(pNew, fields, sizeof(XkbConfigFieldsRec)); 1143 if ((pNew->fields != NULL) && (pNew->num_fields > 0)) { 1144 pNew->fields = _XkbTypedCalloc(pNew->num_fields, XkbConfigFieldRec); 1145 if (pNew->fields) { 1146 memcpy(fields->fields, pNew [all...] |
| /xsrc/external/mit/xorg-server.old/dist/xfixes/ |
| H A D | region.c | 49 RegionPtr pNew = RegionCreate(RegionExtents(pRegion), local in function:XFixesRegionCopy 51 if (!pNew) 53 if (!RegionCopy(pNew, pRegion)) 55 RegionDestroy(pNew); 58 return pNew; 338 RegionPtr pRegion, pNew; local in function:ProcXFixesSetRegion 349 pNew = RegionFromRects(things, (xRectangle *) (stuff + 1), CT_UNSORTED); 350 if (!pNew) 352 if (!RegionCopy(pRegion, pNew)) 354 RegionDestroy(pNew); [all...] |
| H A D | cursor.c | 603 CursorPtr pNew; member in struct:__anonfde7016e0108 642 if (pCursor && pCursor != rcl->pNew) 646 rcl->pNew->refcnt++; 649 *pCursorRef = rcl->pNew; 651 ChangeResourceValue (id, RT_CURSOR, rcl->pNew); 673 rcl.pNew = pCursor;
|
| /xsrc/external/mit/xorg-server/dist/xfixes/ |
| H A D | region.c | 49 RegionPtr pNew = RegionCreate(RegionExtents(pRegion), local in function:XFixesRegionCopy 52 if (!pNew) 54 if (!RegionCopy(pNew, pRegion)) { 55 RegionDestroy(pNew); 58 return pNew; 321 RegionPtr pRegion, pNew; local in function:ProcXFixesSetRegion 333 pNew = RegionFromRects(things, (xRectangle *) (stuff + 1), CT_UNSORTED); 334 if (!pNew) 336 if (!RegionCopy(pRegion, pNew)) { 337 RegionDestroy(pNew); [all...] |
| H A D | cursor.c | 593 CursorPtr pNew; member in struct:__anonaebc9e610108 629 if (pCursor && pCursor != rcl->pNew) { 631 CursorPtr curs = RefCursor(rcl->pNew); 656 rcl.pNew = pCursor;
|
| /xsrc/external/mit/xorg-server.old/dist/composite/ |
| H A D | compalloc.c | 683 PixmapPtr pNew; local in function:compReallocPixmap 697 pNew = compNewPixmap (pWin, pix_x, pix_y, pix_w, pix_h, FALSE); 698 if (!pNew) 701 compSetPixmap (pWin, pNew); 705 pNew = pOld; 708 pNew->screen_x = pix_x; 709 pNew->screen_y = pix_y;
|
| /xsrc/external/mit/xorg-server/dist/composite/ |
| H A D | compalloc.c | 675 PixmapPtr pNew; local in function:compReallocPixmap 689 pNew = compNewPixmap(pWin, pix_x, pix_y, pix_w, pix_h); 690 if (!pNew) 693 compSetPixmap(pWin, pNew, bw); 696 pNew = pOld; 699 pNew->screen_x = pix_x; 700 pNew->screen_y = pix_y;
|
| /xsrc/external/mit/xterm/dist/ |
| H A D | util.c | 2584 ChangeColors(XtermWidget xw, ScrnColors * pNew) argument 2591 if (COLOR_DEFINED(pNew, TEXT_CURSOR)) { 2592 T_COLOR(screen, TEXT_CURSOR) = COLOR_VALUE(pNew, TEXT_CURSOR); 2597 (COLOR_DEFINED(pNew, TEXT_FG))) { 2598 if (T_COLOR(screen, TEXT_CURSOR) != COLOR_VALUE(pNew, TEXT_FG)) { 2599 T_COLOR(screen, TEXT_CURSOR) = COLOR_VALUE(pNew, TEXT_FG); 2607 if (COLOR_DEFINED(pNew, TEXT_FG) 2608 && AssignFgColor(xw, COLOR_VALUE(pNew, TEXT_FG))) { 2612 if (COLOR_DEFINED(pNew, TEXT_BG) 2613 && AssignBgColor(xw, COLOR_VALUE(pNew, TEXT_B [all...] |
| H A D | Tekproc.c | 1805 ChangeTekColors(TekWidget tw, TScreen *screen, ScrnColors * pNew) argument 1812 if (COLOR_DEFINED(pNew, TEK_FG)) { 1813 T_COLOR(screen, TEK_FG) = COLOR_VALUE(pNew, TEK_FG); 1816 if (COLOR_DEFINED(pNew, TEK_BG)) { 1817 T_COLOR(screen, TEK_BG) = COLOR_VALUE(pNew, TEK_BG); 1820 if (COLOR_DEFINED(pNew, TEK_CURSOR)) { 1821 T_COLOR(screen, TEK_CURSOR) = COLOR_VALUE(pNew, TEK_CURSOR);
|
| H A D | misc.c | 3613 UpdateOldColors(XtermWidget xw, ScrnColors * pNew) argument 3625 if (COLOR_DEFINED(pNew, i)) { 3630 if (pNew->names[i]) { 3631 xw->work.oldColors->names[i] = pNew->names[i]; 3633 xw->work.oldColors->colors[i] = pNew->colors[i]; 6352 ScrnColors * pNew, 6374 if (COLOR_DEFINED(pNew, ndx)) { 6375 free(pNew->names[ndx]); 6377 SET_COLOR_VALUE(pNew, ndx, def.pixel); 6378 SET_COLOR_NAME(pNew, nd 6351 AllocateTermColor(XtermWidget xw,ScrnColors * pNew,int ndx,const char * name,Bool always) argument [all...] |
| /xsrc/external/mit/xf86-video-ati-kms/dist/src/ |
| H A D | radeon.h | 105 RegionPtr pNew; local in function:RegionDuplicate 107 pNew = RegionCreate(&pOld->extents, 0); 108 if (!pNew) 110 if (!RegionCopy(pNew, pOld)) { 111 RegionDestroy(pNew); 114 return pNew;
|
| /xsrc/external/mit/xorg-server/dist/dix/ |
| H A D | region.c | 261 RegionPtr pNew; local in function:RegionDuplicate 263 pNew = RegionCreate(&pOld->extents, 0); 264 if (!pNew) 266 if (!RegionCopy(pNew, pOld)) { 267 RegionDestroy(pNew); 270 return pNew;
|