Home
last modified time | relevance | path

Searched refs:devCount (Results 1 – 2 of 2) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
DSDL_macwm.c206 short devCount = 0; /* number of devices attached */ in GetSystemGammas() local
215 devCount++; /* count devices */ in GetSystemGammas()
219 …pSysGammaOut->devGamma = (precDeviceGamma *) NewPtr (sizeof (precDeviceGamma) * devCount); /* allo… in GetSystemGammas()
222 pSysGammaOut->numDevices = devCount; /* stuff count */ in GetSystemGammas()
224 devCount = 0; /* reset iteration */ in GetSystemGammas()
228 …pSysGammaOut->devGamma [devCount] = (precDeviceGamma) NewPtr (sizeof (recDeviceGamma)); /* new d… in GetSystemGammas()
229 if (pSysGammaOut->devGamma [devCount]) /* if we actually allocated memory */ in GetSystemGammas()
231 pSysGammaOut->devGamma [devCount]->hGD = hGDevice; /* stuff handle */ in GetSystemGammas()
232 …pSysGammaOut->devGamma [devCount]->pDeviceGamma = (GammaTblPtr)GetDeviceGamma (hGDevice); /* copy … in GetSystemGammas()
236 devCount++; /* next device */ in GetSystemGammas()
/external/llvm/docs/
DNVPTXUsage.rst663 int devCount;
667 checkCudaErrors(cuDeviceGetCount(&devCount));