Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 11 of 11) sorted by relevance

/busybox-1.35.0/archival/
Dgzip.c598 unsigned bits = G1.bi_buf; in bi_windup() local
602 put_8bit(bits); in bi_windup()
603 bits >>= 8; in bi_windup()
1166 int bits; /* bit length */ in gen_bitlen() local
1169 for (bits = 0; bits < ARRAY_SIZE(G2.bl_count); bits++) in gen_bitlen()
1170 G2.bl_count[bits] = 0; in gen_bitlen()
1183 bits = tree[tree[n].Dad].Len + 1; in gen_bitlen()
1184 if (bits > desc->max_length) { in gen_bitlen()
1185 bits = desc->max_length; in gen_bitlen()
1188 tree[n].Len = (ush) bits; in gen_bitlen()
[all …]
/busybox-1.35.0/networking/libiproute/
Dutils.c252 int FAST_FUNC inet_addr_match(const inet_prefix *a, const inet_prefix *b, int bits) in inet_addr_match() argument
256 int words = bits >> 5; in inet_addr_match()
258 bits &= 0x1f; in inet_addr_match()
264 if (bits) { in inet_addr_match()
271 mask = htonl((0xffffffff) << (0x20 - bits)); in inet_addr_match()
Dutils.h80 int inet_addr_match(const inet_prefix *a, const inet_prefix *b, int bits) FAST_FUNC;
/busybox-1.35.0/archival/libarchive/
Ddecompress_bunzip2.c117 unsigned bits = 0; in get_bits() local
136 bits = bd->inbufBits & ((1U << bit_count) - 1); in get_bits()
138 bits <<= bits_wanted; in get_bits()
150 bits |= (bd->inbufBits >> bit_count) & ((1 << bits_wanted) - 1); in get_bits()
152 return bits; in get_bits()
/busybox-1.35.0/coreutils/
Dstty.c294 const tcflag_t bits; /* Bits to set for this mode */ member
1072 mask = mode_info[i].mask ? mode_info[i].mask : mode_info[i].bits; in do_display()
1073 if ((*bitsp & mask) == mode_info[i].bits) { in do_display()
1107 *bitsp = val | mode_info[i].bits; in sane_mode()
1110 *bitsp = val & ~mode_info[i].bits; in sane_mode()
1125 *bitsp = val & ~info->bits; in set_mode()
1127 *bitsp = val | info->bits; in set_mode()
/busybox-1.35.0/docs/
DSerial-Programming-HOWTO.txt2 Seems to be somewhat old, but contains useful bits for getty.c hacking
318 o TIOCMBIS turn on control lines depending upon which bits are set
321 o TIOCMBIC turn off control lines depending upon which bits are
323 o TIOCMGET the appropriate bits are set in flags according to the
326 o TIOCMSET the state of the UART is changed according to which bits
349 It should be noted that some of these bits are controlled by the modem
/busybox-1.35.0/libbb/
Dhash_md5prime.c443 unsigned char bits[8]; in md5_end() local
450 memcpy32_cpu2le(bits, context->count, 8); in md5_end()
456 md5_hash(bits, 8, context); in md5_end()
/busybox-1.35.0/networking/
Dtls_pstm.c906 int bits; //bbox: was int16 in pstm_montgomery_calc_normalization() local
909 bits = pstm_count_bits (b) % DIGIT_BIT; in pstm_montgomery_calc_normalization()
910 if (!bits) bits = DIGIT_BIT; in pstm_montgomery_calc_normalization()
914 if ((x = pstm_2expt (a, (b->used - 1) * DIGIT_BIT + bits - 1)) != in pstm_montgomery_calc_normalization()
920 bits = 1; in pstm_montgomery_calc_normalization()
924 for (x = bits - 1; x < (int32)DIGIT_BIT; x++) { in pstm_montgomery_calc_normalization()
Dtelnetd.ctrlSQ.patch33 In the latter case, the byte is an inclusive-or of zero or more of the bits:
/busybox-1.35.0/util-linux/
Dfdisk.c1067 char bits = 0; in is_cleared_partition() local
1069 bits |= *cp++; in is_cleared_partition()
1070 return (bits == 0); in is_cleared_partition()
/busybox-1.35.0/shell/
Dash.c9809 int bits = VSTRFIXED; in poplocalvars() local
9813 bits |= VTEXTFIXED; in poplocalvars()
9818 vp->flags &= ~bits; in poplocalvars()
9819 vp->flags |= (lvp->flags & bits); in poplocalvars()