/external/syslinux/com32/lib/syslinux/ |
serial.c | 43 uint16_t iobase, divisor, flowctl; local 45 firmware->get_serial_console_info(&iobase, &divisor, &flowctl); 48 __syslinux_serial_console_info.divisor = divisor;
|
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
LinearTranslation.java | 40 double divisor = in1 - in2; local 41 this.m = (out1 - out2) / divisor; 42 this.b = (in1 * out2 - in2 * out1) / divisor;
|
ShortDuration.java | 146 * value {@code divisor}, rounded according to {@code roundingMode} if necessary. 151 public abstract ShortDuration dividedBy(long divisor, RoundingMode roundingMode); 155 * divisor}, rounded according to {@code roundingMode} if necessary. 160 public abstract ShortDuration dividedBy(BigDecimal divisor, RoundingMode roundingMode); 181 @Override public ShortDuration dividedBy(long divisor, RoundingMode roundingMode) { 182 return dividedBy(new BigDecimal(divisor), roundingMode); 184 @Override public ShortDuration dividedBy(BigDecimal divisor, RoundingMode roundingMode) { 185 checkArgument(divisor.compareTo(BigDecimal.ZERO) != 0); 215 BigDecimal divisor = ONE_IN_PICOS.get(unit); local 216 return toLong(new BigDecimal(picos).divide(divisor), roundingMode) 275 BigDecimal divisor = ONE_IN_PICOS.get(bestUnit); local [all...] |
/external/compiler-rt/test/builtins/Unit/ |
divdc3_test.c | 56 double _Complex divisor; local 60 __real__ divisor = c; local 61 __imag__ divisor = d; local 66 switch (classify(divisor)) 91 switch (classify(divisor)) 122 switch (classify(divisor)) 147 switch (classify(divisor)) 172 switch (classify(divisor))
|
divsc3_test.c | 56 float _Complex divisor; local 60 __real__ divisor = c; local 61 __imag__ divisor = d; local 66 switch (classify(divisor)) 91 switch (classify(divisor)) 122 switch (classify(divisor)) 147 switch (classify(divisor)) 172 switch (classify(divisor))
|
divtc3_test.c | 58 long double _Complex divisor; local 62 __real__ divisor = c; local 63 __imag__ divisor = d; local 68 switch (classify(divisor)) 93 switch (classify(divisor)) 124 switch (classify(divisor)) 149 switch (classify(divisor)) 174 switch (classify(divisor))
|
divxc3_test.c | 58 long double _Complex divisor; local 62 __real__ divisor = c; local 63 __imag__ divisor = d; local 68 switch (classify(divisor)) 93 switch (classify(divisor)) 124 switch (classify(divisor)) 149 switch (classify(divisor)) 174 switch (classify(divisor))
|
muldc3_test.c | 56 double _Complex divisor; local 60 __real__ divisor = c; local 61 __imag__ divisor = d; local 66 switch (classify(divisor)) 91 switch (classify(divisor)) 118 switch (classify(divisor)) 143 switch (classify(divisor)) 168 switch (classify(divisor))
|
mulsc3_test.c | 56 float _Complex divisor; local 60 __real__ divisor = c; local 61 __imag__ divisor = d; local 66 switch (classify(divisor)) 91 switch (classify(divisor)) 122 switch (classify(divisor)) 147 switch (classify(divisor)) 172 switch (classify(divisor))
|
multc3_test.c | 59 long double _Complex divisor; local 63 __real__ divisor = c; local 64 __imag__ divisor = d; local 69 switch (classify(divisor)) 94 switch (classify(divisor)) 121 switch (classify(divisor)) 146 switch (classify(divisor)) 171 switch (classify(divisor))
|
mulxc3_test.c | 58 long double _Complex divisor; local 62 __real__ divisor = c; local 63 __imag__ divisor = d; local 68 switch (classify(divisor)) 93 switch (classify(divisor)) 120 switch (classify(divisor)) 145 switch (classify(divisor)) 170 switch (classify(divisor))
|
/external/eigen/test/ |
rand.cpp | 47 int divisor = int((range+1)/bins); local 52 hist( int((int64(r)-int64(x))/divisor) )++;
|
/prebuilts/go/darwin-x86/src/math/big/ |
natconv.go | 350 func (q nat) convertWords(s []byte, b Word, ndigits int, bb Word, table []divisor) { 357 // find divisor close to sqrt(q) if possible, but in any case < q 423 type divisor struct { type 424 bbb nat // divisor 425 nbits int // bit length of divisor (discounting leading zeros) ~= log2(bbb) 426 ndigits int // digit length of divisor in terms of output base digits 431 table [64]divisor // cached divisors for base 10 440 func divisors(m int, b Word, ndigits int, bb Word) []divisor { 453 var table []divisor // for b == 10, table overlaps with cacheBase10.table 458 table = make([]divisor, k) // create new table for this conversio [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
natconv.go | 350 func (q nat) convertWords(s []byte, b Word, ndigits int, bb Word, table []divisor) { 357 // find divisor close to sqrt(q) if possible, but in any case < q 423 type divisor struct { type 424 bbb nat // divisor 425 nbits int // bit length of divisor (discounting leading zeros) ~= log2(bbb) 426 ndigits int // digit length of divisor in terms of output base digits 431 table [64]divisor // cached divisors for base 10 440 func divisors(m int, b Word, ndigits int, bb Word) []divisor { 453 var table []divisor // for b == 10, table overlaps with cacheBase10.table 458 table = make([]divisor, k) // create new table for this conversio [all...] |
/system/bt/audio_a2dp_hw/test/ |
audio_a2dp_hw_test.cc | 129 // Compute the divisor and adjust the buffer size 130 const size_t divisor = (AUDIO_STREAM_OUTPUT_BUFFER_PERIODS * 16 * local 133 const size_t remainder = expected_buffer_size % divisor; 135 expected_buffer_size += divisor - remainder;
|
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
humanize_number.c | 52 int64_t divisor, max, post = 1; local 61 divisor = 1000; 71 divisor = 1024; 133 bytes /= divisor; 141 bytes /= divisor;
|
/external/syslinux/com32/libupload/ |
serial.c | 32 unsigned int divisor; local 58 divisor = 1; /* Default speed = 115200 bps */ 66 divisor = sci->divisor; 73 divisor = 115200/strtoul(argv[1], NULL, 0); 83 outb(0x83, port + LCR); /* Enable divisor access */ 86 outb(divisor, port + DLL); 87 outb(divisor >> 8, port + DLM); 102 if (dll != (uint8_t)divisor || 103 dlm != (uint8_t)(divisor >> 8) | [all...] |
/system/core/storaged/ |
storaged_utils.cpp | 81 unsigned long long divisor = stats->read_ticks * stats->io_ticks; local 85 (divisor >> 1)) / 86 divisor; 90 (divisor >> 1)) / 91 divisor; 94 unsigned long long divisor = stats->write_ticks * stats->io_ticks; local 98 (divisor >> 1)) / 99 divisor; 103 (divisor >> 1)) / 104 divisor; [all...] |
/art/runtime/base/ |
time_utils.cc | 80 uint64_t divisor = GetNsToTimeUnitDivisor(time_unit); local 95 const uint64_t whole_part = nano_duration / divisor; 96 uint64_t fractional_part = nano_duration % divisor; 106 while (avail_digits > 1 && fractional_part * multiplier < divisor) {
|
timing_logger.cc | 204 uint64_t divisor = GetNsToTimeUnitDivisor(tu); local 205 uint64_t mod_fraction = divisor >= 1000 ? divisor / 1000 : 1;
|
/external/deqp/modules/gles31/functional/ |
es31fVertexAttributeBindingStateQueryTests.cpp | 319 const int divisor = rnd.getInt(0, 2047); local 321 gl.glVertexBindingDivisor(binding, divisor); 324 verifyStateIndexedInteger(result, gl, GL_VERTEX_BINDING_DIVISOR, binding, divisor, m_verifier);
|
/external/syslinux/com32/gdbstub/ |
serial.c | 129 int divisor, lcs; local 131 divisor = COMBRD; 137 divisor = 143 /* Set Baud Rate Divisor to COMSPEED, and test to see if the 155 uart_writeb(divisor & 0xff, UART_BASE + UART_DLL); 156 if (uart_readb(UART_BASE + UART_DLL) != (divisor & 0xff)) { 167 uart_writeb((divisor >> 8) & 0xff, UART_BASE + UART_DLM); 168 if (uart_readb(UART_BASE + UART_DLM) != ((divisor >> 8) & 0xff)) {
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedIntsTest.java | 151 int divisor = r.nextInt(); local 154 - (divisor * UnsignedInts.divide(dividend, divisor) + UnsignedInts.remainder(dividend, 155 divisor)) == 0);
|
UnsignedLongsTest.java | 139 long divisor = r.nextLong(); local 142 dividend - (divisor * UnsignedLongs.divide(dividend, divisor) 143 + UnsignedLongs.remainder(dividend, divisor)));
|
/external/libcups/cups/ |
pwg-media.c | 1142 divisor = 1, \/* Fractional divisor *\/ local [all...] |