Searched refs:bits (Results 51 - 75 of 382) sorted by relevance

1234567891011>>

/haiku-fatelf/src/tests/servers/app/bitmap_bounds/
H A Dmain.cpp41 uint8* bits = (uint8*)fBitmap->Bits(); local
47 uint8* b = bits;
55 b = bits + bpr;
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Dbits.c29 static char rcsid[]="$Id: bits.c 10525 2004-12-23 21:23:50Z korli $";
161 unsigned bits; local
176 bits = srcQ & bitMask;
181 dstQ |= bits << dstCount;
250 _RkPrintPackedBits(unsigned char *bits, int offset, int bit_size, int count) argument
256 offset = _RkUnpackBits(&w, bits, offset, bit_size, 1);
278 unsigned char bits[1024*8]; local
300 o = _RkCopyBits(bits, offset, bit_size, Bits, 0, size);
303 printf(" %02x", bits[i]);
312 o = _RkUnpackBits(&w, bits,
[all...]
/haiku-fatelf/src/apps/webpositive/support/
H A DBitmapButton.h24 BitmapButton(const uint8* bits, uint32 width,
/haiku-fatelf/src/bin/gdb/include/opcode/
H A Dmn10200.h31 /* The opcode itself. Those bits which will be filled in with
36 mask containing ones indicating those bits which must match the
37 opcode field, and zeroes indicating those bits which need not
62 /* The number of bits in the operand. */ member in struct:mn10200_operand
63 int bits;
H A Ds390.h48 /* The opcode itself. Those bits which will be filled in with
53 mask containing ones indicating those bits which must match the
54 opcode field, and zeroes indicating those bits which need not
89 /* The number of bits in the operand. */
90 int bits; member in struct:s390_operand
H A Dv850.h31 /* The opcode itself. Those bits which will be filled in with
36 mask containing ones indicating those bits which must match the
37 opcode field, and zeroes indicating those bits which need not
76 /* The number of bits in the operand. */
77 /* If this value is -1 then the operand's bits are in a discontinous distribution in the instruction. */ member in struct:v850_operand
78 int bits;
80 /* (bits >= 0): How far the operand is left shifted in the instruction. */
81 /* (bits == -1): Bit mask of the bits in the operand. */
88 i |= (op & ((1 << o->bits)
[all...]
/haiku-fatelf/src/servers/app/
H A DServerCursor.cpp89 uint32* bits = (uint32*)(buffer + (j * BytesPerRow())); local
101 bits[i] = 0xff000000; // black
103 bits[i] = 0xffffffff; // white
105 bits[i] = 0x00000000; // transparent
/haiku-fatelf/src/system/libroot/posix/glibc/stdlib/
H A Dmonetary.h28 #include <bits/types.h>
H A Dstrtod.c151 containing the fraction bits, a base 2 exponent, and a sign flag. */
396 /* Shift {PTR, SIZE} COUNT bits to the left, and fill the vacated bits
397 with the COUNT most significant bits of LIMB.
455 /* Number of bits currently in result value. */
456 int bits; variable
537 bits = 0;
943 bits = nbits[val];
945 assert (bits != 0);
947 if (pos + 1 >= 4 || pos + 1 >= bits)
[all...]
/haiku-fatelf/src/tests/kits/interface/menu/menuworld/
H A DTestMenuBuilder.cpp105 const uint8* bits; local
119 bits = kLargeTestIcons[i][j];
125 bits = kMiniTestIcons[i][j];
134 memcpy(destBits, bits, byteLen);
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_fax3.c112 int BitsAvail; /* # valid bits in BitAcc */ \
550 #define _PutBits(tif, bits, length) { \
552 data |= bits >> (length - bit); \
556 data |= (bits & _msbmask[length]) << (bit - length); \
565 * assumed to be at most 16 bits.
568 Fax3PutBits(TIFF* tif, tif_int bits, tif_int length) argument
574 _PutBits(tif, bits, length);
779 int32 bits = be - bs; local
786 if (bits > 0 && (n = (bs & 7))) {
790 if (span > bits) /* constrai
840 int32 bits = be - bs; local
919 Fax3Encode1DRow(TIFF* tif, tif_char* bp, uint32 bits) argument
968 Fax3Encode2DRow(TIFF* tif, tif_char* bp, tif_char* rp, uint32 bits) argument
[all...]
/haiku-fatelf/src/bin/gzip/
H A Dtrees.c70 /* All codes must not exceed MAX_BITS bits */
73 /* Bit length codes must not exceed MAX_BL_BITS bits */
94 local int near extra_lbits[LENGTH_CODES] /* extra bits for each length code */
97 local int near extra_dbits[D_CODES] /* extra bits for each distance code */
100 local int near extra_blbits[BL_CODES]/* extra bits for each bit length code */
147 /* repeat previous bit length 3-6 times (2 bits of repeat count) */
150 /* repeat a zero length 3-10 times (3 bits of repeat count) */
153 /* repeat a zero length 11-138 times (7 bits of repeat count) */
191 * 5 bits.)
200 int near *extra_bits; /* extra bits fo
337 int bits; /* bit counter */ local
494 int bits; /* bit length */ local
574 int bits; /* bit index */ local
[all...]
H A Dunpack.c20 * would be needed to support 32 bits codes, but pack never generates
21 * more than 24 bits anyway.)
28 /* Maximum number of 'peek' bits used to optimize traversal of the
43 * for a code of len bits.
49 local int peek_bits; /* Number of peek bits currently used */
53 /* For each bit pattern b of peek_bits bits, prefix_len[b] is the length
54 * of the Huffman code starting with a prefix of b (upper bits), or 0
55 * if all codes of prefix b have more than peek_bits bits. It is not
67 local int valid; /* number of valid bits in bitbuf */
68 /* all bits abov
[all...]
/haiku-fatelf/src/bin/zip/
H A Dtrees.c14 * The low level bit string handling routines from bits.c (originally
38 * as a sequence of bits. Multi-bit strings in the file may cross
45 * the bits must have been reversed first with bi_reverse().
94 * Write out a bit string, taking the source bits right to
98 * Reverse the bits of a bit string, taking the source bits left to
102 * Write out any remaining bits in an incomplete byte.
128 /* All codes must not exceed MAX_BITS bits */
131 /* Bit length codes must not exceed MAX_BL_BITS bits */
152 local int near extra_lbits[LENGTH_CODES] /* extra bits fo
469 int bits; /* bit counter */ local
641 int bits; /* bit length */ local
721 int bits; /* bit index */ local
[all...]
/haiku-fatelf/src/libs/pdflib/libs/flate/
H A Dtrees.c48 /* Bit length codes must not exceed MAX_BL_BITS bits */
54 /* repeat previous bit length 3-6 times (2 bits of repeat count) */
57 /* repeat a zero length 3-10 times (3 bits of repeat count) */
60 /* repeat a zero length 11-138 times (7 bits of repeat count) */
62 local const int extra_lbits[LENGTH_CODES] /* extra bits for each length code */
65 local const int extra_dbits[D_CODES] /* extra bits for each distance code */
68 local const int extra_blbits[BL_CODES]/* extra bits for each bit length code */
78 /* Number of bits used within bi_buf. (bi_buf might be implemented on
79 * more than 16 bits on some systems.)
100 * 5 bits
245 int bits; /* bit counter */ local
504 int bits; /* bit length */ local
586 int bits; /* bit index */ local
[all...]
H A Dinffast.c19 #define bits word.what.Bits macro
38 uInt e; /* extra bits or operation */
40 uInt k; /* bits in bit buffer */
61 GRABBITS(20) /* max bits for literal/length code */
64 DUMPBITS(t->bits)
73 DUMPBITS(t->bits)
76 /* get extra bits for length */
83 GRABBITS(15); /* max bits for distance code */
86 DUMPBITS(t->bits)
89 /* get extra bits t
[all...]
/haiku-fatelf/headers/posix/arpa/
H A Dinet.h21 char* inet_cidr_ntop(int family, const void* source, int bits,
27 char* inet_net_ntop(int family, const void* source, int bits,
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5416/
H A Dar5416_recv.c35 uint32_t bits = OS_REG_READ(ah, AR_RX_FILTER); local
39 bits |= HAL_RX_FILTER_PHYRADAR;
41 bits |= HAL_RX_FILTER_PHYERR;
42 return bits;
49 ar5416SetRxFilter(struct ath_hal *ah, u_int32_t bits) argument
53 OS_REG_WRITE(ah, AR_RX_FILTER, (bits & 0xffff));
55 if (bits & HAL_RX_FILTER_PHYRADAR)
57 if (bits & HAL_RX_FILTER_PHYERR)
191 * These four bits should not be set together. The
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A Db44ExpLogTable.cpp95 cout << "0x" << setfill ('0') << setw (4) << h.bits() << ", ";
122 cout << "0x" << setfill ('0') << setw (4) << h.bits() << ", ";
/haiku-fatelf/src/kits/device/
H A DSerialPort.cpp252 /*! \brief Set the data bits (7 or 8)
262 /*! \brief Get the current data bits.
263 \return The current data bits.
272 /*! \brief Set the stop bits.
273 \param numBits The number of stop bits
286 /*! \brief Get the current stop bits.
287 \return The current stop bits.
409 unsigned int bits = ioctl(ffd, TCGETBITS, 0); local
411 if (bits & TCGB_CTS)
424 unsigned int bits local
439 unsigned int bits = ioctl(ffd, TCGETBITS, 0); local
454 unsigned int bits = ioctl(ffd, TCGETBITS, 0); local
[all...]
/haiku-fatelf/src/preferences/media/
H A DMediaIcons.cpp52 const void* bits = resources->LoadResource(B_COLOR_8_BIT_TYPE, id, &size); local
53 bitmap->SetBits(bits, size, 0, B_CMAP8);
/haiku-fatelf/src/bin/gdb/opcodes/
H A Dia64-opc.c203 ia64_insn bits = completer_table[completer_index].bits;
207 bits = bits << shiftamt;
208 opcode = (opcode & ~mask) | bits;
213 /* Extract BITS number of bits starting from OP_POINTER + BITOFFSET in
219 extract_op_bits (int op_pointer, int bitoffset, int bits)
230 int bata = (bits < numb) ? bits : numb;
235 bits
199 ia64_insn bits = completer_table[completer_index].bits; local
214 extract_op_bits(int op_pointer, int bitoffset, int bits) argument
[all...]
H A Dz8kgen.c33 char *bits; member in struct:op
758 chewbits (char *bits, int *length) argument
764 while (*bits)
766 while (*bits == ' ')
768 bits++;
770 bits = translate (toks, bits, length);
935 sub (p->bits, c);
939 sub (p->bits, s[2]);
943 sub (p->bits,
[all...]
/haiku-fatelf/src/apps/icon-o-matic/generic/gui/panel/color_picker/
H A DColorField.cpp419 set_bits(uint8* bits, uint8 r, uint8 g, uint8 b) argument
421 bits[0] = b;
422 bits[1] = g;
423 bits[2] = r;
424 // bits[3] = 255;
474 uint8* bits = (uint8*)bitmap->Bits(); local
477 bits += 2 * 4 + 2 * bpr;
484 uint8* bitsHandle = bits;
491 bits += bpr;
498 uint8* bitsHandle = bits;
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/bcm570x/
H A Dautoneg.c318 /* Make sure invalid bits are not set. */
319 if(pAnInfo->RxConfig.bits.D0 || pAnInfo->RxConfig.bits.D1 ||
320 pAnInfo->RxConfig.bits.D2 || pAnInfo->RxConfig.bits.D3 ||
321 pAnInfo->RxConfig.bits.D4 || pAnInfo->RxConfig.bits.D9 ||
322 pAnInfo->RxConfig.bits.D10 || pAnInfo->RxConfig.bits.D11)
340 pAnInfo->mr_toggle_rx = pAnInfo->RxConfig.bits
[all...]

Completed in 203 milliseconds

1234567891011>>