| /freebsd-13.1/sys/contrib/dev/acpica/compiler/ |
| H A D | aslprepkg.c | 249 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 …]
|
| H A D | dtfield.c | 181 UINT32 *Count); 317 UINT32 Count; in DtCompileUnicode() local 325 Count = strlen (AsciiString) + 1; in DtCompileUnicode() 329 for (i = 0; i < Count; i++) in DtCompileUnicode() 495 UINT32 *Count) in DtNormalizeBuffer() argument 541 *Count = BufferCount + 1; in DtNormalizeBuffer() 571 UINT32 Count; in DtCompileBuffer() local 579 if (Count != ByteLength) in DtCompileBuffer() 583 Count, ByteLength); in DtCompileBuffer() 590 for (i = 0; i < Count; i++, Substring += 3) in DtCompileBuffer() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | LEB128.h | 33 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 D | DebugCounter.h | 82 ++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
|
| /freebsd-13.1/sys/contrib/dev/acpica/components/namespace/ |
| H A D | nsprepkg.c | 238 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 D | nsrepair2.c | 247 UINT32 Count, 785 ElementCount = PackageObject->Package.Count; in AcpiNsRepair_PRT() 796 if (SubPackage->Package.Count < 4) in AcpiNsRepair_PRT() 1089 UINT32 Count, in AcpiNsSortList() argument 1102 for (i = 1; i < Count; i++) in AcpiNsSortList() 1104 for (j = (Count - 1); j >= i; j--) in AcpiNsSortList() 1144 UINT32 Count; in AcpiNsRemoveElement() local 1152 Count = ObjDesc->Package.Count; in AcpiNsRemoveElement() 1153 NewCount = Count - 1; in AcpiNsRemoveElement() 1160 for (i = 0; i < Count; i++) in AcpiNsRemoveElement() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | Waymarking.h | 143 typename AddTag<Len, (Count <= MARK_MASK), Count, Vals...>::Xdata Xdata; 162 struct AddTag<Len, true, Count, Vals...> { 170 static const unsigned Remain = Count; 178 struct AddTag<0, false, Count, Vals...> { 179 typedef TagsData<Count, Vals...> Xdata; 183 struct AddTag<0, true, Count, Vals...> { 184 typedef TagsData<Count, Vals...> Xdata; 192 template <unsigned Count, uint8_t... Vals> 254 Count = Off; 269 Count = Offset; [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
| H A D | local_cache.h | 26 Count = N; in setFromArray() 29 void clear() { Count = 0; } in clear() 32 Batch[Count++] = P; in add() 39 DCHECK_LE(I, Count); in get() 48 u32 Count; 69 if (C->Count == 0) { in allocate() 72 DCHECK_GT(C->Count, 0); in allocate() 94 C->Chunks[C->Count++] = in deallocate() 132 u32 Count; member 183 const u32 Count = Min(C->MaxCount / 2, C->Count); in drain() local [all …]
|
| H A D | quarantine.h | 24 u32 Count; member 28 Count = 1; in init() 37 DCHECK_LT(Count, MaxCount); in push_back() 38 Batch[Count++] = Ptr; in push_back() 43 return Count + From->Count <= MaxCount; in canMerge() 47 DCHECK_LE(Count + From->Count, MaxCount); in merge() 51 Batch[Count + I] = From->Batch[I]; in merge() 52 Count += From->Count; in merge() 55 From->Count = 0; in merge() 115 DCHECK_EQ(Extracted->Count, 0); in mergeBatches() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | MachineSizeOpts.cpp | 34 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 …]
|
| /freebsd-13.1/sys/contrib/dev/acpica/components/utilities/ |
| H A D | utbuffer.c | 181 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 D | utids.c | 373 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 D | utmath.c | 249 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-13.1/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 116 addCount(Count); in addRecord() 133 uint64_t CurrSum = 0, Count = 0; in computeDetailedSummary() local 145 Count = Iter->first; in computeDetailedSummary() 147 CurrSum += (Count * Freq); in computeDetailedSummary() 222 if (Count == (uint64_t)-1) in addEntryCount() 225 addCount(Count); in addEntryCount() 226 if (Count > MaxFunctionCount) in addEntryCount() 227 MaxFunctionCount = Count; in addEntryCount() 232 if (Count == (uint64_t)-1) in addInternalCount() 235 addCount(Count); in addInternalCount() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 185 uint64_t Count; member 235 uint64_t Count = ValueDataRef[I].Count; in getPromotionCandidatesForCallSite() local 236 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite() 293 << NV("Count", Count) << ": " << Reason; in getPromotionCandidatesForCallSite() 298 Ret.push_back(PromotionCandidate(TargetFunction, Count)); in getPromotionCandidatesForCallSite() 299 TotalCount -= Count; in getPromotionCandidatesForCallSite() 309 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall() 310 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall() 345 uint64_t Count = C.Count; in tryToPromote() local 348 assert(TotalCount >= Count); in tryToPromote() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 200 UP.Count = 0; in gatherUnrollingPreferences() 715 return Count; in unrollCountPragmaValue() 781 UP.Count = 1; in computeUnrollCount() 883 UP.Count = 1; in computeUnrollCount() 907 while (UP.Count != 0 && TripCount % UP.Count != 0) in computeUnrollCount() 965 UP.Count = 0; in computeUnrollCount() 971 UP.Count = 0; in computeUnrollCount() 991 UP.Count = 0; in computeUnrollCount() 1008 while (UP.Count != 0 && TripMultiple % UP.Count != 0) in computeUnrollCount() 1172 if (!UP.Count) in tryToUnrollLoop() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | IndirectCallPromotionAnalysis.cpp | 57 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | ProfileCommon.h | 60 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()
|
| /freebsd-13.1/sys/dev/pms/RefTisa/sallsdk/spc/ |
| H A D | sallist.h | 66 bit32 Count; member 102 (pList)->Count = 0; \ 108 (pList)->Count = 0; \ 181 (pList)->Count ++; \ 190 (pList)->Count ++; \ 231 (pList)->Count ++; \ 272 (pList)->Count --; \ 279 (pList)->Count --; \ 359 #define saLlistGetCount(pList) ((pList)->Count) 361 #define saLlistIOGetCount(pList) ((pList)->Count)
|
| /freebsd-13.1/sys/contrib/dev/acpica/include/ |
| H A D | acclib.h | 242 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-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | SampleProfileLoaderBaseUtil.cpp | 78 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()
|
| /freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-xray/ |
| H A D | xray-graph.h | 43 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-13.1/contrib/bearssl/T0/ |
| H A D | WordBuilder.cs | 77 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-13.1/contrib/llvm-project/compiler-rt/lib/xray/ |
| H A D | xray_buffer_queue.cpp | 30 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-13.1/sys/contrib/dev/acpica/components/resources/ |
| H A D | rsdump.c | 249 UINT32 Count = 0; in AcpiRsDumpResourceList() local 267 AcpiOsPrintf ("\n[%02X] ", Count); in AcpiRsDumpResourceList() 268 Count++; in AcpiRsDumpResourceList() 331 UINT8 Count; in AcpiRsDumpIrqList() local 348 for (Count = 0; PrtElement->Length; Count++) in AcpiRsDumpIrqList() 350 AcpiOsPrintf ("\n[%02X] PCI IRQ Routing Table Package\n", Count); in AcpiRsDumpIrqList() 380 UINT8 Count; in AcpiRsDumpDescriptor() local 385 Count = Table->Offset; in AcpiRsDumpDescriptor() 387 while (Count) in AcpiRsDumpDescriptor() 563 Count--; in AcpiRsDumpDescriptor()
|