HomeSort by: relevance | last modified time | path
    Searched defs:bit_pos (Results 1 - 14 of 14) sorted by relevancy

  /src/external/lgpl3/gmp/dist/mpn/generic/
random2.c 49 int bit_pos; /* bit number of least significant bit where local
60 bit_pos = ran % GMP_NUMB_BITS;
62 gmp_rrandomb (rp, rstate, n * GMP_NUMB_BITS - bit_pos);
get_str.c 391 int bit_pos;
399 /* BIT_POS should be R when input ends in least significant nibble,
407 bit_pos = bits - (mp_bitcnt_t) (un - 1) * GMP_NUMB_BITS;
413 bit_pos -= bits_per_digit;
414 while (bit_pos >= 0)
416 *s++ = (n1 >> bit_pos) & ((1 << bits_per_digit) - 1);
417 bit_pos -= bits_per_digit;
422 n0 = (n1 << -bit_pos) & ((1 << bits_per_digit) - 1);
424 bit_pos += GMP_NUMB_BITS;
425 *s++ = n0 | (n1 >> bit_pos);
389 int bit_pos; local
    [all...]
  /src/external/lgpl3/mpfr/dist/tests/
random2.c 47 int ran_nbits, bit_pos, nb; local
78 bit_pos = GMP_NUMB_BITS - 1;
100 MPFR_ASSERTN (bit_pos < GMP_NUMB_BITS);
102 if (nb > bit_pos)
104 xp[ri--] = acc | MPFR_LIMB_MASK (bit_pos + 1);
105 bit_pos += GMP_NUMB_BITS;
106 bit_pos -= nb;
107 acc = MPFR_LIMB_LSHIFT (MPFR_LIMB_MAX << 1, bit_pos);
111 bit_pos -= nb;
112 acc |= MPFR_LIMB_LSHIFT (MPFR_LIMB_MASK (nb) << 1, bit_pos);
    [all...]
  /src/external/public-domain/xz/dist/src/liblzma/simple/
ia64.c 33 uint32_t bit_pos = 5; local
35 for (size_t slot = 0; slot < 3; ++slot, bit_pos += 41) {
39 const size_t byte_pos = (bit_pos >> 3);
40 const uint32_t bit_res = bit_pos & 0x7;
  /src/sys/arch/hppa/hppa/
intr.c 128 struct hppa_interrupt_register *ir, int bit_pos)
135 if (bit_pos < 0 || bit_pos >= HPPA_INTERRUPT_BITS)
136 panic("%s: bad interrupt bit %d", __func__, bit_pos);
144 if (IR_BIT_USED_P(ir->ir_bits_map[31 ^ bit_pos]))
159 ir->ir_bits_map[31 ^ bit_pos] = IR_BIT_REG(idx);
169 ir->ir_bits &= ~(1 << bit_pos);
170 ir->ir_rbits &= ~(1 << bit_pos);
171 if (!IR_BIT_USED_P(ir->ir_bits_map[31 ^ bit_pos])) {
172 ir->ir_bits_map[31 ^ bit_pos] = 1 << idx
205 int bit_pos; local
256 int idx, bit_pos; local
408 int bit_pos; local
    [all...]
  /src/external/gpl3/gdb/dist/gdb/
ada-valprint.c 640 int bit_pos = type->field (i).loc_bitpos ();
646 bit_pos / HOST_CHAR_BIT,
647 bit_pos % HOST_CHAR_BIT,
639 int bit_pos = type->field (i).loc_bitpos (); local
ada-lang.c 2534 int bit_size, bit_pos;
2544 bit_pos = HOST_CHAR_BIT * arr->type ()->length () - bit_size;
2546 bit_pos / HOST_CHAR_BIT,
2547 bit_pos % HOST_CHAR_BIT,
6832 int bit_pos = arg_type->field (fieldno).loc_bitpos ();
6837 offset + bit_pos / 8,
6838 bit_pos % 8, bit_size, type);
6934 int bit_pos = 0, fld_offset = 0;
6937 bit_pos = type->field (i).loc_bitpos ();
6938 fld_offset = offset + bit_pos / 8
2529 int bit_size, bit_pos; local
6821 int bit_pos = arg_type->field (fieldno).loc_bitpos (); local
6923 int bit_pos = 0, fld_offset = 0; local
7001 int bit_pos = type->field (parent_offset).loc_bitpos (); local
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/
ada-valprint.c 640 int bit_pos = type->field (i).loc_bitpos ();
646 bit_pos / HOST_CHAR_BIT,
647 bit_pos % HOST_CHAR_BIT,
639 int bit_pos = type->field (i).loc_bitpos (); local
ada-lang.c 2531 int bit_size, bit_pos;
2541 bit_pos = HOST_CHAR_BIT * arr->type ()->length () - bit_size;
2543 bit_pos / HOST_CHAR_BIT,
2544 bit_pos % HOST_CHAR_BIT,
6867 int bit_pos = arg_type->field (fieldno).loc_bitpos ();
6872 offset + bit_pos / 8,
6873 bit_pos % 8, bit_size, type);
6969 int bit_pos = 0, fld_offset = 0;
6972 bit_pos = type->field (i).loc_bitpos ();
6973 fld_offset = offset + bit_pos / 8
2526 int bit_size, bit_pos; local
6856 int bit_pos = arg_type->field (fieldno).loc_bitpos (); local
6958 int bit_pos = 0, fld_offset = 0; local
7036 int bit_pos = type->field (parent_offset).loc_bitpos (); local
    [all...]
  /src/external/gpl3/gdb/dist/sim/ft32/
interp.c 343 uint32_t bit_pos; local
397 bit_pos = rimmv & 31;
444 case 0xb: result = bins (r_1v, rimmv >> 10, bit_len, bit_pos); break;
445 case 0xc: result = nsigned (bit_len, r_1v >> bit_pos); break;
446 case 0xd: result = nunsigned (bit_len, r_1v >> bit_pos); break;
  /src/external/gpl3/gdb.old/dist/sim/ft32/
interp.c 343 uint32_t bit_pos; local
397 bit_pos = rimmv & 31;
444 case 0xb: result = bins (r_1v, rimmv >> 10, bit_len, bit_pos); break;
445 case 0xc: result = nsigned (bit_len, r_1v >> bit_pos); break;
446 case 0xd: result = nunsigned (bit_len, r_1v >> bit_pos); break;
  /src/sys/dev/usb/
udl.c 1375 uint8_t bit_count, bit_pos, bit_rem, curlen; local
1383 prev = bit_pos = *sc->sc_cmd_buf = 0;
1398 curlen = (bit_pos + bit_count + 7) / 8;
1406 (bit_pattern & ((1 << bit_rem) - 1)) << bit_pos;
1411 bit_pos = 0;
1417 (bit_pattern & ((1 << bit_count) - 1)) << bit_pos;
1418 bit_pos += bit_count;
1429 if (bit_pos > 0) {
  /src/external/gpl3/gcc/dist/gcc/cp/
module.cc 672 bit_flush (data& bits, uint32_t& bit_val, unsigned& bit_pos)
674 gcc_assert (bit_pos);
675 unsigned bytes = (bit_pos + 7) / 8;
677 bit_pos = 0;
699 unsigned bit_pos = 0; member in struct:bytes_in::bits_in
717 if (bit_pos)
718 bit_flush (in, bit_val, bit_pos);
724 if (!bit_pos)
726 bool x = (bit_val >> bit_pos) & 1;
727 bit_pos = (bit_pos + 1) % 32
745 unsigned bit_pos = 0; member in struct:bytes_out::bits_out
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/cp/
module.cc 454 unsigned bit_pos; /* Next bit in bit buffer. */ member in class:bytes
458 :parent (), bit_val (0), bit_pos (0)
471 gcc_assert (bit_pos);
472 unsigned bytes = (bit_pos + 7) / 8;
474 bit_pos = 0;
532 bit_pos = bit_val = 0;
729 if (bit_pos)
741 if (bit_pos)
772 bit_val |= unsigned (x) << bit_pos++;
773 if (bit_pos == 32
    [all...]

Completed in 65 milliseconds