Searched refs:numProps (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | property.c | 573 int rc, numProps = 0; in ProcListProperties() local 585 numProps++; in ProcListProperties() 587 if (numProps && !(pAtoms = xallocarray(numProps, sizeof(Atom)))) in ProcListProperties() 590 numProps = 0; in ProcListProperties() 597 numProps++; in ProcListProperties() 604 .length = bytes_to_int32(numProps * sizeof(Atom)), in ProcListProperties() 605 .nProperties = numProps in ProcListProperties() 608 if (numProps) { in ProcListProperties() 610 WriteSwappedDataToClient(client, numProps * sizeof(Atom), pAtoms); in ProcListProperties()
|
| /OK3568_Linux_fs/external/xserver/randr/ |
| H A D | rrproviderproperty.c | 392 int numProps = 0; in ProcRRListProviderProperties() local 401 numProps++; in ProcRRListProviderProperties() 402 if (numProps) in ProcRRListProviderProperties() 403 if (!(pAtoms = xallocarray(numProps, sizeof(Atom)))) in ProcRRListProviderProperties() 409 .length = bytes_to_int32(numProps * sizeof(Atom)), in ProcRRListProviderProperties() 410 .nAtoms = numProps in ProcRRListProviderProperties() 422 if (numProps) { in ProcRRListProviderProperties() 424 WriteSwappedDataToClient(client, numProps * sizeof(Atom), pAtoms); in ProcRRListProviderProperties()
|
| H A D | rrproperty.c | 417 int numProps = 0; in ProcRRListOutputProperties() local 426 numProps++; in ProcRRListOutputProperties() 427 if (numProps) in ProcRRListOutputProperties() 428 if (!(pAtoms = xallocarray(numProps, sizeof(Atom)))) in ProcRRListOutputProperties() 434 .length = bytes_to_int32(numProps * sizeof(Atom)), in ProcRRListOutputProperties() 435 .nAtoms = numProps in ProcRRListOutputProperties() 444 if (numProps) { in ProcRRListOutputProperties() 451 WriteSwappedDataToClient(client, numProps * sizeof(Atom), pAtoms); in ProcRRListOutputProperties()
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/glxProxy/ |
| H A D | glxcmdsswap.c | 299 .numProps = __GLX_TOTAL_CONFIG in __glXSwapGetVisualConfigs() 305 __GLX_SWAP_INT(&reply.numProps); in __glXSwapGetVisualConfigs()
|
| H A D | glxcmds.c | 1711 .numProps = __GLX_TOTAL_CONFIG, in __glXGetVisualConfigs()
|
| /OK3568_Linux_fs/external/xserver/hw/dmx/ |
| H A D | dmx_glxvisuals.c | 81 nprops = (int) reply.numProps; in GetGLXVisualConfigs()
|
| /OK3568_Linux_fs/external/xserver/glx/ |
| H A D | glxcmds.c | 904 .numProps = GLX_VIS_CONFIG_TOTAL in __glXDisp_GetVisualConfigs() 911 __GLX_SWAP_INT(&reply.numProps); in __glXDisp_GetVisualConfigs()
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 61244 numVisuals & numProps are both CARD32 and need to be bounds checked before 71960 pAtoms is only allocated if numProps was non-zero, so move the walk 71961 through the property list to copy atoms to it inside the if (numProps)
|