Lines Matching refs:rep

193     xRRGetScreenSizeRangeReply rep;  in ProcRRGetScreenSizeRange()  local
207 rep = (xRRGetScreenSizeRangeReply) { in ProcRRGetScreenSizeRange()
217 rep.minWidth = pScrPriv->minWidth; in ProcRRGetScreenSizeRange()
218 rep.minHeight = pScrPriv->minHeight; in ProcRRGetScreenSizeRange()
219 rep.maxWidth = pScrPriv->maxWidth; in ProcRRGetScreenSizeRange()
220 rep.maxHeight = pScrPriv->maxHeight; in ProcRRGetScreenSizeRange()
223 rep.maxWidth = rep.minWidth = pScreen->width; in ProcRRGetScreenSizeRange()
224 rep.maxHeight = rep.minHeight = pScreen->height; in ProcRRGetScreenSizeRange()
227 swaps(&rep.sequenceNumber); in ProcRRGetScreenSizeRange()
228 swapl(&rep.length); in ProcRRGetScreenSizeRange()
229 swaps(&rep.minWidth); in ProcRRGetScreenSizeRange()
230 swaps(&rep.minHeight); in ProcRRGetScreenSizeRange()
231 swaps(&rep.maxWidth); in ProcRRGetScreenSizeRange()
232 swaps(&rep.maxHeight); in ProcRRGetScreenSizeRange()
234 WriteToClient(client, sizeof(xRRGetScreenSizeRangeReply), &rep); in ProcRRGetScreenSizeRange()
373 xRRGetScreenResourcesReply rep; in rrGetMultiScreenResources() local
410 rep = (xRRGetScreenResourcesReply) { in rrGetMultiScreenResources()
422 rep.length = (total_crtcs + total_outputs + in rrGetMultiScreenResources()
426 extraLen = rep.length << 2; in rrGetMultiScreenResources()
465 assert(bytes_to_int32((char *) names - (char *) extra) == rep.length); in rrGetMultiScreenResources()
467 swaps(&rep.sequenceNumber); in rrGetMultiScreenResources()
468 swapl(&rep.length); in rrGetMultiScreenResources()
469 swapl(&rep.timestamp); in rrGetMultiScreenResources()
470 swapl(&rep.configTimestamp); in rrGetMultiScreenResources()
471 swaps(&rep.nCrtcs); in rrGetMultiScreenResources()
472 swaps(&rep.nOutputs); in rrGetMultiScreenResources()
473 swaps(&rep.nModes); in rrGetMultiScreenResources()
474 swaps(&rep.nbytesNames); in rrGetMultiScreenResources()
476 WriteToClient(client, sizeof(xRRGetScreenResourcesReply), &rep); in rrGetMultiScreenResources()
488 xRRGetScreenResourcesReply rep; in rrGetScreenResources() local
516 rep = (xRRGetScreenResourcesReply) { in rrGetScreenResources()
538 rep = (xRRGetScreenResourcesReply) { in rrGetScreenResources()
552 rep.nbytesNames += modes[i]->mode.nameLength; in rrGetScreenResources()
554 rep.length = (pScrPriv->numCrtcs + in rrGetScreenResources()
557 bytes_to_int32(rep.nbytesNames)); in rrGetScreenResources()
559 extraLen = rep.length << 2; in rrGetScreenResources()
622 assert(bytes_to_int32((char *) names - (char *) extra) == rep.length); in rrGetScreenResources()
626 swaps(&rep.sequenceNumber); in rrGetScreenResources()
627 swapl(&rep.length); in rrGetScreenResources()
628 swapl(&rep.timestamp); in rrGetScreenResources()
629 swapl(&rep.configTimestamp); in rrGetScreenResources()
630 swaps(&rep.nCrtcs); in rrGetScreenResources()
631 swaps(&rep.nOutputs); in rrGetScreenResources()
632 swaps(&rep.nModes); in rrGetScreenResources()
633 swaps(&rep.nbytesNames); in rrGetScreenResources()
635 WriteToClient(client, sizeof(xRRGetScreenResourcesReply), (char *) &rep); in rrGetScreenResources()
758 xRRGetScreenInfoReply rep; in ProcRRGetScreenInfo() local
782 rep = (xRRGetScreenInfoReply) { in ProcRRGetScreenInfo()
812 rep = (xRRGetScreenInfoReply) { in ProcRRGetScreenInfo()
827 extraLen = rep.nSizes * sizeof(xScreenSizes); in ProcRRGetScreenInfo()
829 extraLen += rep.nrateEnts * sizeof(CARD16); in ProcRRGetScreenInfo()
845 rates = (CARD16 *) (size + rep.nSizes); in ProcRRGetScreenInfo()
881 rep.length = bytes_to_int32(extraLen); in ProcRRGetScreenInfo()
884 swaps(&rep.sequenceNumber); in ProcRRGetScreenInfo()
885 swapl(&rep.length); in ProcRRGetScreenInfo()
886 swapl(&rep.timestamp); in ProcRRGetScreenInfo()
887 swapl(&rep.configTimestamp); in ProcRRGetScreenInfo()
888 swaps(&rep.rotation); in ProcRRGetScreenInfo()
889 swaps(&rep.nSizes); in ProcRRGetScreenInfo()
890 swaps(&rep.sizeID); in ProcRRGetScreenInfo()
891 swaps(&rep.rate); in ProcRRGetScreenInfo()
892 swaps(&rep.nrateEnts); in ProcRRGetScreenInfo()
894 WriteToClient(client, sizeof(xRRGetScreenInfoReply), &rep); in ProcRRGetScreenInfo()
906 xRRSetScreenConfigReply rep; in ProcRRSetScreenConfig() local
1111 rep = (xRRSetScreenConfigReply) { in ProcRRSetScreenConfig()
1124 swaps(&rep.sequenceNumber); in ProcRRSetScreenConfig()
1125 swapl(&rep.length); in ProcRRSetScreenConfig()
1126 swapl(&rep.newTimestamp); in ProcRRSetScreenConfig()
1127 swapl(&rep.newConfigTimestamp); in ProcRRSetScreenConfig()
1128 swapl(&rep.root); in ProcRRSetScreenConfig()
1130 WriteToClient(client, sizeof(xRRSetScreenConfigReply), &rep); in ProcRRSetScreenConfig()