| /openbmc/qemu/libdecnumber/ |
| H A D | decNumber.c | 358 dn->digits=decGetDigits(dn->lsu, up-dn->lsu); in decNumberFromUInt32() 378 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0) ; /* bad */ in decNumberToInt32() 391 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in decNumberToInt32() 413 if (dn->bits&DECSPECIAL || dn->digits>10 || dn->exponent!=0 in decNumberToUInt32() 427 for (d=DECDPUN; d<dn->digits; up++, d+=DECDPUN) hi+=*up*powers[d-1]; in decNumberToUInt32() 462 dn->digits = decGetDigits(dn->lsu, up-dn->lsu); in decNumberFromUInt64() 497 dn->digits = decGetDigits(dn->lsu, up - dn->lsu); in decNumberFromUInt128() 516 (dn->digits + dn->exponent > 19)) { in decNumberIntegralToInt64() 524 for (d = 1; d <= dn->digits; up++, d += DECDPUN) { in decNumberIntegralToInt64() 565 (dn->digits + dn->exponent > 39)) { in decNumberIntegralToInt128() [all …]
|
| H A D | decContext.c | 93 context->digits=9; /* 9 digits */ in decContextDefault() 108 context->digits=7; /* digits */ in decContextDefault() 119 context->digits=16; /* digits */ in decContextDefault() 130 context->digits=34; /* digits */ in decContextDefault()
|
| /openbmc/qemu/libdecnumber/dpd/ |
| H A D | decimal64.c | 105 ae=dn->exponent+dn->digits-1; /* [0 if special] */ in decimal64FromNumber() 106 if (dn->digits>DECIMAL64_Pmax /* too many digits */ in decimal64FromNumber() 121 if ((*dn->lsu!=0 || dn->digits>1) /* non-zero coefficient */ in decimal64FromNumber() 122 && (dn->digits<DECIMAL64_Pmax)) { /* coefficient fits */ in decimal64FromNumber() 162 Int d=dn->digits; in decimal64FromNumber() 167 if (dn->digits>6) { in decimal64FromNumber() 619 Int digits=dn->digits; /* digit countdown */ in decDigitsToDPD() local 638 source=dn->lsu+D2U(digits)-1; /* where msu comes from */ in decDigitsToDPD() 639 target=uar+D2U(digits)-1+D2U(shift);/* where upper part of first cut goes */ in decDigitsToDPD() 645 first=uar+D2U(digits+shift)-1; /* where msu will end up */ in decDigitsToDPD() [all …]
|
| H A D | decimal32.c | 97 ae=dn->exponent+dn->digits-1; /* [0 if special] */ in decimal32FromNumber() 98 if (dn->digits>DECIMAL32_Pmax /* too many digits */ in decimal32FromNumber() 113 if ((*dn->lsu!=0 || dn->digits>1) /* non-zero coefficient */ in decimal32FromNumber() 114 && (dn->digits<DECIMAL32_Pmax)) { /* coefficient fits */ in decimal32FromNumber() 153 if (dn->digits>3) targ|=(uInt)(BIN2DPD[dn->lsu[1]])<<10; in decimal32FromNumber() 154 msd=(dn->digits==7 ? dn->lsu[2] : 0); in decimal32FromNumber()
|
| H A D | decimal128.c | 101 ae=dn->exponent+dn->digits-1; /* [0 if special] */ in decimal128FromNumber() 102 if (dn->digits>DECIMAL128_Pmax /* too many digits */ in decimal128FromNumber() 117 if ((*dn->lsu!=0 || dn->digits>1) /* non-zero coefficient */ in decimal128FromNumber() 118 && (dn->digits<DECIMAL128_Pmax)) { /* coefficient fits */ in decimal128FromNumber()
|
| /openbmc/u-boot/include/ |
| H A D | debug_uart.h | 153 static inline void printhex(uint value, int digits) \ 155 while (digits-- > 0) \ 156 printhex1(value >> (4 * digits)); \
|
| H A D | vsprintf.h | 211 void print_grouped_ull(unsigned long long int_val, int digits);
|
| /openbmc/u-boot/lib/libavb/ |
| H A D | avb_cmdline.c | 140 char digits[AVB_MAX_DIGITS_UINT64]) { in uint64_to_base10() 152 digits[n] = rev_digits[num_digits - 1 - n]; in uint64_to_base10() 154 digits[n] = '\0'; in uint64_to_base10() 180 char digits[AVB_MAX_DIGITS_UINT64]; in cmdline_append_uint64_base10() local 181 uint64_to_base10(value, digits); in cmdline_append_uint64_base10() 182 return cmdline_append_option(slot_data, key, digits); in cmdline_append_uint64_base10()
|
| /openbmc/u-boot/lib/ |
| H A D | vsprintf.c | 162 static const char digits[16] = "0123456789ABCDEF"; in number() local 212 tmp[i++] = (digits[((unsigned char)num) & mask] in number() 366 int i, digits; in ip4_addr_string() local 369 digits = put_dec_trunc(temp, addr[i]) - temp; in ip4_addr_string() 371 while (digits--) in ip4_addr_string() 372 *p++ = temp[digits]; in ip4_addr_string() 843 void print_grouped_ull(unsigned long long int_val, int digits) in print_grouped_ull() argument 848 digits = (digits + 2) / 3; in print_grouped_ull() 849 sprintf(str, "%*llu", digits * 3, int_val); in print_grouped_ull()
|
| H A D | tiny-printf.c | 130 int i, digits; in ip4_addr_string() local 133 digits = put_dec_trunc(temp, addr[i]) - temp; in ip4_addr_string() 135 while (digits--) in ip4_addr_string() 136 *p++ = temp[digits]; in ip4_addr_string()
|
| /openbmc/qemu/target/ppc/ |
| H A D | dfp_helper.c | 583 leftmost_is_nonzero = (dfp.a.digits == nzero_digits) && \ 662 unsigned nsd = dfp.b.digits; \ 697 unsigned nsd = dfp.b.digits; \ 783 if (unlikely((ref_sig == 0) || (dfp->b.digits <= ref_sig))) { in _dfp_reround() 796 dfp->a.exponent = dfp->b.exponent + dfp->b.digits - ref_sig; in _dfp_reround() 799 dfp->t.digits = 0; in _dfp_reround() 808 msd_orig = dfp_get_digit(&dfp->b, dfp->b.digits-1); in _dfp_reround() 809 msd_rslt = dfp_get_digit(&dfp->t, dfp->t.digits-1); in _dfp_reround() 824 dfp->t.digits = 0; in _dfp_reround() 1110 uint8_t digits[34]; \ [all …]
|
| /openbmc/qemu/tests/multiboot/ |
| H A D | libc.c | 51 char digits[] = "0123456789abcdef"; in print_num() local 56 buf[i--] = digits[value % base]; in print_num()
|
| /openbmc/qemu/tests/tcg/minilib/ |
| H A D | printf.c | 30 static const char digits[] = "0123456789abcdef"; in print_num() local 40 buf[i--] = digits[value % base]; in print_num()
|
| /openbmc/sdbusplus/tools/sdbusplus/ |
| H A D | servicename.py | 31 if s[0] in string.digits:
|
| /openbmc/openbmc/poky/meta/recipes-support/vte/vte/ |
| H A D | 0004-fast_float-Add-single-header-library-for-from_char-i.patch | 1133 +// Call this if chars are definitely 8 digits. 1152 +// Call this if chars might not be 8 digits. 1248 + // [JSON-only] If there is a decimal point, there must be digits in the 1264 + // contains the range of the significant digits 1283 +// Assuming that you use no more than 19 digits, this will 1352 + // for integers with many digits, digit parsing is the primary bottleneck. 1425 + // If we frequently had to deal with long strings of digits, 1429 + // We can deal with up to 19 digits. 2361 +// for significant digits already multiplied by 10 ** q. 2534 +// `log2(10**(digits + max_exp))`, or `log2(10**(767 + 342))`, or [all …]
|
| /openbmc/u-boot/common/ |
| H A D | hash.c | 484 int digits = algo->digest_size * 2; in parse_verify_sum() local 491 if (strlen(verify_str) == digits) in parse_verify_sum() 495 if (vsum_str == NULL || strlen(vsum_str) != digits) { in parse_verify_sum() 497 digits); in parse_verify_sum()
|
| /openbmc/openbmc/poky/meta/recipes-devtools/dosfstools/dosfstools/ |
| H A D | source-date-epoch.patch | 59 + die("SOURCE_DATE_EPOCH is too big or contains non-digits: \"%s\"", 99 + die("SOURCE_DATE_EPOCH is too big or contains non-digits: \"%s\"", 149 + die("SOURCE_DATE_EPOCH is too big or contains non-digits: \"%s\"",
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | pldm_utils.py | 170 data = string.ascii_uppercase + string.digits 176 data = string.ascii_uppercase + string.digits
|
| /openbmc/phosphor-settingsd/ |
| H A D | README.txt | 15 followed by any number of digits. The name should be at the end of the path.
|
| /openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
| H A D | slot-hsc-fault | 8 local digits="0123456789ABCDEF"
|
| H A D | medusa-hsc-alert | 8 local digits="0123456789ABCDEF"
|
| H A D | medusa-hsc-fault | 10 local digits="0123456789ABCDEF"
|
| H A D | medusa-power-module-fault | 8 local digits="0123456789ABCDEF"
|
| /openbmc/bmcweb/http/routing/ |
| H A D | baserule.hpp | 90 static_assert(std::numeric_limits<decltype(methodsBitfield)>::digits >
|
| /openbmc/qemu/include/libdecnumber/ |
| H A D | decNumber.h | 81 int32_t digits; /* Count of digits in the coefficient; >0 */ member 200 && (dn)->digits==1 \
|