Searched refs:pb (Results 1 - 25 of 59) sorted by relevance

123

/illumos-gate/usr/src/lib/libbc/libc/gen/common/sparc/
H A Dbase_conv.c73 register unsigned *pb; local
76 pb = b;
80 *pb = (t = (*pb * 10000) + carry) & 0xffff;
81 pb++;
88 *pb = (t = (*pb * 10000) + carry) & 0xffff;
89 pb--;
107 register unsigned *pb; local
110 pb
[all...]
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_cplx_lr_div_ix.c46 _Q_cplx_lr_div_ix(const long double *pb, const long double _Complex *w) argument
51 _Q_cplx_lr_div_ix(long double _Complex *v, const long double *pb, argument
57 b = *pb;
H A D_Q_cplx_div_ix.c81 _Q_cplx_div_ix(const long double *pb, const long double _Complex *w) argument
86 _Q_cplx_div_ix(long double _Complex *v, const long double *pb, argument
97 b = *pb;
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A D_sprintf_sup.c149 /* *pb = *pb / 2**multiplier to normalize. 15 <= multiplier <= 1 */
242 _unpacked_to_big_float(unpacked *pu, _big_float *pb, int *pe) argument
245 * Converts pu into a bigfloat *pb of minimal length; exponent *pe
246 * such that pu = *pb * 2 ** *pe
254 pb->bsignificand[2 * (iz - it)] = pu->significand[it] & 0xffff;
255 pb->bsignificand[2 * (iz - it) + 1] = pu->significand[it] >> 16;
258 pb->blength = 2 * iz + 2;
259 if (pb->bsignificand[0] == 0) {
260 for (it = 1; it < pb
295 _big_binary_to_big_decimal(_big_float *pb, _big_float *pd) argument
[all...]
H A D_base_sup.c192 _big_decimal_to_big_binary(_big_float *pd, _big_float *pb) argument
204 pb->bexponent = 0;
205 pb->blength = 1;
208 pb->bsignificand[0] = 0;
210 pb->bsignificand[0] = pd->bsignificand[id--];
217 _mul_10000short(pb, (long unsigned) pd->bsignificand[id]);
245 _multiply_base_two(pb, multiplier, (long unsigned) carry);
247 pb->bsignificand[0] |= 1; /* Save lost bits. */
261 _multiply_base_two(pb, multiplier, (long unsigned) carry);
265 _display_big_float(pb,
270 _big_binary_to_unpacked(_big_float *pb, unpacked *pu) argument
[all...]
H A Ddouble_decim.c220 _big_float *pb, b, d; local
255 _big_float_times_power(&b, 10, tenpower, tensig, &pb);
256 switch ((unsigned int)pb) {
275 if (pb != &b)
278 _display_big_float(pb, 2);
283 if (pb->bexponent <= -16) {
285 excess = (-pb->bexponent) / 16;
289 for (i = 0; (i < excess) && (pb->bsignificand[i] == 0); i++);
291 pb->bsignificand[excess] |= 1; /* Sticky bit for
293 for (i = excess; i < pb
[all...]
H A Ddecimal_bin.c34 decimal_to_binary_integer(ds, ndigs, nzeros, nsig, pb)
39 _big_float *pb; /* Pointer to big_float to receive result. */
43 * and nzeros implicit trailing zeros to a _big_float **pb, which only
46 /* Inexactness is indicated by pb->bsignificand[0] |= 1. */
48 * If the input is too big for a big_float, pb->bexponent is set to 0x7fff.
57 _big_decimal_to_big_binary(&d, pb);
59 _big_float_times_power(pb, 10, (int) nzout, (int) nsig, &pbout);
65 pb->bexponent = 0x7fff;
77 if (pbout != pb)
80 _display_big_float(pb,
[all...]
/illumos-gate/usr/src/cmd/acct/
H A Dacctprc.c50 struct ptmp pb; variable in typeref:struct:ptmp
81 pb.pt_uid = ab.ac_uid;
82 CPYN(pb.pt_name, NULL);
95 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime;
96 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0;
97 pb.pt_cpu[1] = stime - pb.pt_cpu[0];
99 pb
[all...]
H A Dacctprc2.c45 struct ptmp pb; variable in typeref:struct:ptmp
67 &pb.pt_uid,
68 pb.pt_name,
69 &pb.pt_cpu[0], &pb.pt_cpu[1],
70 &pb.pt_mem) != EOF)
71 enter(&pb);
108 memk = KCORE(pb.pt_mem);
H A Dacctprc1.c52 struct ptmp pb; variable in typeref:struct:ptmp
125 pb.pt_uid = ab.ac_uid;
126 CPYN(pb.pt_name, getname(ab.ac_uid, ab.ac_tty, ab.ac_btime));
139 pb.pt_cpu[0] = (double)stime * (double)elaps[0] / etime;
140 pb.pt_cpu[1] = (stime > pb.pt_cpu[0])? stime - pb.pt_cpu[0] : 0;
141 pb.pt_cpu[1] = stime - pb.pt_cpu[0];
143 pb
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c77 const devplcysys_t *pb = b; local
83 if (pb->dps_maj == DEVPOLICY_DFLT_MAJ)
86 if (pa->dps_maj > pb->dps_maj)
88 else if (pa->dps_maj < pb->dps_maj)
92 wildb = strchr(pb->dps_minornm, '*') != NULL;
100 return (strcmp(pa->dps_minornm, pb->dps_minornm));
103 return ((int)(strlen(pb->dps_minornm) - strlen(pa->dps_minornm)));
/illumos-gate/usr/src/boot/sys/boot/usb/tools/
H A Dsysinit.c127 const struct sysinit_data * const *pb = _pb; local
129 if ((*pa)->dw_msb_value > (*pb)->dw_msb_value)
132 if ((*pa)->dw_msb_value < (*pb)->dw_msb_value)
135 if ((*pa)->dw_lsb_value > (*pb)->dw_lsb_value)
138 if ((*pa)->dw_lsb_value < (*pb)->dw_lsb_value)
148 const struct sysinit_data * const *pb = _pb; local
150 if ((*pa)->dw_msb_value > (*pb)->dw_msb_value)
153 if ((*pa)->dw_msb_value < (*pb)->dw_msb_value)
156 if ((*pa)->dw_lsb_value > (*pb)->dw_lsb_value)
159 if ((*pa)->dw_lsb_value < (*pb)
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/trans/
H A Dmdtrans.c111 buf_t *pb; local
115 pb = ps->ps_bp;
120 pb->b_flags |= B_ERROR;
121 pb->b_error = bp->b_error;
135 buf_t *pb, /* primary buffer */
148 sb = bioclone(pb, 0, pb->b_bcount, md_dev64_to_dev(un->un_s_dev),
149 pb->b_blkno, trans_done_shadow, sb, KM_NOSLEEP);
558 struct buf *pb; local
561 pb
134 shadow_debug(mt_unit_t *un, buf_t *pb, md_tps_t *ps, buf_t *cb, int flag, void *private) argument
593 struct buf *pb; local
638 md_trans_strategy(buf_t *pb, int flag, void *private) argument
[all...]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Ddouble_decim.c67 * Convert the integer part of a nonzero base-2^16 _big_float *pb
69 * significant digits. On exit, *sticky is nonzero if *pb had a
70 * nonzero fractional part. If pb->exponent > 0 and **ppd is not
72 * verted significand scaled by 2^pb->exponent), then on exit,
80 * the result of converting the significand of *pb.
83 __big_binary_to_big_decimal(_big_float *pb, int nsig, _big_float **ppd, argument
92 /* convert pb a digit at a time, most significant first */
93 if (pb->bexponent + ((pb->blength - 1) << 4) >= 0) {
94 carry = pb
[all...]
H A Ddecimal_bin.c46 * should fit in pb, but __big_float_times_power may allocate new
57 _big_float *pb; local
61 pb = *ppb;
65 pb->bsignificand[0] = pd->bsignificand[pd->blength - 1];
69 /* multiply pb by 10^4 and add next digit */
72 carry += (unsigned int)pb->bsignificand[j]
74 pb->bsignificand[j] = carry & 0xffff;
78 pb->bsignificand[j++] = carry;
89 /* multiply pb by 10^s and add partial digit */
95 carry += (unsigned int)pb
[all...]
/illumos-gate/usr/src/common/mpi/
H A Dmpmontg.c133 mp_digit *pb; local
153 pb = MP_DIGITS(b);
154 s_mpv_mul_d(MP_DIGITS(a), useda, *pb++, MP_DIGITS(c)); local
162 mp_digit b_i = *pb++;
/illumos-gate/usr/src/lib/libdll/common/
H A Ddllscan.c43 char* pb; \
264 if (!(scan->pb = vmnewof(vm, 0, char, t - (char*)name, 2)))
266 memcpy(scan->pb, name, t - (char*)name);
380 if (!scan->pb)
381 scan->pb = pathbin();
387 scan->pb = scan->pe;
389 for (p = scan->pp = scan->pb; *p && *p != ':'; p++)
394 scan->off = sfprintf(scan->tmp, "%-.*s", scan->pe - scan->pb, scan->pb);
396 scan->off = sfprintf(scan->tmp, "%-.*s/%s", scan->pp - scan->pb, sca
[all...]
/illumos-gate/usr/src/uts/common/io/lvm/mirror/
H A Dmirror.c2768 struct buf *pb; local
2773 pb = ps->ps_bp;
2796 pb->b_flags |= B_ERROR;
2797 md_kstat_done(ui, pb, (ps->ps_flags & MD_MPS_WRITE_AFTER_READ));
2800 md_biodone(pb);
2822 md_kstat_done(ui, pb, (ps->ps_flags & MD_MPS_WRITE_AFTER_READ));
2825 (void) md_mirror_strategy(pb, new_str_flags, NULL);
2829 pb->b_flags |= B_ERROR;
2830 md_kstat_done(ui, pb, (ps->ps_flags & MD_MPS_WRITE_AFTER_READ));
2833 md_biodone(pb);
2979 buf_t *pb; local
3022 buf_t *pb; local
3079 buf_t *pb; local
3159 struct buf *pb = ps->ps_bp; local
3210 struct buf *pb; local
3391 struct buf *pb; local
3440 buf_t *pb; local
3568 buf_t *pb = ps->ps_bp; local
3611 buf_t *pb = ps->ps_bp; local
3678 buf_t *pb = ps->ps_bp; local
3862 mirror_write_strategy(buf_t *pb, int flag, void *private) argument
4180 mirror_read_strategy(buf_t *pb, int flag, void *private) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_pass.c112 const smb_passid_t *pb = (smb_passid_t *)b; local
125 if (pa->uid < pb->uid)
127 if (pa->uid > pb->uid)
129 if (pa->zoneid < pb->zoneid)
131 if (pa->zoneid > pb->zoneid)
133 dsrv = u8_strcmp(pa->srvdom, pb->srvdom, 0,
139 duser = u8_strcmp(pa->username, pb->username, 0,
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_util.c469 __nis_buffer_t pb = {0, 0}; variable
477 pb.len = vp2buf(msg, &pb.buf, pb.len, fmt, ap);
532 bc2buf(msg, buf, len, &pb);
538 sbc2buf(msg, buf, len, &pb);
547 int maxtry = MAXTRY, len = pb.len;
549 if (pb.buf != 0) {
553 tmp = write(1, pb.buf, len);
562 free(pb
[all...]
/illumos-gate/usr/src/common/lzma/
H A DLzmaEnc.h24 int pb; /* 0 <= pb <= 4, default = 2 */ member in struct:_CLzmaEncProps
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c835 dof_probe_t *pb; local
900 pb = (dof_probe_t *)(uintptr_t)(p +
906 strtab + pb->dofpr_func,
907 strtab + pb->dofpr_name);
910 mdb_printf("addr: %p\n", (ulong_t)pb->dofpr_addr);
912 for (j = 0; j < pb->dofpr_noffs; j++) {
914 offs[pb->dofpr_offidx + j]);
921 if (pb->dofpr_nenoffs != 0)
924 for (j = 0; j < pb->dofpr_nenoffs; j++) {
926 enoffs[pb
[all...]
/illumos-gate/usr/src/cmd/biosdev/
H A Dbiosdev.c263 pcibdf_t pb; local
264 pb.busnum = bus;
265 pb.devnum = dev;
266 pb.funcnum = fn;
267 pb.di_node = DI_NODE_NIL;
269 (void) di_walk_node(node, DI_WALK_CLDFIRST, &pb, i_match_pcibdf);
270 return (pb.di_node);
/illumos-gate/usr/src/uts/common/io/lvm/stripe/
H A Dstripe.c500 struct buf *pb = ps->ps_bp; local
503 md_dev64_t md_dev = md_expldev(pb->b_edev);
506 if (pb->b_flags & B_READ) {
521 pb->b_flags |= B_ERROR;
523 md_kstat_done(ui, pb, 0);
525 md_biodone(pb);
535 struct buf *pb; local
543 pb = ps->ps_bp;
548 pb->b_error = cb->b_error;
573 md_kstat_done(ui, pb,
686 md_stripe_strategy(buf_t *pb, int flag, void *private) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c562 int pb = -1; local
579 if (pb < 0)
580 pb = ((bover == TRUST_BDF) ? b : bover);
583 if (pb < 0 && bover < 0)
586 bn = pciexbus_declare(mod, parent, pn, ((pb < 0) ? bover : pb));
588 bn = pcibus_declare(mod, parent, pn, ((pb < 0) ? bover : pb));
591 if (pb < 0)

Completed in 147 milliseconds

123