/external/icu/icu4c/source/i18n/ |
D | gregoimp.cpp | 37 double quotient; in floorDivide() local 38 quotient = uprv_floor(numerator / denominator); in floorDivide() 39 remainder = (int32_t) (numerator - (quotient * denominator)); in floorDivide() 40 return (int32_t) quotient; in floorDivide() 47 double quotient = floorDivide(dividend, divisor); in floorDivide() local 48 remainder = dividend - (quotient * divisor); in floorDivide() 56 double q = quotient; in floorDivide() 57 quotient += (remainder < 0) ? -1 : +1; in floorDivide() 58 if (q == quotient) { in floorDivide() 70 remainder = dividend - (quotient * divisor); in floorDivide() [all …]
|
/external/u-boot/lib/ |
D | div64.c | 66 u64 quotient; in div_s64_rem() local 69 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 72 quotient = -quotient; in div_s64_rem() 74 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 76 quotient = -quotient; in div_s64_rem() 78 return quotient; in div_s64_rem()
|
/external/libxaac/decoder/ |
D | ixheaacd_basic_ops.h | 74 WORD32 quotient; in ixheaacd_div32_pos_normb() local 81 quotient = MAX_32; in ixheaacd_div32_pos_normb() 83 quotient = 0; in ixheaacd_div32_pos_normb() 86 quotient = quotient << 1; in ixheaacd_div32_pos_normb() 90 quotient += 1; in ixheaacd_div32_pos_normb() 97 return quotient; in ixheaacd_div32_pos_normb()
|
D | ixheaacd_basic_funcs.c | 126 WORD32 quotient = 0; in ixheaacd_fix_div_dec() local 137 quotient = (quotient << 1); in ixheaacd_fix_div_dec() 141 quotient++; in ixheaacd_fix_div_dec() 145 if (sign < 0) quotient = -(quotient); in ixheaacd_fix_div_dec() 147 return quotient; in ixheaacd_fix_div_dec()
|
D | ixheaacd_basic_ops16.h | 239 WORD32 quotient; in div16() local 248 quotient = 0; in div16() 265 quotient = 0; in div16() 274 quotient = quotient << 1; in div16() 278 quotient += 1; in div16() 285 quotient = -quotient; in div16() 288 return (WORD16)quotient; in div16()
|
D | ixheaacd_basic_ops32.h | 325 WORD32 quotient; in div32() local 334 quotient = 0; in div32() 351 quotient = 0; in div32() 360 quotient = quotient << 1; in div32() 364 quotient += 1; in div32() 371 quotient = -quotient; in div32() 374 return quotient; in div32()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | int128.cc | 103 uint128 quotient = 0; in DivModImpl() local 115 quotient |= position; in DivModImpl() 121 *quotient_ret = quotient; in DivModImpl() 126 uint128 quotient = 0; in operator /=() local 128 DivModImpl(*this, divisor, "ient, &remainder); in operator /=() 129 *this = quotient; in operator /=() 133 uint128 quotient = 0; in operator %=() local 135 DivModImpl(*this, divisor, "ient, &remainder); in operator %=()
|
/external/compiler-rt/lib/builtins/ |
D | divdf3.c | 135 rep_t quotient, quotientLo; in ARM_EABI_FNALIAS() local 136 wideMultiply(aSignificand << 2, reciprocal, "ient, "ientLo); in ARM_EABI_FNALIAS() 152 if (quotient < (implicitBit << 1)) { in ARM_EABI_FNALIAS() 153 residual = (aSignificand << 53) - quotient * bSignificand; in ARM_EABI_FNALIAS() 156 quotient >>= 1; in ARM_EABI_FNALIAS() 157 residual = (aSignificand << 52) - quotient * bSignificand; in ARM_EABI_FNALIAS() 176 rep_t absResult = quotient & significandMask; in ARM_EABI_FNALIAS()
|
D | divsf3.c | 121 rep_t quotient = (uint64_t)reciprocal*(aSignificand << 1) >> 32; in ARM_EABI_FNALIAS() local 137 if (quotient < (implicitBit << 1)) { in ARM_EABI_FNALIAS() 138 residual = (aSignificand << 24) - quotient * bSignificand; in ARM_EABI_FNALIAS() 141 quotient >>= 1; in ARM_EABI_FNALIAS() 142 residual = (aSignificand << 23) - quotient * bSignificand; in ARM_EABI_FNALIAS() 161 rep_t absResult = quotient & significandMask; in ARM_EABI_FNALIAS()
|
D | divtf3.c | 149 rep_t quotient, quotientLo; in __divtf3() local 150 wideMultiply(aSignificand << 2, reciprocal, "ient, "ientLo); in __divtf3() 168 if (quotient < (implicitBit << 1)) { in __divtf3() 169 wideMultiply(quotient, bSignificand, &dummy, &qb); in __divtf3() 173 quotient >>= 1; in __divtf3() 174 wideMultiply(quotient, bSignificand, &dummy, &qb); in __divtf3() 192 rep_t absResult = quotient & significandMask; in __divtf3()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | UnsignedLongs.java | 202 long quotient = ((dividend >>> 1) / divisor) << 1; in divide() local 203 long rem = dividend - quotient * divisor; in divide() 204 return quotient + (compare(rem, divisor) >= 0 ? 1 : 0); in divide() 236 long quotient = ((dividend >>> 1) / divisor) << 1; in remainder() local 237 long rem = dividend - quotient * divisor; in remainder() 368 long quotient = divide(x, radix); in toString() local 369 long rem = x - quotient * radix; in toString() 371 x = quotient; in toString()
|
/external/u-boot/drivers/ddr/marvell/a38x/ |
D | mv_ddr_common.c | 32 int round_div(unsigned int dividend, unsigned int divisor, unsigned int *quotient) in round_div() argument 34 if (quotient == NULL) { in round_div() 43 *quotient = (dividend + divisor / 2) / divisor; in round_div()
|
/external/jemalloc_new/test/unit/ |
D | div.c | 15 size_t quotient = div_compute( in TEST_BEGIN() local 17 assert_zu_eq(dividend, quotient * divisor, in TEST_BEGIN() 19 "got quotient %zu", divisor, dividend, quotient); in TEST_BEGIN()
|
/external/libhevc/encoder/ |
D | ia_basic_ops32.h | 1058 WORD32 quotient; in div32() local 1067 quotient = 0; in div32() 1087 quotient = 0; in div32() 1113 quotient = (quotient << 1) + bit; in div32() 1118 quotient = -quotient; in div32() 1121 return quotient; in div32()
|
/external/protobuf/js/binary/ |
D | arith.js | 235 var quotient = new jspb.arith.UInt64(0, 0); 251 quotient = quotient.add(unit); 259 return [quotient, remainder]; 273 var quotient = divResult[0], remainder = divResult[1]; 275 num = quotient;
|
/external/fonttools/Lib/fontTools/misc/ |
D | py23.py | 362 quotient, remainder = divmod(number, exponent) 364 quotient += 1 365 return float(quotient * exponent) 432 quotient, remainder = divmod(number, exponent) 434 if remainder > half or (remainder == half and quotient % 2 != 0): 435 quotient += 1 436 d = quotient * exponent
|
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/ |
D | div8.ll | 10 %quotient = alloca i8, align 1 19 store i8 %div, i8* %quotient, align 1 20 %tmp4 = load i8* %quotient, align 1
|
/external/llvm/test/CodeGen/X86/ |
D | div8.ll | 10 %quotient = alloca i8, align 1 19 store i8 %div, i8* %quotient, align 1 20 %tmp4 = load i8, i8* %quotient, align 1
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | div8.ll | 10 %quotient = alloca i8, align 1 19 store i8 %div, i8* %quotient, align 1 20 %tmp4 = load i8, i8* %quotient, align 1
|
/external/v8/src/compiler/ |
D | machine-operator-reducer.cc | 110 Node* quotient = graph()->NewNode(machine()->Int32MulHigh(), dividend, in Int32Div() local 113 quotient = Int32Add(quotient, dividend); in Int32Div() 115 quotient = Int32Sub(quotient, dividend); in Int32Div() 117 return Int32Add(Word32Sar(quotient, mag.shift), Word32Shr(dividend, 31)); in Int32Div() 131 Node* quotient = graph()->NewNode(machine()->Uint32MulHigh(), dividend, in Uint32Div() local 135 quotient = Word32Shr( in Uint32Div() 136 Int32Add(Word32Shr(Int32Sub(dividend, quotient), 1), quotient), in Uint32Div() 139 quotient = Word32Shr(quotient, mag.shift); in Uint32Div() 141 return quotient; in Uint32Div() 799 Node* quotient = dividend; in ReduceInt32Div() local [all …]
|
/external/pdfium/fxbarcode/common/reedsolomon/ |
D | BC_ReedSolomonGF256Poly.cpp | 206 auto quotient = m_field->GetZero()->Clone(); in Divide() local 207 if (!quotient) in Divide() 230 quotient = quotient->AddOrSubtract(iteratorQuotient.get()); in Divide() 231 if (!quotient) in Divide()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | reduce_join_op.cc | 54 int64 quotient = output_index; in LinearSubIndexToFullIndex() local 57 int64 dim_value = quotient % input_shape.dim_size(dim); in LinearSubIndexToFullIndex() 58 quotient = quotient / input_shape.dim_size(dim); in LinearSubIndexToFullIndex()
|
/external/llvm/test/CodeGen/ARM/ |
D | div.ll | 46 ; EABI MODE = Remainder in R1, quotient in R0 61 ; EABI MODE = Remainder in R1, quotient in R0 76 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1 91 ; EABI MODE = Remainder in R2-R3, quotient in R0-R1
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AVR/ |
D | div.ll | 9 %quotient = udiv i8 %a, %b 10 ret i8 %quotient 19 %quotient = sdiv i8 %a, %b 20 ret i8 %quotient
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | Grego.java | 198 long quotient = ((numerator + 1) / denominator) - 1; in floorDivide() local 199 remainder[0] = numerator - (quotient * denominator); in floorDivide() 200 return quotient; in floorDivide()
|