HomeSort by relevance Sort by last modified time
    Searched defs:Remainder (Results 1 - 25 of 99) sorted by null

1 2 3 4

  /device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
Stall.c 59 UINT32 Remainder;
78 &Remainder
84 if (Remainder != 0) {
86 // If Remainder was not zero, then normally, Counter would be rounded
101 &Remainder
103 if (Remainder != 0) {
105 // If Remainder is not zero, then round Counter up by one tick.
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/Ia32/
DivU64x32.c 28 OUT UINTN *Remainder OPTIONAL
35 64bit result and the Remainder.
41 Remainder - buffer for remainder
46 Remainder = Dividend mod Divisor
57 div ecx ; Dividend Divisor Quoitent...Remainder
63 div ecx ; Leave the REMAINDER in EDX as High 32-bit of new dividend
64 ; Dividend Divisor Quoitent...Remainder
67 mov ecx, Remainder ; Put &REMAINDER to ecx
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
Hash.cpp 31 const uint8_t *Remainder = reinterpret_cast<const uint8_t *>(Longs.end());
37 uint16_t Value = *reinterpret_cast<const ulittle16_t *>(Remainder);
39 Remainder += 2;
45 Result ^= *(Remainder++);
  /device/linaro/bootloader/edk2/ArmPkg/Library/ArmArchTimerLib/
ArmArchTimerLib.c 263 UINT32 Remainder;
276 &Remainder),
281 // Frequency < 0x100000000, so Remainder < 0x100000000, then (Remainder * 1,000,000,000)
286 (UINT64) Remainder,
  /device/linaro/bootloader/edk2/ArmPkg/Library/CompilerIntrinsicsLib/Arm/
Llvm_int_lib.h 81 UINT64 Remainder;
86 INT64 Remainder;
91 UINT32 Remainder;
  /device/linaro/bootloader/edk2/DuetPkg/Library/DuetTimerLib/
X86TimerLib.c 265 UINT32 Remainder;
272 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, 3579545, &Remainder), 1000000000u);
275 // Frequency < 0x100000000, so Remainder < 0x100000000, then (Remainder * 1,000,000,000)
278 NanoSeconds += DivU64x32 (MultU64x32 ((UINT64) Remainder, 1000000000u), 3579545);
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/
PrintLibInternal.c 83 UINT32 Remainder;
91 Value = (INT64)DivU64x32Remainder ((UINT64)Value, (UINT32)Radix, &Remainder);
92 *(Buffer++) = mHexStr[Remainder];
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
ValueToString.c 148 UINTN Remainder;
158 Remainder = 0;
170 Value = (INT64)DivU64x32 ((UINT64)Value, 10, &Remainder);
171 *(TempStr++) = (CHAR16)(Remainder + '0');
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
PxeBcSupport.c 133 UINTN Remainder;
136 Remainder = Number % 10;
138 Buffer[Length - 1] = (UINT8) ('0' + Remainder);
  /device/linaro/bootloader/edk2/MdePkg/Library/DxeTimerLibEsal/
DxeTimerLibEsal.c 200 UINT64 Remainder;
210 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
213 // Ensure (Remainder * 1,000,000,000) will not overflow 64-bit.
214 // Since 2^29 < 1,000,000,000 = 0x3B9ACA00 < 2^30, Remainder should < 2^(64-30) = 2^34,
215 // i.e. highest bit set in Remainder should <= 33.
217 Shift = MAX (0, HighBitSet64 (Remainder) - 33);
218 Remainder = RShiftU64 (Remainder, (UINTN) Shift);
220 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
  /device/linaro/bootloader/edk2/MdePkg/Library/SecPeiDxeTimerLibCpu/
IpfTimerLib.c 193 UINT64 Remainder;
203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
206 // Ensure (Remainder * 1,000,000,000) will not overflow 64-bit.
207 // Since 2^29 < 1,000,000,000 = 0x3B9ACA00 < 2^30, Remainder should < 2^(64-30) = 2^34,
208 // i.e. highest bit set in Remainder should <= 33.
210 Shift = MAX (0, HighBitSet64 (Remainder) - 33);
211 Remainder = RShiftU64 (Remainder, (UINTN) Shift);
213 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
X86TimerLib.c 352 UINT64 Remainder;
362 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
365 // Ensure (Remainder * 1,000,000,000) will not overflow 64-bit.
366 // Since 2^29 < 1,000,000,000 = 0x3B9ACA00 < 2^30, Remainder should < 2^(64-30) = 2^34,
367 // i.e. highest bit set in Remainder should <= 33.
369 Shift = MAX (0, HighBitSet64 (Remainder) - 33);
370 Remainder = RShiftU64 (Remainder, (UINTN) Shift);
372 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
  /device/linaro/bootloader/edk2/OvmfPkg/Library/AcpiTimerLib/
AcpiTimerLib.c 200 UINT32 Remainder;
207 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, ACPI_TIMER_FREQUENCY, &Remainder), 1000000000u);
210 // Frequency < 0x100000000, so Remainder < 0x100000000, then (Remainder * 1,000,000,000)
213 NanoSeconds += DivU64x32 (MultU64x32 ((UINT64) Remainder, 1000000000u), ACPI_TIMER_FREQUENCY);
  /device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDMediaDeviceDxe/
