Home
last modified time | relevance | path

Searched refs:Count (Results 1 – 25 of 635) sorted by relevance

12345678910>>...26

/freebsd-14.2/sys/contrib/dev/acpica/compiler/
H A Daslprepkg.c249 if (!Count) in ApCheckPackage()
297 if (Count < ExpectedCount) in ApCheckPackage()
383 Count--; in ApCheckPackage()
388 Package, 1, Count); in ApCheckPackage()
420 Package, 1, Count); in ApCheckPackage()
429 if (Count & 1) in ApCheckPackage()
497 Package, 0, Count); in ApCheckPackage()
508 Count, ExpectedCount); in ApCheckPackage()
564 if (Count < ExpectedCount) in ApCustomPackage()
722 if (!Count && in ApCheckPackageList()
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dallocator_common.h24 Count = N; in setFromArray()
31 Count = static_cast<u16>(Count + N); in appendFromArray()
35 DCHECK_GE(B->Count, N); in appendFromTransferBatch()
37 memcpy(Batch + Count, B->Batch + (B->Count - N), sizeof(Batch[0]) * N); in appendFromTransferBatch()
39 Count = static_cast<u16>(Count + N); in appendFromTransferBatch()
40 B->Count = static_cast<u16>(B->Count - N); in appendFromTransferBatch()
42 void clear() { Count = 0; } in clear()
44 DCHECK_LT(Count, MaxNumCached); in add()
45 Batch[Count++] = P; in add()
54 DCHECK_LE(I, Count); in get()
[all …]
H A Dlocal_cache.h43 if (C->Count == 0) { in allocate()
48 DCHECK_GT(C->Count, 0); in allocate()
70 C->Chunks[C->Count++] = in deallocate()
80 if (PerClassArray[I].Count) in isEmpty()
90 while (PerClassArray[I].Count > 0) in drain()
110 if (PerClassArray[I].Count == 0) in getStats()
139 u16 Count; in alignas() local
173 C->Count = static_cast<u16>(C->Count + NumBlocksRefilled); in refill()
178 const u16 Count = Min(static_cast<u16>(C->MaxCount / 2), C->Count); in drain() local
181 C->Count = static_cast<u16>(C->Count - Count); in drain()
[all …]
H A Dquarantine.h25 u32 Count; member
29 Count = 1; in init()
38 DCHECK_LT(Count, MaxCount); in push_back()
39 Batch[Count++] = Ptr; in push_back()
44 return Count + From->Count <= MaxCount; in canMerge()
48 DCHECK_LE(Count + From->Count, MaxCount); in merge()
52 Batch[Count + I] = From->Batch[I]; in merge()
53 Count += From->Count; in merge()
56 From->Count = 0; in merge()
116 DCHECK_EQ(Extracted->Count, 0); in mergeBatches()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DLEB128.h33 Count++;
42 for (; Count < PadTo - 1; ++Count)
45 Count++;
47 return Count;
62 Count++;
71 for (; Count < PadTo - 1; ++Count)
86 Count++;
94 for (; Count < PadTo - 1; ++Count)
97 Count++;
111 Count++;
[all …]
H A DDebugCounter.h80 ++CounterInfo.Count; in shouldExecute()
87 if (CounterInfo.Skip >= CounterInfo.Count) in shouldExecute()
91 return CounterInfo.StopAfter + CounterInfo.Skip >= CounterInfo.Count; in shouldExecute()
109 return Result->second.Count; in getCounterValue()
113 static void setCounterValue(unsigned ID, int64_t Count) { in setCounterValue() argument
115 Us.Counters[ID].Count = Count; in setCounterValue()
168 int64_t Count = 0; member
/freebsd-14.2/sys/contrib/dev/acpica/components/namespace/
H A Dnsprepkg.c238 Count = ReturnObject->Package.Count; in AcpiNsCheckPackage()
244 if (!Count) in AcpiNsCheckPackage()
372 Count--; in AcpiNsCheckPackage()
400 Count = ExpectedCount; in AcpiNsCheckPackage()
438 Count = 1; in AcpiNsCheckPackage()
457 if (Count & 1) in AcpiNsCheckPackage()
463 while (Count > 0) in AcpiNsCheckPackage()
489 Count -= 2; in AcpiNsCheckPackage()
513 Count, ExpectedCount)); in AcpiNsCheckPackage()
557 for (i = 0; i < Count; i++) in AcpiNsCheckPackageList()
[all …]
H A Dnsrepair2.c247 UINT32 Count,
802 ElementCount = PackageObject->Package.Count; in AcpiNsRepair_PRT()
813 if (SubPackage->Package.Count < 4) in AcpiNsRepair_PRT()
1106 UINT32 Count, in AcpiNsSortList() argument
1119 for (i = 1; i < Count; i++) in AcpiNsSortList()
1121 for (j = (Count - 1); j >= i; j--) in AcpiNsSortList()
1161 UINT32 Count; in AcpiNsRemoveElement() local
1169 Count = ObjDesc->Package.Count; in AcpiNsRemoveElement()
1170 NewCount = Count - 1; in AcpiNsRemoveElement()
1177 for (i = 0; i < Count; i++) in AcpiNsRemoveElement()
[all …]
/freebsd-14.2/sys/contrib/dev/acpica/components/utilities/
H A Dutbuffer.c181 UINT32 Count, in AcpiUtDumpBuffer() argument
199 if ((Count < 4) || (Count & 0x01)) in AcpiUtDumpBuffer()
206 while (i < Count) in AcpiUtDumpBuffer()
219 if (i + j >= Count) in AcpiUtDumpBuffer()
270 if (i + j >= Count) in AcpiUtDumpBuffer()
329 UINT32 Count, in AcpiUtDebugDumpBuffer() argument
371 UINT32 Count, in AcpiUtDumpBufferToFile() argument
387 if ((Count < 4) || (Count & 0x01)) in AcpiUtDumpBufferToFile()
394 while (i < Count) in AcpiUtDumpBufferToFile()
404 if (i + j >= Count) in AcpiUtDumpBufferToFile()
[all …]
H A Dutids.c373 UINT32 Count; in AcpiUtExecute_CID() local
398 Count = ObjDesc->Package.Count; in AcpiUtExecute_CID()
403 Count = 1; in AcpiUtExecute_CID()
408 for (i = 0; i < Count; i++) in AcpiUtExecute_CID()
438 (Count * sizeof (ACPI_PNP_DEVICE_ID)) + in AcpiUtExecute_CID()
451 ((ACPI_SIZE) Count * sizeof (ACPI_PNP_DEVICE_ID)); in AcpiUtExecute_CID()
455 for (i = 0; i < Count; i++) in AcpiUtExecute_CID()
480 CidList->Count = Count; in AcpiUtExecute_CID()
520 UINT32 Count; in AcpiUtExecute_CLS() local
541 Count = ObjDesc->Package.Count; in AcpiUtExecute_CLS()
[all …]
H A Dutmath.c249 UINT32 Count, in AcpiUtShortShiftLeft() argument
260 if ((Count & 63) >= 32) in AcpiUtShortShiftLeft()
264 Count = (Count & 63) - 32; in AcpiUtShortShiftLeft()
267 OperandOvl.Part.Lo, Count); in AcpiUtShortShiftLeft()
294 UINT32 Count, in AcpiUtShortShiftRight() argument
305 if ((Count & 63) >= 32) in AcpiUtShortShiftRight()
309 Count = (Count & 63) - 32; in AcpiUtShortShiftRight()
312 OperandOvl.Part.Lo, Count); in AcpiUtShortShiftRight()
368 UINT32 Count, in AcpiUtShortShiftLeft() argument
379 *OutResult = Operand << Count; in AcpiUtShortShiftLeft()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp123 uint64_t Count = I.second.getSamples(); in addRecord() local
124 addCount(Count); in addRecord()
141 uint64_t CurrSum = 0, Count = 0; in computeDetailedSummary() local
153 Count = Iter->first; in computeDetailedSummary()
155 CurrSum += (Count * Freq); in computeDetailedSummary()
230 addCount(Count); in addEntryCount()
231 if (Count > MaxFunctionCount) in addEntryCount()
232 MaxFunctionCount = Count; in addEntryCount()
238 addCount(Count); in addInternalCount()
239 if (Count > MaxInternalBlockCount) in addInternalCount()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp125 const uint64_t Count; member
175 uint64_t Count = ValueDataRef[I].Count; in getPromotionCandidatesForCallSite() local
176 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite()
233 << NV("Count", Count) << ": " << Reason; in getPromotionCandidatesForCallSite()
238 Ret.push_back(PromotionCandidate(TargetFunction, Count)); in getPromotionCandidatesForCallSite()
239 TotalCount -= Count; in getPromotionCandidatesForCallSite()
249 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall()
250 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall()
282 uint64_t Count = C.Count; in tryToPromote() local
285 assert(TotalCount >= Count); in tryToPromote()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h199 auto Count = BFI->getBlockProfileCount(BB); in isHotBlock() local
200 return Count && isHotCount(*Count); in isHotBlock()
206 auto Count = BFI->getBlockProfileCount(BB); in isColdBlock() local
207 return Count && isColdCount(*Count); in isColdBlock()
212 auto Count = BFI->getProfileCountFromFreq(BlockFreq); in isColdBlock() local
213 return Count && isColdCount(*Count); in isColdBlock()
307 auto Count = BFI->getBlockProfileCount(BB); in isHotOrColdBlockNthPercentile() local
309 return Count && isHotCountNthPercentile(PercentileCutoff, *Count); in isHotOrColdBlockNthPercentile()
311 return Count && isColdCountNthPercentile(PercentileCutoff, *Count); in isHotOrColdBlockNthPercentile()
320 return Count && isHotCountNthPercentile(PercentileCutoff, *Count); in isHotOrColdBlockNthPercentile()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DIndirectCallPromotionAnalysis.cpp52 bool ICallPromotionAnalysis::isPromotionProfitable(uint64_t Count, in isPromotionProfitable() argument
55 return Count * 100 >= ICPRemainingPercentThreshold * RemainingCount && in isPromotionProfitable()
56 Count * 100 >= ICPTotalPercentThreshold * TotalCount; in isPromotionProfitable()
72 uint64_t Count = ValueDataRef[I].Count; in getProfitablePromotionCandidates() local
73 assert(Count <= RemainingCount); in getProfitablePromotionCandidates()
74 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count in getProfitablePromotionCandidates()
77 if (!isPromotionProfitable(Count, TotalCount, RemainingCount)) { in getProfitablePromotionCandidates()
81 RemainingCount -= Count; in getProfitablePromotionCandidates()
/freebsd-14.2/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dsallist.h65 bit32 Count; member
101 (pList)->Count = 0; \
107 (pList)->Count = 0; \
180 (pList)->Count ++; \
189 (pList)->Count ++; \
230 (pList)->Count ++; \
271 (pList)->Count --; \
278 (pList)->Count --; \
358 #define saLlistGetCount(pList) ((pList)->Count)
360 #define saLlistIOGetCount(pList) ((pList)->Count)
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DProfileCommon.h65 inline void addCount(uint64_t Count);
82 inline void addEntryCount(uint64_t Count);
83 inline void addInternalCount(uint64_t Count);
106 void ProfileSummaryBuilder::addCount(uint64_t Count) { in addCount() argument
107 TotalCount += Count; in addCount()
108 if (Count > MaxCount) in addCount()
109 MaxCount = Count; in addCount()
111 CountFrequencies[Count]++; in addCount()
/freebsd-14.2/sys/contrib/dev/acpica/include/
H A Dacclib.h242 ACPI_SIZE Count);
248 ACPI_SIZE Count);
254 ACPI_SIZE Count);
277 ACPI_SIZE Count);
283 ACPI_SIZE Count);
289 ACPI_SIZE Count);
295 ACPI_SIZE Count);
395 ACPI_SIZE Count,
402 ACPI_SIZE Count,
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dxray-graph.h43 int64_t Count; member
168 return {A.Count + B.Count, A.Min + B.Min, A.Median + B.Median,
177 return {A.Count - B.Count, A.Min - B.Min, A.Median - B.Median,
186 return {static_cast<int64_t>(A.Count / B),
198 return {static_cast<int64_t>(A.Count * B),
216 return {A.Count * B.Count, A.Min * B.Min, A.Median * B.Median,
224 return {A.Count / B.Count, A.Min / B.Min, A.Median / B.Median,
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp200 UP.Count = 0; in gatherUnrollingPreferences()
736 return Count; in unrollCountPragmaValue()
904 UP.Count = 1; in computeUnrollCount()
934 UP.Count = 0; in computeUnrollCount()
972 UP.Count = 1; in computeUnrollCount()
1027 UP.Count = 0; in computeUnrollCount()
1033 UP.Count = 0; in computeUnrollCount()
1051 UP.Count = 0; in computeUnrollCount()
1068 while (UP.Count != 0 && TripMultiple % UP.Count != 0) in computeUnrollCount()
1105 UP.Count = 0; in computeUnrollCount()
[all …]
H A DLoopUnrollAndJamPass.cpp133 unsigned Count = in unrollAndJamCountPragmaValue() local
136 return Count; in unrollAndJamCountPragmaValue()
177 UP.Count = 0; in computeUnrollAndJamCount()
196 UP.Count = PragmaCount; in computeUnrollAndJamCount()
219 UP.Count = 0; in computeUnrollAndJamCount()
229 UP.Count--; in computeUnrollAndJamCount()
242 UP.Count = 0; in computeUnrollAndJamCount()
251 UP.Count = 0; in computeUnrollAndJamCount()
271 UP.Count = 0; in computeUnrollAndJamCount()
374 if (UP.Count <= 1) in tryToUnrollAndJamLoop()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp86 unsigned &Count = SampleCoverage[FS][Loc]; in markSamplesUsed() local
87 bool FirstTime = (++Count == 1); in markSamplesUsed()
103 unsigned Count = (I != SampleCoverage.end()) ? I->second.size() : 0; in countUsedRecords() local
112 Count += countUsedRecords(CalleeSamples, PSI); in countUsedRecords()
115 return Count; in countUsedRecords()
124 unsigned Count = FS->getBodySamples().size(); in countBodyRecords() local
131 Count += countBodyRecords(CalleeSamples, PSI); in countBodyRecords()
134 return Count; in countBodyRecords()
/freebsd-14.2/contrib/bearssl/T0/
H A DWordBuilder.cs77 if (jumpToLast || code[code.Count - 1].MayFallThrough) { in Build()
80 Word w = new WordInterpreted(TC, name, locals.Count, in Build()
141 CSPush(code.Count); in CSPushOrig()
150 CSPush(-code.Count - 1); in CSPushDest()
278 locals[lname] = locals.Count; in DefLocal()
341 code[x].ResolveJump(code.Count - x - 1); in Then()
361 Add(new OpcodeJumpUncond(x - code.Count - 1)); in Again()
372 Add(new OpcodeJumpIf(x - code.Count - 1)); in AgainIf()
383 Add(new OpcodeJumpIfNot(x - code.Count - 1)); in AgainIfNot()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_buffer_queue.cpp30 BufferQueue::ControlBlock *allocControlBlock(size_t Size, size_t Count) { in allocControlBlock() argument
32 allocateBuffer((sizeof(BufferQueue::ControlBlock) - 1) + (Size * Count)); in allocControlBlock()
38 size_t Count) { in deallocControlBlock() argument
40 (sizeof(BufferQueue::ControlBlock) - 1) + (Size * Count)); in deallocControlBlock()
43 void decRefCount(BufferQueue::ControlBlock *C, size_t Size, size_t Count) { in decRefCount() argument
47 deallocControlBlock(C, Size, Count); in decRefCount()
133 Buf.Count = BufferCount; in init()
192 decRefCount(Buf.BackingStore, Buf.Size, Buf.Count); in releaseBuffer()
193 decRefCount(Buf.ExtentsBackingStore, kExtentsSize, Buf.Count); in releaseBuffer()
210 decRefCount(Buf.BackingStore, Buf.Size, Buf.Count); in releaseBuffer()
[all …]
/freebsd-14.2/sys/contrib/dev/acpica/components/resources/
H A Drsdump.c249 UINT32 Count = 0; in AcpiRsDumpResourceList() local
267 AcpiOsPrintf ("\n[%02X] ", Count); in AcpiRsDumpResourceList()
268 Count++; in AcpiRsDumpResourceList()
336 UINT8 Count; in AcpiRsDumpIrqList() local
353 for (Count = 0; PrtElement->Length; Count++) in AcpiRsDumpIrqList()
355 AcpiOsPrintf ("\n[%02X] PCI IRQ Routing Table Package\n", Count); in AcpiRsDumpIrqList()
385 UINT8 Count; in AcpiRsDumpDescriptor() local
390 Count = Table->Offset; in AcpiRsDumpDescriptor()
392 while (Count) in AcpiRsDumpDescriptor()
573 Count--; in AcpiRsDumpDescriptor()

12345678910>>...26