Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 25 of 28) sorted by relevance

12

/device/linaro/bootloader/edk2/StdLib/LibC/Containers/Common/
DModuloUtil.c37 UINT32 Counter, in ModuloIncrement() argument
43 if(Counter < MaxVal) { in ModuloIncrement()
44 Temp = (INT32)(Counter + 1); in ModuloIncrement()
69 UINT32 Counter, in ModuloDecrement() argument
75 if(Counter < MaxVal) { in ModuloDecrement()
76 Temp = (INT32)Counter - 1; in ModuloDecrement()
98 UINT32 Counter in BoundDecrement() argument
101 return ((Counter > 0) ? (Counter - 1) : 0); in BoundDecrement()
115 UINT32 Counter, in BoundIncrement() argument
119 return ((Counter < (MaxVal - 1)) ? (Counter + 1) : (MaxVal - 1)); in BoundIncrement()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
DStall.c32 IN UINT64 Counter in CoreInternalWaitForTick() argument
35 while (RShiftU64 (Counter, 32) > 0) { in CoreInternalWaitForTick()
37 Counter -= 0xffffffff; in CoreInternalWaitForTick()
39 gMetronome->WaitForTick (gMetronome, (UINT32)Counter); in CoreInternalWaitForTick()
58 UINT64 Counter; in CoreStall() local
75 Counter = DivU64x32Remainder ( in CoreStall()
81 CoreInternalWaitForTick (Counter); in CoreStall()
98 Counter = DivU64x32Remainder ( in CoreStall()
107 Counter++; in CoreStall()
109 CoreInternalWaitForTick (Counter); in CoreStall()
/device/linaro/bootloader/edk2/StdLib/Include/Containers/
DModuloUtil.h39 UINT32 Counter,
57 UINT32 Counter,
73 UINT32 Counter,
88 UINT32 Counter,
101 UINT32 Counter
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/
DRtMemoryStatusCode.c176 UINTN Counter; in PlaybackStatusCodes() local
185 …for (Counter = mStatusCodeMemoryPpi.FirstEntry; Counter != mStatusCodeMemoryPpi.LastEntry; Counter in PlaybackStatusCodes()
189 if (Counter == MaxEntry) { in PlaybackStatusCodes()
190 Counter = 0; in PlaybackStatusCodes()
195 …CurrentEntry = (EFI_STATUS_CODE_ENTRY *) (UINTN) (mStatusCodeMemoryPpi.Address + (Counter * sizeof… in PlaybackStatusCodes()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/ARM/Juno/AcpiTables/
DDsdt.asl54 100, //Residency Counter Frequency
57 ResourceTemplate() { // Null Residency Counter
60 ResourceTemplate() { // Null Usage Counter
75 100, //Residency Counter Frequency
86 ResourceTemplate() { // Null Residency Counter
89 ResourceTemplate() { // Null Usage Counter
99 100, //Residency Counter Frequency
110 ResourceTemplate() { // Null Residency Counter
113 ResourceTemplate() { // Null Usage Counter
146 100, //Residency Counter Frequency
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dcollections.py355 class Counter(dict): class
417 super(Counter, self).__init__()
496 super(Counter, self).update(iterable) # fast path when counter is empty
541 super(Counter, self).__delitem__(elem)
565 if not isinstance(other, Counter):
567 result = Counter()
584 if not isinstance(other, Counter):
586 result = Counter()
603 if not isinstance(other, Counter):
605 result = Counter()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_collections.py5 from collections import namedtuple, Counter, OrderedDict
602 c = Counter('abcaba')
603 self.assertEqual(c, Counter({'a':3 , 'b': 2, 'c': 1}))
604 self.assertEqual(c, Counter(a=3, b=2, c=1))
607 self.assertTrue(issubclass(Counter, dict))
608 self.assertTrue(issubclass(Counter, Mapping))
649 self.assertRaises(NotImplementedError, Counter.fromkeys, 'abc')
653 c.update(Counter('a' * 50 + 'b' * 30))
667 words = Counter('which witch had which witches wrist watch'.split())
668 update_test = Counter()
[all …]
Dtest_threading.py19 class Counter(object): class
82 numrunning = Counter()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcollections.py395 class Counter(dict): class
464 super(Counter, self).__init__()
551 super(Counter, self).update(iterable) # fast path when counter is empty
604 super(Counter, self).__delitem__(elem)
628 if not isinstance(other, Counter):
630 result = Counter()
647 if not isinstance(other, Counter):
649 result = Counter()
666 if not isinstance(other, Counter):
668 result = Counter()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiHiiPack/
DHiiPack.c439 int Counter; in DumpRawBytes() local
446 for (Counter = 0; Counter < Count2; Counter += 2) { in DumpRawBytes()
447 if ((Counter & 0xF) == 0) { in DumpRawBytes()
448 if (Counter == 0) { in DumpRawBytes()
463 if ((Counter & 0xF) == 0) { in DumpRawBytes()
464 if (Counter == 0) { in DumpRawBytes()
/device/linaro/bootloader/edk2/UefiCpuPkg/PiSmmCpuDxeSmm/
DMpService.c170 ASSERT (*mSmmMpSyncData->Counter <= mNumberOfCpus); in AllCpusInSmmWithExceptions()
172 if (*mSmmMpSyncData->Counter == mNumberOfCpus) { in AllCpusInSmmWithExceptions()
211 ASSERT (*mSmmMpSyncData->Counter <= mNumberOfCpus); in SmmWaitForApArrival()
250 if (*mSmmMpSyncData->Counter < mNumberOfCpus) { in SmmWaitForApArrival()
358 ApCount = LockdownSemaphore (mSmmMpSyncData->Counter) - 1; in BSPHandler()
446 ApCount = LockdownSemaphore (mSmmMpSyncData->Counter) - 1; in BSPHandler()
529 *mSmmMpSyncData->Counter = 0; in BSPHandler()
592 WaitForSemaphore (mSmmMpSyncData->Counter); in APHandler()
599 WaitForSemaphore (mSmmMpSyncData->Counter); in APHandler()
1127 if (ReleaseSemaphore (mSmmMpSyncData->Counter) == 0) { in SmiRendezvous()
[all …]
DPiSmmCpuDxeSmm.h344 volatile UINT32 *Counter; member
366 volatile UINT32 *Counter; member
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Spi/Devices/
DMvSpiFlash.c106 UINT32 Counter = 0xFFFFF; in MvSpiFlashWriteCommon() local
129 Counter--; in MvSpiFlashWriteCommon()
132 } while (Counter > 0); in MvSpiFlashWriteCommon()
133 if (Counter == 0) { in MvSpiFlashWriteCommon()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/
DMonotonicCounterRuntimeDxeExtra.uni17 "Monotonic Counter DXE Driver"
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/HiiPack/
DHiiPack.c1587 int Counter; in DumpHiiExportFile() local
1664 for (Counter = 0; Counter < NumberOfTables; Counter++) { in DumpHiiExportFile()
2029 int Counter; in DumpRawBytes() local
2031 for (Counter = 0; Counter < Count; Counter++) { in DumpRawBytes()
2032 if ((Counter & 0xF) == 0) { in DumpRawBytes()
2033 if (Counter != 0) { in DumpRawBytes()
2034 fprintf (OutFptr, "\n%*c%08X ", Indent, ' ', Counter); in DumpRawBytes()
2036 fprintf (OutFptr, "\n%*c%08X ", Indent, ' ', Counter); in DumpRawBytes()
/device/linaro/bootloader/edk2/PerformancePkg/Library/TscTimerLib/
DPeiTscTimerLib.inf2 # Pei Timer Library which uses the Time Stamp Counter in the processor.
DBaseTscTimerLib.inf2 # Base Timer Library which uses the Time Stamp Counter in the processor.
DDxeTscTimerLib.inf2 # Dxe Timer Library which uses the Time Stamp Counter in the processor.
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/Ia32/
DPeiCoreEntry.S98 # Save Time-Stamp Counter
DPeiCoreEntry.asm105 ; Save Time-Stamp Counter
/device/linaro/bootloader/edk2/IntelFsp2WrapperPkg/Library/SecFspWrapperPlatformSecLibSample/Ia32/
DPeiCoreEntry.nasm103 ; Save Time-Stamp Counter
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FspSupport/Library/SecFspPlatformSecLibVlv2/Ia32/
DPeiCoreEntry.asm106 ; Save Time-Stamp Counter
/device/google/sunfish/vibrator/common/bench/
Dbenchmark.cpp25 using ::benchmark::Counter;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/StrGather/
DStringDB.c1594 UINT32 Counter; in StringDBWriteDatabase() local
1629 for (Counter = 0; Counter < mDBData.NumStringIdentifiers; Counter++) { in StringDBWriteDatabase()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/UefiStrGather/
DStringDB.c1078 UINT32 Counter; in StringDBWriteDatabase() local
1113 for (Counter = 0; Counter < mDBData.NumStringIdentifiers; Counter++) { in StringDBWriteDatabase()

12