Home
last modified time | relevance | path

Searched refs:div (Results 1 – 25 of 46) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dfractions.py415 __div__, __rdiv__ = _operator_fallbacks(_div, operator.div)
420 div = a / b
421 if isinstance(div, Rational):
425 return div.numerator // div.denominator
427 return math.floor(div)
432 div = a / b
433 if isinstance(div, Rational):
437 return div.numerator // div.denominator
439 return math.floor(div)
443 div = a // b
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/
DModU64x32.c36 div ecx in InternalMathModU64x32()
38 div ecx in InternalMathModU64x32()
DDivU64x32.c28 div ecx in InternalMathDivU64x32()
31 div ecx in InternalMathDivU64x32()
DDivU64x32Remainder.c29 div ecx in InternalMathDivRemU64x32()
32 div ecx in InternalMathDivRemU64x32()
DModU64x32.asm38 div ecx
40 div ecx
DDivU64x32.asm38 div ecx
41 div ecx
DDivU64x32Remainder.asm39 div ecx ; eax <- quotient[32..63], edx <- remainder
42 div ecx ; eax <- quotient[0..31]
DDivU64x64Remainder.c39 div ebx in InternalMathDivRemU64x64()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/
DModU64x32.c43 div ecx in InternalMathModU64x32()
45 div ecx in InternalMathModU64x32()
DDivU64x32.c43 div ecx in InternalMathDivU64x32()
46 div ecx in InternalMathDivU64x32()
DDivU64x32Remainder.c44 div ecx in InternalMathDivRemU64x32()
47 div ecx in InternalMathDivRemU64x32()
DModU64x32.asm38 div ecx
40 div ecx
DDivU64x32.asm38 div ecx
41 div ecx
DDivU64x32Remainder.asm39 div ecx ; eax <- quotient[32..63], edx <- remainder
42 div ecx ; eax <- quotient[0..31]
/device/google/contexthub/firmware/os/platform/stm32/
Dusart.c96 uint32_t baseClk, div, intPart, fraPart; in usartOpen() local
119 div = (baseClk * 25) / (baud * 2); in usartOpen()
120 intPart = div / 100; in usartOpen()
121 fraPart = div % 100; in usartOpen()
Dspi.c176 unsigned int div; in stmSpiEnable() local
182 div = pclk / mode->speed; in stmSpiEnable()
183 if (div > SPI_CR1_BR_MAX) in stmSpiEnable()
185 else if (div < SPI_CR1_BR_MIN) in stmSpiEnable()
186 div = SPI_CR1_BR_MIN; in stmSpiEnable()
198 regs->CR1 |= SPI_CR1_BR(div); in stmSpiEnable()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/
DDivU64x32.c57 div ecx ; Dividend Divisor Quoitent...Remainder in DivU64x32()
63 div ecx ; Leave the REMAINDER in EDX as High 32-bit of new dividend in DivU64x32()
DDivU64x32.asm65 div ecx ; Dividend Divisor Quoitent...Remainder
71 div ecx ; Leave the REMAINDER in EDX as High 32-bit of new dividend
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dcomplexobject.c598 Py_complex div, mod; in complex_remainder() local
607 div = c_quot(a, b); /* The raw divisor value. */ in complex_remainder()
612 div.real = floor(div.real); /* Use the floor of the real part. */ in complex_remainder()
613 div.imag = 0.0; in complex_remainder()
614 mod = c_diff(a, c_prod(b, div)); in complex_remainder()
623 Py_complex div, mod; in complex_divmod() local
633 div = c_quot(a, b); /* The raw divisor value. */ in complex_divmod()
638 div.real = floor(div.real); /* Use the floor of the real part. */ in complex_divmod()
639 div.imag = 0.0; in complex_divmod()
640 mod = c_diff(a, c_prod(b, div)); in complex_divmod()
[all …]
Dlongobject.c3015 PyLongObject *div, *mod; in l_divmod() local
3017 if (long_divrem(v, w, &div, &mod) < 0) in l_divmod()
3027 Py_DECREF(div); in l_divmod()
3032 (temp = (PyLongObject *) long_sub(div, one)) == NULL) { in l_divmod()
3034 Py_DECREF(div); in l_divmod()
3039 Py_DECREF(div); in l_divmod()
3040 div = temp; in l_divmod()
3043 *pdiv = div; in l_divmod()
3045 Py_DECREF(div); in l_divmod()
3058 PyLongObject *a, *b, *div; in long_div() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dcomplexobject.c602 Py_complex div, mod; in complex_remainder() local
611 div = c_quot(a, b); /* The raw divisor value. */ in complex_remainder()
616 div.real = floor(div.real); /* Use the floor of the real part. */ in complex_remainder()
617 div.imag = 0.0; in complex_remainder()
618 mod = c_diff(a, c_prod(b, div)); in complex_remainder()
627 Py_complex div, mod; in complex_divmod() local
637 div = c_quot(a, b); /* The raw divisor value. */ in complex_divmod()
642 div.real = floor(div.real); /* Use the floor of the real part. */ in complex_divmod()
643 div.imag = 0.0; in complex_divmod()
644 mod = c_diff(a, c_prod(b, div)); in complex_divmod()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/
DXdiv.c32 div(int num, int denom) in div() function
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
Dlongobject.c3015 PyLongObject *div, *mod; in l_divmod() local
3017 if (long_divrem(v, w, &div, &mod) < 0) in l_divmod()
3027 Py_DECREF(div); in l_divmod()
3032 (temp = (PyLongObject *) long_sub(div, one)) == NULL) { in l_divmod()
3034 Py_DECREF(div); in l_divmod()
3039 Py_DECREF(div); in l_divmod()
3040 div = temp; in l_divmod()
3043 *pdiv = div; in l_divmod()
3045 Py_DECREF(div); in l_divmod()
3058 PyLongObject *a, *b, *div; in long_div() local
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/
DCompilerIntrinsicsLib.inf41 Arm/div.asm | RVCT
56 Arm/div.S | GCC
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/
Dlongobject.c3029 PyLongObject *div, *mod; in l_divmod() local
3031 if (long_divrem(v, w, &div, &mod) < 0) in l_divmod()
3041 Py_DECREF(div); in l_divmod()
3046 (temp = (PyLongObject *) long_sub(div, one)) == NULL) { in l_divmod()
3048 Py_DECREF(div); in l_divmod()
3053 Py_DECREF(div); in l_divmod()
3054 div = temp; in l_divmod()
3057 *pdiv = div; in l_divmod()
3059 Py_DECREF(div); in l_divmod()
3072 PyLongObject *a, *b, *div; in long_div() local
[all …]

12