Lines Matching defs:items
1559 SyncAwaitPrologue(ClientPtr client, int items)
1566 pAwaitUnion = malloc((items+1) * sizeof(SyncAwaitUnion));
1583 SyncAwaitEpilogue(ClientPtr client, int items, SyncAwaitUnion *pAwaitUnion)
1593 for (i = 0; i < items; i++, pAwait++)
1623 int len, items;
1634 items = len / sz_xSyncWaitCondition;
1636 if (items * sz_xSyncWaitCondition != len)
1640 if (items == 0)
1642 client->errorValue = items; /* XXX protocol change */
1646 if (!(pAwaitUnion = SyncAwaitPrologue(client, items)))
1654 for (i = 0; i < items; i++, pProtocolWaitConds++, pAwait++)
1695 SyncAwaitEpilogue(client, items, pAwaitUnion);
2110 int items;
2117 items = len / sizeof(CARD32);
2119 if (items * sizeof(CARD32) != len)
2123 if (items == 0)
2125 client->errorValue = items;
2129 if (!(pAwaitUnion = SyncAwaitPrologue(client, items)))
2137 for (i = 0; i < items; i++, pProtocolFences++, pAwait++)
2177 SyncAwaitEpilogue(client, items, pAwaitUnion);