Lines Matching defs:cl
58 static void measure_display_hook(rfbClientPtr cl);
63 static void measure_display_hook(rfbClientPtr cl) {
64 ClientData *cd = (ClientData *) cl->clientData;
73 rfbClientPtr cl;
85 while( (cl = rfbClientIteratorNext(iter)) ) {
86 ClientData *cd = (ClientData *) cl->clientData;
91 if (cl->state != RFB_NORMAL) {
135 rfbClientPtr cl;
147 while( (cl = rfbClientIteratorNext(iter)) ) {
148 ClientData *cd = (ClientData *) cl->clientData;
153 if (cl->state != RFB_NORMAL) {
347 rfbClientPtr cl0, cl;
383 while( (cl = rfbClientIteratorNext(iter)) ) {
384 ClientData *cd = (ClientData *) cl->clientData;
392 if (cl->onHold) {
397 cl0 = cl;
402 cl = cl0;
405 while (cl != NULL && cc++ == 0) {
411 ClientData *cd = (ClientData *) cl->clientData;
415 cbs += cl->bytesSent[i];
417 rbs = cl->rawBytesEquivalent;
420 cbs = rfbStatGetSentBytes(cl);
421 rbs = rfbStatGetSentBytesIfRaw(cl);
429 (int) sraRgnCountRects(cl->requestedRegion),
430 (int) sraRgnCountRects(cl->modifiedRegion), cbs, rbs, dt1, now);
443 (int) sraRgnCountRects(cl->requestedRegion),
444 (int) sraRgnCountRects(cl->modifiedRegion), cbs, rbs, dt1, now);
465 if (use_threads) LOCK(cl->updateMutex);
467 if (sraRgnCountRects(cl->modifiedRegion)) {
470 if (use_threads) UNLOCK(cl->updateMutex);
474 if (use_threads) UNLOCK(cl->updateMutex);
501 if (use_threads) LOCK(cl->updateMutex);
503 req0 = sraRgnCountRects(cl->requestedRegion);
504 mod0 = sraRgnCountRects(cl->modifiedRegion);
506 if (use_threads) UNLOCK(cl->updateMutex);
526 if (use_threads) LOCK(cl->updateMutex);
528 req1 = sraRgnCountRects(cl->requestedRegion);
529 mod1 = sraRgnCountRects(cl->modifiedRegion);
531 if (use_threads) UNLOCK(cl->updateMutex);
537 cl->framebufferUpdateMessagesSent,
540 rfbStatGetMessageCountSent(cl, rfbFramebufferUpdate),
582 if (use_threads) LOCK(cl->updateMutex);
584 req0 = sraRgnCountRects(cl->requestedRegion);
585 mod0 = sraRgnCountRects(cl->modifiedRegion);
587 if (use_threads) UNLOCK(cl->updateMutex);
609 if (use_threads) LOCK(cl->updateMutex);
611 req1 = sraRgnCountRects(cl->requestedRegion);
612 mod1 = sraRgnCountRects(cl->modifiedRegion);
614 if (use_threads) UNLOCK(cl->updateMutex);
620 cl->framebufferUpdateMessagesSent,
623 rfbStatGetMessageCountSent(cl, rfbFramebufferUpdate),