Searched refs:Count (Results 1 - 25 of 480) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DLEB128.h26 unsigned Count = 0; local
33 Count++;
34 if (More || Count < PadTo)
40 if (Count < PadTo) {
42 for (; Count < PadTo - 1; ++Count)
45 Count++;
47 return Count;
54 unsigned Count = 0;
62 Count
[all...]
H A DMemAlloc.h38 LLVM_ATTRIBUTE_RETURNS_NONNULL inline void *safe_calloc(size_t Count, argument
40 void *Result = std::calloc(Count, Sz);
45 if (Count == 0 || Sz == 0)
H A DDebugCounter.h21 /// needs to be called before it returns true. Count is the number of times to
81 ++CounterInfo.Count;
83 // We only execute while the Skip is not smaller than Count,
84 // and the StopAfter + Skip is larger than Count.
88 if (CounterInfo.Skip >= CounterInfo.Count)
92 return CounterInfo.StopAfter + CounterInfo.Skip >= CounterInfo.Count;
105 // Return the Count for a counter. This only works for set counters.
110 return Result->second.Count;
113 // Set a registered counter to a given Count value.
114 static void setCounterValue(unsigned ID, int64_t Count) { argument
169 int64_t Count = 0; member in struct:llvm::DebugCounter::CounterInfo
[all...]
/freebsd-11-stable/sys/contrib/dev/acpica/compiler/
H A Daslprepkg.c178 UINT32 Count);
184 UINT32 Count,
196 UINT32 Count,
229 UINT32 Count; local
240 Count = (UINT32) Op->Asl.Value.Integer;
249 if (!Count)
297 if (Count < ExpectedCount)
301 else if (Count > ExpectedCount)
304 Count, ExpectedCount);
319 for (i = 0; i < Count;
525 UINT32 Count; local
675 UINT32 Count; local
913 ApPackageTooSmall( const char *PredefinedName, ACPI_PARSE_OBJECT *Op, UINT32 Count, UINT32 ExpectedCount) argument
971 ApPackageTooLarge( const char *PredefinedName, ACPI_PARSE_OBJECT *Op, UINT32 Count, UINT32 ExpectedCount) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DProfileCommon.h59 inline void addCount(uint64_t Count);
70 inline void addEntryCount(uint64_t Count);
71 inline void addInternalCount(uint64_t Count);
92 void ProfileSummaryBuilder::addCount(uint64_t Count) { argument
93 TotalCount += Count;
94 if (Count > MaxCount)
95 MaxCount = Count;
97 CountFrequencies[Count]++;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DIndirectCallPromotionAnalysis.cpp60 bool ICallPromotionAnalysis::isPromotionProfitable(uint64_t Count, argument
63 return Count * 100 >= ICPRemainingPercentThreshold * RemainingCount &&
64 Count * 100 >= ICPTotalPercentThreshold * TotalCount;
80 uint64_t Count = ValueDataRef[I].Count; local
81 assert(Count <= RemainingCount);
82 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count
85 if (!isPromotionProfitable(Count, TotalCount, RemainingCount)) {
89 RemainingCount -= Count;
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp70 uint64_t CurrSum = 0, Count = 0; local
82 Count = Iter->first;
84 CurrSum += (Count * Freq);
89 ProfileSummaryEntry PSE = {Cutoff, Count, CountsSeen};
108 void InstrProfSummaryBuilder::addEntryCount(uint64_t Count) { argument
109 addCount(Count);
111 if (Count > MaxFunctionCount)
112 MaxFunctionCount = Count;
115 void InstrProfSummaryBuilder::addInternalCount(uint64_t Count) { argument
116 addCount(Count);
[all...]
/freebsd-11-stable/sys/contrib/dev/acpica/components/namespace/
H A Dnsprepkg.c169 UINT32 Count);
185 UINT32 Count);
213 UINT32 Count; local
225 "%s Validating return Package of Type %X, Count %X\n",
227 ReturnObject->Package.Count));
238 Count = ReturnObject->Package.Count;
244 if (!Count)
267 Status = AcpiNsCustomPackage (Info, Elements, Count);
278 if (Count < ExpectedCoun
536 AcpiNsCheckPackageList( ACPI_EVALUATE_INFO *Info, const ACPI_PREDEFINED_INFO *Package, ACPI_OPERAND_OBJECT **Elements, UINT32 Count) argument
767 AcpiNsCustomPackage( ACPI_EVALUATE_INFO *Info, ACPI_OPERAND_OBJECT **Elements, UINT32 Count) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dlocal_cache.h25 Count = N;
26 memcpy(Batch, Array, sizeof(void *) * Count);
28 void clear() { Count = 0; }
30 DCHECK_LT(Count, MaxNumCached);
31 Batch[Count++] = P;
34 memcpy(Array, Batch, sizeof(void *) * Count);
36 u32 getCount() const { return Count; }
38 DCHECK_LE(I, Count);
47 u32 Count; member in struct:scudo::SizeClassAllocatorLocalCache::TransferBatch
72 if (C->Count
124 u32 Count; member in struct:scudo::SizeClassAllocatorLocalCache::PerClass
167 const u32 Count = Min(C->MaxCount / 2, C->Count); local
[all...]
H A Dquarantine.h24 u32 Count; member in struct:scudo::QuarantineBatch
28 Count = 1;
37 DCHECK_LT(Count, MaxCount);
38 Batch[Count++] = Ptr;
43 return Count + From->Count <= MaxCount;
47 DCHECK_LE(Count + From->Count, MaxCount);
50 for (uptr I = 0; I < From->Count; ++I)
51 Batch[Count
[all...]
/freebsd-11-stable/sys/contrib/dev/acpica/components/utilities/
H A Dutbuffer.c164 * Count - Amount to dump, in bytes
181 UINT32 Count,
197 if ((Count < 4) || (Count & 0x01))
204 while (i < Count)
214 if (i + j >= Count)
263 if (i + j >= Count)
304 * Count - Amount to dump, in bytes
321 UINT32 Count,
334 AcpiUtDumpBuffer (Buffer, Count, Displa
179 AcpiUtDumpBuffer( UINT8 *Buffer, UINT32 Count, UINT32 Display, UINT32 BaseOffset) argument
319 AcpiUtDebugDumpBuffer( UINT8 *Buffer, UINT32 Count, UINT32 Display, UINT32 ComponentId) argument
360 AcpiUtDumpBufferToFile( ACPI_FILE File, UINT8 *Buffer, UINT32 Count, UINT32 Display, UINT32 BaseOffset) argument
[all...]
H A Dutids.c373 UINT32 Count; local
398 Count = ObjDesc->Package.Count;
403 Count = 1;
408 for (i = 0; i < Count; i++)
438 ((Count - 1) * sizeof (ACPI_PNP_DEVICE_ID)) +
451 ((ACPI_SIZE) Count * sizeof (ACPI_PNP_DEVICE_ID));
455 for (i = 0; i < Count; i++)
480 CidList->Count = Count;
520 UINT32 Count; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAEnumDebugStreams.cpp21 LONG Count = 0; local
22 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
H A DDIAEnumFrameData.cpp19 LONG Count = 0; local
20 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
H A DDIAEnumInjectedSources.cpp21 LONG Count = 0; local
22 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
H A DDIAEnumLineNumbers.cpp21 LONG Count = 0; local
22 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
H A DDIAEnumSectionContribs.cpp22 LONG Count = 0; local
23 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
H A DDIAEnumSourceFiles.cpp21 LONG Count = 0; local
22 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
H A DDIAEnumTables.cpp19 LONG Count = 0; local
20 return (S_OK == Enumerator->get_Count(&Count)) ? Count : 0;
H A DDIATable.cpp18 LONG Count = 0; local
19 return (S_OK == Table->get_Count(&Count)) ? Count : 0;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCLinkerOptimizationHint.cpp45 uint64_t Count = 0; member in class:raw_counting_ostream
47 void write_impl(const char *, size_t size) override { Count += size; }
49 uint64_t current_pos() const override { return Count; }
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp186 uint64_t Count; member in struct:__anon2629::ICallPromotionFunc::PromotionCandidate
188 PromotionCandidate(Function *F, uint64_t C) : TargetFunction(F), Count(C) {}
236 uint64_t Count = ValueDataRef[I].Count; local
237 assert(Count <= TotalCount);
239 LLVM_DEBUG(dbgs() << " Candidate " << I << " Count=" << Count
286 << NV("Count", Count) << ": " << Reason;
291 Ret.push_back(PromotionCandidate(TargetFunction, Count));
297 promoteIndirectCall(Instruction *Inst, Function *DirectCallee, uint64_t Count, uint64_t TotalCount, bool AttachProfToDirectCall, OptimizationRemarkEmitter *ORE) argument
339 uint64_t Count = C.Count; local
[all...]
/freebsd-11-stable/usr.sbin/ctm/ctm/
H A Dctm_syntax.c21 #define Count CTM_F_Count macro
36 MD5|After|Chunk, Count, Bytes,0 };
40 MD5|Before|Force, MD5|After|Chunk, Count, Bytes,0 };
44 MD5|Before, MD5|After, Count, Bytes,0 };
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DStringToOffsetTable.h86 int Count = 0; local
92 Count++;
93 if (Count > 14) {
95 Count = 0;
/freebsd-11-stable/contrib/llvm-project/clang/include/clang-c/
H A DCXString.h44 unsigned Count; member in struct:__anon173

Completed in 165 milliseconds

1234567891011>>