Searched refs:bit (Results 1 - 9 of 9) sorted by relevance

/ast/src/lib/libtksh/tcl/
H A DtclUnixNotfy.c104 fd_mask bit;
117 bit = 1 << (fd%(NBBY*sizeof(fd_mask)));
119 checkMasks[index] |= bit;
122 (checkMasks+MASK_SIZE)[index] |= bit;
125 (checkMasks+2*(MASK_SIZE))[index] |= bit;
170 fd_mask bit;
178 bit = 1 << (fd%(NBBY*sizeof(fd_mask)));
180 if ((mask & TCL_READABLE) && (readyMasks[index] & bit)) {
183 if ((mask & TCL_WRITABLE) && ((readyMasks+MASK_SIZE)[index] & bit)) {
186 if ((mask & TCL_EXCEPTION) && ((readyMasks+(2*MASK_SIZE))[index] & bit)) {
102 fd_mask bit; local
167 fd_mask bit; local
[all...]
/ast/src/cmd/bzip/
H A Dbzip2recover.c161 void bsPutBit ( BitStream* bs, Int32 bit )
168 bs->buffer = bit & 0x1;
170 bs->buffer = ( (bs->buffer << 1) | (bit & 0x1) );
/ast/src/cmd/pack/
H A Dhuffdecode.c32 #define fillbuff(b,left,bit,inp) while(left<(bit))\
/ast/src/lib/libtk/generic/
H A DtkImgGIF.c58 #define BitSet(byte, bit) (((byte) & (bit)) == (bit))
H A DtkImgPhoto.c32 * A signed 8-bit integral type. If chars are unsigned and the compiler
48 * An unsigned 32-bit integral type, used for pixel values.
103 pixel redValues[256]; /* Maps 8-bit values of red intensity
110 /* Maps 8-bit intensities to quantized
156 unsigned char *pix24; /* Local storage for 24-bit image. */
229 * Each bit is set in the allowedOptions parameter on a call to
231 * photo image subcommand. On return, the bit is set in the options
1063 int index, c, bit, currentBit;
1090 bit = 0;
1095 if (bit !
1059 int index, c, bit, currentBit; local
[all...]
/ast/src/cmd/kshlib/open/
H A Dopen.c421 #define letterbit(bit) (1<<((bit)-'a'))
437 "[i:inherit?Open without the close-on-exec bit set.]"
/ast/src/lib/libvcodex/
H A Dvcodex.h94 /* define 32-bit integer types */
102 Help needed to define signed 32-bit integer type.
112 Help needed to define unsigned 32-bit integer type.
131 typedef Vcuint32_t Vcbit_t; /* 32-bit accumulator */
133 typedef Vcint32_t Vcint_t; /* 32-bit integers */
141 Vcbit_t bits; /* buffer usable for bit-coding */
366 /* Compute the size of a 32-bit integer coded by vcioputu() and vcputm() */
372 /* The below bit I/O macro functions use (bt,nb) for bit accumulation. These
374 ** The variables must be initialized by vciosetb() before starting bit codin
[all...]
/ast/src/cmd/INIT/
H A Dpackage.sh558 bit=
1437 32|64) bit=$1 ;;
1446 case $bit in
1452 *) vpath / /$bit ;;
1460 */32) echo $command: cannot build $bit-bit on $wow $sys >&2; exit 2 ;;
1461 *) vpath / /$bit ;;
1465 case $bit in
1467 *) PS1="($sys-$bit) " ;;
/ast/src/lib/libast/uwin/
H A Dcrypt.c95 #error C_block structure assumes 8 bit characters
101 * This avoids use of bit fields (your compiler may be sloppy with them).
108 * define "B64" to be the declaration for a 64 bit integer.
133 * representation is to store one bit per byte in an array of bytes. Bit N of
137 * bit 1 in the MSB of the first byte, but that is particularly noxious so we
138 * bit-reverse each byte so that bit 1 is the LSB of the first byte, bit 8 is
139 * the MSB of the first byte. Specifically, the 64-bit input data and key are
140 * converted to LSB format, and the output 64-bit bloc
[all...]

Completed in 70 milliseconds