/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 | 92 void mark(Counter C) { in mark() 101 void gatherUsed(Counter C) { in gatherUsed() 115 Counter adjust(Counter C) const { in adjust() 117 C = Counter::getExpression(AdjustedExpressionIDs[C.getExpressionID()]); in adjust() 139 Counter C) { in encodeCounter() 145 (std::numeric_limits<unsigned>::max() >> Counter::EncodingTagBits)); 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() [all …]
|
H A D | CoverageMapping.cpp | 51 Counter CounterExpressionBuilder::get(const CounterExpression &E) { in get() 54 return Counter::getExpression(It->second); in get() 58 return Counter::getExpression(I); in get() 61 void CounterExpressionBuilder::extractTerms(Counter C, int Factor, in extractTerms() 64 case Counter::Zero: in extractTerms() 66 case Counter::CounterValueReference: in extractTerms() 69 case Counter::Expression: in extractTerms() 78 Counter CounterExpressionBuilder::simplify(Counter ExpressionTree) { in simplify() 86 return Counter::getZero(); in simplify() 105 Counter C; 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 | 112 Counter Count; 115 std::optional<Counter> FalseCount; 135 SourceMappingRegion(Counter Count, std::optional<SourceLocation> LocStart, in SourceMappingRegion() 141 SourceMappingRegion(Counter Count, std::optional<Counter> FalseCount, in SourceMappingRegion() 156 const Counter &getCounter() const { return Count; } in getCounter() 158 const Counter &getFalseCounter() const { in getFalseCounter() 163 void setCounter(Counter C) { Count = C; } in setCounter() 640 SourceRegions.emplace_back(Counter(), Start, End); in VisitDecl() 914 Counter GapRegionCounter; 917 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 | 105 struct Counter { struct 118 Counter(CounterKind Kind, unsigned ID) : Kind(Kind), ID(ID) {} in Counter() argument 121 Counter() = default; 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 149 static Counter getCounter(unsigned CounterId) { in getCounter() argument 150 return Counter(CounterValueReference, CounterId); in getCounter() 155 static Counter getExpression(unsigned ExpressionId) { in getExpression() argument [all …]
|
/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/llvm-project/llvm/utils/TableGen/ |
H A D | CallingConvEmitter.cpp | 26 unsigned Counter = 0u; member in __anon55933a050111::CallingConvEmitter 87 Counter = 0; in EmitCallingConv() 170 O << IndentStr << "static const MCPhysReg RegList" << ++Counter in EmitAction() 184 << Counter << ")) {\n"; in EmitAction() 225 unsigned RegListNumber = ++Counter; in EmitAction() 226 unsigned ShadowRegListNumber = ++Counter; in EmitAction() 256 O << IndentStr << "int64_t Offset" << ++Counter in EmitAction() 276 << Counter << ", LocVT, LocInfo));\n"; in EmitAction() 283 unsigned ShadowRegListNumber = ++Counter; in EmitAction() 293 O << IndentStr << "int64_t Offset" << ++Counter in EmitAction() [all …]
|
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() 123 Def.getValueAsDef("CycleCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 125 Def.getValueAsDef("UopsCounter")->getValueAsString("Counter"); in emitPfmCountersInfo() 141 getPfmCounterId(ValidationCounter->getValueAsString("Counter"))}); in emitPfmCounters() 157 // Cycle Counter. in emitPfmCounters() 164 // Uops Counter. in emitPfmCounters() 211 << getPfmCounterId(ICDef->getValueAsString("Counter")) << "], \"" [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/include/llvm/Support/ |
H A D | DebugCounter.h | 116 auto &Counter = Us.Counters[ID]; in setCounterState() local 117 Counter.Count = State.Count; in setCounterState() 118 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonGenMemAbsolute.cpp | 163 unsigned Counter = 0; in runOnMachineFunction() local 165 Counter++; in runOnMachineFunction() 170 if ((!Dominates) || (Counter < 3)) in runOnMachineFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DebugCounter.cpp | 197 CounterInfo &Counter = Counters[CounterID]; in push_back() local 198 Counter.IsSet = true; in push_back() 199 Counter.Chunks = std::move(Chunks); in push_back()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILResource.cpp | 30 uint32_t Counter = 0; in collect() local 32 Data.push_back(T(Counter++, hlsl::FrontendResource(cast<MDNode>(Res)))); in collect() 41 uint32_t Counter = 0; in collect() local 44 ConstantBuffer(Counter++, hlsl::FrontendResource(cast<MDNode>(Res)))); in collect()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | GenericCycleImpl.h | 334 unsigned Counter = 0; in dfs() local 352 bool Added = BlockDFSInfo.try_emplace(Block, ++Counter).second; in dfs() 356 LLVM_DEBUG(errs() << " preorder number: " << Counter << "\n"); in dfs() 360 LLVM_DEBUG(errs() << " ended at " << Counter << "\n"); in dfs() 361 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 | 44 const unsigned Counter = ++VRegNameCollisionMap[Reg.getName()]; in getVRegRenameMap() local 45 return Reg.getName() + "__" + std::to_string(Counter); in getVRegRenameMap()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVSystemOperands.td | 83 // User Counter/Timers 195 // Hypervisor Counter/Timer Virtualization Registers 280 // Machine Counter and Timers 299 // Machine Counter Setup 315 // Supervisor Counter Setup
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/ |
H A D | AllTUsExecution.cpp | 109 unsigned Counter = 0; in execute() local 112 return ++Counter; in execute()
|
/freebsd/sys/contrib/device-tree/Bindings/arm/omap/ |
H A D | counter.txt | 1 OMAP Counter-32K bindings
|
/freebsd/sys/contrib/device-tree/Bindings/pwm/ |
H A D | atmel-tcb-pwm.txt | 8 - tc-block: The Timer Counter block to use as a PWM chip.
|