Searched refs:rc (Results 1 - 25 of 522) sorted by relevance

1234567891011>>

/xsrc/external/mit/libX11/dist/src/
H A DGetEventData.c33 Bool rc; local in function:XGetEventData
36 rc = _XFetchEventCookie(dpy, event);
40 return rc;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_frag.c65 #define INIT_COMBINER(chan, ctx, rc, i) do { \
68 (rc)->ctx = ctx; \
69 (rc)->unit = i; \
70 (rc)->alpha = __INIT_COMBINER_ALPHA_##chan; \
71 (rc)->premodulate = c->_NumArgs##chan == 4; \
72 (rc)->mode = c->Mode##chan; \
73 (rc)->source = c->Source##chan; \
74 (rc)->operand = c->Operand##chan; \
75 (rc)->logscale = c->ScaleShift##chan; \
76 (rc)
82 get_input_source(struct combiner_state * rc,int source) argument
118 get_input_mapping(struct combiner_state * rc,int operand,int flags) argument
132 get_input_arg(struct combiner_state * rc,int arg,int flags) argument
184 setup_combiner(struct combiner_state * rc) argument
[all...]
H A Dnv10_state_frag.c81 #define INIT_COMBINER(chan, ctx, rc, i) do { \
84 (rc)->ctx = ctx; \
85 (rc)->unit = i; \
86 (rc)->premodulate = c->_NumArgs##chan == 4; \
87 (rc)->mode = c->Mode##chan; \
88 (rc)->source = c->Source##chan; \
89 (rc)->operand = c->Operand##chan; \
90 (rc)->logscale = c->ScaleShift##chan; \
91 (rc)->in = (rc)
97 get_input_source(struct combiner_state * rc,int source) argument
141 get_input_mapping(struct combiner_state * rc,int operand,int flags) argument
163 get_input_arg(struct combiner_state * rc,int arg,int flags) argument
218 setup_combiner(struct combiner_state * rc) argument
345 struct combiner_state rc = {}; local in function:nv10_get_final_combiner
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_frag.c65 #define INIT_COMBINER(chan, ctx, rc, i) do { \
68 (rc)->ctx = ctx; \
69 (rc)->unit = i; \
70 (rc)->alpha = __INIT_COMBINER_ALPHA_##chan; \
71 (rc)->premodulate = c->_NumArgs##chan == 4; \
72 (rc)->mode = c->Mode##chan; \
73 (rc)->source = c->Source##chan; \
74 (rc)->operand = c->Operand##chan; \
75 (rc)->logscale = c->ScaleShift##chan; \
76 (rc)
82 get_input_source(struct combiner_state * rc,int source) argument
118 get_input_mapping(struct combiner_state * rc,int operand,int flags) argument
132 get_input_arg(struct combiner_state * rc,int arg,int flags) argument
184 setup_combiner(struct combiner_state * rc) argument
[all...]
H A Dnv10_state_frag.c81 #define INIT_COMBINER(chan, ctx, rc, i) do { \
84 (rc)->ctx = ctx; \
85 (rc)->unit = i; \
86 (rc)->premodulate = c->_NumArgs##chan == 4; \
87 (rc)->mode = c->Mode##chan; \
88 (rc)->source = c->Source##chan; \
89 (rc)->operand = c->Operand##chan; \
90 (rc)->logscale = c->ScaleShift##chan; \
91 (rc)->in = (rc)
97 get_input_source(struct combiner_state * rc,int source) argument
141 get_input_mapping(struct combiner_state * rc,int operand,int flags) argument
163 get_input_arg(struct combiner_state * rc,int arg,int flags) argument
218 setup_combiner(struct combiner_state * rc) argument
345 struct combiner_state rc = {}; local in function:nv10_get_final_combiner
[all...]
/xsrc/external/mit/luit/dist/
H A Dsys.c103 int rc; local in function:waitForOutput
109 rc = poll(pfd, 1, -1);
110 if (rc < 0)
117 int rc; local in function:waitForOutput
121 rc = select(FD_SETSIZE, NULL, &fds, NULL, NULL);
122 if (rc < 0)
141 int rc; local in function:waitForInput
148 rc = poll(pfd, 2, -1);
149 if (rc < 0) {
160 int rc; local in function:waitForInput
185 int rc; local in function:setWindowSize
202 int rc; local in function:installHandler
217 int rc; local in function:copyTermios
233 int rc; local in function:saveTermios
252 int rc; local in function:setRawTermios
297 int rc; local in function:fix_pty_perms
336 int rc; local in function:allocatePty
431 int rc; local in function:openTty
497 int rc; local in function:droppriv
[all...]
/xsrc/external/mit/xf86-video-vboxvideo/dist/src/
H A DVBoxVideoErr.h45 #define RT_SUCCESS_NP(rc) ( (int)(rc) >= VINF_SUCCESS )
46 #define RT_SUCCESS(rc) ( likely(RT_SUCCESS_NP(rc)) )
47 #define RT_FAILURE(rc) ( unlikely(!RT_SUCCESS_NP(rc)) )
/xsrc/external/mit/xorg-server.old/dist/Xext/
H A Dsyncsdk.h34 int rc; \
35 rc = SyncVerifyFence(&(pFence), (fid), (client), (mode)); \
36 if (Success != rc) return rc; \
/xsrc/external/mit/xorg-server.old/dist/Xi/
H A Dxichangecursor.c72 int rc; local in function:ProcXIChangeCursor
80 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixSetAttrAccess);
81 if (rc != Success)
82 return rc;
89 rc = dixLookupWindow(&pWin, stuff->win, client, DixSetAttrAccess);
90 if (rc != Success)
91 return rc;
103 rc = dixLookupResourceByType((pointer *)&pCursor, stuff->cursor,
105 if (rc != Success)
106 return rc;
[all...]
H A Dxisetclientpointer.c70 int rc; local in function:ProcXISetClientPointer
76 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixManageAccess);
77 if (rc != Success)
80 return rc;
93 rc = dixLookupClient(&targetClient, stuff->win, client,
96 if (rc != Success)
102 rc = SetClientPointer(targetClient, pDev);
103 if (rc != Success)
106 return rc;
H A Dxichangehierarchy.c146 int rc; local in function:add_master
151 rc = AllocDevicePair(client, name, &ptr, &keybd,
153 if (rc != Success)
160 rc = AllocXTestDevice(client, name, &XTestptr, &XTestkeybd, ptr, keybd);
161 if (rc != Success)
200 return rc;
221 int rc = Success; local in function:remove_master
227 rc = dixLookupDevice(&ptr, r->deviceid, client, DixDestroyAccess);
228 if (rc != Success)
234 rc
350 int rc; local in function:detach_slave
385 int rc; local in function:attach_slave
441 int rc = Success; local in function:ProcXIChangeHierarchy
[all...]
H A Dungrdevb.c102 int rc; local in function:ProcXUngrabDeviceButton
107 rc = dixLookupDevice(&dev, stuff->grabbed_device, client, DixGrabAccess);
108 if (rc != Success)
109 return rc;
114 rc = dixLookupDevice(&mdev, stuff->modifier_device, client,
116 if (rc != Success)
123 rc = dixLookupWindow(&pWin, stuff->grabWindow, client, DixSetAttrAccess);
124 if (rc != Success)
125 return rc;
H A Dungrdev.c94 int rc; local in function:ProcXUngrabDevice
99 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixGetAttrAccess);
100 if (rc != Success)
101 return rc;
/xsrc/external/mit/xorg-server/dist/Xi/
H A Dxichangecursor.c71 int rc; local in function:ProcXIChangeCursor
79 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixSetAttrAccess);
80 if (rc != Success)
81 return rc;
87 rc = dixLookupWindow(&pWin, stuff->win, client, DixSetAttrAccess);
88 if (rc != Success)
89 return rc;
99 rc = dixLookupResourceByType((void **) &pCursor, stuff->cursor,
101 if (rc != Success)
102 return rc;
[all...]
H A Dxisetclientpointer.c67 int rc; local in function:ProcXISetClientPointer
72 rc = dixLookupDevice(&pDev, stuff->deviceid, client, DixManageAccess);
73 if (rc != Success) {
75 return rc;
86 rc = dixLookupClient(&targetClient, stuff->win, client,
89 if (rc != Success)
96 rc = SetClientPointer(targetClient, pDev);
97 if (rc != Success) {
99 return rc;
H A Dgrabdev.c103 int rc; local in function:ProcXGrabDevice
123 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixGrabAccess);
124 if (rc != Success)
125 return rc;
127 if ((rc = CreateMaskFromList(client, (XEventClass *) &stuff[1],
130 return rc;
134 rc = GrabDevice(client, dev, stuff->other_devices_mode,
139 if (rc != Success)
140 return rc;
174 int rc, local in function:CreateMaskFromList
[all...]
H A Dungrdevb.c100 int rc; local in function:ProcXUngrabDeviceButton
105 rc = dixLookupDevice(&dev, stuff->grabbed_device, client, DixGrabAccess);
106 if (rc != Success)
107 return rc;
112 rc = dixLookupDevice(&mdev, stuff->modifier_device, client,
114 if (rc != Success)
122 rc = dixLookupWindow(&pWin, stuff->grabWindow, client, DixSetAttrAccess);
123 if (rc != Success)
124 return rc;
H A Dungrdev.c92 int rc; local in function:ProcXUngrabDevice
97 rc = dixLookupDevice(&dev, stuff->deviceid, client, DixGetAttrAccess);
98 if (rc != Success)
99 return rc;
/xsrc/external/mit/xorg-server/dist/Xext/
H A Dsyncsdk.h37 int rc; \
38 rc = SyncVerifyFence(&(pFence), (fid), (client), (mode)); \
39 if (Success != rc) return rc; \
/xsrc/external/mit/xorg-server.old/dist/dix/
H A Dselection.c76 int rc = BadMatch; local in function:dixLookupSelection
84 rc = XaceHookSelectionAccess(client, &pSel, access_mode);
86 return rc;
148 int rc; local in function:ProcSetSelectionOwner
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
231 int rc; local in function:ProcGetSelectionOwner
267 int rc; local in function:ProcConvertSelection
[all...]
/xsrc/external/mit/xorg-server/dist/dix/
H A Dselection.c75 int rc = BadMatch; local in function:dixLookupSelection
84 rc = XaceHookSelectionAccess(client, &pSel, access_mode);
86 return rc;
148 int rc; local in function:ProcSetSelectionOwner
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
229 int rc; local in function:ProcGetSelectionOwner
266 int rc; local in function:ProcConvertSelection
[all...]
/xsrc/external/mit/xorg-server.old/dist/test/
H A Dxtest.c84 int rc; local in function:xtest_properties
89 rc = XIGetDeviceProperty(xtestpointer, xtest_prop, &prop);
90 g_assert(rc == Success);
93 rc = XIGetDeviceProperty(xtestkeyboard, xtest_prop, &prop);
94 g_assert(rc == Success);
97 rc = XIChangeDeviceProperty(xtestpointer, xtest_prop,
99 g_assert(rc == BadAccess);
100 rc = XIChangeDeviceProperty(xtestkeyboard, xtest_prop,
102 g_assert(rc == BadAccess);
/xsrc/external/mit/xorg-server/dist/test/
H A Dxtest.c112 int rc; local in function:xtest_properties
117 rc = XIGetDeviceProperty(xtestpointer, xtest_prop, &prop);
118 assert(rc == Success);
121 rc = XIGetDeviceProperty(xtestkeyboard, xtest_prop, &prop);
122 assert(rc == Success);
125 rc = XIChangeDeviceProperty(xtestpointer, xtest_prop,
128 assert(rc == BadAccess);
129 rc = XIChangeDeviceProperty(xtestkeyboard, xtest_prop,
132 assert(rc == BadAccess);
H A Dmisc.c42 int rc; local in function:dix_version_compare
44 rc = version_compare(0, 0, 1, 0);
45 assert(rc < 0);
46 rc = version_compare(1, 0, 0, 0);
47 assert(rc > 0);
48 rc = version_compare(0, 0, 0, 0);
49 assert(rc == 0);
50 rc = version_compare(1, 0, 1, 0);
51 assert(rc == 0);
52 rc
187 int rc; local in function:dix_request_size_checks
[all...]
/xsrc/external/mit/xorg-server/dist/test/xi2/
H A Dprotocol-xiqueryversion.c114 int rc; local in function:request_XIQueryVersion
135 rc = ProcXIQueryVersion(&client);
136 assert(rc == error);
145 rc = SProcXIQueryVersion(&client);
146 assert(rc == error);
204 int rc; local in function:test_XIQueryVersion_multiple
221 rc = ProcXIQueryVersion(&client);
222 assert(rc == Success);
227 rc = ProcXIQueryVersion(&client);
228 assert(rc
[all...]

Completed in 29 milliseconds

1234567891011>>