/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
fpformat.py | 64 def roundfrac(intpart, fraction, digs):
65 """Round or extend the fraction to size digs."""
67 if f <= digs:
68 return intpart, fraction + '0'*(digs-f)
70 if i+digs < 0:
71 return '0'*-digs, ''
73 nextdigit = total[i+digs]
75 n = i + digs - 1
85 if digs >= 0:
86 return intpart, fraction[:digs]
[all...] |
/external/python/cpython2/Lib/ |
fpformat.py | 64 def roundfrac(intpart, fraction, digs): 65 """Round or extend the fraction to size digs.""" 67 if f <= digs: 68 return intpart, fraction + '0'*(digs-f) 70 if i+digs < 0: 71 return '0'*-digs, '' 73 nextdigit = total[i+digs] 75 n = i + digs - 1 85 if digs >= 0: 86 return intpart, fraction[:digs] [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
fpformat.py | 64 def roundfrac(intpart, fraction, digs): 65 """Round or extend the fraction to size digs.""" 67 if f <= digs: 68 return intpart, fraction + '0'*(digs-f) 70 if i+digs < 0: 71 return '0'*-digs, '' 73 nextdigit = total[i+digs] 75 n = i + digs - 1 85 if digs >= 0: 86 return intpart, fraction[:digs] [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
fpformat.py | 64 def roundfrac(intpart, fraction, digs): 65 """Round or extend the fraction to size digs.""" 67 if f <= digs: 68 return intpart, fraction + '0'*(digs-f) 70 if i+digs < 0: 71 return '0'*-digs, '' 73 nextdigit = total[i+digs] 75 n = i + digs - 1 85 if digs >= 0: 86 return intpart, fraction[:digs] [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
fpformat.py | 64 def roundfrac(intpart, fraction, digs): 65 """Round or extend the fraction to size digs.""" 67 if f <= digs: 68 return intpart, fraction + '0'*(digs-f) 70 if i+digs < 0: 71 return '0'*-digs, '' 73 nextdigit = total[i+digs] 75 n = i + digs - 1 85 if digs >= 0: 86 return intpart, fraction[:digs] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fpformat.py | 64 def roundfrac(intpart, fraction, digs): 65 """Round or extend the fraction to size digs.""" 67 if f <= digs: 68 return intpart, fraction + '0'*(digs-f) 70 if i+digs < 0: 71 return '0'*-digs, '' 73 nextdigit = total[i+digs] 75 n = i + digs - 1 85 if digs >= 0: 86 return intpart, fraction[:digs] [all...] |
/prebuilts/go/darwin-x86/src/strconv/ |
ftoa.go | 105 var digs decimalSlice 114 digs.d = buf[:] 115 ok = f.ShortestDecimal(&digs, &lower, &upper) 122 prec = max(digs.nd-1, 0) 124 prec = max(digs.nd-digs.dp, 0) 126 prec = digs.nd 143 digs.d = buf[:] 145 ok = f.FixedDecimal(&digs, digits) 151 return formatDigits(dst, shortest, neg, digs, prec, fmt [all...] |
/prebuilts/go/linux-x86/src/strconv/ |
ftoa.go | 105 var digs decimalSlice 114 digs.d = buf[:] 115 ok = f.ShortestDecimal(&digs, &lower, &upper) 122 prec = max(digs.nd-1, 0) 124 prec = max(digs.nd-digs.dp, 0) 126 prec = digs.nd 143 digs.d = buf[:] 145 ok = f.FixedDecimal(&digs, digits) 151 return formatDigits(dst, shortest, neg, digs, prec, fmt [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/ |
actions.rb | 211 nums returns [ds]: digs+=DIGIT+ 212 { $ds = $digs.map { |t| t.value } };
|
/prebuilts/go/darwin-x86/src/hash/ |
example_test.go | 17 input1 = "The tunneling gopher digs downwards, "
|
/prebuilts/go/linux-x86/src/hash/ |
example_test.go | 17 input1 = "The tunneling gopher digs downwards, "
|
/toolchain/binutils/binutils-2.27/bfd/ |
verilog.c | 63 static const char digs[] = "0123456789ABCDEF"; variable 68 d[1] = digs[(x) & 0xf]; \ 69 d[0] = digs[((x) >> 4) & 0xf];
|
tekhex.c | 86 static const char digs[] = "0123456789ABCDEF"; variable 95 (d)[1] = digs[(x) & 0xf]; \ 96 (d)[0] = digs[((x)>>4)&0xf]; 725 *p++ = digs[(value >> shift) & 0xf]; 759 *p++ = digs[len];
|
ihex.c | 720 static const char digs[] = "0123456789ABCDEF"; local 728 ((buf)[0] = digs[((v) >> 4) & 0xf], (buf)[1] = digs[(v) & 0xf])
|
srec.c | 113 static const char digs[] = "0123456789ABCDEF"; variable 118 d[1] = digs[(x) & 0xf]; \ 119 d[0] = digs[((x)>>4)&0xf]; \ [all...] |
/external/wpa_supplicant_8/src/tls/ |
libtommath.c | 141 static int s_mp_mul_digs (mp_int * a, mp_int * b, mp_int * c, int digs); 143 static int s_mp_mul_high_digs(mp_int * a, mp_int * b, mp_int * c, int digs); 146 static int fast_s_mp_mul_digs (mp_int * a, mp_int * b, mp_int * c, int digs); 518 int digs = a->used + b->used + 1; local 520 if ((digs < MP_WARRAY) && 523 res = fast_s_mp_mul_digs (a, b, c, digs); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Enquire/ |
Enquire.c | 2781 mantbits, digs, f_dig, trap, local [all...] |
/external/dnsmasq/src/ |
rfc1035.c | 95 unsigned int count, digs; local 106 digs = ((count-1)>>2)+1; 108 /* output is \[x<hex>/siz]. which is digs+9 chars */ 109 if (cp - (unsigned char *)name + digs + 9 >= MAXDNAME) 117 for (j=0; j<digs; j++) [all...] |
option.c | 643 int i, addrs, digs, is_addr, is_hex, is_dec, is_string, dots; local 714 addrs = digs = 1; 724 digs++; 768 if (is_hex && digs > 1) 770 new->len = digs; 772 parse_hex(comma, new->val, digs, (flags & DHOPT_MATCH) ? &new->u.wildcard_mask : NULL, NULL); [all...] |
/external/stressapptest/ |
configure | [all...] |