HomeSort by: relevance | last modified time | path
    Searched refs:bits_to_bytes (Results 1 - 25 of 34) sorted by relevancy

1 2

  /xsrc/external/mit/xorg-server/dist/hw/xwin/
wincursor.c 189 bits_to_bytes(pScreenPriv->cursor.sm_cx) * pScreenPriv->cursor.sm_cy;
203 int x, y, xmax = bits_to_bytes(nCX);
207 int nWinPix = bits_to_bytes(pScreenPriv->cursor.sm_cx) * y + x;
218 int x, y, xmax = bits_to_bytes(nCX);
222 int nWinPix = bits_to_bytes(pScreenPriv->cursor.sm_cx) * y + x;
313 bits_to_bytes(pScreenPriv->cursor.sm_cx) * y +
  /xsrc/external/mit/xorg-server.old/dist/hw/xwin/
wincursor.c 197 nBytes = bits_to_bytes(pScreenPriv->cursor.sm_cx) * pScreenPriv->cursor.sm_cy;
212 int x, y, xmax = bits_to_bytes(nCX);
216 int nWinPix = bits_to_bytes(pScreenPriv->cursor.sm_cx) * y + x;
228 int x, y, xmax = bits_to_bytes(nCX);
232 int nWinPix = bits_to_bytes(pScreenPriv->cursor.sm_cx) * y + x;
321 int nWinPix = bits_to_bytes(pScreenPriv->cursor.sm_cx) * y + (x/8);
  /xsrc/external/mit/xorg-server.old/dist/dix/
eventconvert.c 421 mask_len = bytes_to_int32(bits_to_bytes(dce->buttons.num_buttons));
472 len += pad_to_int32(bits_to_bytes(dce->buttons.num_buttons));
559 btlen = bytes_to_int32(bits_to_bytes(MAX_BUTTONS));
565 vallen = bytes_to_int32(bits_to_bytes(MAX_VALUATORS));
632 vallen = bytes_to_int32(bits_to_bytes(MAX_VALUATORS));
  /xsrc/external/mit/xorg-server.old/dist/include/
misc.h 189 bits_to_bytes(const int bits) { function
  /xsrc/external/mit/xorg-server.old/dist/test/xi2/
protocol-eventconvert.c 67 g_assert(out->valuators_len >= bytes_to_int32(bits_to_bytes(sizeof(in->valuators.mask))));
344 for (i = 0; i < bits_to_bytes(sizeof(in->buttons)); i++)
348 g_assert(out->buttons_len >= bytes_to_int32(bits_to_bytes(i)));
363 g_assert(out->valuators_len >= bytes_to_int32(bits_to_bytes(valuators)));
694 bytes_to_int32(bits_to_bytes(b->num_buttons)) +
699 pad_to_int32(bits_to_bytes(b->num_buttons)));
protocol-xiquerydevice.c 205 len = 2 + bi->num_buttons + bytes_to_int32(bits_to_bytes(bi->num_buttons));
  /xsrc/external/mit/xorg-server/dist/dix/
eventconvert.c 497 mask_len = bytes_to_int32(bits_to_bytes(dce->buttons.num_buttons));
581 len += pad_to_int32(bits_to_bytes(dce->buttons.num_buttons));
677 btlen = bytes_to_int32(bits_to_bytes(MAX_BUTTONS));
682 vallen = bytes_to_int32(bits_to_bytes(MAX_VALUATORS));
784 vallen = bytes_to_int32(bits_to_bytes(MAX_VALUATORS));
inpututils.c 1141 BUG_WARN(bits_to_bytes(event_type + 1) > mask->mask_size);
1175 BUG_WARN(bits_to_bytes(event_type + 1) > mask->mask_size);
  /xsrc/external/mit/xorg-server/dist/test/xi2/
