/device/linaro/bootloader/edk2/StdLib/LibC/CRT/ |
D | Gcc.c | 110 INT64 Remainder; in __modsi3() local 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() 115 return (int) Remainder; in __modsi3() 120 INT64 Remainder; in __moddi3() local 122 (void) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, &Remainder); in __moddi3() 123 DEBUG((DEBUG_INFO, "moddi3: %Ld %% %Ld = %Ld\n", (INT64)Dividend, (INT64)Divisor, Remainder)); in __moddi3() 125 return Remainder; in __moddi3() 130 INT64 Remainder; in __modti3() local 132 (void) DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, &Remainder); in __modti3() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ia32/ |
D | DivS64x64Remainder.c | 46 OUT INT64 *Remainder OPTIONAL in InternalMathDivRemS64x64() 54 (UINT64 *) Remainder in InternalMathDivRemS64x64() 56 if (Remainder != NULL && Dividend < 0) { in InternalMathDivRemS64x64() 57 *Remainder = -*Remainder; in InternalMathDivRemS64x64()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ia32/ |
D | DivS64x64Remainder.c | 39 OUT INT64 *Remainder OPTIONAL in InternalMathDivRemS64x64() 47 (UINT64 *) Remainder in InternalMathDivRemS64x64() 49 if (Remainder != NULL && Dividend < 0) { in InternalMathDivRemS64x64() 50 *Remainder = -*Remainder; in InternalMathDivRemS64x64()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
D | Math64.c | 309 OUT UINT32 *Remainder OPTIONAL in InternalMathDivRemU64x32() 312 if (Remainder != NULL) { in InternalMathDivRemU64x32() 313 *Remainder = (UINT32)(Dividend % Divisor); in InternalMathDivRemU64x32() 340 OUT UINT64 *Remainder OPTIONAL in InternalMathDivRemU64x64() 343 if (Remainder != NULL) { in InternalMathDivRemU64x64() 344 *Remainder = Dividend % Divisor; in InternalMathDivRemU64x64() 370 OUT INT64 *Remainder OPTIONAL in InternalMathDivRemS64x64() 373 if (Remainder != NULL) { in InternalMathDivRemS64x64() 374 *Remainder = Dividend % Divisor; in InternalMathDivRemS64x64()
|
D | DivS64x64Remainder.c | 49 OUT INT64 *Remainder OPTIONAL in DivS64x64Remainder() 53 return InternalMathDivRemS64x64 (Dividend, Divisor, Remainder); in DivS64x64Remainder()
|
D | DivU64x32Remainder.c | 49 OUT UINT32 *Remainder OPTIONAL in DivU64x32Remainder() 53 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder); in DivU64x32Remainder()
|
D | DivU64x64Remainder.c | 48 OUT UINT64 *Remainder OPTIONAL in DivU64x64Remainder() 52 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder); in DivU64x64Remainder()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | Math64.c | 299 OUT UINT32 *Remainder OPTIONAL in InternalMathDivRemU64x32() 302 if (Remainder != NULL) { in InternalMathDivRemU64x32() 303 *Remainder = (UINT32)(Dividend % Divisor); in InternalMathDivRemU64x32() 330 OUT UINT64 *Remainder OPTIONAL in InternalMathDivRemU64x64() 333 if (Remainder != NULL) { in InternalMathDivRemU64x64() 334 *Remainder = Dividend % Divisor; in InternalMathDivRemU64x64() 361 OUT INT64 *Remainder OPTIONAL in InternalMathDivRemS64x64() 364 if (Remainder != NULL) { in InternalMathDivRemS64x64() 365 *Remainder = Dividend % Divisor; in InternalMathDivRemS64x64()
|
D | DivU64x64Remainder.c | 44 OUT UINT64 *Remainder OPTIONAL in DivU64x64Remainder() 48 return InternalMathDivRemU64x64 (Dividend, Divisor, Remainder); in DivU64x64Remainder()
|
D | DivU64x32Remainder.c | 44 OUT UINT32 *Remainder OPTIONAL in DivU64x32Remainder() 48 return InternalMathDivRemU64x32 (Dividend, Divisor, Remainder); in DivU64x32Remainder()
|
D | DivS64x64Remainder.c | 48 OUT INT64 *Remainder OPTIONAL in DivS64x64Remainder() 52 return InternalMathDivRemS64x64 (Dividend, Divisor, Remainder); in DivS64x64Remainder()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
D | Stall.c | 59 UINT32 Remainder; in CoreStall() local 78 &Remainder in CoreStall() 84 if (Remainder != 0) { in CoreStall() 101 &Remainder in CoreStall() 103 if (Remainder != 0) { in CoreStall()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeTimerLibEsal/ |
D | DxeTimerLibEsal.c | 200 UINT64 Remainder; in GetTimeInNanoSecond() local 210 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 217 Shift = MAX (0, HighBitSet64 (Remainder) - 33); in GetTimeInNanoSecond() 218 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond() 220 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/ |
D | IpfTimerLib.c | 193 UINT64 Remainder; in GetTimeInNanoSecond() local 203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 210 Shift = MAX (0, HighBitSet64 (Remainder) - 33); in GetTimeInNanoSecond() 211 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond() 213 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond()
|
D | X86TimerLib.c | 243 UINT64 Remainder; in GetTimeInNanoSecond() local 253 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 260 Shift = MAX (0, HighBitSet64 (Remainder) - 33); in GetTimeInNanoSecond() 261 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond() 263 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/ |
D | IpfTimerLib.c | 193 UINT64 Remainder; in GetTimeInNanoSecond() local 203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 210 Shift = MAX (0, HighBitSet64 (Remainder) - 33); in GetTimeInNanoSecond() 211 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond() 213 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond()
|
D | X86TimerLib.c | 352 UINT64 Remainder; in GetTimeInNanoSecond() local 362 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 369 Shift = MAX (0, HighBitSet64 (Remainder) - 33); in GetTimeInNanoSecond() 370 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond() 372 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/PerformancePkg/Library/TscTimerLib/ |
D | TscTimerLibShare.c | 252 UINT64 Remainder; in GetTimeInNanoSecond() local 262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 269 Shift = MAX (0, HighBitSet64 (Remainder) - 33); in GetTimeInNanoSecond() 270 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond() 272 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 252 UINT64 Remainder; in GetTimeInNanoSecond() local 262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 269 Shift = MAX (0, HighBitSet64 (Remainder) - 33); in GetTimeInNanoSecond() 270 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond() 272 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/ |
D | CEATABlockIo.c | 95 UINT32 Remainder; in CEATABlockReadBlocks() local 144 CEATALBA = DivU64x32Remainder (Address, DATA_UNIT_SIZE, &Remainder); in CEATABlockReadBlocks() 145 ASSERT(Remainder == 0); in CEATABlockReadBlocks() 204 UINT32 Remainder; in CEATABlockWriteBlocks() local 257 CEATALBA = DivU64x32Remainder (Address, DATA_UNIT_SIZE, &Remainder); in CEATABlockWriteBlocks() 258 ASSERT(Remainder == 0); in CEATABlockWriteBlocks() 336 UINT32 Remainder; in CEATABlockIoInit() local 382 Remainder = 0; in CEATABlockIoInit() 383 …CardData->BlockNumber = DivU64x32Remainder (MaxSize, CardData->BlockIoMedia.BlockSize, &Remainder); in CEATABlockIoInit() 384 ASSERT(Remainder == 0); in CEATABlockIoInit()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/ |
D | Math.c | 111 OUT UINTN *Remainder OPTIONAL in DivU64x32() 134 if (Remainder) { in DivU64x32() 135 *Remainder = Dividend % Divisor; in DivU64x32()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/Arm/ |
D | Llvm_int_lib.h | 81 UINT64 Remainder; member 86 INT64 Remainder; member 91 UINT32 Remainder; member
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/AcpiTimerLib/ |
D | AcpiTimerLib.c | 314 UINT64 Remainder; in GetTimeInNanoSecond() local 324 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u); in GetTimeInNanoSecond() 331 Shift = MAX (0, HighBitSet64 (Remainder) - 33); in GetTimeInNanoSecond() 332 Remainder = RShiftU64 (Remainder, (UINTN) Shift); in GetTimeInNanoSecond() 334 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL); in GetTimeInNanoSecond()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/ |
D | DivU64x32.c | 28 OUT UINTN *Remainder OPTIONAL in DivU64x32() 57 div ecx ; Dividend Divisor Quoitent...Remainder in DivU64x32() 64 ; Dividend Divisor Quoitent...Remainder in DivU64x32() 67 mov ecx, Remainder ; Put &REMAINDER to ecx in DivU64x32()
|
/device/linaro/bootloader/edk2/StdLib/LibC/Containers/Queues/ |
D | Fifo.c | 434 size_t Remainder; in FIFO_Flush() local 442 Remainder = 0; in FIFO_Flush() 445 Remainder = FIFO_Reduce(Self, NumToFlush); in FIFO_Flush() 447 return Remainder; in FIFO_Flush() 463 size_t Remainder; in FIFO_Truncate() local 467 Remainder = FIFO_NumInQueue(Self, AsElements); in FIFO_Truncate() 468 if(Remainder > 0) { in FIFO_Truncate() 470 --Remainder; in FIFO_Truncate() 472 return Remainder; in FIFO_Truncate()
|