Home
last modified time | relevance | path

Searched refs:bit_pos (Results 1 – 7 of 7) sorted by relevance

/dragonfly/contrib/gmp/mpn/generic/
H A Dget_str.c382 int bit_pos; in mpn_get_str() local
398 bit_pos = bits - (mp_bitcnt_t) (un - 1) * GMP_NUMB_BITS; in mpn_get_str()
404 bit_pos -= bits_per_digit; in mpn_get_str()
405 while (bit_pos >= 0) in mpn_get_str()
407 *s++ = (n1 >> bit_pos) & ((1 << bits_per_digit) - 1); in mpn_get_str()
408 bit_pos -= bits_per_digit; in mpn_get_str()
413 n0 = (n1 << -bit_pos) & ((1 << bits_per_digit) - 1); in mpn_get_str()
415 bit_pos += GMP_NUMB_BITS; in mpn_get_str()
416 *s++ = n0 | (n1 >> bit_pos); in mpn_get_str()
H A Drandom2.c40 int bit_pos; /* bit number of least significant bit where in mpn_random2() local
51 bit_pos = ran % GMP_NUMB_BITS; in mpn_random2()
53 gmp_rrandomb (rp, rstate, n * GMP_NUMB_BITS - bit_pos); in mpn_random2()
/dragonfly/contrib/xz/src/liblzma/simple/
H A Dia64.c33 uint32_t bit_pos = 5; in ia64_code() local
35 for (size_t slot = 0; slot < 3; ++slot, bit_pos += 41) { in ia64_code()
39 const size_t byte_pos = (bit_pos >> 3); in ia64_code()
40 const uint32_t bit_res = bit_pos & 0x7; in ia64_code()
/dragonfly/contrib/gdb-7/gdb/
H A Dada-valprint.c1100 int bit_pos = TYPE_FIELD_BITPOS (type, i); in print_field_values() local
1107 offset + bit_pos / HOST_CHAR_BIT, in print_field_values()
1108 bit_pos % HOST_CHAR_BIT, in print_field_values()
H A Dada-lang.c2171 int bit_size, bit_pos; in decode_constrained_packed_array() local
2181 bit_pos = HOST_CHAR_BIT * TYPE_LENGTH (value_type (arr)) - bit_size; in decode_constrained_packed_array()
2183 bit_pos / HOST_CHAR_BIT, in decode_constrained_packed_array()
2184 bit_pos % HOST_CHAR_BIT, in decode_constrained_packed_array()
6557 int bit_pos = TYPE_FIELD_BITPOS (arg_type, fieldno); in ada_value_primitive_field() local
6561 offset + bit_pos / 8, in ada_value_primitive_field()
6562 bit_pos % 8, bit_size, type); in ada_value_primitive_field()
6604 int bit_pos = TYPE_FIELD_BITPOS (type, i); in find_struct_field() local
6605 int fld_offset = offset + bit_pos / 8; in find_struct_field()
6620 *bit_offset_p = bit_pos % 8; in find_struct_field()
/dragonfly/contrib/ldns/
H A Dhost2str.c873 uint16_t bit_pos; in ldns_rdf2buffer_str_nsec_fmt() local
883 for (bit_pos = 0; bit_pos < (bitmap_length) * 8; bit_pos++) { in ldns_rdf2buffer_str_nsec_fmt()
884 if (! ldns_get_bit(&data[pos], bit_pos)) { in ldns_rdf2buffer_str_nsec_fmt()
887 type = 256 * (uint16_t) window_block_nr + bit_pos; in ldns_rdf2buffer_str_nsec_fmt()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-sra.c1581 HOST_WIDE_INT bit_pos in build_ref_for_model() local
1587 if (offset - bit_pos < 0) in build_ref_for_model()
1590 offset -= bit_pos; in build_ref_for_model()