protocol-eventconvert.c 70 bytes_to_int32(bits_to_bytes(sizeof(in->valuators.mask))));
350 for (i = 0; i < bits_to_bytes(sizeof(in->buttons)); i++) {
352 assert(out->buttons_len >= bytes_to_int32(bits_to_bytes(i)));
366 assert(out->valuators_len >= bytes_to_int32(bits_to_bytes(valuators)));
676 bytes_to_int32(bits_to_bytes(b->num_buttons)) +
681 pad_to_int32(bits_to_bytes(b->num_buttons)));
protocol-xiquerydevice.c 240 bytes_to_int32(bits_to_bytes(bi->num_buttons));
  /xsrc/external/mit/xorg-server.old/dist/Xi/
xiquerydevice.c 226 len += pad_to_int32(bits_to_bytes(dev->button->numButtons));
257 mask_len = bytes_to_int32(bits_to_bytes(dev->button->numButtons));
xiquerypointer.c 147 rep.buttons_len = bytes_to_int32(bits_to_bytes(256)); /* button map up to 255 */
  /xsrc/external/mit/xorg-server/dist/Xi/
xiquerypointer.c 152 rep.buttons_len = bytes_to_int32(bits_to_bytes(256)); /* button map up to 255 */
xiquerydevice.c 216 len += pad_to_int32(bits_to_bytes(dev->button->numButtons));
253 *mask_words = bytes_to_int32(bits_to_bytes(info->num_buttons));
  /xsrc/external/mit/xorg-server/dist/hw/xquartz/xpr/
xprCursor.c 136 xcount = bits_to_bytes(src->bits->width);
  /xsrc/external/mit/xorg-server/dist/include/
misc.h 196 bits_to_bytes(const int bits) function
  /xsrc/external/mit/xorg-server.old/dist/hw/xquartz/xpr/
xprCursor.c 139 xcount = bits_to_bytes(src->bits->width);
  /xsrc/external/mit/xorg-server/dist/glx/
rensize.c 209 rowSize = bits_to_bytes(groupsPerRow);
  /xsrc/external/mit/xorg-server.old/dist/glx/
rensize.c 202 rowSize = bits_to_bytes(groupsPerRow);
  /xsrc/external/mit/xorg-server/dist/exa/
exa.c 182 int max_pitch = pExaScr->info->maxPitchPixels * bits_to_bytes(bpp);
204 pExaPixmap->fb_pitch = bits_to_bytes((1 << (exaLog2(w - 1) + 1)) * bpp);
206 pExaPixmap->fb_pitch = bits_to_bytes(w * bpp);
  /xsrc/external/mit/xorg-server.old/dist/exa/
exa.c 185 int max_pitch = pExaScr->info->maxPitchPixels * bits_to_bytes(bpp);
207 pExaPixmap->fb_pitch = bits_to_bytes((1 << (exaLog2(w - 1) + 1)) * bpp);
209 pExaPixmap->fb_pitch = bits_to_bytes(w * bpp);
  /xsrc/external/mit/xorg-server.old/dist/test/
input.c 822 g_assert(bits_to_bytes(i) >= i/8);
823 g_assert((bits_to_bytes(i) * 8) - i <= 7);
824 g_assert(expected_bytes == bits_to_bytes(i));
848 g_test_message("Testing bits_to_bytes()");
  /xsrc/external/mit/xorg-server/dist/hw/xfree86/modes/
xf86Modes.c 111 int bytes_per_pixel = bits_to_bytes(depth);
  /xsrc/external/mit/xorg-server.old/dist/hw/xfree86/modes/
xf86Modes.c 114 int bytes_per_pixel = bits_to_bytes(depth);
  /xsrc/external/mit/xorg-server/dist/test/
input.c 943 assert(bits_to_bytes(i) >= i / 8);
944 assert((bits_to_bytes(i) * 8) - i <= 7);
945 assert(expected_bytes == bits_to_bytes(i));
988 printf("Testing bits_to_bytes()\n");

Completed in 26 milliseconds

1 2