Home
last modified time | relevance | path

Searched refs:limit (Results 1 – 25 of 3672) sorted by relevance

12345678910>>...147

/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
DLimitTest.java29 private Limit limit; field in LimitTest
33 limit = new Limit(); in setup()
38 assertNull(limit.getMinimum()); in testDefaults()
39 assertNull(limit.getMaximum()); in testDefaults()
40 assertEquals(CounterEntity.INSTRUCTION, limit.getEntity()); in testDefaults()
41 assertEquals(CounterValue.COVEREDRATIO, limit.getValue()); in testDefaults()
46 limit.setValue(CounterValue.TOTALCOUNT.name()); in testTotalCount()
47 limit.setMaximum("-1"); in testTotalCount()
48 assertEquals(CounterValue.TOTALCOUNT, limit.getValue()); in testTotalCount()
51 limit.check(new TestNode())); in testTotalCount()
[all …]
/external/icu/icu4c/source/common/
Dbmpset.cpp70 static void set32x64Bits(uint32_t table[64], int32_t start, int32_t limit) { in set32x64Bits() argument
71 U_ASSERT(start<limit); in set32x64Bits()
72 U_ASSERT(limit<=0x800); in set32x64Bits()
79 if((start+1)==limit) { // Single-character shortcut. in set32x64Bits()
84 int32_t limitLead=limit>>6; in set32x64Bits()
85 int32_t limitTrail=limit&0x3f; in set32x64Bits()
122 UChar32 start, limit; in initBits() local
129 limit=list[listIndex++]; in initBits()
131 limit=0x110000; in initBits()
138 } while(start<limit && start<0x100); in initBits()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DBMPSet.java144 int limit = s.length(); in span() local
148 while (i < limit) { in span()
159 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span()
187 while (i < limit) { in span()
198 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span()
239 public final int spanBack(CharSequence s, int limit, SpanCondition spanCondition) { in spanBack() argument
245 c = s.charAt(--limit); in spanBack()
255 … c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) { in spanBack()
276 --limit; in spanBack()
278 if (0 == limit) { in spanBack()
[all …]
DUCharArrayIterator.java25 private final int limit; field in UCharArrayIterator
28 public UCharArrayIterator(char[] text, int start, int limit) { in UCharArrayIterator() argument
29 if (start < 0 || limit > text.length || start > limit) { in UCharArrayIterator()
31 + limit + " out of range [0, " in UCharArrayIterator()
36 this.limit = limit; in UCharArrayIterator()
43 return pos < limit ? text[pos] : DONE; in current()
48 return limit - start; in getLength()
58 return pos < limit ? text[pos++] : DONE; in next()
68 if (index < 0 || index > limit - start) { in setIndex()
71 + (limit - start) + ")"); in setIndex()
[all …]
/external/ImageMagick/MagickCore/
Dresource.c200 limit; in AcquireMagickResource() local
205 limit=0; in AcquireMagickResource()
230 limit=resource_info.area_limit; in AcquireMagickResource()
231 if ((limit == MagickResourceInfinity) || (size < limit)) in AcquireMagickResource()
238 limit=resource_info.disk_limit; in AcquireMagickResource()
243 if ((limit == MagickResourceInfinity) || in AcquireMagickResource()
244 (resource_info.disk < (MagickOffsetType) limit)) in AcquireMagickResource()
254 limit=resource_info.file_limit; in AcquireMagickResource()
259 if ((limit == MagickResourceInfinity) || in AcquireMagickResource()
260 (resource_info.file < (MagickOffsetType) limit)) in AcquireMagickResource()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DBMPSet.java142 int limit = s.length(); in span() local
146 while (i < limit) { in span()
157 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span()
185 while (i < limit) { in span()
196 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span()
237 public final int spanBack(CharSequence s, int limit, SpanCondition spanCondition) { in spanBack() argument
243 c = s.charAt(--limit); in spanBack()
253 … c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) { in spanBack()
274 --limit; in spanBack()
276 if (0 == limit) { in spanBack()
[all …]
/external/okio/okio/src/commonMain/kotlin/okio/internal/
DBuffer.kt59 var segmentLimit = segment.limit in <lambda>()
68 segmentLimit = segment.limit in <lambda>()
114 offset -= (s.limit - s.pos).toLong() in seek()
121 val nextOffset = offset + (s.limit - s.pos) in seek()
148 var limit = head.limit in selectPrefix() variable
178 if (pos == limit) { in selectPrefix()
182 limit = s.limit in selectPrefix()
211 if (pos == limit) { in selectPrefix()
215 limit = s.limit in selectPrefix()
248 while (offset >= s!!.limit - s.pos) { in commonCopyTo()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cLimitsTests.cpp237 const Limit<GLint>& limit = intLimits[idx]; in init() local
238 …ld(new glcts::LimitCase<GLint>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init()
243 const Limit<GLint64>& limit = int64Limits[idx]; in init() local
244 …(new glcts::LimitCase<GLint64>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init()
249 const Limit<GLuint64>& limit = uint64Limits[idx]; in init() local
250 …new glcts::LimitCase<GLuint64>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init()
255 const Limit<GLfloat>& limit = floatLimits[idx]; in init() local
256 …(new glcts::LimitCase<GLfloat>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init()
261 const Limit<tcu::IVec3>& limit = ivec3Limits[idx]; in init() local
262 …w glcts::LimitCase<tcu::IVec3>(m_context, limit.name, limit.token, limit.boundry, limit.isMaximum,… in init()
/external/llvm-project/libc/AOR_v20.02/string/aarch64/
Dmemcmp.S18 #define limit x2 macro
32 subs limit, limit, 8
40 subs limit, limit, 8
43 ldr data1, [src1, limit]
44 ldr data2, [src2, limit]
55 subs limit, limit, 16
60 cmp limit, 96
65 add limit, limit, tmp1
76 subs limit, limit, 16
90 add src1, src1, limit
[all …]
/external/arm-optimized-routines/string/aarch64/
Dmemcmp.S17 #define limit x2 macro
34 subs limit, limit, 8
42 subs limit, limit, 8
45 ldr data1, [src1, limit]
46 ldr data2, [src2, limit]
57 subs limit, limit, 16
62 cmp limit, 96
67 add limit, limit, tmp1
78 subs limit, limit, 16
92 add src1, src1, limit
[all …]
/external/llvm-project/libc/AOR_v20.02/math/test/rtest/
Drandom.c61 static uint32 random_upto_makemask(uint32 limit) { in random_upto_makemask() argument
65 if ((limit & (mask >> i)) == limit) in random_upto_makemask()
70 static uint32 random_upto_internal(uint32 limit, uint32 mask) { in random_upto_internal() argument
74 } while (ret > limit); in random_upto_internal()
78 uint32 random_upto(uint32 limit) { in random_upto() argument
79 uint32 mask = random_upto_makemask(limit); in random_upto()
80 return random_upto_internal(limit, mask); in random_upto()
83 uint32 random_upto_biased(uint32 limit, int bias) { in random_upto_biased() argument
84 uint32 mask = random_upto_makemask(limit); in random_upto_biased()
86 uint32 ret = random_upto_internal(limit, mask); in random_upto_biased()
[all …]
/external/arm-optimized-routines/math/test/rtest/
Drandom.c60 static uint32 random_upto_makemask(uint32 limit) { in random_upto_makemask() argument
64 if ((limit & (mask >> i)) == limit) in random_upto_makemask()
69 static uint32 random_upto_internal(uint32 limit, uint32 mask) { in random_upto_internal() argument
73 } while (ret > limit); in random_upto_internal()
77 uint32 random_upto(uint32 limit) { in random_upto() argument
78 uint32 mask = random_upto_makemask(limit); in random_upto()
79 return random_upto_internal(limit, mask); in random_upto()
82 uint32 random_upto_biased(uint32 limit, int bias) { in random_upto_biased() argument
83 uint32 mask = random_upto_makemask(limit); in random_upto_biased()
85 uint32 ret = random_upto_internal(limit, mask); in random_upto_biased()
[all …]
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DBuffer.java151 for (; offset >= (s.limit - s.pos); s = s.next) {
152 offset -= (s.limit - s.pos);
158 int toCopy = (int) Math.min(s.limit - pos, byteCount);
177 for (; offset >= (s.limit - s.pos); s = s.next) {
178 offset -= (s.limit - s.pos);
185 copy.limit = Math.min(copy.pos + (int) byteCount, copy.limit);
191 byteCount -= copy.limit - copy.pos;
210 int toCopy = (int) Math.min(byteCount, s.limit - s.pos);
217 if (s.pos == s.limit) {
244 int maxToCopy = (int) Math.min(byteCount, Segment.SIZE - tail.limit);
[all …]
/external/okhttp/okio/okio/src/main/java/okio/
DBuffer.java149 for (; offset >= (s.limit - s.pos); s = s.next) {
150 offset -= (s.limit - s.pos);
156 int toCopy = (int) Math.min(s.limit - pos, byteCount);
175 for (; offset >= (s.limit - s.pos); s = s.next) {
176 offset -= (s.limit - s.pos);
183 copy.limit = Math.min(copy.pos + (int) byteCount, copy.limit);
189 byteCount -= copy.limit - copy.pos;
208 int toCopy = (int) Math.min(byteCount, s.limit - s.pos);
215 if (s.pos == s.limit) {
242 int maxToCopy = (int) Math.min(byteCount, Segment.SIZE - tail.limit);
[all …]
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DParsableByteArray.java32 private int limit; field in ParsableByteArray
44 public ParsableByteArray(int limit) { in ParsableByteArray() argument
45 this.data = new byte[limit]; in ParsableByteArray()
46 this.limit = limit; in ParsableByteArray()
56 limit = data.length; in ParsableByteArray()
65 public ParsableByteArray(byte[] data, int limit) { in ParsableByteArray() argument
67 this.limit = limit; in ParsableByteArray()
73 limit = 0; in reset()
82 public void reset(int limit) { in reset() argument
83 reset(capacity() < limit ? new byte[limit] : data, limit); in reset()
[all …]
/external/python/cpython3/Lib/
Dtraceback.py45 def print_tb(tb, limit=None, file=None): argument
53 print_list(extract_tb(tb, limit=limit), file=file)
55 def format_tb(tb, limit=None): argument
57 return extract_tb(tb, limit=limit).format()
59 def extract_tb(tb, limit=None): argument
72 return StackSummary.extract(walk_tb(tb), limit=limit)
87 def print_exception(etype, value, tb, limit=None, file=None, chain=True): argument
104 type(value), value, tb, limit=limit).format(chain=chain):
108 def format_exception(etype, value, tb, limit=None, chain=True): argument
121 type(value), value, tb, limit=limit).format(chain=chain))
[all …]
/external/python/cpython2/Lib/
Dtraceback.py46 def print_tb(tb, limit=None, file=None): argument
56 if limit is None:
58 limit = sys.tracebacklimit
60 while tb is not None and (limit is None or n < limit):
74 def format_tb(tb, limit = None): argument
76 return format_list(extract_tb(tb, limit))
78 def extract_tb(tb, limit = None): argument
89 if limit is None:
91 limit = sys.tracebacklimit
94 while tb is not None and (limit is None or n < limit):
[all …]
/external/icu/icu4c/source/i18n/
Dutf16collationiterator.cpp35 limit(other.limit == NULL ? NULL : newText + (other.limit - other.start)) { in UTF16CollationIterator()
61 if(pos == limit) { in handleNextCE32()
71 if(pos == limit) { return 0; } in handleGetTrailSurrogate()
79 if(limit == NULL) { in foundNULTerminator()
80 limit = --pos; in foundNULTerminator()
89 if(pos == limit) { in nextCodePoint()
93 if(c == 0 && limit == NULL) { in nextCodePoint()
94 limit = pos; in nextCodePoint()
99 if(U16_IS_LEAD(c) && pos != limit && U16_IS_TRAIL(trail = *pos)) { in nextCodePoint()
124 while(num > 0 && pos != limit) { in forwardNumCodePoints()
[all …]
/external/pcre/dist2/testdata/
Dtestoutput1515 Minimum heap limit = 0
16 Minimum match limit = 7
17 Minimum depth limit = 7
21 Minimum heap limit = 0
22 Minimum match limit = 20481
23 Minimum depth limit = 30
31 Minimum heap limit = 0
32 Minimum match limit = 64
33 Minimum depth limit = 7
39 Minimum heap limit = 0
[all …]
/external/rust/crates/rusqlite/src/
Dlimits.rs12 pub fn limit(&self, limit: Limit) -> i32 { in limit() method
14 unsafe { ffi::sqlite3_limit(c.db(), limit as c_int, -1) } in limit()
19 pub fn set_limit(&self, limit: Limit, new_val: i32) -> i32 { in set_limit()
21 unsafe { ffi::sqlite3_limit(c.db(), limit as c_int, new_val) } in set_limit()
34 assert_eq!(1024, db.limit(Limit::SQLITE_LIMIT_LENGTH)); in test_limit()
37 assert_eq!(1024, db.limit(Limit::SQLITE_LIMIT_SQL_LENGTH)); in test_limit()
40 assert_eq!(64, db.limit(Limit::SQLITE_LIMIT_COLUMN)); in test_limit()
43 assert_eq!(256, db.limit(Limit::SQLITE_LIMIT_EXPR_DEPTH)); in test_limit()
46 assert_eq!(32, db.limit(Limit::SQLITE_LIMIT_COMPOUND_SELECT)); in test_limit()
49 assert_eq!(32, db.limit(Limit::SQLITE_LIMIT_FUNCTION_ARG)); in test_limit()
[all …]
/external/iptables/extensions/
Dlibxt_limit.t2 -m limit --limit 1/sec;=;OK
3 -m limit --limit 1/min;=;OK
4 -m limit --limit 1000/hour;=;OK
5 -m limit --limit 1000/day;=;OK
6 -m limit --limit 1/sec --limit-burst 1;=;OK
Dlibxt_limit.txlate1 iptables-translate -A INPUT -m limit --limit 3/m --limit-burst 3
2 nft add rule ip filter INPUT limit rate 3/minute burst 3 packets counter
4 iptables-translate -A INPUT -m limit --limit 10/s --limit-burst 5
5 nft add rule ip filter INPUT limit rate 10/second burst 5 packets counter
7 iptables-translate -A INPUT -m limit --limit 10/s --limit-burst 0
8 nft add rule ip filter INPUT limit rate 10/second counter
/external/iproute2/netem/
Dmaketable.c24 int limit; in readdoubles() local
29 limit = 2*info.st_size/sizeof(double); /* @@ approximate */ in readdoubles()
31 limit = 10000; in readdoubles()
34 x = calloc(limit, sizeof(double)); in readdoubles()
40 for (i=0; i<limit; ++i){ in readdoubles()
51 arraystats(double *x, int limit, double *mu, double *sigma, double *rho) in arraystats() argument
57 for (i=0; i<limit; ++i){ in arraystats()
93 makedist(double *x, int limit, double mu, double sigma) in makedist() argument
105 for (i=0; i < limit; ++i) { in makedist()
123 cumulativedist(int *table, int limit, int *total) in cumulativedist() argument
[all …]
/external/libchrome/mojo/core/
Dquota_unittest.cc38 uint64_t limit = 0; in TEST_F() local
41 MojoQueryQuota(message_pipe0, kInvalidQuotaType, nullptr, &limit, in TEST_F()
47 &kInvalidQueryQuotaOptions, &limit, &usage)); in TEST_F()
74 uint64_t limit = 0; in TEST_F() local
78 &limit, &usage)); in TEST_F()
79 EXPECT_EQ(MOJO_QUOTA_LIMIT_NONE, limit); in TEST_F()
89 &limit, &usage)); in TEST_F()
90 EXPECT_EQ(kTestLimit, limit); in TEST_F()
99 &limit, &usage)); in TEST_F()
100 EXPECT_EQ(kTestLimit, limit); in TEST_F()
[all …]
/external/e2fsprogs/tests/f_quota/
Dexpect.02 user id blocks quota limit inodes quota limit
7 group id blocks quota limit inodes quota limit
10 user id blocks quota limit inodes quota limit
13 user id blocks quota limit inodes quota limit
16 user id blocks quota limit inodes quota limit
19 group id blocks quota limit inodes quota limit

12345678910>>...147