Home
last modified time | relevance | path

Searched refs:Dividend (Results 1 – 25 of 60) sorted by relevance

123

/device/linaro/bootloader/edk2/StdLib/LibC/CRT/
DGcc.c64 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/
DMath64.c256 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 …]
DModU64x32.c44 IN UINT64 Dividend, in ModU64x32() argument
49 return InternalMathModU64x32 (Dividend, Divisor); in ModU64x32()
DDivU64x32.c44 IN UINT64 Dividend, in GlueDivU64x32() argument
49 return InternalMathDivU64x32 (Dividend, Divisor); in GlueDivU64x32()
DDivS64x64Remainder.c47 IN INT64 Dividend, in DivS64x64Remainder() argument
53 return InternalMathDivRemS64x64 (Dividend, Divisor, Remainder); in DivS64x64Remainder()
DDivU64x64Remainder.c46 IN UINT64 Dividend, in DivU64x64Remainder() argument
52 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder); in DivU64x64Remainder()
DDivU64x32Remainder.c47 IN UINT64 Dividend, in DivU64x32Remainder() argument
53 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder); in DivU64x32Remainder()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/
DMath64.c246 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 …]
DDivU64x32.c39 IN UINT64 Dividend, in DivU64x32() argument
44 return InternalMathDivU64x32 (Dividend, Divisor); in DivU64x32()
DModU64x32.c39 IN UINT64 Dividend, in ModU64x32() argument
44 return InternalMathModU64x32 (Dividend, Divisor); in ModU64x32()
DDivU64x32Remainder.c42 IN UINT64 Dividend, in DivU64x32Remainder() argument
48 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder); in DivU64x32Remainder()
DDivU64x64Remainder.c42 IN UINT64 Dividend, in DivU64x64Remainder() argument
48 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder); in DivU64x64Remainder()
DDivS64x64Remainder.c46 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/
DDivS64x64Remainder.c44 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()
DModU64x32.c28 IN UINT64 Dividend, in InternalMathModU64x32() argument
33 mov eax, dword ptr [Dividend + 4] in InternalMathModU64x32()
37 mov eax, dword ptr [Dividend + 0] in InternalMathModU64x32()
DDivU64x32.c20 IN UINT64 Dividend, in InternalMathDivU64x32() argument
25 mov eax, dword ptr [Dividend + 4] in InternalMathDivU64x32()
30 mov eax, dword ptr [Dividend] in InternalMathDivU64x32()
DDivU64x32Remainder.c20 IN UINT64 Dividend, in InternalMathDivRemU64x32() argument
27 mov eax, dword ptr [Dividend + 4] in InternalMathDivRemU64x32()
31 mov eax, dword ptr [Dividend + 0] in InternalMathDivRemU64x32()
DDivU64x64Remainder.c21 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/
DDivS64x64Remainder.c37 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()
DModU64x32.c35 IN UINT64 Dividend, in InternalMathModU64x32() argument
40 mov eax, dword ptr [Dividend + 4] in InternalMathModU64x32()
44 mov eax, dword ptr [Dividend + 0] in InternalMathModU64x32()
DDivU64x32.c35 IN UINT64 Dividend, in InternalMathDivU64x32() argument
40 mov eax, dword ptr [Dividend + 4] in InternalMathDivU64x32()
45 mov eax, dword ptr [Dividend] in InternalMathDivU64x32()
DDivU64x32Remainder.c35 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/
DDivU64x32.c26 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/
DMath.c109 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/
DMath.c122 IN UINT64 Dividend, in DivU64x32() argument
147 *Remainder = Dividend % Divisor; in DivU64x32()
150 return Dividend / Divisor; in DivU64x32()

123