Home
last modified time | relevance | path

Searched refs:Limit (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-infinite-loop.cpp34 int Limit = 10; in simple_infinite_loop2() local
35 while (i < Limit) { in simple_infinite_loop2()
40 while (int k = Limit) { in simple_infinite_loop2()
45 while (int k = Limit) { in simple_infinite_loop2()
53 } while (i < Limit); in simple_infinite_loop2()
55 for (i = 0; i < Limit; ++j) { in simple_infinite_loop2()
62 int Limit = 100; in simple_not_infinite1() local
63 while (i < Limit) { in simple_not_infinite1()
65 Limit--; in simple_not_infinite1()
68 while (Limit--) { in simple_not_infinite1()
[all …]
/external/webrtc/api/audio/
Decho_canceller3_config.cc20 bool Limit(float* value, float min, float max) { in Limit() function
28 bool Limit(size_t* value, size_t min, size_t max) { in Limit() function
35 bool Limit(int* value, int min, int max) { in Limit() function
111 res = res & Limit(&c->delay.default_delay, 0, 5000); in Validate()
112 res = res & Limit(&c->delay.num_filters, 0, 5000); in Validate()
113 res = res & Limit(&c->delay.delay_headroom_samples, 0, 5000); in Validate()
114 res = res & Limit(&c->delay.hysteresis_limit_blocks, 0, 5000); in Validate()
115 res = res & Limit(&c->delay.fixed_capture_delay_samples, 0, 5000); in Validate()
116 res = res & Limit(&c->delay.delay_estimate_smoothing, 0.f, 1.f); in Validate()
117 res = res & Limit(&c->delay.delay_candidate_detection_threshold, 0.f, 1.f); in Validate()
[all …]
/external/rust/crates/rusqlite/src/
Dlimits.rs6 pub use crate::ffi::Limit;
12 pub fn limit(&self, limit: Limit) -> i32 { in limit()
19 pub fn set_limit(&self, limit: Limit, new_val: i32) -> i32 { in set_limit() argument
27 use crate::ffi::Limit;
33 db.set_limit(Limit::SQLITE_LIMIT_LENGTH, 1024); in test_limit()
34 assert_eq!(1024, db.limit(Limit::SQLITE_LIMIT_LENGTH)); in test_limit()
36 db.set_limit(Limit::SQLITE_LIMIT_SQL_LENGTH, 1024); in test_limit()
37 assert_eq!(1024, db.limit(Limit::SQLITE_LIMIT_SQL_LENGTH)); in test_limit()
39 db.set_limit(Limit::SQLITE_LIMIT_COLUMN, 64); in test_limit()
40 assert_eq!(64, db.limit(Limit::SQLITE_LIMIT_COLUMN)); in test_limit()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckWidths.java48 private static class Limit { class in CheckWidths
58 …public Limit(double warningReference, double errorReference, Measure measure, LimitType limit, Spe… in Limit() method in CheckWidths.Limit
102 … public Limit(double d, double e, Measure displayWidth, LimitType maximum, Special placeholders) { in Limit() method in CheckWidths.Limit
193 static RegexLookup<Limit[]> lookup = new RegexLookup<Limit[]>()
198 .add("//ldml/delimiters/(quotation|alternateQuotation)", new Limit[] {
199 new Limit(1, 1, Measure.CODE_POINTS, LimitType.MAXIMUM, Special.NONE)
204 …/ldml/numbers/symbols[@numberSystem=%A]/(decimal|group|minus|percent|perMille|plus)", new Limit[] {
205 new Limit(1, 1, Measure.CODE_POINTS, LimitType.MAXIMUM, Special.NUMBERSYMBOLS)
211 .add("//ldml/characters/ellipsis[@type=\"(final|initial|medial)\"]", new Limit[] {
212 … new Limit(2 * EM, 5 * EM, Measure.DISPLAY_WIDTH, LimitType.MAXIMUM, Special.PLACEHOLDERS)
[all …]
/external/libcups/conf/
Dcupsd.conf.in58 <Limit Create-Job Print-Job Print-URI Validate-Job>
60 </Limit>
62 …<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Creat…
65 </Limit>
68 …<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Se…
72 </Limit>
75 …<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job…
79 </Limit>
82 <Limit Cancel-Job CUPS-Authenticate-Job>
85 </Limit>
[all …]
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
DRuleTest.java54 Limit l1 = new Limit(); in testSetLimits()
55 Limit l2 = new Limit(); in testSetLimits()
56 Limit l3 = new Limit(); in testSetLimits()
63 Limit l1 = new Limit(); in testCreateLimit()
64 Limit l2 = new Limit(); in testCreateLimit()
65 rule.setLimits(new ArrayList<Limit>(Arrays.asList(l1, l2))); in testCreateLimit()
66 Limit l3 = rule.createLimit(); in testCreateLimit()
/external/llvm-project/clang/lib/AST/Interp/
DState.cpp95 unsigned Limit = getCtx().getDiagnostics().getConstexprBacktraceLimit(); in diag() local
96 if (Limit) in diag()
97 CallStackNotes = std::min(CallStackNotes, Limit + 1); in diag()
107 addCallStack(Limit); in diag()
117 void State::addCallStack(unsigned Limit) { in addCallStack() argument
121 if (Limit && Limit < ActiveCalls) { in addCallStack()
122 SkipStart = Limit / 2 + Limit % 2; in addCallStack()
123 SkipEnd = ActiveCalls - Limit / 2; in addCallStack()
138 << unsigned(ActiveCalls - Limit); in addCallStack()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DRule.java29 private List<Limit> limits;
39 this.limits = new ArrayList<Limit>(); in Rule()
95 public List<Limit> getLimits() { in getLimits()
103 public void setLimits(final List<Limit> limits) { in setLimits()
112 public Limit createLimit() { in createLimit()
113 final Limit limit = new Limit(); in createLimit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DAllocationOrder.h54 unsigned next(unsigned Limit = 0) {
59 if (!Limit)
60 Limit = Order.size();
61 while (Pos < int(Limit)) {
73 unsigned nextWithDups(unsigned Limit) { in nextWithDups() argument
78 if (Pos < int(Limit)) in nextWithDups()
/external/llvm/lib/CodeGen/
DAllocationOrder.h50 unsigned next(unsigned Limit = 0) {
53 if (!Limit)
54 Limit = Order.size();
55 while (Pos < int(Limit)) {
67 unsigned nextWithDups(unsigned Limit) { in nextWithDups() argument
70 if (Pos < int(Limit)) in nextWithDups()
/external/deqp/external/openglcts/modules/gl/
Dgl4cLimitsTests.cpp33 struct Limit struct
75 static const Limit<GLint> intLimits[] = in init()
211 static const Limit<GLint64> int64Limits[] = in init()
217 static const Limit<GLuint64> uint64Limits[] = in init()
222 static const Limit<GLfloat> floatLimits[] = in init()
229 static const Limit<tcu::IVec3> ivec3Limits[] = in init()
237 const Limit<GLint>& limit = intLimits[idx]; in init()
243 const Limit<GLint64>& limit = int64Limits[idx]; in init()
249 const Limit<GLuint64>& limit = uint64Limits[idx]; in init()
255 const Limit<GLfloat>& limit = floatLimits[idx]; in init()
[all …]
/external/arm-trusted-firmware/include/common/
Dbl_common.h59 #define __BSS_END__ Load$$LR$$LR_BSS$$Limit
63 #define __COHERENT_RAM_END__ Load$$LR$$LR_COHERENT_RAM$$Limit
66 #define __CPU_OPS_END__ Load$$__CPU_OPS__$$Limit
68 #define __DATA_END__ Load$$__DATA__$$Limit
70 #define __GOT_END__ Load$$__GOT__$$Limit
74 #define __PMF_SVC_DESCS_END__ Load$$__PMF_SVC_DESCS__$$Limit
76 #define __PMF_TIMESTAMP_END__ Load$$__PER_CPU_TIMESTAMPS__$$Limit
78 #define __RELA_END__ Load$$__RELA__$$Limit
83 #define __RT_SVC_DESCS_END__ Load$$__RT_SVC_DESCS__$$Limit
89 #define __STACKS_END__ Load$$__STACKS__$$Limit
/external/llvm-project/llvm/unittests/Analysis/
DConstraintSystemTest.cpp149 int64_t Limit = std::numeric_limits<int64_t>::max(); in TEST() local
150 CS.addVariableRow({Limit - 1, Limit - 2, Limit - 3}); in TEST()
151 EXPECT_FALSE(CS.isConditionImplied({Limit - 1, Limit - 2, Limit - 3})); in TEST()
/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp180 unsigned Limit = in tryFitMultipleLinesInOne() local
184 Limit = TheLine->Last->TotalLength > Limit in tryFitMultipleLinesInOne()
186 : Limit - TheLine->Last->TotalLength; in tryFitMultipleLinesInOne()
199 return MergeShortFunctions ? tryMergeSimpleBlock(I, E, Limit) : 0; in tryFitMultipleLinesInOne()
203 ? tryMergeSimpleBlock(I, E, Limit) in tryFitMultipleLinesInOne()
212 if (Limit <= 2 || (Style.ColumnLimit == 0 && containsMustBreak(TheLine))) in tryFitMultipleLinesInOne()
214 Limit -= 2; in tryFitMultipleLinesInOne()
218 MergedLines = tryMergeSimpleBlock(I + 1, E, Limit); in tryFitMultipleLinesInOne()
228 ? tryMergeSimpleControlStatement(I, E, Limit) in tryFitMultipleLinesInOne()
233 ? tryMergeSimpleControlStatement(I, E, Limit) in tryFitMultipleLinesInOne()
[all …]
/external/llvm-project/clang/lib/Format/
DUnwrappedLineFormatter.cpp216 unsigned Limit = in tryFitMultipleLinesInOne() local
220 Limit = TheLine->Last->TotalLength > Limit in tryFitMultipleLinesInOne()
222 : Limit - TheLine->Last->TotalLength; in tryFitMultipleLinesInOne()
228 return tryMergeSimpleBlock(I, E, Limit); in tryFitMultipleLinesInOne()
241 ? tryMergeSimpleBlock(I, E, Limit) in tryFitMultipleLinesInOne()
249 ? tryMergeSimpleBlock(I, E, Limit) in tryFitMultipleLinesInOne()
269 I[i + 1]->Last->TotalLength < Limit; in tryFitMultipleLinesInOne()
274 Limit -= I[i + 1]->Last->TotalLength; in tryFitMultipleLinesInOne()
300 return MergeShortFunctions ? tryMergeSimpleBlock(I, E, Limit) : 0; in tryFitMultipleLinesInOne()
306 ? tryMergeSimpleBlock(I, E, Limit) in tryFitMultipleLinesInOne()
[all …]
/external/iptables/extensions/
Dlibip6t_HL.man1 This is used to modify the Hop Limit field in IPv6 header. The Hop Limit field
3 Hop Limit field can potentially be very dangerous, so it should be avoided at
11 Set the Hop Limit to `value'.
14 Decrement the Hop Limit `value' times.
17 Increment the Hop Limit `value' times.
Dlibip6t_hl.man1 This module matches the Hop Limit field in the IPv6 header.
4 Matches if Hop Limit equals \fIvalue\fP.
7 Matches if Hop Limit is less than \fIvalue\fP.
10 Matches if Hop Limit is greater than \fIvalue\fP.
/external/rust/crates/bytes/src/buf/
Dlimit.rs9 pub struct Limit<T> { struct
14 pub(super) fn new<T>(inner: T, limit: usize) -> Limit<T> { in new() argument
15 Limit { inner, limit } in new()
18 impl<T> Limit<T> { impl
59 unsafe impl<T: BufMut> BufMut for Limit<T> { implementation
/external/llvm-project/clang-tools-extra/clangd/index/
DIndex.cpp37 int64_t Limit; in fromJSON() local
40 O.map("AnyScope", Request.AnyScope) && O.map("Limit", Limit) && in fromJSON()
44 if (OK && Limit <= std::numeric_limits<uint32_t>::max()) in fromJSON()
45 Request.Limit = Limit; in fromJSON()
54 {"Limit", Request.Limit}, in toJSON()
DIndex.h42 llvm::Optional<uint32_t> Limit; member
52 return std::tie(Query, Scopes, Limit, RestrictForCodeCompletion,
54 std::tie(Req.Query, Req.Scopes, Req.Limit,
74 llvm::Optional<uint32_t> Limit; member
81 llvm::Optional<uint32_t> Limit; member
/external/compiler-rt/test/esan/TestCases/
Dlarge-stack-linux.c14 struct rlimit Limit; in testChildStackLimit() local
15 Limit.rlim_cur = RLIM_INFINITY; in testChildStackLimit()
16 Limit.rlim_max = RLIM_INFINITY; in testChildStackLimit()
17 Res = setrlimit(RLIMIT_STACK, &Limit); in testChildStackLimit()
/external/grpc-grpc/src/csharp/Grpc.Examples/
DMath.cs402 public long Limit { property in Math.FibArgs
422 if (Limit != other.Limit) return false; in Equals()
429 if (Limit != 0L) hash ^= Limit.GetHashCode(); in GetHashCode()
443 if (Limit != 0L) { in WriteTo()
445 output.WriteInt64(Limit); in WriteTo()
455 if (Limit != 0L) { in CalculateSize()
456 size += 1 + pb::CodedOutputStream.ComputeInt64Size(Limit); in CalculateSize()
469 if (other.Limit != 0L) { in MergeFrom()
470 Limit = other.Limit; in MergeFrom()
484 Limit = input.ReadInt64(); in MergeFrom()
/external/llvm-project/clang-tools-extra/clangd/index/dex/
DIterator.cpp313 LimitIterator(std::unique_ptr<Iterator> Child, size_t Limit) in LimitIterator() argument
314 : Child(std::move(Child)), Limit(Limit), ItemsLeft(Limit) {} in LimitIterator()
335 return std::min(Child->estimateSize(), Limit); in estimateSize()
340 return OS << "(LIMIT " << Limit << " " << *Child << ')'; in dump()
344 size_t Limit; member in clang::clangd::dex::__anon27ed63d30111::LimitIterator
435 size_t Limit) const { in limit()
438 return std::make_unique<LimitIterator>(std::move(Child), Limit); in limit()
/external/llvm-project/clang/include/clang/Basic/
DDiagnosticOptions.def83 VALUE_DIAGOPT(ErrorLimit, 32, 0) /// Limit # errors emitted.
84 /// Limit depth of macro expansion backtrace.
86 /// Limit depth of instantiation backtrace.
88 /// Limit depth of constexpr backtrace.
90 /// Limit number of times to perform spell checking.
92 /// Limit number of lines shown in a snippet.
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopPredication.cpp241 const SCEV *Limit; member
243 const SCEV *Limit) in LoopICmp()
244 : Pred(Pred), IV(IV), Limit(Limit) {} in LoopICmp()
248 << ", Limit = " << *Limit << "\n"; in dump()
448 auto *Limit = dyn_cast<SCEVConstant>(LatchCheck.Limit); in isSafeToTruncateWideIVType() local
450 if (!Limit || !Start) in isSafeToTruncateWideIVType()
465 Limit->getAPInt().getActiveBits() < RangeCheckTypeBitSize; in isSafeToTruncateWideIVType()
493 NewLatchCheck.Limit = SE.getTruncateExpr(LatchCheck.Limit, RangeCheckType); in generateLoopLatchCheck()
498 LLVM_DEBUG(dbgs() << "LatchCheck.Limit: " << *NewLatchCheck.Limit << "\n"); in generateLoopLatchCheck()
574 const SCEV *GuardLimit = RangeCheck.Limit; in widenICmpRangeCheckIncrementingLoop()
[all …]

12345678910>>...15