/titanic_41/usr/src/lib/libast/common/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 1124 dval = argv.ld; 1130 dval = argv.d; 1171 if(dval == 0.) 1214 if(dval != 0.) 1228 *--ep = (decpt > 0 || dval == 0.) ? '+' : '-';
|
/titanic_41/usr/src/ucblib/libucb/port/stdio/ |
H A D | doprnt.c | 213 double dval; in _doprnt() local 689 dval = va_arg(args.ap, double); in _doprnt() 692 if (IsNANorINF(dval)) { in _doprnt() 693 if (IsINF(dval)) { in _doprnt() 694 if (IsNegNAN(dval)) in _doprnt() 701 if (IsNegNAN(dval)) in _doprnt() 704 val = GETNaNPC(dval); in _doprnt() 719 bp = ecvt(dval, min(prec + 1, MAXECVT), &decpt, &sign); in _doprnt() 757 if (dval != 0) { in _doprnt() 771 *--suffix = (decpt > 0 || dval == 0) ? '+' : '-'; in _doprnt() [all …]
|
/titanic_41/usr/src/cmd/csh/ |
H A D | printf.c | 147 double dval; in _print() local 437 dval = va_arg(*args, double); in _print() 440 bp = ecvt(dval, in _print() 476 if (dval != 0) { in _print() 493 *--suffix = (decpt > 0 || dval == 0) ? in _print() 518 dval = va_arg(*args, double); in _print() 521 bp = fcvt(dval, in _print() 592 dval = va_arg(*args, double); in _print() 595 bp = ecvt(dval, in _print() 599 if (dval == 0) { in _print()
|
/titanic_41/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)
|
/titanic_41/usr/src/lib/libast/common/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()
|
/titanic_41/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 | 2076 rctl_val_t *dval; in zone_init() local 2135 dval = kmem_cache_alloc(rctl_val_cache, KM_SLEEP); in zone_init() 2136 bzero(dval, sizeof (rctl_val_t)); in zone_init() 2137 dval->rcv_value = 1; in zone_init() 2138 dval->rcv_privilege = RCPRIV_PRIVILEGED; in zone_init() 2139 dval->rcv_flagaction = RCTL_LOCAL_NOACTION; in zone_init() 2140 dval->rcv_action_recip_pid = -1; in zone_init() 2143 (void) rctl_val_list_insert(&rde->rcd_default_value, dval); in zone_init()
|
/titanic_41/usr/src/lib/libbc/libc/stdio/common/ |
H A D | doprnt.c | 158 double dval; in _doprnt() local 696 dval = va_arg(args.ap, double); in _doprnt() 697 bp = econvert(dval, prec + 1, &decpt, &sign, convertbuffer); in _doprnt() 786 dval = va_arg(args.ap, double); in _doprnt() 787 bp = fconvert(dval, prec, &decpt, &sign, convertbuffer); in _doprnt() 865 dval = va_arg(args.ap, double); in _doprnt() 866 bp = gconvert(dval, prec, fsharp, convertbuffer); in _doprnt()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | _ftoull.c | 49 __dtoull(double dval) in __dtoull() argument 67 u.d = dval; in __dtoull()
|
H A D | _ftoll.c | 46 __dtoll(double dval) in __dtoll() argument 63 u.d = dval; in __dtoll()
|
/titanic_41/usr/src/lib/libpool/common/ |
H A D | pool_value.c | 294 double dval; in pool_value_from_nvpair() local 314 (void) memcpy(&dval, dval_b, sizeof (double)); in pool_value_from_nvpair() 315 pool_value_set_double(pv, dval); in pool_value_from_nvpair()
|
H A D | pool_xml.c | 2306 double dval; in pool_build_xpath_buf() local 2361 (void) pool_value_get_double(props[i], &dval); in pool_build_xpath_buf() 2362 if (append_char_buf(cb, fmts[pvc], prop_name, dval) in pool_build_xpath_buf()
|
H A D | pool_kernel.c | 3488 double dval; in pool_knl_nvlist_add_value() local 3521 if (pool_value_get_double(pv, &dval) == POC_INVAL) { in pool_knl_nvlist_add_value() 3528 (void) memcpy(dval_b, &dval, sizeof (double)); in pool_knl_nvlist_add_value()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | cpr.h | 214 #define CPR_DEBUG_BIT(dval) (1 << (dval - AD_CPR_DEBUG0 - 1)) argument
|
/titanic_41/usr/src/lib/libc/port/print/ |
H A D | doprnt.c | 1297 double dval = va_arg(args.ap, double); in _wndoprnt() local 1303 FPCONV(__aconvert, dval, in _wndoprnt() 1422 double dval = va_arg(args.ap, double); in _wndoprnt() local 1424 FPCONV(econvert, dval, in _wndoprnt() 1535 double dval = va_arg(args.ap, double); in _wndoprnt() local 1537 FPCONV(fconvert, dval, min(prec, MAXFCVT), in _wndoprnt() 1616 double dval = va_arg(args.ap, double); in _wndoprnt() local 1618 FPCONV(econvert, dval, min(prec, MAXECVT), in _wndoprnt()
|
/titanic_41/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.l | 213 yylval.dval = strtod(yytext, (char **)NULL);
|
H A D | poolcfg.y | 197 double dval; member 222 %type <dval> PCV_VAL_FLOAT
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/pools/poold/libjpool/ |
H A D | jpool.c | 1616 double dval; in pool_property_walker() local 1640 (void) pool_value_get_double(pv, &dval); in pool_property_walker() 1641 (void) pool_value_set_double(pv_new, dval); in pool_property_walker()
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_libscf.c | 8967 const char *name, const char *dval) in set_attr_from_prop_default() argument 8993 if (dval == NULL || strcmp(str, dval) != 0) in set_attr_from_prop_default()
|