Lines Matching refs:rc
75 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) {
193 else if (rc == BadMatch) {
204 rc = XaceHookSelectionAccess(client, &pSel,
206 if (rc != Success) {
208 return rc;
215 return rc;
229 int rc;
247 rc = dixLookupSelection(&pSel, stuff->id, client, DixGetAttrAccess);
248 if (rc == Success)
250 else if (rc == BadMatch)
253 return rc;
266 int rc;
271 rc = dixLookupWindow(&pWin, stuff->requestor, client, DixSetAttrAccess);
272 if (rc != Success)
273 return rc;
285 rc = dixLookupSelection(&pSel, stuff->selection, client, DixReadAccess);
288 if (rc != Success && rc != BadMatch)
289 return rc;
290 else if (rc == Success && pSel->window != None) {