Home
last modified time | relevance | path

Searched refs:Max (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/openbsd-src/games/robots/
H A Dmove_robs.c47 move(Max.y, Max.x); in move_robots()
70 Max.y = 0; in move_robots()
71 Max.x = 0; in move_robots()
91 if (rp->y > Max.y) in move_robots()
92 Max.y = rp->y; in move_robots()
93 if (rp->x > Max.x) in move_robots()
94 Max.x = rp->x; in move_robots()
101 move(Max.y, Max.x); in move_robots()
H A Dmake_level.c66 Max.y = 0; in make_level()
67 Max.x = 0; in make_level()
79 if (cp->y > Max.y) in make_level()
80 Max.y = cp->y; in make_level()
81 if (cp->x > Max.x) in make_level()
82 Max.x = cp->x; in make_level()
H A Dplay_level.c58 move(Max.y, Max.x); in play_level()
/openbsd-src/gnu/llvm/llvm/tools/llvm-xray/
H A Dxray-graph.h48 double Max; member
169 A.Pct90 + B.Pct90, A.Pct99 + B.Pct99, A.Max + B.Max,
178 A.Pct90 - B.Pct90, A.Pct99 - B.Pct99, A.Max - B.Max,
191 A.Max / B,
203 A.Max * B,
217 A.Pct90 * B.Pct90, A.Pct99 * B.Pct99, A.Max * B.Max,
225 A.Pct90 / B.Pct90, A.Pct99 / B.Pct99, A.Max / B.Max,
H A Dxray-color-helper.cpp88 int Max = 0; in convertToHSV() local
92 if (Scaled[i] > Scaled[Max]) in convertToHSV()
93 Max = i; in convertToHSV()
96 double C = Scaled[Max] - Scaled[Min]; in convertToHSV()
99 (C == 0) ? 0 : (Scaled[(Max + 1) % 3] - Scaled[(Max + 2) % 3]) / C; in convertToHSV()
100 HPrime = HPrime + 2.0 * Max; in convertToHSV()
104 double V = Scaled[Max]; in convertToHSV()
/openbsd-src/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_buffer_queue.h84 size_t Max = 0; variable
87 DCHECK_NE(Offset, Max);
90 } while (!Buffers[Offset].Used && Offset != Max);
107 Max(M) { in Iterator()
110 while (!Buffers[Offset].Used && Offset != Max) { in Iterator()
124 DCHECK_EQ(L.Max, R.Max);
H A Dxray_function_call_trie.h193 explicit Allocators(uptr Max) XRAY_NEVER_INSTRUMENT { in Allocators()
194 new (&NodeAllocatorStorage) NodeAllocatorType(Max); in Allocators()
198 new (&RootAllocatorStorage) RootAllocatorType(Max); in Allocators()
202 new (&ShadowStackAllocatorStorage) ShadowStackAllocatorType(Max); in Allocators()
206 new (&NodeIdPairAllocatorStorage) NodeIdPairAllocatorType(Max); in Allocators()
310 static Allocators InitAllocatorsCustom(uptr Max) XRAY_NEVER_INSTRUMENT { in InitAllocatorsCustom() argument
311 Allocators A(Max); in InitAllocatorsCustom()
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DBytesOutputStyle.cpp92 uint32_t Max = R.Max.value_or(R.Min); in dump() local
94 if (Max < R.Min) in dump()
98 if (Max >= File.getBlockCount()) in dump()
103 dumpBlockRanges(R.Min, Max); in dump()
109 uint32_t Max = R.Max.value_or(File.getFileSize()); in dump() local
111 if (Max < R.Min) in dump()
114 if (Max >= File.getFileSize()) in dump()
119 dumpByteRanges(R.Min, Max); in dump()
207 void BytesOutputStyle::dumpBlockRanges(uint32_t Min, uint32_t Max) { in dumpBlockRanges() argument
211 for (uint32_t I = Min; I <= Max; ++I) { in dumpBlockRanges()
[all …]
H A DBytesOutputStyle.h36 void dumpBlockRanges(uint32_t Min, uint32_t Max);
37 void dumpByteRanges(uint32_t Min, uint32_t Max);
/openbsd-src/gnu/llvm/compiler-rt/lib/xray/tests/unit/
H A Dsegmented_array_test.cpp203 constexpr uint64_t Max = 9; in TEST() local
205 for (uint64_t i = 0; i < Max; ++i) { in TEST()
215 auto Counter = Max; in TEST()
216 ASSERT_EQ(Data.size(), size_t(Max)); in TEST()
240 constexpr uint64_t Max = 9; in TEST() local
242 for (uint64_t i = 0; i < Max; ++i) { in TEST()
252 auto Counter = Max; in TEST()
253 ASSERT_EQ(Data->size(), size_t(Max)); in TEST()
264 for (uint64_t i = 0; i < Max; ++i) { in TEST()
281 for (uint64_t i = 0; i < Max; ++i) { in TEST()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/ubsan/
H A Dubsan_diag.cpp260 MemoryLocation Max = addNoOverflow(Loc, MinBytesNearLoc); in PrintMemorySnippet() local
264 Max = __sanitizer::Max(Ranges[I].getEnd().getMemoryLocation(), Max); in PrintMemorySnippet()
269 if (Max - Min > BytesToShow) in PrintMemorySnippet()
270 Min = __sanitizer::Min(Max - BytesToShow, OrigMin); in PrintMemorySnippet()
271 Max = addNoOverflow(Min, BytesToShow); in PrintMemorySnippet()
273 if (!IsAccessibleMemoryRange(Min, Max - Min)) { in PrintMemorySnippet()
280 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet()
289 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet()
310 for (uptr P = Min; P != Max; ++P) { in PrintMemorySnippet()
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h196 bool MatchAnyLine, StringRef Text, unsigned Min, unsigned Max);
205 unsigned Min, Max; variable
223 unsigned Min, unsigned Max) in Directive() argument
225 Min(Min), Max(Max), MatchAnyLine(MatchAnyLine || MatchAnyFileAndLine), in Directive()
/openbsd-src/gnu/llvm/llvm/lib/MCA/
H A DSupport.cpp89 double Max = static_cast<double>(NumMicroOps) / DispatchWidth; in computeBlockRThroughput() local
101 Max = std::max(Max, Throughput); in computeBlockRThroughput()
107 return Max; in computeBlockRThroughput()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstantRange.cpp87 APInt Max = getUnsignedMax(); in toKnownBits() local
90 APIntOps::GetMostSignificantDifferentBit(Min, Max)) { in toKnownBits()
740 APInt Max = APInt::getMaxValue(BW); in castOp() local
743 Max = Max.zext(ResultBitWidth); in castOp()
745 return ConstantRange(std::move(Min), std::move(Max)); in castOp()
1141 APInt Max = getSignedMax(); in smul_fast() local
1147 Max.smul_ov(OtherMin, O3), Max.smul_ov(OtherMax, O4)}; in smul_fast()
1445 APInt Max = getUnsignedMax(); in shl() local
1451 unsigned EqualLeadingBits = (Min ^ Max).countLeadingZeros(); in shl()
1453 return getNonEmpty(Min << *RHS, (Max << *RHS) + 1); in shl()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPFixedPoint.cpp267 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in mul() local
274 else if (Result > Max) in mul()
275 Result = Max; in mul()
277 Overflowed = Result < Min || Result > Max; in mul()
328 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in div() local
335 else if (Result > Max) in div()
336 Result = Max; in div()
338 Overflowed = Result < Min || Result > Max; in div()
365 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl() local
370 else if (Result > Max) in shl()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/IPO/
H A DLowerTypeTests.h64 uint64_t Max = 0; member
71 if (Max < Offset) in addOffset()
72 Max = Offset; in addOffset()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCriticalAntiDepBreaker.cpp460 const SUnit *Max = nullptr; in BreakAntiDependencies() local
463 if (!Max || SU.getDepth() + SU.Latency > Max->getDepth() + Max->Latency) in BreakAntiDependencies()
464 Max = &SU; in BreakAntiDependencies()
466 assert(Max && "Failed to find bottom of the critical path"); in BreakAntiDependencies()
471 << (Max->getDepth() + Max->Latency) << "\n"); in BreakAntiDependencies()
483 const SUnit *CriticalPathSU = Max; in BreakAntiDependencies()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DDarwinSDKInfo.cpp41 VersionTuple Max = VersionTuple(0); in parseJSON() local
53 if (KeyVersion > Max) in parseJSON()
54 Max = KeyVersion; in parseJSON()
62 Min, Max, MinValue, MaximumDeploymentTarget, std::move(Mapping)); in parseJSON()
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp158 *beg.chunk = Max(value, end.offset); in __asan_unpoison_memory_region()
169 *end.chunk = Max(end.value, end.offset); in __asan_unpoison_memory_region()
307 *shadow_end = Max(end_value, end_offset); in PoisonAlignedStackMemory()
383 if ((((old_end != new_end) && Max(old_end, new_end) > end_down) || in FixUnalignedStorage()
384 ((old_beg != new_beg) && Max(old_beg, new_beg) > end_down)) && in FixUnalignedStorage()
403 old_beg = Max(beg_up, old_beg); in FixUnalignedStorage()
404 old_end = Max(beg_up, old_end); in FixUnalignedStorage()
405 new_beg = Max(beg_up, new_beg); in FixUnalignedStorage()
406 new_end = Max(beg_up, new_end); in FixUnalignedStorage()
442 uptr c = RoundUpTo(Max(old_end, new_end), granularity); in __sanitizer_annotate_contiguous_container()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonConstExtenders.cpp62 int32_t Min = INT_MIN, Max = INT_MAX; member
68 : Min(L), Max(H), Align(A), Offset(O) {} in OffsetRange()
76 Max = adjustDown(std::min(Max, A.Max), Align, Offset); in intersect()
80 Max = -1; in intersect()
83 if (Min > Max) in intersect()
84 std::tie(Min, Max, Align) = std::make_tuple(0, -1, 1); in intersect()
89 Max += S; in shift()
99 Max = (INT_MAX-D > Max) ? Max+D : INT_MAX; in extendBy()
103 return Min > Max; in empty()
106 return Min <= V && V <= Max && (V-Offset) % Align == 0; in contains()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DVerifyDiagnosticConsumer.cpp93 unsigned Min, unsigned Max) in StandardDirective() argument
95 MatchAnyLine, Text, Min, Max) {} in StandardDirective()
110 unsigned Min, unsigned Max, StringRef RegexStr) in RegexDirective() argument
112 MatchAnyLine, Text, Min, Max), in RegexDirective()
291 unsigned Min = 1, Max = 1; member
303 MatchAnyLine, UD.Text, UD.Min, UD.Max); in attachDirective()
587 D.Max = Directive::MaxCount; in ParseDirective()
591 if (!PH.Next(D.Max) || D.Max < D.Min) { in ParseDirective()
598 D.Max = D.Min; in ParseDirective()
602 D.Max = Directive::MaxCount; in ParseDirective()
[all …]
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DIntegral.h66 static const auto Max = std::numeric_limits<ReprT>::max();
157 return Integral(Max);
187 return CheckRange<ReprT, Min, Max>(Value);
272 template <typename T, T Min, T Max> static bool CheckRange(int64_t V) {
274 return Min <= V && V <= Max;
276 return V >= 0 && static_cast<uint64_t>(V) <= Max;
/openbsd-src/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiSchedule.td30 // Max micro-ops that can be buffered for optimized loop dispatch/execution.
38 // Max micro-ops that may be scheduled per cycle. [default = 1]
47 // Max micro-ops that can be buffered. [default = -1]
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUAsmUtils.h36 unsigned Max; member
49 bool isValid(unsigned Val) const { return Val <= Max; } in isValid()
/openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/
H A Dsize_class_map.h37 return static_cast<u16>(Max(1U, Min<u32>(Config::MaxNumCachedHint, N))); in getMaxCachedHint()
151 u8 Min = 255, Max = 0; in LSBTable() local
158 if (Bit > Max) in LSBTable()
159 Max = Bit; in LSBTable()
165 if (Max - Min > 3 || ClassesSize > 32) in LSBTable()

12345678910>>...12