Home
last modified time | relevance | path

Searched refs:dval (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfstrtod.c42 Sfdouble_t dval; local
55 { dval = .0001;
57 dval /= 10.;
60 { dval = 10000.;
62 dval *= 10.;
65 return dval;
78 Sfdouble_t dval; local
97 dval = 0.;
113 if(dval == 0.)
114 dval = (Sfdouble_t)n;
[all …]
H A Dsffcvt.c25 char *sffcvt(double dval, int n_digit, int* decpt, int* sign) in sffcvt() argument
27 char *sffcvt(dval,n_digit,decpt,sign) in sffcvt()
28 double dval; /* value to convert */ in sffcvt()
37 return _sfcvt(&dval,buf,sizeof(buf),n_digit,decpt,sign,&len,0);
H A Dsfecvt.c25 char* sfecvt(double dval, int n_digit, int* decpt, int* sign) in sfecvt() argument
27 char* sfecvt(dval,n_digit,decpt,sign) in sfecvt()
28 double dval; /* value to convert */ in sfecvt()
37 return _sfcvt(&dval,buf,sizeof(buf),n_digit,decpt,sign,&len,SFFMT_EFORMAT);
H A Dsfvprintf.c112 Sfdouble_t dval; local
1174 dval = argv.ld;
1180 dval = argv.d;
1223 if(dval == 0.)
1268 if(dval != 0.)
1282 *--ep = (decpt > 0 || dval == 0.) ? '+' : '-';
/illumos-gate/usr/src/ucblib/libucb/port/stdio/
H A Ddoprnt.c211 double dval; in _doprnt() local
687 dval = va_arg(args.ap, double); in _doprnt()
690 if (IsNANorINF(dval)) { in _doprnt()
691 if (IsINF(dval)) { in _doprnt()
692 if (IsNegNAN(dval)) in _doprnt()
699 if (IsNegNAN(dval)) in _doprnt()
702 val = GETNaNPC(dval); in _doprnt()
717 bp = ecvt(dval, min(prec + 1, MAXECVT), &decpt, &sign); in _doprnt()
755 if (dval != 0) { in _doprnt()
769 *--suffix = (decpt > 0 || dval == 0) ? '+' : '-'; in _doprnt()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dprintf.c145 double dval; in _print() local
435 dval = va_arg(*args, double); in _print()
438 bp = ecvt(dval, in _print()
474 if (dval != 0) { in _print()
491 *--suffix = (decpt > 0 || dval == 0) ? in _print()
516 dval = va_arg(*args, double); in _print()
519 bp = fcvt(dval, in _print()
590 dval = va_arg(*args, double); in _print()
593 bp = ecvt(dval, in _print()
597 if (dval == 0) { in _print()
/illumos-gate/usr/src/head/
H A Dnan.h120 #define GETNaNPC(dval) (((dnan *)&(dval))->inf_parts.bits << 12 | \ argument
121 ((dnan *)&(dval))->nan_parts.fraction_low >> 20)
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dtokscan.c181 double dval; in tokscan() local
300 dval = 0; in tokscan()
303 else dval = strtod(s, &p_char); in tokscan()
304 if (p_double = va_arg(ap, double*)) *p_double = dval; in tokscan()
/illumos-gate/usr/src/uts/common/os/
H A Drctl.c471 rctl_val_t *dval; in rctl_add_default_limit() local
474 dval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in rctl_add_default_limit()
475 bzero(dval, sizeof (rctl_val_t)); in rctl_add_default_limit()
476 dval->rcv_value = value; in rctl_add_default_limit()
477 dval->rcv_privilege = privilege; in rctl_add_default_limit()
478 dval->rcv_flagaction = action; in rctl_add_default_limit()
479 dval->rcv_action_recip_pid = -1; in rctl_add_default_limit()
482 (void) rctl_val_list_insert(&rde->rcd_default_value, dval); in rctl_add_default_limit()
870 rctl_val_t *dval = rctl_gp_detach_val(ragp); in rctl_val_list_dup() local
872 bcopy(rval, dval, sizeof (rctl_val_t)); in rctl_val_list_dup()
[all …]
H A Dzone.c2184 rctl_val_t *dval; in zone_init() local
2243 dval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in zone_init()
2244 bzero(dval, sizeof (rctl_val_t)); in zone_init()
2245 dval->rcv_value = 1; in zone_init()
2246 dval->rcv_privilege = RCPRIV_PRIVILEGED; in zone_init()
2247 dval->rcv_flagaction = RCTL_LOCAL_NOACTION; in zone_init()
2248 dval->rcv_action_recip_pid = -1; in zone_init()
2251 (void) rctl_val_list_insert(&rde->rcd_default_value, dval); in zone_init()
/illumos-gate/usr/src/lib/libc/port/gen/
H A D_ftoll.c44 __dtoll(double dval) in __dtoll() argument
61 u.d = dval; in __dtoll()
H A D_ftoull.c47 __dtoull(double dval) in __dtoull() argument
65 u.d = dval; in __dtoull()
/illumos-gate/usr/src/lib/libpool/common/
H A Dpool_value.c292 double dval; in pool_value_from_nvpair() local
312 (void) memcpy(&dval, dval_b, sizeof (double)); in pool_value_from_nvpair()
313 pool_value_set_double(pv, dval); in pool_value_from_nvpair()
H A Dpool_xml.c2298 double dval; in pool_build_xpath_buf() local
2353 (void) pool_value_get_double(props[i], &dval); in pool_build_xpath_buf()
2354 if (append_char_buf(cb, fmts[pvc], prop_name, dval) in pool_build_xpath_buf()
H A Dpool_kernel.c3487 double dval; in pool_knl_nvlist_add_value() local
3520 if (pool_value_get_double(pv, &dval) == POC_INVAL) { in pool_knl_nvlist_add_value()
3527 (void) memcpy(dval_b, &dval, sizeof (double)); in pool_knl_nvlist_add_value()
/illumos-gate/usr/src/uts/common/sys/
H A Dcpr.h214 #define CPR_DEBUG_BIT(dval) (1 << (dval - AD_CPR_DEBUG0 - 1)) argument
/illumos-gate/usr/src/lib/libc/port/print/
H A Ddoprnt.c1298 double dval = va_arg(args.ap, double); in _wndoprnt() local
1304 FPCONV(__aconvert, dval, in _wndoprnt()
1423 double dval = va_arg(args.ap, double); in _wndoprnt() local
1425 FPCONV(econvert, dval, in _wndoprnt()
1536 double dval = va_arg(args.ap, double); in _wndoprnt() local
1538 FPCONV(fconvert, dval, min(prec, MAXFCVT), in _wndoprnt()
1617 double dval = va_arg(args.ap, double); in _wndoprnt() local
1619 FPCONV(econvert, dval, min(prec, MAXECVT), in _wndoprnt()
/illumos-gate/usr/src/cmd/pools/poolcfg/
H A Dpoolcfg.l215 yylval.dval = strtod(yytext, (char **)NULL);
H A Dpoolcfg.y195 double dval; member
220 %type <dval> PCV_VAL_FLOAT
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c414 double dval; in validate_size_and_cvt_val() local
483 dval = strtod(val, &endptr); in validate_size_and_cvt_val()
486 (void) memcpy(outbuf, &dval, size); in validate_size_and_cvt_val()
/illumos-gate/usr/src/cmd/pools/poold/libjpool/
H A Djpool.c1695 double dval; in pool_property_walker() local
1719 (void) pool_value_get_double(pv, &dval); in pool_property_walker()
1720 (void) pool_value_set_double(pv_new, dval); in pool_property_walker()
/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.c2677 double dval; in prop_match() local
2729 dval = strtod(val, (char **)NULL); in prop_match()
2730 return (dval == *(double *)vbuf); in prop_match()
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c8981 const char *name, const char *dval) in set_attr_from_prop_default() argument
9007 if (dval == NULL || strcmp(str, dval) != 0) in set_attr_from_prop_default()