/external/libjpeg-turbo/java/ |
TJUnitTest.java | 160 int index, row, col, halfway = 16; local 171 buf[index] = (row < halfway) ? (byte)255 : 0; 173 buf[index] = (row < halfway) ? 76 : (byte)226; 187 if (row >= halfway) buf[index * ps + 3] = 0; 190 if (row < halfway) 206 if (row < halfway) { 213 if (row >= halfway) 228 int index, row, col, halfway = 16; local 238 if (row < halfway) { 245 if (row >= halfway) 313 int halfway = 16 * sf.getNum() \/ sf.getDenom(); local 436 int halfway = 16 * sf.getNum() \/ sf.getDenom(); local 546 int halfway = 16 * sf.getNum() \/ sf.getDenom(); local [all...] |
/external/libvncserver/test/ |
tjunittest.c | 79 int index, row, col, halfway=16; local 90 if(((row/8)+(col/8))%2==0) buf[index]=(row<halfway)? 255:0; 91 else buf[index]=(row<halfway)? 76:226; 105 if(row<halfway) 115 if(row>=halfway) buf[index*ps+goffset]=255; 152 int halfway=16*sf.num/sf.denom; local 168 if(row<halfway) 181 if(row<halfway) 192 if(row<halfway)
|
/external/libjpeg-turbo/ |
tjunittest.c | 94 int index, row, col, halfway=16; local 105 if(((row/8)+(col/8))%2==0) buf[index]=(row<halfway)? 255:0; 106 else buf[index]=(row<halfway)? 76:226; 121 if(row>=halfway) buf[index*ps+3]=0; 126 if(row<halfway) buf[index*ps+1]=0; 142 if(row<halfway) 152 if(row>=halfway) buf[index*ps+goffset]=255; 189 int halfway=16*sf.num/sf.denom; local 208 if(row<halfway) checkval255(k) 214 if(row<halfway) checkval0(m 306 int halfway=16*sf.num\/sf.denom; local 326 int halfway=16\/vsf*sf.num\/sf.denom; local [all...] |
/prebuilts/go/darwin-x86/src/strconv/ |
atof_test.go | 127 // Exactly halfway between 1 and math.Nextafter(1, 2). 139 // Exactly halfway between 1 and the next float32. 181 // The halfway is 4.951760009. A bad algorithm that thinks the previous
|
decimal.go | 337 if a.d[nd] == '5' && nd+1 == a.nd { // exactly halfway - round to even 344 // not halfway - digit tells all
|
/prebuilts/go/linux-x86/src/strconv/ |
atof_test.go | 127 // Exactly halfway between 1 and math.Nextafter(1, 2). 139 // Exactly halfway between 1 and the next float32. 181 // The halfway is 4.951760009. A bad algorithm that thinks the previous
|
/prebuilts/go/darwin-x86/pkg/bootstrap/src/bootstrap/compile/internal/big/ |
rat_test.go | 665 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 669 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1) 702 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 706 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
|
decimal.go | 201 // exactly halfway - round to even 204 // not halfway - digit tells all (x.mant has no trailing zeros)
|
ratconv_test.go | 310 // Exactly halfway between 1 and math.Nextafter(1, 2). 327 // The exact halfway between smallest normal and largest denormal:
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/big/ |
rat_test.go | 662 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 666 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1) 699 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 703 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
|
decimal.go | 198 // exactly halfway - round to even 201 // not halfway - digit tells all (x.mant has no trailing zeros)
|
ratconv_test.go | 307 // Exactly halfway between 1 and math.Nextafter(1, 2). 324 // The exact halfway between smallest normal and largest denormal:
|
/prebuilts/go/darwin-x86/src/math/big/ |
rat_test.go | 662 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 666 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1) 699 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 703 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
|
decimal.go | 198 // exactly halfway - round to even 201 // not halfway - digit tells all (x.mant has no trailing zeros)
|
ratconv_test.go | 309 // Exactly halfway between 1 and math.Nextafter(1, 2). 326 // The exact halfway between smallest normal and largest denormal:
|
/prebuilts/go/linux-x86/pkg/bootstrap/src/bootstrap/compile/internal/big/ |
rat_test.go | 665 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 669 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1) 702 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 706 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
|
decimal.go | 201 // exactly halfway - round to even 204 // not halfway - digit tells all (x.mant has no trailing zeros)
|
ratconv_test.go | 310 // Exactly halfway between 1 and math.Nextafter(1, 2). 327 // The exact halfway between smallest normal and largest denormal:
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/big/ |
rat_test.go | 662 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 666 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1) 699 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 703 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
|
decimal.go | 198 // exactly halfway - round to even 201 // not halfway - digit tells all (x.mant has no trailing zeros)
|
ratconv_test.go | 307 // Exactly halfway between 1 and math.Nextafter(1, 2). 324 // The exact halfway between smallest normal and largest denormal:
|
/prebuilts/go/linux-x86/src/math/big/ |
rat_test.go | 662 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 666 t.Errorf("Rat(%v).Float32() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1) 699 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f0, f0) 703 t.Errorf("Rat(%v).Float64() = %g (%b); halfway should have rounded to %g (%b) instead", r, f, f, f1, f1)
|
decimal.go | 198 // exactly halfway - round to even 201 // not halfway - digit tells all (x.mant has no trailing zeros)
|
ratconv_test.go | 309 // Exactly halfway between 1 and math.Nextafter(1, 2). 326 // The exact halfway between smallest normal and largest denormal:
|
/prebuilts/go/darwin-x86/test/ |
float_lit2.go | 20 // f? is an odd mantissa, so the halfway point (f?+f?)/2 rounds to f? and is rejected. 21 // The halfway point is (f?+f?)/2 = 2¹²? - 2¹??.
|