/device/linaro/bootloader/edk2/StdLib/LibC/CRT/ |
D | Gcc.c | 64 int __divsi3(int Dividend, int Divisor) in __divsi3() argument 67 return (int) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL); in __divsi3() 70 INT64 __divdi3(INT64 Dividend, INT64 Divisor) in __divdi3() argument 74 Quotient = DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL); in __divdi3() 75 DEBUG((DEBUG_INFO, "%a: %Ld / %Ld = %Ld\n", __func__, Dividend, Divisor, Quotient)); in __divdi3() 80 long long __divti3(long long Dividend, long long Divisor) in __divti3() argument 83 return (long long) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL); in __divti3() 108 int __modsi3(int Dividend, int Divisor) in __modsi3() argument 112 (void) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, &Remainder); in __modsi3() 113 DEBUG((DEBUG_INFO, "modsi3: %d %% %d = %d\n", Dividend, Divisor, (int)Remainder)); in __modsi3() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
D | Math64.c | 256 IN UINT64 Dividend, in InternalMathDivU64x32() argument 260 return Dividend / Divisor; in InternalMathDivU64x32() 280 IN UINT64 Dividend, in InternalMathModU64x32() argument 284 return (UINT32)(Dividend % Divisor); in InternalMathModU64x32() 307 IN UINT64 Dividend, in InternalMathDivRemU64x32() argument 313 *Remainder = (UINT32)(Dividend % Divisor); in InternalMathDivRemU64x32() 315 return Dividend / Divisor; in InternalMathDivRemU64x32() 338 IN UINT64 Dividend, in InternalMathDivRemU64x64() argument 344 *Remainder = Dividend % Divisor; in InternalMathDivRemU64x64() 346 return Dividend / Divisor; in InternalMathDivRemU64x64() [all …]
|
D | ModU64x32.c | 44 IN UINT64 Dividend, in ModU64x32() argument 49 return InternalMathModU64x32 (Dividend, Divisor); in ModU64x32()
|
D | DivU64x32.c | 44 IN UINT64 Dividend, in GlueDivU64x32() argument 49 return InternalMathDivU64x32 (Dividend, Divisor); in GlueDivU64x32()
|
D | DivS64x64Remainder.c | 47 IN INT64 Dividend, in DivS64x64Remainder() argument 53 return InternalMathDivRemS64x64 (Dividend, Divisor, Remainder); in DivS64x64Remainder()
|
D | DivU64x64Remainder.c | 46 IN UINT64 Dividend, in DivU64x64Remainder() argument 52 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder); in DivU64x64Remainder()
|
D | DivU64x32Remainder.c | 47 IN UINT64 Dividend, in DivU64x32Remainder() argument 53 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder); in DivU64x32Remainder()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | Math64.c | 246 IN UINT64 Dividend, in InternalMathDivU64x32() argument 250 return Dividend / Divisor; in InternalMathDivU64x32() 270 IN UINT64 Dividend, in InternalMathModU64x32() argument 274 return (UINT32)(Dividend % Divisor); in InternalMathModU64x32() 297 IN UINT64 Dividend, in InternalMathDivRemU64x32() argument 303 *Remainder = (UINT32)(Dividend % Divisor); in InternalMathDivRemU64x32() 305 return Dividend / Divisor; in InternalMathDivRemU64x32() 328 IN UINT64 Dividend, in InternalMathDivRemU64x64() argument 334 *Remainder = Dividend % Divisor; in InternalMathDivRemU64x64() 336 return Dividend / Divisor; in InternalMathDivRemU64x64() [all …]
|
D | DivU64x32.c | 39 IN UINT64 Dividend, in DivU64x32() argument 44 return InternalMathDivU64x32 (Dividend, Divisor); in DivU64x32()
|
D | ModU64x32.c | 39 IN UINT64 Dividend, in ModU64x32() argument 44 return InternalMathModU64x32 (Dividend, Divisor); in ModU64x32()
|
D | DivU64x32Remainder.c | 42 IN UINT64 Dividend, in DivU64x32Remainder() argument 48 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder); in DivU64x32Remainder()
|
D | DivU64x64Remainder.c | 42 IN UINT64 Dividend, in DivU64x64Remainder() argument 48 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder); in DivU64x64Remainder()
|
D | DivS64x64Remainder.c | 46 IN INT64 Dividend, in DivS64x64Remainder() argument 52 return InternalMathDivRemS64x64 (Dividend, Divisor, Remainder); in DivS64x64Remainder()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/ |
D | DivS64x64Remainder.c | 44 IN INT64 Dividend, in InternalMathDivRemS64x64() argument 52 (UINT64) (Dividend >= 0 ? Dividend : -Dividend), in InternalMathDivRemS64x64() 56 if (Remainder != NULL && Dividend < 0) { in InternalMathDivRemS64x64() 59 return (Dividend ^ Divisor) >= 0 ? Quot : -Quot; in InternalMathDivRemS64x64()
|
D | ModU64x32.c | 28 IN UINT64 Dividend, in InternalMathModU64x32() argument 33 mov eax, dword ptr [Dividend + 4] in InternalMathModU64x32() 37 mov eax, dword ptr [Dividend + 0] in InternalMathModU64x32()
|
D | DivU64x32.c | 20 IN UINT64 Dividend, in InternalMathDivU64x32() argument 25 mov eax, dword ptr [Dividend + 4] in InternalMathDivU64x32() 30 mov eax, dword ptr [Dividend] in InternalMathDivU64x32()
|
D | DivU64x32Remainder.c | 20 IN UINT64 Dividend, in InternalMathDivRemU64x32() argument 27 mov eax, dword ptr [Dividend + 4] in InternalMathDivRemU64x32() 31 mov eax, dword ptr [Dividend + 0] in InternalMathDivRemU64x32()
|
D | DivU64x64Remainder.c | 21 IN UINT64 Dividend, in InternalMathDivRemU64x64() argument 27 mov edx, dword ptr [Dividend + 4] in InternalMathDivRemU64x64() 28 mov eax, dword ptr [Dividend + 0] // edx:eax <- dividend in InternalMathDivRemU64x64()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/ |
D | DivS64x64Remainder.c | 37 IN INT64 Dividend, in InternalMathDivRemS64x64() argument 45 (UINT64) (Dividend >= 0 ? Dividend : -Dividend), in InternalMathDivRemS64x64() 49 if (Remainder != NULL && Dividend < 0) { in InternalMathDivRemS64x64() 52 return (Dividend ^ Divisor) >= 0 ? Quot : -Quot; in InternalMathDivRemS64x64()
|
D | ModU64x32.c | 35 IN UINT64 Dividend, in InternalMathModU64x32() argument 40 mov eax, dword ptr [Dividend + 4] in InternalMathModU64x32() 44 mov eax, dword ptr [Dividend + 0] in InternalMathModU64x32()
|
D | DivU64x32.c | 35 IN UINT64 Dividend, in InternalMathDivU64x32() argument 40 mov eax, dword ptr [Dividend + 4] in InternalMathDivU64x32() 45 mov eax, dword ptr [Dividend] in InternalMathDivU64x32()
|
D | DivU64x32Remainder.c | 35 IN UINT64 Dividend, in InternalMathDivRemU64x32() argument 42 mov eax, dword ptr [Dividend + 4] in InternalMathDivRemU64x32() 46 mov eax, dword ptr [Dividend + 0] in InternalMathDivRemU64x32()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/ |
D | DivU64x32.c | 26 IN UINT64 Dividend, in DivU64x32() argument 55 mov eax, dword ptr Dividend[4] ; Put high 32 bits of 64-bit dividend in EAX in DivU64x32() local 57 div ecx ; Dividend Divisor Quoitent...Remainder in DivU64x32() 62 mov eax, dword ptr Dividend[0] ; Put low 32 bits of 64-bit dividend in EAX in DivU64x32() local 64 ; Dividend Divisor Quoitent...Remainder in DivU64x32()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/ |
D | Math.c | 109 IN UINT64 Dividend, in DivU64x32() argument 135 *Remainder = Dividend % Divisor; in DivU64x32() 138 return Dividend / Divisor; in DivU64x32()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ |
D | Math.c | 122 IN UINT64 Dividend, in DivU64x32() argument 147 *Remainder = Dividend % Divisor; in DivU64x32() 150 return Dividend / Divisor; in DivU64x32()
|