Searched refs:pd (Results 1 - 25 of 35) sorted by relevance

12

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A Dpwd.pl27 local($pd,$pi) = stat($ENV{'PWD'});
28 if (!defined $dd or !defined $pd or $di != $pi or $dd != $pd) {
36 local($pd,$pi) = stat($2);
38 if (defined $pd and defined $dd and $di == $pi and $dd == $pd) {
H A DCwd.pm304 my($pd,$pi) = stat($ENV{'PWD'});
305 if (!defined $dd or !defined $pd or $di != $pi or $dd != $pd) {
316 my($pd,$pi) = stat($2);
318 if (defined $pd and defined $dd and $di == $pi and $dd == $pd) {
/osnet-11/usr/src/lib/libc/port/fp/
H A Dhex_bin.c37 * Convert a hexadecimal record in *pd to unpacked form in *pu.
39 * Up to 30 hexadecimal digits from pd->ds are converted to a binary
42 * pd->ds, the least significant bit of px->significand will be set.
45 __hex_to_unpacked(decimal_record *pd, unpacked *pu) argument
49 pu->sign = pd->sign;
50 pu->fpclass = pd->fpclass;
54 * radix point in *pd lies to the right of the last (base sixteen)
58 pu->exponent = pd->exponent + (pd->ndigits << 2) - 1;
64 n = pd
114 __hex_to_single(decimal_record *pd, enum fp_direction_type rd, single *px, fp_exception_field_type *ps) argument
135 __hex_to_double(decimal_record *pd, enum fp_direction_type rd, double *px, fp_exception_field_type *ps) argument
159 __hex_to_quadruple(decimal_record *pd, enum fp_direction_type rd, quadruple *px, fp_exception_field_type *ps) argument
185 __hex_to_extended(decimal_record *pd, enum fp_direction_type rd, extended *px, fp_exception_field_type *ps) argument
[all...]
H A Dchar_to_decimal.h44 * decimal_record *pd;
84 * *ppc, *pd, *pform, and *pechar will be set as documented in the
124 pd->fpclass = fp_signaling;
125 pd->sign = 0;
126 pd->exponent = 0;
127 pd->ds[0] = '\0';
128 pd->more = 0;
129 pd->ndigits = 0;
145 pd->fpclass = fp_zero;
162 pd
[all...]
H A Ddouble_decim.c74 * should fit in pd, but __big_float_times_power may allocate new
85 _big_float *pd; local
89 pd = *ppd;
94 pd->bsignificand[1] = __quorem10000(carry,
95 &pd->bsignificand[0]);
96 len = (pd->bsignificand[1])? 2 : 1;
99 /* multiply pd by 2^16 and add next digit */
102 carry += (unsigned int)pd->bsignificand[j]
105 &pd->bsignificand[j]);
109 &pd
174 __big_decimal_to_string(_big_float *pf, int sticky, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
338 __bigfloat_to_decimal(_big_float *bf, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
529 single_to_decimal(single *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
601 double_to_decimal(double *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
646 extended_to_decimal(extended *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
702 quadruple_to_decimal(quadruple *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
[all...]
H A Dgconvert.c36 __k_gconvert(int ndigits, decimal_record *pd, int trailing, char *buf) argument
43 if (pd->sign)
45 switch (pd->fpclass) {
57 if ((pd->exponent > 0) || (pd->exponent < -(ndigits + 3))) {
62 *(p++) = pd->ds[0];
64 for (i = 1; pd->ds[i] != 0; )
65 *(p++) = pd->ds[i++];
75 n = pd->exponent + i - 1;
93 if (pd
[all...]
H A Ddecimal_bin.c38 * Convert the integer part of a nonzero base-10^4 _big_float *pd
40 * significant bits. On exit, *sticky is nonzero if *pd had a
41 * nonzero fractional part. If pd->exponent > 0 and **ppb is not
43 * verted significand scaled by 10^pd->exponent), then on exit,
51 * the result of converting the significand of *pd.
54 __big_decimal_to_big_binary(_big_float *pd, int nsig, _big_float **ppb, argument
63 /* convert pd a digit at a time, most significant first */
64 if (pd->bexponent + ((pd->blength - 1) << 2) >= 0) {
65 pb->bsignificand[0] = pd
147 __decimal_to_unpacked(unpacked *px, decimal_record *pd, int sigbits) argument
334 __fast_decimal_to_single(single *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
433 __fast_decimal_to_double(double *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
495 decimal_to_single(single *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
570 decimal_to_double(double *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
649 decimal_to_extended(extended *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
736 decimal_to_quadruple(quadruple *px, decimal_mode *pm, decimal_record *pd, fp_exception_field_type *ps) argument
[all...]
H A Dstring_decim.c38 decimal_record *pd, enum decimal_string_form *pform,
37 string_to_decimal(char **ppc, int nmax, int fortran_conventions, decimal_record *pd, enum decimal_string_form *pform, char **pechar) argument
H A Dfunc_decim.c38 decimal_record *pd, enum decimal_string_form *pform,
37 func_to_decimal(char **ppc, int nmax, int fortran_conventions, decimal_record *pd, enum decimal_string_form *pform, char **pechar, int (*pget)(void), int *pnread, int (*punget)(int)) argument
H A D__flt_decim.c259 * Attempt to convert dd to a decimal record *pd according to the
265 __fast_double_to_decimal(double *dd, decimal_mode *pm, decimal_record *pd, argument
306 pd->ds[i] = '0';
307 pd->ds[is] = '\0';
310 is = __double_to_digits(dds, pd->ds, pm->ndigits);
312 pd->ndigits = is;
313 pd->exponent = -pm->ndigits;
376 is = __double_to_digits(dds, pd->ds, 1);
383 pd->ds[--is] = '\0';
386 pd
[all...]
H A Dfile_decim.c53 decimal_record *pd, enum decimal_string_form *pform,
52 file_to_decimal(char **ppc, int nmax, int fortran_conventions, decimal_record *pd, enum decimal_string_form *pform, char **pechar, FILE *pf, int *pnread) argument
/osnet-11/usr/src/lib/efcode/fcdriver/
H A Dupload.c49 private_data_t *pd, *ppd; local
52 pd = (private_data_t *)d->private;
63 debug_msg(DEBUG_UPLOAD, "Create Node: %p\n", pd->node);
76 error = fc_run_priv(pd->common, FC_NEW_DEVICE, 4, 0,
77 fc_phandle2cell(pd->node), fc_phandle2cell(ppd->node),
92 private_data_t *pd; local
95 pd = (private_data_t *)d->private;
97 debug_msg(DEBUG_UPLOAD, "Finish Node: %p\n", pd->node);
99 error = fc_run_priv(pd->common, FC_FINISH_DEVICE, 1, 0,
100 fc_phandle2cell(pd
109 private_data_t *pd; local
135 private_data_t *pd = (private_data_t *)d->private; local
[all...]
H A Dbuild_tree.c71 private_data_t *pd = d->private; local
76 if ((pd != NULL) && (pd->node)) {
77 if (os_get_prop_common(cdp, pd->node, "name",
81 pd->node);
86 debug_msg(DEBUG_UPLOAD, "Node %s: %p (%p)\n", name, d, pd);
111 pd = MALLOC(sizeof (private_data_t));
112 pd->common = cdp;
113 pd->node = thisnode;
114 pd
142 private_data_t *pd; local
[all...]
H A Dphandle.c136 private_data_t *pd; local
161 pd = MALLOC(sizeof (private_data_t));
162 pd->common = cdp;
163 pd->parent = (fc_phandle_t) revert_phandle(env, current->parent);
164 pd->upload = (cdp->init_done == 1);
165 current->private = pd;
169 pd->node = fc_cell2phandle(hcell);
171 add_my_handle(env, pd->node, current);
H A Ddma.c71 private_data_t *pd = DEVICE_PRIVATE(env); local
79 error = fc_run_priv(pd->common, "dma-map-in", 3, 1,
92 private_data_t *pd = DEVICE_PRIVATE(env); local
100 error = fc_run_priv(pd->common, "dma-map-out", 3, 0, fc_size2cell(len),
H A Dproperty.c122 private_data_t *pd; local
126 pd = dev->private;
127 ASSERT(pd);
131 node = pd->node;
136 } else if (os_get_prop_common(pd->common, node, name, inherit, &prop,
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dwstod.c186 wstring_to_decimal(const wchar_t **ppc, int c99, decimal_record *pd, argument
212 pd->fpclass = fp_signaling;
213 pd->sign = 0;
214 pd->exponent = 0;
215 pd->ds[0] = '\0';
216 pd->more = 0;
217 pd->ndigits = 0;
229 pd->sign = 1;
240 pd->fpclass = fp_normal;
244 pd
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/video/readers/
H A Djpeg.c345 int *pd; local
350 pd = du;
351 for (i = 0; i < JPEG_UNIT_SIZE; i++, pd++)
353 if ((pd[JPEG_UNIT_SIZE * 1] | pd[JPEG_UNIT_SIZE * 2] |
354 pd[JPEG_UNIT_SIZE * 3] | pd[JPEG_UNIT_SIZE * 4] |
355 pd[JPEG_UNIT_SIZE * 5] | pd[JPEG_UNIT_SIZE * 6] |
356 pd[JPEG_UNIT_SIZ
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_prop.c78 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque;
79 return (pd == NULL ? ZPROP_INVAL : zpd_propnum(pd));
112 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
113 return (zpd_get_type(pd));
119 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
120 return (pd == NULL ? B_FALSE : zpd_is_boolean(pd));
132 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
134 return (pd
140 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
147 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
154 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
161 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
168 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
175 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
194 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
207 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
214 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
221 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_opaque; local
252 zprop_desc_free(zprop_desc_t *pd) argument
278 zprop_desc_t *pd = (zprop_desc_t *)zpd->zpd_d.zpd_opaque; local
792 zprop_load_one(zprop_table_t *table, const char *propname, const char *owner, nvpair_t *xprop, zprop_desc_t *pd) argument
991 zprop_desc_t *pd = &prop_table[prop]; local
1007 zprop_desc_t *pd = &prop_table[prop]; local
1022 zprop_desc_t *pd; local
1070 zprop_desc_t *pd; local
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid_props.c415 ASRU_set(tnode_t *tn, did_t *pd, argument
430 mp = did_mod(pd);
432 if ((strcmp(nm, PCI_BUS) == 0 && did_gettnode(pd) &&
433 strcmp(topo_node_name(did_gettnode(pd)), HOSTBRIDGE) == 0) ||
436 if ((dnpath = di_devfs_path(did_dinode(pd))) != NULL) {
447 did_BDF(pd, NULL, &d, &f);
555 FRU_set(tnode_t *tn, did_t *pd, argument
563 mp = did_mod(pd);
599 mp = did_mod(pd);
602 if (nvlist_add_uint64(in, "nv1", (uintptr_t)pd) !
624 label_set(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
671 EXCAP_set(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
711 DEVprop_set(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
754 DRIVERprop_set(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
771 MODULEprop_set(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
798 maybe_di_chars_copy(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
839 maybe_di_uint_to_str(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
865 maybe_di_uint_to_dec_str(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
877 AADDR_set(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
901 BDF_set(tnode_t *tn, did_t *pd, const char *dpnm, const char *tpgrp, const char *tpnm) argument
919 did_props_set(tnode_t *tn, did_t *pd, txprop_t txarray[], int txnum) argument
[all...]
H A Dpcibus.c163 did_t *pd; local
224 if ((pd = did_find(mod, dn)) == NULL)
226 did_excap_set(pd, pcie_devtyp);
231 if (did_props_set(ntn, pd, Fn_common_props, Fn_propcnt) < 0) {
254 did_t *pd; local
257 if ((pd = did_find(mod, dn)) == NULL)
259 did_settnode(pd, parent);
263 if (did_props_set(ntn, pd, Dev_common_props, Dev_propcnt) < 0) {
283 did_t *pd; local
286 if ((pd
310 did_t *pd; local
337 did_t *pd; local
366 did_t *pd; local
[all...]
H A Ddid.c273 did_t *pd; local
277 if ((pd = did_hash_lookup(mp, src)) != NULL) {
279 assert(ibus == TRUST_BDF || (pd->dp_bus == ibus));
280 return (pd);
370 did_t *hd, *pd; local
373 pd = hd = did_find(mod, topo_node_getspecific(head));
376 pd = hd;
377 pd->dp_link = tail;
615 did_settnode(did_t *pd, tnode_t *tn) argument
618 pd
622 did_gettnode(did_t *pd) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/hostbridge/
H A Dhostbridge.c245 did_t *pd; local
248 if ((pd = did_find(mod, din)) == NULL)
252 if (did_props_set(ntn, pd, HB_common_props, HB_propcnt) < 0) {
270 did_t *pd; local
273 if ((pd = did_find(mod, din)) == NULL)
277 if (did_props_set(ntn, pd, ExHB_common_props, ExHB_propcnt) < 0) {
295 did_t *pd; local
298 if ((pd = did_find(mod, din)) == NULL)
300 did_markrc(pd);
303 if (did_props_set(ntn, pd, RC_common_prop
[all...]
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_provider.c355 dtrace_probedesc_t pd; local
360 if (dtrace_str2desc(dtp, DTRACE_PROBESPEC_NAME, s, &pd) != 0)
363 keylen = dt_probe_keylen(&pd);
364 key = dt_probe_key(&pd, alloca(keylen));
378 if (dt_ioctl(dtp, DTRACEIOC_PROBEMATCH, &pd) == 0)
379 return (dt_probe_discover(pvp, &pd));
690 dtrace_probedesc_t pd; local
693 bzero(&pd, sizeof (pd));
694 pd
823 dtrace_probedesc_t pd; local
[all...]
H A Ddt_consume.c379 dtrace_probedesc_t *pd = data->dtpda_pdesc, *npd; local
381 char *p = pd->dtpd_provider, *n = pd->dtpd_name, *sub;
423 pd->dtpd_id == dtp->dt_pdesc[last]->dtpd_id))
457 if (next != id && npd->dtpd_id == pd->dtpd_id)
1442 dt_print_aggdata_t *pd = arg; local
1445 FILE *fp = pd->dtpa_fp;
1446 dtrace_hdl_t *dtp = pd->dtpa_dtp;
1498 if (!pd->dtpa_allunprint)
1515 dt_print_aggdata_t *pd local
1847 dt_print_aggdata_t pd; local
1988 dtrace_probedesc_t *pd = data->dtpda_pdesc; local
2021 dtrace_probedesc_t *pd = data->dteda_pdesc; local
[all...]

Completed in 129 milliseconds

12