| /onnv/onnv-gate/usr/src/cmd/sendmail/include/sm/ |
| bitops.h | 22 ** Data structure for bit maps. 24 ** Each bit in this map can be referenced by an ascii character. 25 ** This is 256 possible bits, or 32 8-bit bytes. 28 # define BITMAPBITS 256 /* number of bits in a bit map */ 30 # define BITMAPBYTES (BITMAPBITS / BYTEBITS) /* number of bytes in bit map */ 36 # define _BITWORD(bit) (((unsigned char)(bit) / (BYTEBITS * sizeof (int))) & BITMAPMAX) 37 # define _BITBIT(bit) ((unsigned int)1 << ((unsigned char)(bit) % (BYTEBITS * sizeof (int)))) 41 /* properly case and truncate bit */ [all...] |
| /onnv/onnv-gate/usr/src/lib/libntfs/common/include/ntfs/ |
| bitmap.h | 32 * - Operations are 8-bit only to ensure the functions work both on little 33 * and big endian machines! So don't make them 32-bit ops! 34 * - bitmap starts at bit = 0 and ends at bit = bitmap size - 1. 35 * - _Caller_ has to make sure that the bit to operate on is less than the 40 * ntfs_bit_set - set a bit in a field of bits 42 * @bit: bit to set 43 * @new_value: value to set bit to (0 or 1) 45 * Set the bit @bit in the @bitmap to @new_value. Ignore all errors [all...] |
| support.h | 79 * Simple bit operation macros. NOTE: These are NOT atomic. 81 #define test_bit(bit, var) ((var) & (1 << (bit))) 82 #define set_bit(bit, var) (var) |= 1 << (bit) 83 #define clear_bit(bit, var) (var) &= ~(1 << (bit)) 86 #define test_and_set_bit(bit, var) _test_and_set_bit(bit, &var) 87 static __inline__ BOOL _test_and_set_bit(unsigned long bit, unsigned long *var [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/io/px/ |
| px_csr.h | 50 #define CSR_FR(base, off, bit) \ 52 (off ## _ ## bit)) & (off ## _ ## bit ## _MASK)) 54 #define CSRA_FR(base, off, index, bit) \ 56 (off ## _ ## bit)) & (off ## _ ## bit ## _MASK)) 58 #define CSR_FS(base, off, bit, val) \ 61 ~(((uint64_t)(off ## _ ## bit ## _MASK)) << \ 62 (off ## _ ## bit))) | (((uint64_t)(val)) << (off ## _ ## bit)))) [all...] |
| /onnv/onnv-gate/usr/src/uts/sun4u/sys/i2c/clients/ |
| pcf8574_impl.h | 39 * PCF8574_BIT_READ_MASK takes in a byte from the device and the bit that 40 * the user wants to read. I shifts the byte over so that the bit that we 41 * want is in the 1's bit and masks out the rest of the byte. 43 #define PCF8574_BIT_READ_MASK(byte, bit) ((byte >> bit) & 0x01) 46 * PCF8574_BIT_WRITE_MASK takes in a byte from the device, the bit that the 48 * bit. It zero's out the bit that we are writing to in the byte and then or's 49 * the value(which was shifted to the bit location we wanted) to fill in only 50 * that bit in the byt [all...] |
| ssc100_impl.h | 39 * SSC100_BIT_READ_MASK takes in a byte from the device and the bit that 40 * the user wants to read. I shifts the byte over so that the bit that we 41 * want is in the 1's bit and masks out the rest of the byte. 43 #define SSC100_BIT_READ_MASK(byte, bit) ((byte >> bit) & 0x01) 46 * SSC100_BIT_WRITE_MASK takes in a byte from the device, the bit that the 48 * bit. It zero's out the bit that we are writing to in the byte and then or's 49 * the value(which was shifted to the bit location we wanted) to fill in only 50 * that bit in the byt [all...] |
| /onnv/onnv-gate/usr/src/cmd/dtrace/test/cmd/baddof/ |
| baddof.c | 58 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...] |
| /onnv/onnv-gate/usr/src/lib/libntfs/common/libntfs/ |
| bitmap.c | 50 * @start_bit: first bit to set 54 * Set @count bits starting at bit @start_bit in the bitmap described by the 65 int bit, firstbyte, lastbyte, lastbyte_pos, tmp, err; local 72 bit = start_bit & 7; 73 if (bit) 79 bufsize = ((count - (bit ? 8 - bit : 0) + 7) >> 3) + firstbyte; 91 if (bit) { 100 while ((bit & 7) && left--) { 102 *buf |= 1 << bit++ [all...] |
| /onnv/onnv-gate/usr/src/cmd/ksh/amd64/ |
| Makefile | 36 $(INSTALL.ksh.64bit)
|
| /onnv/onnv-gate/usr/src/cmd/ksh/i386/ |
| Makefile | 35 $(INSTALL.ksh.32bit)
|
| /onnv/onnv-gate/usr/src/cmd/ksh/sparc/ |
| Makefile | 35 $(INSTALL.ksh.32bit)
|
| /onnv/onnv-gate/usr/src/cmd/ksh/sparcv9/ |
| Makefile | 36 $(INSTALL.ksh.64bit)
|
| /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/sparc/ |
| ffs.s | 38 clr %o1 ! delay slot, return zero if no bit set 40 inc %o1 ! bit that will get checked 42 be 1b ! if bit is zero, keep checking 43 srl %o0, 1, %o0 ! shift input right until we hit a 1 bit
|
| /onnv/onnv-gate/usr/src/uts/sun4/io/px/ |
| px_debug.c | 130 static void px_dbg_print(px_debug_bit_t bit, dev_info_t *dip, char *fmt, 132 static void px_dbg_queue(px_debug_bit_t bit, dev_info_t *dip, char *fmt, 141 px_dbg_print(px_debug_bit_t bit, dev_info_t *dip, char *fmt, va_list args) 143 int cont = bit >> DBG_BITS; 150 ddi_get_instance(dip), px_debug_sym[bit]); 152 prom_printf("px: %s: ", px_debug_sym[bit]); 165 px_dbg_queue(px_debug_bit_t bit, dev_info_t *dip, char *fmt, va_list args) 190 msg_p->bit = bit; 221 px_dbg_print(msg_p->bit, msg_p->dip, msg_p->msg, NULL) [all...] |
| /onnv/onnv-gate/usr/src/lib/pkcs11/libkcfd/ |
| README | 28 it's 32-bit-only because kcfd is 32-bit-only.
|
| /onnv/onnv-gate/usr/src/uts/i86xpv/sys/ |
| evtchn_impl.h | 81 #define SET_EVTCHN_BIT(bit, arrayp) \ 82 ((arrayp)[bit >> EVTCHN_SHIFT] |= \ 83 (1ul << ((bit) & ((1ul << EVTCHN_SHIFT) - 1)))) 84 #define CLEAR_EVTCHN_BIT(bit, arrayp) \ 85 ((arrayp)[bit >> EVTCHN_SHIFT] &= \ 86 ~((1ul << ((bit) & ((1ul << EVTCHN_SHIFT) - 1))))) 87 #define TEST_EVTCHN_BIT(bit, arrayp) \ 88 ((arrayp)[bit >> EVTCHN_SHIFT] & \ 89 (1ul << ((bit) & ((1ul << EVTCHN_SHIFT) - 1))))
|
| /onnv/onnv-gate/usr/src/cmd/lp/filter/postscript/postdaisy/ |
| README | 24 into PostScript. No guarantees are given with this program - quite a bit hasn't
|
| /onnv/onnv-gate/usr/src/uts/common/io/nxge/ |
| nxge_fflp_hash.c | 115 uint32_t index, bit, byte, crc; local 120 for (bit = 0; bit < 8; bit++) { 141 uint16_t index, bit, byte; local 146 for (bit = 0; bit < 8; bit++) { 203 * Lookup the crc32c for a 32 bit word stream 281 uint32_t crc, bit, byte, index local 305 int bit, byte; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/data/ |
| ResourceBundle.properties | 62 unumber8_type=Unsigned 8-bit Number 63 unumber16_type=Unsigned 16-bit Number 64 unumber32_type=Unsigned 32-bit Number 65 unumber64_type=Unsigned 64-bit Number 66 snumber8_type=Signed 8-bit Number 67 snumber16_type=Signed 16-bit Number 68 snumber32_type=Signed 32-bit Number 69 snumber64_type=Signed 64-bit Number
|
| /onnv/onnv-gate/usr/src/lib/libc/i386/gen/ |
| byteorder.s | 63 shrl $16, %eax / moves high 16-bit to low 16-bit 70 shrl $16, %eax / moves high 16-bit to low 16-bit
|
| /onnv/onnv-gate/usr/src/cmd/sgs/rtld.4.x/ |
| umultiply.s | 47 * 4 or fewer bit multipliers: 19 or 21 instruction cycles 48 * 8 or fewer bit multipliers: 26 or 28 instruction cycles 49 * 12 or fewer bit multipliers: 34 or 36 instruction cycles 50 * 16 or fewer bit multipliers: 42 or 44 instruction cycles 71 be umul_4bit ! 4-bit multiplier 72 sethi %hi(0xffff0000), %o5 ! mask for 16-bit case; have to 77 be,a umul_8bit ! 8-bit multiplier 81 be,a umul_12bit ! 12-bit multiplier 85 be,a umul_16bit ! 16-bit multiplier 130 ! With 32-bit twos-complement numbers, -x can be represented a [all...] |
| /onnv/onnv-gate/usr/src/common/openssl/crypto/bn/ |
| bn_rand.c | 121 int ret=0,bit,bytes,mask; local 131 bit=(bits-1)%8; 132 mask=0xff<<(bit+1); 181 if (bit == 0) 188 buf[0]|=(3<<(bit-1)); 193 buf[0]|=(1<<bit); 197 if (bottom) /* set bottom bit if requested */ 251 * so 3*range (= 11..._2) is exactly one bit longer than range */
|
| /onnv/onnv-gate/usr/src/cmd/fm/modules/common/cpumem-retire/ |
| cma_cache.c | 43 uint16_t bit = 0; local 94 * Tag faults will use it to set the bit to a stable state 97 if (nvlist_lookup_uint16(asru, FM_FMRI_CPU_CACHE_BIT, &bit) != 0) { 105 "cpu %d: Unretire for index %d, way %d\n bit %d" 108 cpuid, index, way, bit, type); 117 "cpu %d: Retiring index %d, way %d\n bit %d" 118 " type 0x%02x", cpuid, index, way, bit, type); 126 cache_info.bit = bit;
|
| /onnv/onnv-gate/usr/src/uts/common/io/dmfe/ |
| dmfe_mii.c | 29 * The bit-twiddling required by the MII interface makes the functions 44 * NB: <romaddr> is a byte address but must be 16-bit aligned. 51 uint16_t bit; local 61 /* loop over multiple words... rom access in 16-bit increments */ 74 /* send 3 bit read command */ 75 for (bit = HIGH_CMD_BIT; bit != 0; bit >>= 1) { 77 value = (bit & EEPROM_READ_CMD) ? DATA_IN : 0; 79 /* strobe the bit in * [all...] |
| /onnv/onnv-gate/usr/src/cmd/mdb/sparc/v9/kmdb/ |
| client_handler.s | 35 * The interface for a client programs that call the 64-bit romvec OBP 48 save %sp, -SA64(MINFRAME64), %sp ! 32 bit frame, 64 bit sized
|