CEATABlockIo.c 95 UINT32 Remainder;
144 CEATALBA = DivU64x32Remainder (Address, DATA_UNIT_SIZE, &Remainder);
145 ASSERT(Remainder == 0);
204 UINT32 Remainder;
257 CEATALBA = DivU64x32Remainder (Address, DATA_UNIT_SIZE, &Remainder);
258 ASSERT(Remainder == 0);
336 UINT32 Remainder;
382 Remainder = 0;
383 CardData->BlockNumber = DivU64x32Remainder (MaxSize, CardData->BlockIoMedia.BlockSize, &Remainder);
384 ASSERT(Remainder == 0);
    [all...]
  /device/linaro/bootloader/edk2/UefiCpuPkg/Library/SecPeiDxeTimerLibUefiCpu/
IpfTimerLib.c 193 UINT64 Remainder;
203 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
206 // Ensure (Remainder * 1,000,000,000) will not overflow 64-bit.
207 // Since 2^29 < 1,000,000,000 = 0x3B9ACA00 < 2^30, Remainder should < 2^(64-30) = 2^34,
208 // i.e. highest bit set in Remainder should <= 33.
210 Shift = MAX (0, HighBitSet64 (Remainder) - 33);
211 Remainder = RShiftU64 (Remainder, (UINTN) Shift);
213 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
X86TimerLib.c 243 UINT64 Remainder;
253 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
256 // Ensure (Remainder * 1,000,000,000) will not overflow 64-bit.
257 // Since 2^29 < 1,000,000,000 = 0x3B9ACA00 < 2^30, Remainder should < 2^(64-30) = 2^34,
258 // i.e. highest bit set in Remainder should <= 33.
260 Shift = MAX (0, HighBitSet64 (Remainder) - 33);
261 Remainder = RShiftU64 (Remainder, (UINTN) Shift);
263 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/IntelPchAcpiTimerLib/
IntelPchAcpiTimerLib.c 251 UINT32 Remainder;
258 NanoSeconds = MultU64x32 (DivU64x32Remainder (Ticks, V_PCH_ACPI_PM1_TMR_FREQUENCY, &Remainder), 1000000000u);
261 // Frequency < 0x100000000, so Remainder < 0x100000000, then (Remainder * 1,000,000,000)
264 NanoSeconds += DivU64x32 (MultU64x32 ((UINT64) Remainder, 1000000000u), V_PCH_ACPI_PM1_TMR_FREQUENCY);
  /external/llvm/lib/DebugInfo/CodeView/
ListRecordBuilder.cpp 38 uint32_t Remainder =
40 if (Remainder != 0) {
41 for (int32_t PaddingBytesLeft = 4 - Remainder; PaddingBytesLeft > 0;
  /external/llvm/lib/DebugInfo/PDB/Raw/
Hash.cpp 30 const uint8_t *Remainder = reinterpret_cast<const uint8_t *>(Longs.end());
36 uint16_t Value = *reinterpret_cast<const ulittle16_t *>(Remainder);
38 Remainder += 2;
44 Result ^= *(Remainder++);
  /external/llvm/unittests/Transforms/Utils/
IntegerDivision.cpp 85 Module M("test remainder", C);
109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
110 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
115 Module M("test remainder", C);
139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
140 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
206 Module M("test remainder", C);
230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
IntegerDivision.cpp 85 Module M("test remainder", C);
109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
110 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
115 Module M("test remainder", C);
139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
140 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub);
206 Module M("test remainder", C);
230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0))
    [all...]
  /device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/AcpiTimerLib/
AcpiTimerLib.c 252 UINT64 Remainder;
262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
265 // Ensure (Remainder * 1,000,000,000) will not overflow 64-bit.
266 // Since 2^29 < 1,000,000,000 = 0x3B9ACA00 < 2^30, Remainder should < 2^(64-30) = 2^34,
267 // i.e. highest bit set in Remainder should <= 33.
269 Shift = MAX (0, HighBitSet64 (Remainder) - 33);
270 Remainder = RShiftU64 (Remainder, (UINTN) Shift);
272 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
  /device/linaro/bootloader/edk2/PerformancePkg/Library/TscTimerLib/
TscTimerLibShare.c 252 UINT64 Remainder;
262 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
265 // Ensure (Remainder * 1,000,000,000) will not overflow 64-bit.
266 // Since 2^29 < 1,000,000,000 = 0x3B9ACA00 < 2^30, Remainder should < 2^(64-30) = 2^34,
267 // i.e. highest bit set in Remainder should <= 33.
269 Shift = MAX (0, HighBitSet64 (Remainder) - 33);
270 Remainder = RShiftU64 (Remainder, (UINTN) Shift);
272 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);
  /device/linaro/bootloader/OpenPlatformPkg/Library/UsbSerialNumberLib/
UsbSerialNumberLib.c 44 INT64 Quotient, Remainder, Tmp;
50 Remainder = (INT64) Seed % 127773;
51 Tmp = (16807 * Remainder) - (2836 * Quotient);
  /device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/AcpiTimerLib/
AcpiTimerLib.c 314 UINT64 Remainder;
324 NanoSeconds = MultU64x32 (DivU64x64Remainder (Ticks, Frequency, &Remainder), 1000000000u);
327 // Ensure (Remainder * 1,000,000,000) will not overflow 64-bit.
328 // Since 2^29 < 1,000,000,000 = 0x3B9ACA00 < 2^30, Remainder should < 2^(64-30) = 2^34,
329 // i.e. highest bit set in Remainder should <= 33.
331 Shift = MAX (0, HighBitSet64 (Remainder) - 33);
332 Remainder = RShiftU64 (Remainder, (UINTN) Shift);
334 NanoSeconds += DivU64x64Remainder (MultU64x32 (Remainder, 1000000000u), Frequency, NULL);

Completed in 549 milliseconds

1 2 3 4