| /freebsd-12.1/sys/contrib/dev/acpica/compiler/ |
| H A D | aslprepkg.c | 249 if (!Count) in ApCheckPackage() 297 if (Count < ExpectedCount) in ApCheckPackage() 372 Count--; in ApCheckPackage() 377 Package, 1, Count); in ApCheckPackage() 409 Package, 1, Count); in ApCheckPackage() 418 if (Count & 1) in ApCheckPackage() 486 Package, 0, Count); in ApCheckPackage() 497 Count, ExpectedCount); in ApCheckPackage() 553 if (Count < ExpectedCount) in ApCustomPackage() 711 if (!Count && in ApCheckPackageList() [all …]
|
| H A D | dtfield.c | 181 UINT32 *Count); 315 UINT32 Count; in DtCompileUnicode() local 323 Count = strlen (AsciiString) + 1; in DtCompileUnicode() 327 for (i = 0; i < Count; i++) in DtCompileUnicode() 493 UINT32 *Count) in DtNormalizeBuffer() argument 539 *Count = BufferCount + 1; in DtNormalizeBuffer() 569 UINT32 Count; in DtCompileBuffer() local 575 StringValue = DtNormalizeBuffer (StringValue, &Count); in DtCompileBuffer() 580 for (i = 0; i < Count; i++, Substring += 3) in DtCompileBuffer() 603 return (ByteLength - Count); in DtCompileBuffer()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | LEB128.h | 34 Count++; 43 for (; Count < PadTo - 1; ++Count) 46 Count++; 48 return Count; 63 Count++; 72 for (; Count < PadTo - 1; ++Count) 87 Count++; 95 for (; Count < PadTo - 1; ++Count) 98 Count++; 112 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-12.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, 792 ElementCount = PackageObject->Package.Count; in AcpiNsRepair_PRT() 803 if (SubPackage->Package.Count < 4) in AcpiNsRepair_PRT() 1096 UINT32 Count, in AcpiNsSortList() argument 1109 for (i = 1; i < Count; i++) in AcpiNsSortList() 1111 for (j = (Count - 1); j >= i; j--) in AcpiNsSortList() 1151 UINT32 Count; in AcpiNsRemoveElement() local 1159 Count = ObjDesc->Package.Count; in AcpiNsRemoveElement() 1160 NewCount = Count - 1; in AcpiNsRemoveElement() 1167 for (i = 0; i < Count; i++) in AcpiNsRemoveElement() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/esan/ |
| H A D | esan_circular_buffer.h | 42 Count = 0; in initialize() 49 CHECK_LT(Idx, Count); 54 CHECK_LT(Idx, Count); 62 if (Count < Capacity) in push_back() 63 ++Count; in push_back() 68 CHECK_GT(Count, 0); in back() 73 CHECK_GT(Count, 0); in pop_back() 74 --Count; in pop_back() 77 return Count; in size() 81 Count = 0; in clear() [all …]
|
| /freebsd-12.1/sys/contrib/dev/acpica/components/utilities/ |
| H A D | utbuffer.c | 181 UINT32 Count, in AcpiUtDumpBuffer() argument 197 if ((Count < 4) || (Count & 0x01)) in AcpiUtDumpBuffer() 204 while (i < Count) in AcpiUtDumpBuffer() 214 if (i + j >= Count) in AcpiUtDumpBuffer() 263 if (i + j >= Count) in AcpiUtDumpBuffer() 321 UINT32 Count, in AcpiUtDebugDumpBuffer() argument 363 UINT32 Count, in AcpiUtDumpBufferToFile() argument 379 if ((Count < 4) || (Count & 0x01)) in AcpiUtDumpBufferToFile() 386 while (i < Count) in AcpiUtDumpBufferToFile() 396 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 - 1) * 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-12.1/contrib/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 66 uint64_t CurrSum = 0, Count = 0; in computeDetailedSummary() local 78 Count = Iter->first; in computeDetailedSummary() 80 CurrSum += (Count * Freq); in computeDetailedSummary() 85 ProfileSummaryEntry PSE = {Cutoff, Count, CountsSeen}; in computeDetailedSummary() 104 void InstrProfSummaryBuilder::addEntryCount(uint64_t Count) { in addEntryCount() argument 105 addCount(Count); in addEntryCount() 107 if (Count > MaxFunctionCount) in addEntryCount() 108 MaxFunctionCount = Count; in addEntryCount() 112 addCount(Count); in addInternalCount() 113 if (Count > MaxInternalBlockCount) in addInternalCount() [all …]
|
| H A D | GCOV.cpp | 306 uint32_t Count; in readGCDA() local 309 Count /= 2; in readGCDA() 324 if (Count == 0) { in readGCDA() 332 --Count; in readGCDA() 538 uint64_t Count = 0; in getLineCount() local 550 Count += E->Count; in getLineCount() 561 return Count; in getLineCount() 594 : Options(Options), Count(Count), Total(Total) {} in formatBranchInfo() 606 uint64_t Count; member 862 if (Edge->Count) in printBranchInfo() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/ |
| H A D | LoopUnrollPass.cpp | 181 UP.Count = 0; in gatherUnrollingPreferences() 679 return Count; in UnrollCountPragmaValue() 810 UP.Count = 1; in computeUnrollCount() 829 UP.Count = in computeUnrollCount() 834 while (UP.Count != 0 && TripCount % UP.Count != 0) in computeUnrollCount() 890 UP.Count = 0; in computeUnrollCount() 910 UP.Count = 0; in computeUnrollCount() 927 while (UP.Count != 0 && TripMultiple % UP.Count != 0) in computeUnrollCount() 960 UP.Count = 0; in computeUnrollCount() 1072 if (!UP.Count) in tryToUnrollLoop() [all …]
|
| H A D | LoopUnrollAndJamPass.cpp | 136 unsigned Count = in UnrollAndJamCountPragmaValue() local 139 return Count; in UnrollAndJamCountPragmaValue() 176 UP.Count = 0; in computeUnrollAndJamCount() 195 UP.Count = PragmaCount; in computeUnrollAndJamCount() 218 UP.Count = 0; in computeUnrollAndJamCount() 228 UP.Count--; in computeUnrollAndJamCount() 241 UP.Count = 0; in computeUnrollAndJamCount() 250 UP.Count = 0; in computeUnrollAndJamCount() 270 UP.Count = 0; in computeUnrollAndJamCount() 381 if (UP.Count <= 1) in tryToUnrollAndJamLoop() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 186 uint64_t Count; member 236 uint64_t Count = ValueDataRef[I].Count; in getPromotionCandidatesForCallSite() local 237 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite() 286 << NV("Count", Count) << ": " << Reason; in getPromotionCandidatesForCallSite() 292 TotalCount -= Count; in getPromotionCandidatesForCallSite() 303 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall() 304 uint64_t MaxCount = (Count >= ElseCount ? Count : ElseCount); in promoteIndirectCall() 315 Weights.push_back(Count); in promoteIndirectCall() 339 uint64_t Count = C.Count; in tryToPromote() local 342 assert(TotalCount >= Count); in tryToPromote() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | IndirectCallPromotionAnalysis.cpp | 60 bool ICallPromotionAnalysis::isPromotionProfitable(uint64_t Count, in isPromotionProfitable() argument 63 return Count * 100 >= ICPRemainingPercentThreshold * RemainingCount && in isPromotionProfitable() 64 Count * 100 >= ICPTotalPercentThreshold * TotalCount; in isPromotionProfitable() 80 uint64_t Count = ValueDataRef[I].Count; in getProfitablePromotionCandidates() local 81 assert(Count <= RemainingCount); in getProfitablePromotionCandidates() 82 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count in getProfitablePromotionCandidates() 85 if (!isPromotionProfitable(Count, TotalCount, RemainingCount)) { in getProfitablePromotionCandidates() 89 RemainingCount -= Count; in getProfitablePromotionCandidates()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/ |
| H A D | ProfileCommon.h | 60 inline void addCount(uint64_t Count); 71 inline void addEntryCount(uint64_t Count); 72 inline void addInternalCount(uint64_t Count); 92 void ProfileSummaryBuilder::addCount(uint64_t Count) { in addCount() argument 93 TotalCount += Count; in addCount() 94 if (Count > MaxCount) in addCount() 95 MaxCount = Count; in addCount() 97 CountFrequencies[Count]++; in addCount()
|
| /freebsd-12.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-12.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-12.1/contrib/llvm/lib/MC/ |
| H A D | MCWin64EH.cpp | 26 uint8_t Count = 0; in CountOfUnwindCodes() local 35 Count += 1; in CountOfUnwindCodes() 39 Count += 2; in CountOfUnwindCodes() 43 Count += 3; in CountOfUnwindCodes() 50 return Count; in CountOfUnwindCodes() 272 Count += 1; in ARM64CountOfUnwindCodes() 275 Count += 2; in ARM64CountOfUnwindCodes() 278 Count += 4; in ARM64CountOfUnwindCodes() 281 Count += 1; in ARM64CountOfUnwindCodes() 284 Count += 1; in ARM64CountOfUnwindCodes() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/llvm-xray/ |
| H A D | xray-graph.h | 44 int64_t Count; member 170 return {A.Count + B.Count, A.Min + B.Min, A.Median + B.Median, 179 return {A.Count - B.Count, A.Min - B.Min, A.Median - B.Median, 188 return {static_cast<int64_t>(A.Count / B), 200 return {static_cast<int64_t>(A.Count * B), 218 return {A.Count * B.Count, A.Min * B.Min, A.Median * B.Median, 226 return {A.Count / B.Count, A.Min / B.Min, A.Median / B.Median,
|
| /freebsd-12.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-12.1/contrib/compiler-rt/lib/xray/ |
| H A D | xray_buffer_queue.cc | 31 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 …]
|
| /freebsd-12.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()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 224 Counter Count; member 232 : Count(Count), FileID(FileID), ExpandedFileID(ExpandedFileID), in CounterMappingRegion() 320 ExecutionCount = Count; in pushRegion() 321 CountedRegions.emplace_back(Region, Count); in pushRegion() 387 uint64_t Count; member 396 : Line(Line), Col(Col), Count(0), HasCount(false), in CoverageSegment() 399 CoverageSegment(unsigned Line, unsigned Col, uint64_t Count, 401 : Line(Line), Col(Col), Count(Count), HasCount(true), in Line() 457 uint64_t Count = 0; in getTotalExecutionCount() local 459 Count += F->ExecutionCount; in getTotalExecutionCount() [all …]
|