Searched refs:divisor (Results 1 - 25 of 317) sorted by relevance

1234567891011>>

/external/syslinux/com32/lib/syslinux/
H A Dserial.c43 uint16_t iobase, divisor, flowctl; local
45 firmware->get_serial_console_info(&iobase, &divisor, &flowctl);
48 __syslinux_serial_console_info.divisor = divisor;
/external/tensorflow/tensorflow/contrib/lite/toco/
H A Dallocate_transient_arrays.h33 // Rounds up dividend to a value divisible by divisor.
35 std::size_t divisor) {
36 return ((dividend + divisor - 1) / divisor) * divisor;
34 RoundUpToNextMultipleOf(std::size_t dividend, std::size_t divisor) argument
/external/syslinux/com32/samples/
H A Dserialinfo.c39 printf("Serial port divisor: %5d", si->divisor);
40 if (si->divisor)
41 printf(" (%d baud)", 115200 / si->divisor);
/external/caliper/caliper/src/main/java/com/google/caliper/util/
H A DLinearTranslation.java40 double divisor = in1 - in2;
41 this.m = (out1 - out2) / divisor;
42 this.b = (in1 * out2 - in2 * out1) / divisor;
H A DShortDuration.java146 * value {@code divisor}, rounded according to {@code roundingMode} if necessary.
151 public abstract ShortDuration dividedBy(long divisor, RoundingMode roundingMode); argument
155 * divisor}, rounded according to {@code roundingMode} if necessary.
160 public abstract ShortDuration dividedBy(BigDecimal divisor, RoundingMode roundingMode); argument
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);
216 return toLong(new BigDecimal(picos).divide(divisor), roundingMod
242 dividedBy(long divisor, RoundingMode roundingMode) argument
246 dividedBy(BigDecimal divisor, RoundingMode roundingMode) argument
[all...]
/external/guava/guava/src/com/google/common/primitives/
H A DUnsignedLongs.java175 * Returns dividend / divisor, where the dividend and divisor are treated as unsigned 64-bit
179 * @param divisor the divisor (denominator)
180 * @throws ArithmeticException if divisor is 0
182 public static long divide(long dividend, long divisor) { argument
183 if (divisor < 0) { // i.e., divisor >= 2^63:
184 if (compare(dividend, divisor) < 0) {
185 return 0; // dividend < divisor
216 remainder(long dividend, long divisor) argument
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dint128.cc82 void uint128::DivModImpl(uint128 dividend, uint128 divisor, argument
84 if (divisor == 0) {
89 if (divisor > dividend) {
95 if (divisor == dividend) {
101 uint128 denominator = divisor;
125 uint128& uint128::operator/=(const uint128& divisor) { argument
128 DivModImpl(*this, divisor, &quotient, &remainder);
132 uint128& uint128::operator%=(const uint128& divisor) { argument
135 DivModImpl(*this, divisor, &quotient, &remainder);
143 // Select a divisor whic
[all...]
/external/syslinux/com32/libupload/
H A Dserial.c32 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 >>
[all...]
/external/compiler-rt/test/builtins/Unit/
H A Dmuldc3_test.c56 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))
H A Dmulxc3_test.c58 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))
H A Ddivdc3_test.c56 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))
H A Ddivsc3_test.c56 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))
H A Ddivtc3_test.c58 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))
H A Ddivxc3_test.c58 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))
H A Dmulsc3_test.c56 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))
H A Dmultc3_test.c59 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))
/external/icu/icu4c/source/i18n/
H A Dgregoimp.cpp43 double ClockMath::floorDivide(double dividend, double divisor, argument
46 U_ASSERT(divisor > 0);
47 double quotient = floorDivide(dividend, divisor);
48 remainder = dividend - (quotient * divisor);
52 if (remainder < 0 || remainder >= divisor) {
70 remainder = dividend - (quotient * divisor);
73 U_ASSERT(0 <= remainder && remainder < divisor);
/external/syslinux/com32/gdbstub/
H A Dserial.c129 int divisor, lcs; local
131 divisor = COMBRD;
137 divisor =
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/syslinux/gpxe/src/core/
H A Dserial.c150 int divisor, lcs; local
154 divisor = COMBRD;
161 divisor = (uart_readb(UART_BASE + UART_DLM) << 8) | uart_readb(UART_BASE + UART_DLL);
179 uart_writeb(divisor & 0xff, UART_BASE + UART_DLL);
180 if (uart_readb(UART_BASE + UART_DLL) != (divisor & 0xff)) {
194 uart_writeb((divisor >> 8) & 0xff, UART_BASE + UART_DLM);
195 if (uart_readb(UART_BASE + UART_DLM) != ((divisor >> 8) & 0xff)) {
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DNFSubstitution.java219 * Set's the substitution's divisor. Used by NFRule.setBaseValue().
222 * @param radix The radix of the divisor
223 * @param exponent The exponent of the divisor
476 // times the rule's divisor (or the rule's base value) plus
657 * divisor and formats the quotient. Represented by &lt;&lt; in normal
666 * The divisor of the rule that owns this substitution.
668 long divisor; field in class:MultiplierSubstitution
677 * also maintains its own copy of its rule's divisor.
689 // the owning rule's divisor affects the behavior of this
691 // rule, we keep a copy of the divisor
819 long divisor; field in class:ModulusSubstitution
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DNFSubstitution.java218 * Set's the substitution's divisor. Used by NFRule.setBaseValue().
221 * @param radix The radix of the divisor
222 * @param exponent The exponent of the divisor
475 // times the rule's divisor (or the rule's base value) plus
656 * divisor and formats the quotient. Represented by &lt;&lt; in normal
665 * The divisor of the rule that owns this substitution.
667 long divisor; field in class:MultiplierSubstitution
676 * also maintains its own copy of its rule's divisor.
688 // the owning rule's divisor affects the behavior of this
690 // rule, we keep a copy of the divisor
818 long divisor; field in class:ModulusSubstitution
[all...]
/external/jemalloc/src/
H A Dnstime.c83 nstime_idivide(nstime_t *time, uint64_t divisor) argument
86 assert(divisor != 0);
88 time->ns /= divisor;
92 nstime_divide(const nstime_t *time, const nstime_t *divisor) argument
95 assert(divisor->ns != 0);
97 return (time->ns / divisor->ns);
/external/jemalloc/include/jemalloc/internal/
H A Dnstime.h31 void nstime_idivide(nstime_t *time, uint64_t divisor);
32 uint64_t nstime_divide(const nstime_t *time, const nstime_t *divisor);
/external/libxaac/decoder/
H A Dixheaacd_basic_funcs.h37 WORD32 ixheaacd_fix_div_dec(WORD32 divident, WORD32 divisor);
39 WORD32 ixheaacd_fix_div_armv7(WORD32 divident, WORD32 divisor);
/external/protobuf/js/binary/
H A Darith.js225 * unless divisor is 0, in which case an empty array is returned.
237 var divisor = new jspb.arith.UInt64(_divisor, 0);
240 // Left-shift the divisor and unit until the high bit of divisor is set.
241 while (!divisor.msb()) {
242 divisor = divisor.leftShift();
248 // If divisor < remainder, add unit to quotient and subtract divisor from
250 if (divisor
[all...]

Completed in 492 milliseconds

1234567891011>>