Searched refs:nBytes (Results 1 - 25 of 28) sorted by relevance

12

/xsrc/external/mit/libXvMC/dist/include/X11/extensions/
H A DvldXvMC.h158 char *slice, int nBytes);
163 * XvMCPutSlice(display,context,slice,nBytes) is equivalent to
164 * XvMCPutSlice2(display,context,slice+4,nBytes-4,slice[3]);
168 char *slice, int nBytes, int sliceCode);
/xsrc/external/mit/xf86-video-openchrome/dist/src/xvmc/
H A DvldXvMC.h160 char *slice, int nBytes);
165 * XvMCPutSlice(display,context,slice,nBytes) is equivalent to
166 * XvMCPutSlice2(display,context,slice+4,nBytes-4,slice[3]);
170 char *slice, int nBytes, int sliceCode);
H A DviaLowLevel.h111 int nBytes, CARD32 sCode);
H A DviaLowLevel.c791 viaMpegWriteSlice(void *xlp, CARD8 * slice, int nBytes, CARD32 sCode) argument
802 n = nBytes >> 2;
804 nBytes += 4;
805 r = nBytes & 3;
809 nBytes += 4 - r;
811 nBytes += 8;
816 OUT_RING_QW_AGP(xl, H1_ADDR(0xc9c), nBytes);
H A DviaLowLevelPro.c1226 viaMpegWriteSlice(void *xlp, CARD8 * slice, int nBytes, CARD32 sCode) argument
1238 n = nBytes >> 2;
1240 nBytes += 4;
1241 r = nBytes & 3;
1245 nBytes += 4 - r;
1247 nBytes += 8;
1251 OUT_RING_QW_AGP(cb, 0xc9c, nBytes);
H A DviaXvMC.c689 int nBytes, int sliceCode)
707 viaMpegWriteSlice(pViaXvMC->xl, (CARD8 *) slice, nBytes, sCode);
716 int nBytes)
734 viaMpegWriteSlice(pViaXvMC->xl, (CARD8 *) slice, nBytes, 0);
688 XvMCPutSlice2(Display * display,XvMCContext * context,char * slice,int nBytes,int sliceCode) argument
715 XvMCPutSlice(Display * display,XvMCContext * context,char * slice,int nBytes) argument
/xsrc/external/mit/xorgproto/dist/include/X11/extensions/
H A DvldXvMC.h162 char *slice, int nBytes);
167 * XvMCPutSlice(display,context,slice,nBytes) is equivalent to
168 * XvMCPutSlice2(display,context,slice+4,nBytes-4,slice[3]);
172 char *slice, int nBytes, int sliceCode);
/xsrc/external/mit/fstobdf/dist/
H A Dchars.c63 #define GLWIDTHBYTESPADDED(bits, nBytes) \
64 ((nBytes) == 1 ? (((bits) + 7) >> 3) /* pad to 1 byte */\
65 :(nBytes) == 2 ? ((((bits) + 15) >> 3) & ~1) /* pad to 2 bytes */\
66 :(nBytes) == 4 ? ((((bits) + 31) >> 3) & ~3) /* pad to 4 bytes */\
67 :(nBytes) == 8 ? ((((bits) + 63) >> 3) & ~7) /* pad to 8 bytes */\
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/wgl/
H A Dstw_wgl.h51 UINT nBytes,
H A Dstw_wgl.c182 UINT nBytes,
185 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd );
341 UINT nBytes,
344 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd);
179 wglDescribePixelFormat(HDC hdc,int iPixelFormat,UINT nBytes,LPPIXELFORMATDESCRIPTOR ppfd) argument
337 wglDescribeLayerPlane(HDC hdc,int iPixelFormat,int iLayerPlane,UINT nBytes,LPLAYERPLANEDESCRIPTOR plpd) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/targets/libgl-gdi/
H A Dstw_wgl.h51 UINT nBytes,
H A Dstw_wgl.c171 UINT nBytes,
174 return DrvDescribePixelFormat( hdc, iPixelFormat, nBytes, ppfd );
332 UINT nBytes,
335 return DrvDescribeLayerPlane(hdc, iPixelFormat, iLayerPlane, nBytes, plpd);
168 wglDescribePixelFormat(HDC hdc,int iPixelFormat,UINT nBytes,LPPIXELFORMATDESCRIPTOR ppfd) argument
328 wglDescribeLayerPlane(HDC hdc,int iPixelFormat,int iLayerPlane,UINT nBytes,LPLAYERPLANEDESCRIPTOR plpd) argument
/xsrc/external/mit/xorg-server.old/dist/hw/netbsd/x68k/
H A Dx68kKbd.c258 int nBytes; /* number of bytes of events available. */ local in function:x68kKbdGetEvents
261 if ((nBytes = read (fd, evBuf, sizeof(evBuf))) == -1) {
270 *pNumEvents = nBytes / sizeof (Firm_event);
271 *pAgain = (nBytes == sizeof (evBuf));
H A Dx68kMouse.c222 int nBytes; /* number of bytes of events available. */ local in function:x68kMouseGetEvents
225 if ((nBytes = read (fd, (char *)evBuf, sizeof(evBuf))) == -1) {
234 *pNumEvents = nBytes / sizeof (Firm_event);
235 *pAgain = (nBytes == sizeof (evBuf));
/xsrc/external/mit/xorg-server.old/dist/hw/sun/
H A DsunMouse.c200 int nBytes; /* number of bytes of events available. */ local in function:sunMouseGetEvents
203 if ((nBytes = read (fd, (char *)evBuf, sizeof(evBuf))) == -1) {
213 *pNumEvents = nBytes / sizeof (Firm_event);
214 *pAgain = (nBytes == sizeof (evBuf));
H A DsunKbd.c780 int nBytes; /* number of bytes of events available. */ local in function:sunKbdGetEvents
783 if ((nBytes = read (fd, evBuf, sizeof(evBuf))) == -1) {
793 *pNumEvents = nBytes / sizeof (Firm_event);
794 *pAgain = (nBytes == sizeof (evBuf));
/xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k/
H A Dx68kKbd.c313 int nBytes; /* number of bytes of events available. */ local in function:x68kKbdGetEvents
316 nBytes = read(pPriv->fd, pPriv->evbuf, sizeof(pPriv->evbuf));
317 if (nBytes == -1) {
323 NumEvents = nBytes / sizeof(pPriv->evbuf[0]);
H A Dx68kMouse.c297 int nBytes; /* number of bytes of events available. */ local in function:x68kMouseGetEvents
300 nBytes = read(pPriv->fd, (char *)pPriv->evbuf, sizeof(pPriv->evbuf));
301 if (nBytes == -1) {
307 NumEvents = nBytes / sizeof(pPriv->evbuf[0]);
/xsrc/external/mit/xorg-server/dist/hw/sun/
H A DsunMouse.c265 int nBytes; /* number of bytes of events available. */ local in function:sunMouseGetEvents
268 nBytes = read(pPriv->fd, pPriv->evbuf, sizeof(pPriv->evbuf));
269 if (nBytes == -1) {
275 NumEvents = nBytes / sizeof(pPriv->evbuf[0]);
H A DsunKbd.c948 int nBytes; /* number of bytes of events available. */ local in function:sunKbdGetEvents
951 nBytes = read(pPriv->fd, pPriv->evbuf, sizeof(pPriv->evbuf));
952 if (nBytes == -1) {
958 NumEvents = nBytes / sizeof(pPriv->evbuf[0]);
/xsrc/external/mit/xf86-input-keyboard/dist/src/
H A Dsun_kbd.c445 int nBytes, i; local in function:ReadInput
449 nBytes = read(pInfo->fd, (char *)event, sizeof(event));
450 if (nBytes > 0) {
451 for (i = 0; i < (nBytes / sizeof(Firm_event)); i++) {
455 } else if (nBytes == -1) {
480 } else { /* nBytes == 0, so nothing more to read */
H A Dbsd_kbd.c335 int nBytes, i; local in function:stdReadInput
336 if ((nBytes = read( pInfo->fd, (char *)rBuf, sizeof(rBuf))) > 0) {
337 for (i = 0; i < nBytes; i++)
/xsrc/external/mit/xorg-server/dist/hw/xwin/
H A Dwincursor.c153 int nBytes; local in function:winLoadCursor
188 nBytes =
196 pAnd = malloc(nBytes);
197 memset(pAnd, 0xFF, nBytes);
198 pXor = calloc(1, nBytes);
/xsrc/external/mit/xorg-server.old/dist/hw/xwin/
H A Dwincursor.c160 int nBytes; local in function:winLoadCursor
197 nBytes = bits_to_bytes(pScreenPriv->cursor.sm_cx) * pScreenPriv->cursor.sm_cy;
204 pAnd = malloc (nBytes);
205 memset (pAnd, 0xFF, nBytes);
206 pXor = calloc (1, nBytes);
/xsrc/external/mit/libXvMC/dist/wrapper/
H A DXvMCWrapper.c806 XvMCPutSlice(Display *display, XvMCContext *context, char *slice, int nBytes) argument
810 return (*xW.XvMCPutSlice) (display, context, slice, nBytes);
815 char *slice, int nBytes, int sliceCode)
819 return (*xW.XvMCPutSlice2) (display, context, slice, nBytes, sliceCode);
814 XvMCPutSlice2(Display * display,XvMCContext * context,char * slice,int nBytes,int sliceCode) argument

Completed in 35 milliseconds

12