Lines Matching refs:rc
76 int rc = BadMatch;
84 rc = XaceHookSelectionAccess(client, &pSel, access_mode);
86 return rc;
148 int rc;
162 rc = dixLookupWindow(&pWin, stuff->window, client, DixSetAttrAccess);
163 if (rc != Success)
164 return rc;
174 rc = dixLookupSelection(&pSel, stuff->selection, client, DixSetAttrAccess);
176 if (rc == Success) {
194 else if (rc == BadMatch)
206 rc = XaceHookSelectionAccess(client, &pSel,
208 if (rc != Success) {
210 return rc;
217 return rc;
231 int rc;
248 rc = dixLookupSelection(&pSel, stuff->id, client, DixGetAttrAccess);
249 if (rc == Success)
251 else if (rc == BadMatch)
254 return rc;
267 int rc;
272 rc = dixLookupWindow(&pWin, stuff->requestor, client, DixSetAttrAccess);
273 if (rc != Success)
274 return rc;
283 rc = dixLookupSelection(&pSel, stuff->selection, client, DixReadAccess);
286 if (rc != Success && rc != BadMatch)
287 return rc;
288 else if (rc == Success && pSel->window != None) {