| /freebsd/contrib/wpa/src/eapol_auth/ |
| H A D | eapol_auth_sm_i.h | 21 typedef unsigned int Counter; typedef 80 Counter authEntersConnecting; 81 Counter authEapLogoffsWhileConnecting; 82 Counter authEntersAuthenticating; 83 Counter authAuthSuccessesWhileAuthenticating; 84 Counter authAuthTimeoutsWhileAuthenticating; 85 Counter authAuthFailWhileAuthenticating; 86 Counter authAuthEapStartsWhileAuthenticating; 87 Counter authAuthEapLogoffWhileAuthenticating; 88 Counter authAuthReauthsWhileAuthenticated; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMappingWriter.cpp | 91 void mark(Counter C) { in mark() 100 void gatherUsed(Counter C) { in gatherUsed() 114 Counter adjust(Counter C) const { in adjust() 116 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]); in adjust() 138 Counter C) { in encodeCounter() 144 (std::numeric_limits<unsigned>::max() >> Counter::EncodingTagBits)); in encodeCounter() 145 return Tag | (ID << Counter::EncodingTagBits); in encodeCounter() 148 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter() 213 Counter Count = Minimizer.adjust(I->Count); in write() 214 Counter FalseCount = Minimizer.adjust(I->FalseCount); in write() [all …]
|
| H A D | CoverageMapping.cpp | 51 Counter CounterExpressionBuilder::get(const CounterExpression &E) { in get() 55 return Counter::getExpression(It->second); in get() 58 void CounterExpressionBuilder::extractTerms(Counter C, int Factor, in extractTerms() 61 case Counter::Zero: in extractTerms() 63 case Counter::CounterValueReference: in extractTerms() 66 case Counter::Expression: in extractTerms() 75 Counter CounterExpressionBuilder::simplify(Counter ExpressionTree) { in simplify() 83 return Counter::getZero(); in simplify() 102 Counter C; in simplify() 110 C = Counter::getCounter(T.CounterID); in simplify() [all …]
|
| H A D | CoverageMappingReader.cpp | 191 Error RawCoverageMappingReader::decodeCounter(unsigned Value, Counter &C) { in decodeCounter() 192 auto Tag = Value & Counter::EncodingTagMask; in decodeCounter() 194 case Counter::Zero: in decodeCounter() 195 C = Counter::getZero(); in decodeCounter() 197 case Counter::CounterValueReference: in decodeCounter() 198 C = Counter::getCounter(Value >> Counter::EncodingTagBits); in decodeCounter() 203 Tag -= Counter::Expression; in decodeCounter() 207 auto ID = Value >> Counter::EncodingTagBits; in decodeCounter() 212 C = Counter::getExpression(ID); in decodeCounter() 222 Error RawCoverageMappingReader::readCounter(Counter &C) { in readCounter() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 110 Counter Count; 113 std::optional<Counter> FalseCount; 133 SourceMappingRegion(Counter Count, std::optional<SourceLocation> LocStart, in SourceMappingRegion() 139 SourceMappingRegion(Counter Count, std::optional<Counter> FalseCount, in SourceMappingRegion() 154 const Counter &getCounter() const { return Count; } in getCounter() 156 const Counter &getFalseCounter() const { in getFalseCounter() 161 void setCounter(Counter C) { Count = C; } in setCounter() 638 SourceRegions.emplace_back(Counter(), Start, End); in VisitDecl() 912 Counter GapRegionCounter; 915 Counter subtractCounters(Counter LHS, Counter RHS, bool Simplify = true) { in subtractCounters() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 108 struct Counter { struct 121 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {} in Counter() argument 124 Counter() = default; 136 friend bool operator==(const Counter &LHS, const Counter &RHS) { argument 140 friend bool operator!=(const Counter &LHS, const Counter &RHS) { 144 friend bool operator<(const Counter &LHS, const Counter &RHS) { 149 static Counter getZero() { return Counter(); } in getZero() argument 152 static Counter getCounter(unsigned CounterId) { in getCounter() argument 153 return Counter(CounterValueReference, CounterId); in getCounter() 158 static Counter getExpression(unsigned ExpressionId) { in getExpression() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/ |
| H A D | RemarkCounter.h | 62 struct Counter { struct 64 Counter() = default; argument 65 Counter(enum GroupBy GroupBy) : Group(GroupBy) {} in Counter() argument 76 virtual ~Counter() = default; 97 struct ArgumentCounter : Counter { 144 struct RemarkCounter : Counter { 146 RemarkCounter(GroupBy Group) : Counter(Group) {} in RemarkCounter()
|
| H A D | RemarkCounter.cpp | 156 std::optional<std::string> Counter::getGroupByKey(const Remark &Remark) { in getGroupByKey() 253 Error useCollectRemark(StringRef Buffer, Counter &Counter, Filters &Filter) { in useCollectRemark() argument 263 Counter.collect(Remark); in useCollectRemark() 266 if (auto E = Counter.print(OutputFileName)) in useCollectRemark()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerTracePC.h | 213 unsigned CounterToFeature(T Counter) { in CounterToFeature() argument 225 assert(Counter); in CounterToFeature() 227 /**/ if (Counter >= 128) Bit = 7; in CounterToFeature() 228 else if (Counter >= 32) Bit = 6; in CounterToFeature() 229 else if (Counter >= 16) Bit = 5; in CounterToFeature() 230 else if (Counter >= 8) Bit = 4; in CounterToFeature() 231 else if (Counter >= 4) Bit = 3; in CounterToFeature() 232 else if (Counter >= 3) Bit = 2; in CounterToFeature() 233 else if (Counter >= 2) Bit = 1; in CounterToFeature() 241 size_t Idx, uint8_t Counter) { in CollectFeatures() [all …]
|
| /freebsd/contrib/googletest/googletest/samples/ |
| H A D | sample4.cc | 37 int Counter::Increment() { return counter_++; } in Increment() 41 int Counter::Decrement() { in Decrement() 50 void Counter::Print() const { printf("%d", counter_); } in Print()
|
| H A D | sample4.h | 35 class Counter { 41 Counter() : counter_(0) {} in Counter() function
|
| H A D | sample4_unittest.cc | 37 TEST(Counter, Increment) { in TEST() argument 38 Counter c; in TEST()
|
| /freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | CallingConvEmitter.cpp | 31 unsigned Counter = 0u; member in __anon55933a050111::CallingConvEmitter 99 Counter = 0; in emitCallingConv() 170 Parms.push_back(S + utostr(++Counter)); in emitAction() 184 O << Indent << "int64_t Offset" << ++Counter << " = "; in emitAction() 265 << Counter << ", LocVT, LocInfo));\n"; in emitAction() 272 unsigned ShadowRegListNumber = ++Counter; in emitAction() 275 O << Indent << "int64_t Offset" << ++Counter << " = State.AllocateStack(" in emitAction() 279 << Counter << ", LocVT, LocInfo));\n"; in emitAction()
|
| H A D | ExegesisEmitter.cpp | 66 const llvm::StringRef Counter = PfmCounterDef->getValueAsString("Counter"); in collectPfmCounters() local 67 if (!Counter.empty()) in collectPfmCounters() 68 PfmCounterNameTable.emplace(Counter, 0); in collectPfmCounters()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
| H A D | unique_function_test.cpp | 130 CopyCounter Counter{CopyCount}; in TEST() local 131 ByValF(Counter); in TEST() 145 CopyCounter Counter{CopyCount}; in TEST() local 146 ByRefF(Counter); in TEST()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | DebugCounter.h | 117 auto &Counter = Us.Counters[ID]; in setCounterState() local 118 Counter.Count = State.Count; in setCounterState() 119 Counter.CurrChunkIdx = State.ChunkIdx; in setCounterState()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | WorkList.cpp | 210 unsigned long Counter = 0; member in __anond1e6f8ae0411::UnexploredFirstPriorityQueue 234 queue.push(std::make_pair(U, std::make_pair(-NumVisited, ++Counter))); in enqueue() 266 unsigned long Counter = 0; member in __anond1e6f8ae0511::UnexploredFirstPriorityLocationQueue 286 queue.push(std::make_pair(U, std::make_pair(-NumVisited, ++Counter))); in enqueue()
|
| H A D | CoreEngine.cpp | 345 BlockCounter Counter = WList->getBlockCounter(); in HandleBlockEntrance() local 346 Counter = BCounterFactory.IncrementCount(Counter, LC->getStackFrame(), in HandleBlockEntrance() 348 setBlockCounter(Counter); in HandleBlockEntrance() 641 BlockCounter Counter = WList->getBlockCounter(); in getCompletedIterationCount() local 643 Counter.getNumVisited(LC->getStackFrame(), B->getBlockID()); in getCompletedIterationCount()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenMemAbsolute.cpp | 153 unsigned Counter = 0; in runOnMachineFunction() local 155 Counter++; in runOnMachineFunction() 160 if ((!Dominates) || (Counter < 3)) in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DebugCounter.cpp | 202 CounterInfo &Counter = Counters[CounterID]; in push_back() local 203 Counter.IsSet = true; in push_back() 204 Counter.Chunks = std::move(Chunks); in push_back()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | GenericCycleImpl.h | 450 unsigned Counter = 0; in dfs() local 457 if (BlockDFSInfo.try_emplace(Block, Counter + 1).second) { in dfs() 458 ++Counter; in dfs() 471 LLVM_DEBUG(errs() << " preorder number: " << Counter << "\n"); in dfs() 475 LLVM_DEBUG(errs() << " ended at " << Counter << "\n"); in dfs() 476 BlockDFSInfo.find(Block)->second.End = Counter; in dfs()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | CallPrinter.cpp | 192 uint64_t Counter = getNumOfCalls(*Caller, *Callee); in getEdgeAttributes() local 194 1 + 2 * (double(Counter) / CGInfo->getMaxFreq()); in getEdgeAttributes() 195 std::string Attrs = "label=\"" + std::to_string(Counter) + in getEdgeAttributes()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | LexicalScopes.cpp | 240 unsigned Counter = 0; in constructScopeNest() local 249 ChildScope->setDFSIn(++Counter); in constructScopeNest() 252 WS->setDFSOut(++Counter); in constructScopeNest()
|
| H A D | MIRVRegNamerUtils.cpp | 42 const unsigned Counter = ++VRegNameCollisionMap[Reg.getName()]; in getVRegRenameMap() local 43 return Reg.getName() + "__" + std::to_string(Counter); in getVRegRenameMap()
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/ |
| H A D | AllTUsExecution.cpp | 109 unsigned Counter = 0; in execute() local 112 return ++Counter; in execute()
|