Home
last modified time | relevance | path

Searched refs:Counter (Results 1 – 25 of 109) sorted by relevance

12345

/freebsd-14.2/contrib/wpa/src/eapol_auth/
H A Deapol_auth_sm_i.h21 typedef unsigned int Counter; typedef
80 Counter authEntersConnecting;
82 Counter authEntersAuthenticating;
101 Counter backendResponses;
102 Counter backendAccessChallenges;
104 Counter backendAuthSuccesses;
105 Counter backendAuthFails;
131 Counter dot1xAuthEapolFramesRx;
132 Counter dot1xAuthEapolFramesTx;
136 Counter dot1xAuthEapolRespFramesRx;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingWriter.cpp92 void mark(Counter C) { in mark()
101 void gatherUsed(Counter C) { in gatherUsed()
115 Counter adjust(Counter C) const { in adjust()
139 Counter C) { in encodeCounter()
146 return Tag | (ID << Counter::EncodingTagBits); in encodeCounter()
149 static void writeCounter(ArrayRef<CounterExpression> Expressions, Counter C, in writeCounter()
214 Counter Count = Minimizer.adjust(I->Count); in write()
215 Counter FalseCount = Minimizer.adjust(I->FalseCount); in write()
225 Counter::EncodingCounterTagAndExpansionRegionTagBits)); in write()
229 (1 << Counter::EncodingTagBits) | in write()
[all …]
H A DCoverageMapping.cpp63 case Counter::Zero: in extractTerms()
68 case Counter::Expression: in extractTerms()
77 Counter CounterExpressionBuilder::simplify(Counter ExpressionTree) { in simplify()
104 Counter C; in simplify()
129 Counter CounterExpressionBuilder::add(Counter LHS, Counter RHS, bool Simplify) { in add()
134 Counter CounterExpressionBuilder::subtract(Counter LHS, Counter RHS, in subtract()
142 case Counter::Zero: in dump()
172 Counter ICounter; in evaluate()
190 case Counter::Zero: in evaluate()
489 Counter ICounter; in getMaxCounterID()
[all …]
H A DCoverageMappingReader.cpp192 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()
212 C = Counter::getExpression(ID); in decodeCounter()
246 Counter C, C2; in readMappingRegionsSubArray()
269 if (Tag != Counter::Zero) { in readMappingRegionsSubArray()
416 CounterExpression(CounterExpression::Subtract, Counter(), Counter())); in read()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp104 Counter Count;
133 SourceMappingRegion(Counter Count, std::optional<Counter> FalseCount, in SourceMappingRegion()
837 Counter subtractCounters(Counter LHS, Counter RHS, bool Simplify = true) { in subtractCounters()
842 Counter addCounters(Counter LHS, Counter RHS, bool Simplify = true) { in addCounters()
846 Counter addCounters(Counter C1, Counter C2, Counter C3, in addCounters()
1003 Counter propagateCounts(Counter TopCount, const Stmt *S, in propagateCounts()
1034 createBranchRegion(const Expr *C, Counter TrueCnt, Counter FalseCnt, in createBranchRegion()
1517 Counter OutCount = in VisitWhileStmt()
1549 Counter OutCount = in VisitDoStmt()
1646 Counter OutCount = in VisitCXXForRangeStmt()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMapping.h105 struct Counter { struct
133 friend bool operator==(const Counter &LHS, const Counter &RHS) { argument
137 friend bool operator!=(const Counter &LHS, const Counter &RHS) {
141 friend bool operator<(const Counter &LHS, const Counter &RHS) {
146 static Counter getZero() { return Counter(); } in getZero() argument
167 CounterExpression(ExprKind Kind, Counter LHS, Counter RHS) in CounterExpression()
205 Counter simplify(Counter ExpressionTree);
211 Counter add(Counter LHS, Counter RHS, bool Simplify = true);
215 Counter subtract(Counter LHS, Counter RHS, bool Simplify = true);
266 Counter Count;
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dcondition_variable_linux.cpp25 const u32 V = atomic_load_relaxed(&Counter); in notifyAllImpl()
26 atomic_store_relaxed(&Counter, V + 1); in notifyAllImpl()
32 syscall(SYS_futex, reinterpret_cast<uptr>(&Counter), FUTEX_WAKE_PRIVATE, in notifyAllImpl()
40 const u32 V = atomic_load_relaxed(&Counter) + 1; in waitImpl()
41 atomic_store_relaxed(&Counter, V); in waitImpl()
45 syscall(SYS_futex, reinterpret_cast<uptr>(&Counter), FUTEX_WAIT_PRIVATE, V, in waitImpl()
H A Dcondition_variable_linux.h31 atomic_u32 Counter = {}; variable
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerTracePC.h213 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-14.2/contrib/llvm-project/llvm/tools/llvm-remarkutil/
H A DRemarkCounter.h110 struct Counter { struct
112 Counter() = default; argument
113 Counter(enum GroupBy GroupBy) : Group(GroupBy) {} in Counter() argument
124 virtual ~Counter() = default;
145 struct ArgumentCounter : Counter {
198 struct RemarkCounter : Counter {
200 RemarkCounter(GroupBy Group) : Counter(Group) {} in RemarkCounter()
H A DRemarkCounter.cpp168 std::optional<std::string> Counter::getGroupByKey(const Remark &Remark) { in getGroupByKey()
280 Error useCollectRemark(StringRef Buffer, Counter &Counter, Filters &Filter) { in useCollectRemark() argument
290 Counter.collect(Remark); in useCollectRemark()
293 if (auto E = Counter.print(OutputFileName)) in useCollectRemark()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DDebugCounter.cpp113 CounterInfo &Counter = Counters[CounterID]; in push_back() local
114 Counter.Skip = CounterVal; in push_back()
115 Counter.IsSet = true; in push_back()
126 CounterInfo &Counter = Counters[CounterID]; in push_back() local
127 Counter.StopAfter = CounterVal; in push_back()
128 Counter.IsSet = true; in push_back()
/freebsd-14.2/contrib/googletest/googletest/samples/
H A Dsample4.cc37 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 Dsample4.h35 class Counter {
41 Counter() : counter_(0) {} in Counter() function
H A Dsample4_unittest.cc37 TEST(Counter, Increment) { in TEST() argument
38 Counter c; in TEST()
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCallingConvEmitter.cpp26 unsigned Counter = 0u; member in __anon8243fc7b0111::CallingConvEmitter
87 Counter = 0; in EmitCallingConv()
169 O << IndentStr << "static const MCPhysReg RegList" << ++Counter in EmitAction()
183 << Counter << ")) {\n"; in EmitAction()
224 unsigned RegListNumber = ++Counter; in EmitAction()
225 unsigned ShadowRegListNumber = ++Counter; in EmitAction()
255 O << IndentStr << "int64_t Offset" << ++Counter in EmitAction()
274 << Counter << ", LocVT, LocInfo));\n"; in EmitAction()
281 unsigned ShadowRegListNumber = ++Counter; in EmitAction()
291 O << IndentStr << "int64_t Offset" << ++Counter in EmitAction()
[all …]
H A DExegesisEmitter.cpp66 const llvm::StringRef Counter = PfmCounterDef->getValueAsString("Counter"); in collectPfmCounters() local
67 if (!Counter.empty()) in collectPfmCounters()
68 PfmCounterNameTable.emplace(Counter, 0); in collectPfmCounters()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DWorkList.cpp210 unsigned long Counter = 0; member in __anonfe97bb240411::UnexploredFirstPriorityQueue
234 queue.push(std::make_pair(U, std::make_pair(-NumVisited, ++Counter))); in enqueue()
266 unsigned long Counter = 0; member in __anonfe97bb240511::UnexploredFirstPriorityLocationQueue
286 queue.push(std::make_pair(U, std::make_pair(-NumVisited, ++Counter))); in enqueue()
/freebsd-14.2/sys/contrib/device-tree/Bindings/perf/
H A Darm,smmu-v3-pmcg.yaml7 title: Arm SMMUv3 Performance Monitor Counter Group
14 An SMMUv3 may have several Performance Monitor Counter Group (PMCG).
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResource.cpp31 uint32_t Counter = 0; in collect() local
33 Data.push_back(T(Counter++, FrontendResource(cast<MDNode>(Res)))); in collect()
42 uint32_t Counter = 0; in collect() local
45 ConstantBuffer(Counter++, FrontendResource(cast<MDNode>(Res)))); in collect()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DGenericCycleImpl.h319 unsigned Counter = 0; in dfs() local
337 bool Added = BlockDFSInfo.try_emplace(Block, ++Counter).second; in dfs()
341 LLVM_DEBUG(errs() << " preorder number: " << Counter << "\n"); in dfs()
345 LLVM_DEBUG(errs() << " ended at " << Counter << "\n"); in dfs()
346 BlockDFSInfo.find(Block)->second.End = Counter; in dfs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLexicalScopes.cpp240 unsigned Counter = 0; in constructScopeNest() local
249 ChildScope->setDFSIn(++Counter); in constructScopeNest()
252 WS->setDFSOut(++Counter); in constructScopeNest()
H A DMIRVRegNamerUtils.cpp44 const unsigned Counter = ++VRegNameCollisionMap[Reg.getName()]; in getVRegRenameMap() local
45 return Reg.getName() + "__" + std::to_string(Counter); in getVRegRenameMap()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DCallPrinter.cpp191 uint64_t Counter = getNumOfCalls(*Caller, *Callee); in getEdgeAttributes() local
193 1 + 2 * (double(Counter) / CGInfo->getMaxFreq()); in getEdgeAttributes()
194 std::string Attrs = "label=\"" + std::to_string(Counter) + in getEdgeAttributes()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/
H A DAllTUsExecution.cpp109 unsigned Counter = 0; in execute() local
112 return ++Counter; in execute()

12345