/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfstrtod.c | 42 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 D | sffcvt.c | 25 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 D | sfecvt.c | 25 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 D | sfvprintf.c | 112 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 D | doprnt.c | 211 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 D | printf.c | 145 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 D | nan.h | 120 #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 D | tokscan.c | 181 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 D | rctl.c | 471 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 D | zone.c | 2184 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.c | 44 __dtoll(double dval) in __dtoll() argument 61 u.d = dval; in __dtoll()
|
H A D | _ftoull.c | 47 __dtoull(double dval) in __dtoull() argument 65 u.d = dval; in __dtoull()
|
/illumos-gate/usr/src/lib/libpool/common/ |
H A D | pool_value.c | 292 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 D | pool_xml.c | 2298 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 D | pool_kernel.c | 3487 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 D | cpr.h | 214 #define CPR_DEBUG_BIT(dval) (1 << (dval - AD_CPR_DEBUG0 - 1)) argument
|
/illumos-gate/usr/src/lib/libc/port/print/ |
H A D | doprnt.c | 1298 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 D | poolcfg.l | 215 yylval.dval = strtod(yytext, (char **)NULL);
|
H A D | poolcfg.y | 195 double dval; member 220 %type <dval> PCV_VAL_FLOAT
|
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 414 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 D | jpool.c | 1695 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 D | picltree.c | 2677 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 D | svccfg_libscf.c | 8981 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()
|