Home
last modified time | relevance | path

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

12345678910>>...40

/netbsd-src/sys/external/bsd/acpica/dist/compiler/
H A Daslprepkg.c70 UINT32 Count);
76 UINT32 Count,
88 UINT32 Count,
121 UINT32 Count; in ApCheckPackage() local
132 Count = (UINT32) Op->Asl.Value.Integer; in ApCheckPackage()
141 if (!Count) in ApCheckPackage()
189 if (Count < ExpectedCount) in ApCheckPackage()
193 else if (Count > ExpectedCount) in ApCheckPackage()
196 Count, ExpectedCount); in ApCheckPackage()
211 for (i = 0; i < Count; i++) in ApCheckPackage()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DLEB128.h26 unsigned Count = 0; variable
33 Count++;
34 if (More || Count < PadTo)
40 if (Count < PadTo) {
42 for (; Count < PadTo - 1; ++Count)
45 Count++;
47 return Count;
54 unsigned Count = 0; variable
62 Count++;
63 if (More || Count < PadTo)
[all …]
H A DDebugCounter.h82 ++CounterInfo.Count; in shouldExecute()
89 if (CounterInfo.Skip >= CounterInfo.Count) in shouldExecute()
93 return CounterInfo.StopAfter + CounterInfo.Skip >= CounterInfo.Count; in shouldExecute()
111 return Result->second.Count; in getCounterValue()
115 static void setCounterValue(unsigned ID, int64_t Count) { in setCounterValue() argument
117 Us.Counters[ID].Count = Count; in setCounterValue()
170 int64_t Count = 0; member
/netbsd-src/sys/external/bsd/acpica/dist/namespace/
H A Dnsprepkg.c61 UINT32 Count);
77 UINT32 Count);
105 UINT32 Count; in AcpiNsCheckPackage() local
119 ReturnObject->Package.Count)); in AcpiNsCheckPackage()
130 Count = ReturnObject->Package.Count; in AcpiNsCheckPackage()
136 if (!Count) in AcpiNsCheckPackage()
159 Status = AcpiNsCustomPackage (Info, Elements, Count); in AcpiNsCheckPackage()
170 if (Count < ExpectedCount) in AcpiNsCheckPackage()
174 else if (Count > ExpectedCount) in AcpiNsCheckPackage()
179 Info->FullPathname, Count, ExpectedCount)); in AcpiNsCheckPackage()
[all …]
H A Dnsrepair2.c139 UINT32 Count,
443 for (i = 0; i < ReturnObject->Package.Count; i++) in AcpiNsRepair_CID()
507 OuterElementCount = ReturnObject->Package.Count - 1; in AcpiNsRepair_CST()
514 if ((*OuterElements)->Package.Count == 0) in AcpiNsRepair_CST()
687 ElementCount = PackageObject->Package.Count; in AcpiNsRepair_PRT()
698 if (SubPackage->Package.Count < 4) in AcpiNsRepair_PRT()
778 OuterElementCount = ReturnObject->Package.Count; in AcpiNsRepair_PSS()
901 OuterElementCount = ReturnObject->Package.Count; in AcpiNsCheckSortedList()
929 if ((*OuterElements)->Package.Count < ExpectedCount) in AcpiNsCheckSortedList()
991 UINT32 Count, in AcpiNsSortList() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DWaymarking.h137 template <unsigned Len, bool Stop, unsigned Count, uint8_t... Vals>
141 template <unsigned Len, unsigned Count, uint8_t... Vals> struct GenTag {
143 typename AddTag<Len, (Count <= MARK_MASK), Count, Vals...>::Xdata Xdata;
154 template <unsigned Len, unsigned Count, uint8_t... Vals>
155 struct AddTag<Len, false, Count, Vals...> {
156 typedef typename GenTag<Len - 1, (Count >> MARK_SIZE), Vals...,
157 Count & MARK_MASK>::Xdata Xdata;
161 template <unsigned Len, unsigned Count, uint8_t... Vals>
162 struct AddTag<Len, true, Count, Vals...> {
164 (Count & MARK_MASK) | STOP_MASK>::Xdata Xdata;
[all …]
/netbsd-src/sys/external/bsd/acpica/dist/utilities/
H A Dutclib.c115 ACPI_SIZE Count) in memcmp() argument
121 for ( ; Count-- && (*Buffer1 == *Buffer2); Buffer1++, Buffer2++) in memcmp()
125 return ((Count == ACPI_SIZE_MAX) ? 0 : ((unsigned char) *Buffer1 - in memcmp()
148 ACPI_SIZE Count) in memmove() argument
158 while (Count) in memmove()
163 Count--; in memmove()
170 New = New + Count - 1; in memmove()
171 Old = Old + Count - 1; in memmove()
172 while (Count) in memmove()
177 Count--; in memmove()
[all …]
H A Dutbuffer.c73 UINT32 Count, in AcpiUtDumpBuffer() argument
91 if ((Count < 4) || (Count & 0x01)) in AcpiUtDumpBuffer()
98 while (i < Count) in AcpiUtDumpBuffer()
111 if (i + j >= Count) in AcpiUtDumpBuffer()
162 if (i + j >= Count) in AcpiUtDumpBuffer()
221 UINT32 Count, in AcpiUtDebugDumpBuffer() argument
234 AcpiUtDumpBuffer (Buffer, Count, Display, 0); in AcpiUtDebugDumpBuffer()
263 UINT32 Count, in AcpiUtDumpBufferToFile() argument
279 if ((Count < 4) || (Count & 0x01)) in AcpiUtDumpBufferToFile()
286 while (i < Count) in AcpiUtDumpBufferToFile()
[all …]
H A Dutids.c265 UINT32 Count; in AcpiUtExecute_CID() local
290 Count = ObjDesc->Package.Count; in AcpiUtExecute_CID()
295 Count = 1; in AcpiUtExecute_CID()
300 for (i = 0; i < Count; i++) in AcpiUtExecute_CID()
330 (Count * sizeof (ACPI_PNP_DEVICE_ID)) + in AcpiUtExecute_CID()
343 ((ACPI_SIZE) Count * sizeof (ACPI_PNP_DEVICE_ID)); in AcpiUtExecute_CID()
347 for (i = 0; i < Count; i++) in AcpiUtExecute_CID()
372 CidList->Count = Count; in AcpiUtExecute_CID()
412 UINT32 Count; in AcpiUtExecute_CLS() local
433 Count = ObjDesc->Package.Count; in AcpiUtExecute_CLS()
[all …]
H A Dutmath.c141 UINT32 Count, in AcpiUtShortShiftLeft() argument
152 if ((Count & 63) >= 32) in AcpiUtShortShiftLeft()
156 Count = (Count & 63) - 32; in AcpiUtShortShiftLeft()
159 OperandOvl.Part.Lo, Count); in AcpiUtShortShiftLeft()
186 UINT32 Count, in AcpiUtShortShiftRight() argument
197 if ((Count & 63) >= 32) in AcpiUtShortShiftRight()
201 Count = (Count & 63) - 32; in AcpiUtShortShiftRight()
204 OperandOvl.Part.Lo, Count); in AcpiUtShortShiftRight()
260 UINT32 Count, in AcpiUtShortShiftLeft() argument
271 *OutResult = Operand << Count; in AcpiUtShortShiftLeft()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineSizeOpts.cpp34 auto Count = MBFI->getBlockProfileCount(MBB); in isColdBlock() local
35 return Count && PSI->isColdCount(*Count); in isColdBlock()
41 auto Count = MBFI->getProfileCountFromFreq(BlockFreq.getFrequency()); in isColdBlock() local
42 return Count && PSI->isColdCount(*Count); in isColdBlock()
50 auto Count = MBFI->getBlockProfileCount(MBB); in isHotBlockNthPercentile() local
51 return Count && PSI->isHotCountNthPercentile(PercentileCutoff, *Count); in isHotBlockNthPercentile()
58 auto Count = MBFI->getProfileCountFromFreq(BlockFreq.getFrequency()); in isHotBlockNthPercentile() local
59 return Count && PSI->isHotCountNthPercentile(PercentileCutoff, *Count); in isHotBlockNthPercentile()
66 auto Count = MBFI->getBlockProfileCount(MBB); in isColdBlockNthPercentile() local
67 return Count && PSI->isColdCountNthPercentile(PercentileCutoff, *Count); in isColdBlockNthPercentile()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DProfileGenerator.cpp130 void addBeginCount(uint64_t Count) { BeginCount += Count; } in findDisjointRanges()
132 void addEndCount(uint64_t Count) { EndCount += Count; } in findDisjointRanges()
167 uint64_t Count = Item.second; in findDisjointRanges() local
170 Boundaries[Begin].addBeginCount(Count); in findDisjointRanges()
174 Boundaries[End].addEndCount(Count); in findDisjointRanges()
178 int Count = 0; in findDisjointRanges() local
184 DisjointRanges[{BeginAddress, Address - 1}] = Count; in findDisjointRanges()
185 Count += Point.BeginCount; in findDisjointRanges()
190 DisjointRanges[{BeginAddress, Address}] = Count; in findDisjointRanges()
191 Count -= Point.EndCount; in findDisjointRanges()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLoopUnrollPass.cpp200 UP.Count = 0; in gatherUnrollingPreferences()
261 UP.Count = *UserCount; in gatherUnrollingPreferences()
710 unsigned Count = in unrollCountPragmaValue() local
712 assert(Count >= 1 && "Unroll count must be positive."); in unrollCountPragmaValue()
713 return Count; in unrollCountPragmaValue()
750 return (uint64_t)(LoopSize - UP.BEInsns) * UP.Count + UP.BEInsns; in getUnrolledLoopSize()
776 UP.Count = UnrollCount; in computeUnrollCount()
786 UP.Count = PragmaCount; in computeUnrollCount()
796 UP.Count = TripCount; in computeUnrollCount()
842 UP.Count = FullUnrollTripCount; in computeUnrollCount()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp115 uint64_t Count = I.second.getSamples(); in addRecord() local
117 (Count != sampleprof::FunctionSamples::InvalidProbeCount)) in addRecord()
118 addCount(Count); in addRecord()
135 uint64_t CurrSum = 0, Count = 0; in computeDetailedSummary() local
147 Count = Iter->first; in computeDetailedSummary()
149 CurrSum += (Count * Freq); in computeDetailedSummary()
154 ProfileSummaryEntry PSE = {Cutoff, Count, CountsSeen}; in computeDetailedSummary()
220 void InstrProfSummaryBuilder::addEntryCount(uint64_t Count) { in addEntryCount() argument
224 if (Count == (uint64_t)-1) in addEntryCount()
227 addCount(Count); in addEntryCount()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp185 uint64_t Count; member
187 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {} in PromotionCandidate()
235 uint64_t Count = ValueDataRef[I].Count; in getPromotionCandidatesForCallSite() local
236 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite()
238 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count in getPromotionCandidatesForCallSite()
292 << NV("Count", Count) << ": " << Reason; in getPromotionCandidatesForCallSite()
297 Ret.push_back(PromotionCandidate(TargetFunction, Count)); in getPromotionCandidatesForCallSite()
298 TotalCount -= Count; in getPromotionCandidatesForCallSite()
304 uint64_t Count, uint64_t TotalCount, in promoteIndirectCall() argument
308 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DIndirectCallPromotionAnalysis.cpp57 bool ICallPromotionAnalysis::isPromotionProfitable(uint64_t Count, in isPromotionProfitable() argument
60 return Count * 100 >= ICPRemainingPercentThreshold * RemainingCount && in isPromotionProfitable()
61 Count * 100 >= ICPTotalPercentThreshold * TotalCount; in isPromotionProfitable()
77 uint64_t Count = ValueDataRef[I].Count; in getProfitablePromotionCandidates() local
78 assert(Count <= RemainingCount); in getProfitablePromotionCandidates()
79 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count in getProfitablePromotionCandidates()
82 if (!isPromotionProfitable(Count, TotalCount, RemainingCount)) { in getProfitablePromotionCandidates()
86 RemainingCount -= Count; in getProfitablePromotionCandidates()
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/
H A Dhotkernel90 my %Count;
100 $Count{$name} += $count;
109 foreach my $name (sort { $Count{$a} <=> $Count{$b} } keys %Count) {
110 printf "%-52s %8d %5.1f%%\n", $name, $Count{$name},
111 100 * $Count{$name} / ($total ? $total : 1);
H A Dhotuser102 my %Count;
113 $Count{$name} += $count;
122 foreach my $name (sort { $Count{$a} <=> $Count{$b} } keys %Count) {
123 printf "%-52s %8d %5.1f%%\n", $name, $Count{$name},
124 100 * $Count{$name} / ($total ? $total : 1);
/netbsd-src/external/cddl/dtracetoolkit/dist/
H A Dhotuser102 my %Count;
113 $Count{$name} += $count;
122 foreach my $name (sort { $Count{$a} <=> $Count{$b} } keys %Count) {
123 printf "%-52s %8d %5.1f%%\n", $name, $Count{$name},
124 100 * $Count{$name} / ($total ? $total : 1);
H A Dhotkernel90 my %Count;
100 $Count{$name} += $count;
109 foreach my $name (sort { $Count{$a} <=> $Count{$b} } keys %Count) {
110 printf "%-52s %8d %5.1f%%\n", $name, $Count{$name},
111 100 * $Count{$name} / ($total ? $total : 1);
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DProfileCommon.h60 inline void addCount(uint64_t Count);
77 inline void addEntryCount(uint64_t Count);
78 inline void addInternalCount(uint64_t Count);
101 void ProfileSummaryBuilder::addCount(uint64_t Count) { in addCount() argument
102 TotalCount += Count; in addCount()
103 if (Count > MaxCount) in addCount()
104 MaxCount = Count; in addCount()
106 CountFrequencies[Count]++; in addCount()
/netbsd-src/sys/external/bsd/acpica/dist/include/
H A Dacclib.h134 ACPI_SIZE Count);
140 ACPI_SIZE Count);
146 ACPI_SIZE Count);
169 ACPI_SIZE Count);
175 ACPI_SIZE Count);
181 ACPI_SIZE Count);
187 ACPI_SIZE Count);
287 ACPI_SIZE Count,
294 ACPI_SIZE Count,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.cpp78 unsigned &Count = SampleCoverage[FS][Loc]; in markSamplesUsed() local
79 bool FirstTime = (++Count == 1); in markSamplesUsed()
95 unsigned Count = (I != SampleCoverage.end()) ? I->second.size() : 0; in countUsedRecords() local
104 Count += countUsedRecords(CalleeSamples, PSI); in countUsedRecords()
107 return Count; in countUsedRecords()
116 unsigned Count = FS->getBodySamples().size(); in countBodyRecords() local
123 Count += countBodyRecords(CalleeSamples, PSI); in countBodyRecords()
126 return Count; in countBodyRecords()
/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_buffer_queue.cc31 BufferQueue::ControlBlock *allocControlBlock(size_t Size, size_t Count) { in allocControlBlock() argument
33 allocateBuffer((sizeof(BufferQueue::ControlBlock) - 1) + (Size * Count)); in allocControlBlock()
39 size_t Count) { in deallocControlBlock() argument
41 (sizeof(BufferQueue::ControlBlock) - 1) + (Size * Count)); in deallocControlBlock()
44 void decRefCount(BufferQueue::ControlBlock *C, size_t Size, size_t Count) { in decRefCount() argument
48 deallocControlBlock(C, Size, Count); in decRefCount()
134 Buf.Count = BufferCount; in init()
193 decRefCount(Buf.BackingStore, Buf.Size, Buf.Count); in releaseBuffer()
194 decRefCount(Buf.ExtentsBackingStore, kExtentsSize, Buf.Count); in releaseBuffer()
211 decRefCount(Buf.BackingStore, Buf.Size, Buf.Count); in releaseBuffer()
[all …]

12345678910>>...40