Lines Matching refs:rep

196     xXResQueryVersionReply rep = {  in ProcXResQueryVersion()  local
207 swaps(&rep.sequenceNumber); in ProcXResQueryVersion()
208 swapl(&rep.length); in ProcXResQueryVersion()
209 swaps(&rep.server_major); in ProcXResQueryVersion()
210 swaps(&rep.server_minor); in ProcXResQueryVersion()
212 WriteToClient(client, sizeof(xXResQueryVersionReply), &rep); in ProcXResQueryVersion()
220 xXResQueryClientsReply rep; in ProcXResQueryClients() local
236 rep = (xXResQueryClientsReply) { in ProcXResQueryClients()
243 swaps(&rep.sequenceNumber); in ProcXResQueryClients()
244 swapl(&rep.length); in ProcXResQueryClients()
245 swapl(&rep.num_clients); in ProcXResQueryClients()
247 WriteToClient(client, sizeof(xXResQueryClientsReply), &rep); in ProcXResQueryClients()
299 xXResQueryClientResourcesReply rep; in ProcXResQueryClientResources() local
323 rep = (xXResQueryClientResourcesReply) { in ProcXResQueryClientResources()
330 swaps(&rep.sequenceNumber); in ProcXResQueryClientResources()
331 swapl(&rep.length); in ProcXResQueryClientResources()
332 swapl(&rep.num_types); in ProcXResQueryClientResources()
335 WriteToClient(client, sizeof(xXResQueryClientResourcesReply), &rep); in ProcXResQueryClientResources()
375 xXResQueryClientPixmapBytesReply rep; in ProcXResQueryClientPixmapBytes() local
393 rep = (xXResQueryClientPixmapBytesReply) { in ProcXResQueryClientPixmapBytes()
405 swaps(&rep.sequenceNumber); in ProcXResQueryClientPixmapBytes()
406 swapl(&rep.length); in ProcXResQueryClientPixmapBytes()
407 swapl(&rep.bytes); in ProcXResQueryClientPixmapBytes()
408 swapl(&rep.bytes_overflow); in ProcXResQueryClientPixmapBytes()
410 WriteToClient(client, sizeof(xXResQueryClientPixmapBytesReply), &rep); in ProcXResQueryClientPixmapBytes()
460 xXResClientIdValue rep; in ConstructClientIdValue() local
462 rep.spec.client = client->clientAsMask; in ConstructClientIdValue()
464 swapl (&rep.spec.client); in ConstructClientIdValue()
468 void *ptr = AddFragment(&ctx->response, sizeof(rep)); in ConstructClientIdValue()
473 rep.spec.mask = X_XResClientXIDMask; in ConstructClientIdValue()
474 rep.length = 0; in ConstructClientIdValue()
476 swapl (&rep.spec.mask); in ConstructClientIdValue()
480 memcpy(ptr, &rep, sizeof(rep)); in ConstructClientIdValue()
482 ctx->resultBytes += sizeof(rep); in ConstructClientIdValue()
490 sizeof(rep) + sizeof(CARD32)); in ConstructClientIdValue()
491 CARD32 *value = (void*) ((char*) ptr + sizeof(rep)); in ConstructClientIdValue()
497 rep.spec.mask = X_XResLocalClientPIDMask; in ConstructClientIdValue()
498 rep.length = 4; in ConstructClientIdValue()
501 swapl (&rep.spec.mask); in ConstructClientIdValue()
502 swapl (&rep.length); in ConstructClientIdValue()
508 memcpy(ptr, &rep, sizeof(rep)); in ConstructClientIdValue()
511 ctx->resultBytes += sizeof(rep) + sizeof(CARD32); in ConstructClientIdValue()
588 xXResQueryClientIdsReply rep = { in ProcXResQueryClientIds() local
598 swaps (&rep.sequenceNumber); in ProcXResQueryClientIds()
599 swapl (&rep.length); in ProcXResQueryClientIds()
600 swapl (&rep.numIds); in ProcXResQueryClientIds()
603 WriteToClient(client, sizeof(rep), &rep); in ProcXResQueryClientIds()
632 SwapXResResourceSizeValue(xXResResourceSizeValue *rep) in SwapXResResourceSizeValue() argument
634 SwapXResResourceSizeSpec(&rep->size); in SwapXResResourceSizeValue()
635 swapl(&rep->numCrossReferences); in SwapXResResourceSizeValue()
973 xXResQueryResourceBytesReply rep = { in ProcXResQueryResourceBytes() local
981 swaps (&rep.sequenceNumber); in ProcXResQueryResourceBytes()
982 swapl (&rep.length); in ProcXResQueryResourceBytes()
983 swapl (&rep.numSizes); in ProcXResQueryResourceBytes()
988 WriteToClient(client, sizeof(rep), &rep); in ProcXResQueryResourceBytes()