Searched defs:bit (Results 1 - 25 of 37) sorted by relevance

12

/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dbase64.c56 unsigned int bit; local
59 for ( bit = 0 ; bit < raw_bit_len ; bit += 6 ) {
60 tmp = ( ( raw_bytes[ bit / 8 ] << ( bit % 8 ) ) |
61 ( raw_bytes[ bit / 8 + 1 ] >> ( 8 - ( bit % 8 ) ) ) );
65 for ( ; ( bit % 8 ) != 0 ; bit
94 unsigned int bit = 0; local
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/
H A Ddt_regset.c91 ulong_t bit, bx; local
94 for (bit = 1, bx = 0; bx <= maxb; bx++, bit <<= 1) {
95 if ((word & bit) == 0) {
/vbox/src/VBox/VMM/VMMAll/
H A DCSAMAll.cpp84 int pgdir, bit; local
90 bit = (page & X86_PAGE_4M_OFFSET_MASK) >> X86_PAGE_4K_SHIFT;
93 Assert(bit < PAGE_SIZE);
95 return pVM->csam.s.CTXSUFF(pPDBitmap)[pgdir] && ASMBitTest((void *)pVM->csam.s.CTXSUFF(pPDBitmap)[pgdir], bit);
113 int pgdir, bit; local
127 bit = (page & X86_PAGE_4M_OFFSET_MASK) >> X86_PAGE_4K_SHIFT;
130 Assert(bit < PAGE_SIZE);
158 ASMBitSet((void *)pVM->csam.s.CTXSUFF(pPDBitmap)[pgdir], bit);
160 ASMBitClear((void *)pVM->csam.s.CTXSUFF(pPDBitmap)[pgdir], bit);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/String/
H A DSearching.c66 unsigned char bit; local
76 bit = WHICH_BIT(*s2);
77 bitmap[index] = bitmap[index] | bit;
92 UINT8 bit; local
101 bit = WHICH_BIT(*str);
102 if ((bitmap[index] & bit) != 0)
118 UINT8 bit; local
125 bit = WHICH_BIT(*s1);
126 if( (bitmap[index] & bit) != 0) {
165 UINT8 bit; local
227 UINT8 bit; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Wchar/
H A DSearching.c61 UINT8 bit; local
73 bit = WHICH_BIT(*s2);
74 bitmap[index] |= bit;
87 UINT8 bit; local
98 bit = WHICH_BIT(*str);
99 if ((__wchar_bitmap[index] & bit) != 0)
115 UINT8 bit; local
122 bit = WHICH_BIT(*s1);
123 if( (__wchar_bitmap[index] & bit) != 0) {
158 UINT8 bit; local
223 UINT8 bit; local
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/onnv/cmd/dtrace/test/cmd/baddof/
H A Dbaddof.c58 int bit, i; local
67 * We are going iterate through, flipping one bit and attempting
70 for (bit = 0; bit < len * 8; bit++) {
71 saved = buf[bit / 8];
72 buf[bit / 8] ^= (1 << (bit % 8));
74 if ((bit % 100) == 0)
75 printf("%d\n", bit);
[all...]
/vbox/src/recompiler/tests/
H A Druncom.c36 static inline void set_bit(uint8_t *a, unsigned int bit) argument
38 a[bit / 8] |= (1 << (bit % 8));
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/bitbash/
H A Di2c_bit.c32 * I2C bit-bashing interface
34 * This implements a simple I2C master via a bit-bashing interface
98 * Send an I2C data bit
101 * @v bit Bit to send
103 static void i2c_send_bit ( struct bit_basher *basher, int bit ) {
104 setsda ( basher, bit );
111 * Receive an I2C data bit
114 * @ret bit Received bit
117 int bit; local
[all...]
H A Dspi_bit.c33 * SPI bit-bashing interface
51 * @v spibit SPI bit-bashing interface
72 * Transfer bits over SPI bit-bashing bus
96 unsigned int bit; local
116 bit = ( *byte & byte_mask );
117 DBGCP ( spibit, "SPIBIT %p wrote bit %d\n",
118 spibit, ( bit ? 1 : 0 ) );
120 bit = 0;
122 write_bit ( basher, SPI_BIT_MOSI, bit );
127 bit
[all...]
/vbox/src/VBox/Additions/x11/x11include/mesa-7.2/src/mesa/swrast/
H A Ds_aalinetemp.h222 const GLuint bit = (swrast->StippleCounter / ctx->Line.StippleFactor) & 0xf; local
223 if ((1 << bit) & ctx->Line.StipplePattern) {
224 /* stipple bit is on */
237 /* stipple bit is off */
/vbox/src/libs/zlib-1.2.6/examples/
H A Denough.c27 the bit values to the codes (i.e. only canonical codes are counted).
31 be coded, what the last code length used was, and how many bit patterns of
36 properties are: we cannot use more bit patterns than are available; and when
37 all the symbols are used, there are exactly zero possible bit patterns
48 that root-bit prefix. If that longest code has length len, then the table
50 codes. Each subsequent root-bit prefix then has its own sub-table. The
52 incrementally as the number of codes at each bit length is populated. When
71 Second, the intermediate states that lead to (root + 1) bit or longer codes
77 Beginning the code examination at (root + 1) bit codes, which is enabled by
83 for the default arguments of 286 symbols limited to 15-bit code
259 int bit; /* mask for this state's bit */ local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A D3c595.c42 int bit; member in struct:connector_entry
364 if (vx_connectors & conn_tab[k].bit) {
404 if ((vx_connectors & conn_tab[vx_connector].bit) == 0) {
H A Db44.c128 * Wait until the given bit is set/cleared.
130 static int b44_wait_bit(struct b44_private *bp, unsigned long reg, u32 bit, argument
138 if (clear && !(val & bit))
141 if (!clear && (val & bit))
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/
H A DVBoxDispMouse.cpp27 BYTE *pSrc, *pDst, bit; local
58 for (x=0, bit=7; x<pAttrs->Width; ++x, --bit)
60 if (0xFF==bit) bit=7;
62 *(ULONG*)&pDst[y*dstBytesPerLine+x*4] = (pSrc[(LONG)y*psoMask->lDelta+x/8] & RT_BIT(bit)) ? 0x00FFFFFF : 0;
240 BYTE *pSrc, *pDst, bit; local
268 for (x=0, bit=7; x<pAttrs->Width; ++x, --bit)
270 if (0xFF==bit) bi
[all...]
/vbox/src/VBox/Devices/build/
H A Dvl_vbox.h180 int bit; local
183 for (bit = 1; !(mask & 1); bit++)
185 return(bit);
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
H A DLzmaDec.c207 unsigned bit; local
210 bit = (matchByte & offs);
211 probLit = prob + offs + bit + symbol;
212 GET_BIT2(probLit, symbol, offs &= ~bit, offs &= bit)
555 unsigned bit; local
558 bit = (matchByte & offs);
559 probLit = prob + offs + bit + symbol;
560 GET_BIT2_CHECK(probLit, symbol, offs &= ~bit, offs &= bit)
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/LzmaCompress/Sdk/C/
H A DLzmaDec.c188 unsigned bit; local
191 bit = (matchByte & offs);
192 probLit = prob + offs + bit + symbol;
193 GET_BIT2(probLit, symbol, offs &= ~bit, offs &= bit)
536 unsigned bit; local
539 bit = (matchByte & offs);
540 probLit = prob + offs + bit + symbol;
541 GET_BIT2_CHECK(probLit, symbol, offs &= ~bit, offs &= bit)
[all...]
/vbox/src/VBox/Additions/x11/x11include/4.3/include/fonts/
H A Dfontstruct.h107 char bit; member in struct:_Font
/vbox/src/VBox/Additions/x11/x11include/fontsproto-2.1.0/X11/fonts/
H A Dfontstruct.h105 char bit; member in struct:_Font
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dshader.c329 static inline void set_bitmap_bit(DWORD *bitmap, DWORD bit) argument
332 idx = bit >> 5;
333 shift = bit & 0x1f;
703 /* Fake sampler usage, only set reserved bit and type. */
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/infiniband/
H A Darbel.c62 * @ret bit First free bit within bitmask, or negative error
66 unsigned int bit = 0; local
69 while ( bit < bits_len ) {
72 return bit;
74 bit++;
86 * @v bit Bit within bitmask
88 static void arbel_bitmask_free ( arbel_bitmask_t *bits, int bit ) {
91 mask = ( 1 << ( bit % ( 8 * sizeof ( mask ) ) ) );
92 bits += ( bit / (
[all...]
H A Dlinda.c95 /** I2C bit-bashing interface */
107 * This card requires atomic 64-bit accesses. Strange things happen
108 * if you try to use 32-bit accesses; sometimes they work, sometimes
386 /** Send buffer toggle bit
389 * bit which should match the "check" bit in the SendBufAvail array.
1511 /** Linda I2C bit to GPIO mappings */
1555 unsigned int bit = linda_i2c_bits[bit_id]; local
1570 output_enables = ( ( output_enables & ~bit ) | ( ~data & bit ) );
[all...]
H A Dqib7322.c115 /** I2C bit-bashing interface */
132 * This card requires atomic 64-bit accesses. Strange things happen
133 * if you try to use 32-bit accesses; sometimes they work, sometimes
439 /** Send buffer toggle bit
442 * single bit which should match the "check" bit in the SendBufAvail
1821 /** QIB7322 I2C bit to GPIO mappings */
1865 unsigned int bit = qib7322_i2c_bits[bit_id]; local
1880 output_enables = ( ( output_enables & ~bit ) | ( ~data & bit ) );
[all...]
/vbox/src/VBox/HostServices/SharedOpenGL/render/
H A Drenderspu.c1263 GLubyte bit = 128 >> (j & 0x7); local
1264 pointerBitmap[i][j / 8] |= bit;
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Dnrv2b.c859 static void bbPutBit(struct ucl_compress *c, unsigned bit) argument
861 assert(bit == 0 || bit == 1);
875 c->bb_b = (c->bb_b << 1) + bit;
886 c->bb_b = bit;

Completed in 219 milliseconds

12