Home
last modified time | relevance | path

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

12345678910>>...79

/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/android_icu4j/src/main/java/android/icu/impl/
DBMPSet.java145 int limit = s.length(); in span() local
149 while (i < limit) { in span()
160 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span()
188 while (i < limit) { in span()
199 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span()
240 public final int spanBack(CharSequence s, int limit, SpanCondition spanCondition) { in spanBack() argument
246 c = s.charAt(--limit); in spanBack()
256 … c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) { in spanBack()
277 --limit; in spanBack()
279 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/icu/icu4c/source/common/
Dbmpset.cpp68 static void set32x64Bits(uint32_t table[64], int32_t start, int32_t limit) { in set32x64Bits() argument
69 U_ASSERT(start<limit); in set32x64Bits()
70 U_ASSERT(limit<=0x800); in set32x64Bits()
77 if((start+1)==limit) { // Single-character shortcut. in set32x64Bits()
82 int32_t limitLead=limit>>6; in set32x64Bits()
83 int32_t limitTrail=limit&0x3f; in set32x64Bits()
120 UChar32 start, limit; in initBits() local
127 limit=list[listIndex++]; in initBits()
129 limit=0x110000; in initBits()
136 } while(start<limit && start<0x80); in initBits()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DBMPSet.java143 int limit = s.length(); in span() local
147 while (i < limit) { in span()
158 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span()
186 while (i < limit) { in span()
197 … c >= 0xdc00 || (i + 1) == limit || (c2 = s.charAt(i + 1)) < 0xdc00 || c2 >= 0xe000) { in span()
238 public final int spanBack(CharSequence s, int limit, SpanCondition spanCondition) { in spanBack() argument
244 c = s.charAt(--limit); in spanBack()
254 … c < 0xdc00 || 0 == limit || (c2 = s.charAt(limit - 1)) < 0xd800 || c2 >= 0xdc00) { in spanBack()
275 --limit; in spanBack()
277 if (0 == limit) { in spanBack()
[all …]
DUCharArrayIterator.java23 private final int limit; field in UCharArrayIterator
26 public UCharArrayIterator(char[] text, int start, int limit) { in UCharArrayIterator() argument
27 if (start < 0 || limit > text.length || start > limit) { in UCharArrayIterator()
29 + limit + " out of range [0, " in UCharArrayIterator()
34 this.limit = limit; in UCharArrayIterator()
41 return pos < limit ? text[pos] : DONE; in current()
46 return limit - start; in getLength()
56 return pos < limit ? text[pos++] : DONE; in next()
66 if (index < 0 || index > limit - start) { in setIndex()
69 + (limit - start) + ")"); in setIndex()
[all …]
/external/pdfium/third_party/freetype/src/psaux/
Dpsobjs.c104 FT_Byte** limit = offset + table->max_elems; in shift_elements() local
107 for ( ; offset < limit; offset++ ) in shift_elements()
286 FT_Byte* limit ) in skip_comment() argument
291 while ( cur < limit ) in skip_comment()
304 FT_Byte* limit ) in skip_spaces() argument
309 while ( cur < limit ) in skip_spaces()
315 skip_comment( &cur, limit ); in skip_spaces()
334 FT_Byte* limit ) in skip_literal_string() argument
342 while ( cur < limit ) in skip_literal_string()
358 if ( cur == limit ) in skip_literal_string()
[all …]
Dpsconv.c85 FT_Byte* limit, in PS_Conv_Strtol() argument
98 if ( p >= limit ) in PS_Conv_Strtol()
112 if ( p == limit ) in PS_Conv_Strtol()
119 for ( ; p < limit; p++ ) in PS_Conv_Strtol()
159 FT_Byte* limit ) in PS_Conv_ToInt() argument
169 num = PS_Conv_Strtol( &p, limit, 10 ); in PS_Conv_ToInt()
174 if ( p < limit && *p == '#' ) in PS_Conv_ToInt()
179 num = PS_Conv_Strtol( &p, limit, num ); in PS_Conv_ToInt()
193 FT_Byte* limit, in PS_Conv_ToFixed() argument
208 if ( p >= limit ) in PS_Conv_ToFixed()
[all …]
/external/freetype/src/psaux/
Dpsobjs.c104 FT_Byte** limit = offset + table->max_elems; in shift_elements() local
107 for ( ; offset < limit; offset++ ) in shift_elements()
286 FT_Byte* limit ) in skip_comment() argument
291 while ( cur < limit ) in skip_comment()
304 FT_Byte* limit ) in skip_spaces() argument
309 while ( cur < limit ) in skip_spaces()
315 skip_comment( &cur, limit ); in skip_spaces()
334 FT_Byte* limit ) in skip_literal_string() argument
342 while ( cur < limit ) in skip_literal_string()
358 if ( cur == limit ) in skip_literal_string()
[all …]
Dpsconv.c85 FT_Byte* limit, in PS_Conv_Strtol() argument
98 if ( p >= limit ) in PS_Conv_Strtol()
112 if ( p == limit ) in PS_Conv_Strtol()
119 for ( ; p < limit; p++ ) in PS_Conv_Strtol()
159 FT_Byte* limit ) in PS_Conv_ToInt() argument
169 num = PS_Conv_Strtol( &p, limit, 10 ); in PS_Conv_ToInt()
174 if ( p < limit && *p == '#' ) in PS_Conv_ToInt()
179 num = PS_Conv_Strtol( &p, limit, num ); in PS_Conv_ToInt()
193 FT_Byte* limit, in PS_Conv_ToFixed() argument
208 if ( p >= limit ) in PS_Conv_ToFixed()
[all …]
/external/ImageMagick/MagickCore/
Dresource.c176 limit; in AcquireMagickResource() local
189 limit=resource_info.area_limit; in AcquireMagickResource()
191 (size < limit) ? MagickTrue : MagickFalse; in AcquireMagickResource()
201 limit=resource_info.memory_limit; in AcquireMagickResource()
203 ((MagickSizeType) resource_info.memory < limit) ? MagickTrue : in AcquireMagickResource()
214 limit=resource_info.map_limit; in AcquireMagickResource()
216 ((MagickSizeType) resource_info.map < limit) ? MagickTrue : MagickFalse; in AcquireMagickResource()
226 limit=resource_info.disk_limit; in AcquireMagickResource()
228 ((MagickSizeType) resource_info.disk < limit) ? MagickTrue : in AcquireMagickResource()
239 limit=resource_info.file_limit; in AcquireMagickResource()
[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 …]
DSegment.java43 int limit; field in Segment
64 this(shareFrom.data, shareFrom.pos, shareFrom.limit); in Segment()
68 Segment(byte[] data, int pos, int limit) { in Segment() argument
71 this.limit = limit; in Segment()
110 if (byteCount <= 0 || byteCount > limit - pos) throw new IllegalArgumentException(); in split()
112 prefix.limit = prefix.pos + byteCount; in split()
125 int byteCount = limit - pos; in compact()
126 int availableByteCount = SIZE - prev.limit + (prev.shared ? 0 : prev.pos); in compact()
136 if (sink.limit + byteCount > SIZE) { in writeTo()
139 if (sink.limit + byteCount - sink.pos > SIZE) throw new IllegalArgumentException(); in writeTo()
[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/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/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
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DBidiLine.java116 static Bidi setLine(Bidi paraBidi, int start, int limit) { in setLine() argument
128 lineBidi.resultLength = limit - start; in setLine()
139 for (j = start; j < limit; j++) { in setLine()
169 } else if (paraBidi.trailingWSStart < limit) { in setLine()
291 logicalLimit = iRun.start + iRun.limit - visualStart; in getLogicalRun()
296 visualStart = iRun.limit; in getLogicalRun()
299 newRun.limit = logicalLimit; in getLogicalRun()
307 int limit; in getVisualRun() local
311 limit = start + in getVisualRun()
312 bidi.runs[runIndex].limit - in getVisualRun()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DBidiLine.java117 static Bidi setLine(Bidi paraBidi, int start, int limit) { in setLine() argument
129 lineBidi.resultLength = limit - start; in setLine()
140 for (j = start; j < limit; j++) { in setLine()
170 } else if (paraBidi.trailingWSStart < limit) { in setLine()
292 logicalLimit = iRun.start + iRun.limit - visualStart; in getLogicalRun()
297 visualStart = iRun.limit; in getLogicalRun()
300 newRun.limit = logicalLimit; in getLogicalRun()
308 int limit; in getVisualRun() local
312 limit = start + in getVisualRun()
313 bidi.runs[runIndex].limit - in getVisualRun()
[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
/external/icu/icu4c/source/samples/uciter8/
Duit_len8.c126 int32_t i, limit, index; in lenient8IteratorGetIndex() local
130 limit=iter->start; /* count up to the UTF-8 index */ in lenient8IteratorGetIndex()
131 while(i<limit) { in lenient8IteratorGetIndex()
132 L8_NEXT(s, i, limit, c); in lenient8IteratorGetIndex()
141 if(i==iter->limit) { in lenient8IteratorGetIndex()
155 int32_t i, limit, length; in lenient8IteratorGetIndex() local
164 limit=iter->start; in lenient8IteratorGetIndex()
167 while(i<limit) { in lenient8IteratorGetIndex()
168 L8_NEXT(s, i, limit, c); in lenient8IteratorGetIndex()
188 limit=iter->limit; in lenient8IteratorGetIndex()
[all …]
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java167 public static boolean isValidUtf8(byte[] bytes, int index, int limit) { in isValidUtf8() argument
168 return processor.isValidUtf8(bytes, index, limit); in isValidUtf8()
189 public static int partialIsValidUtf8(int state, byte[] bytes, int index, int limit) { in partialIsValidUtf8() argument
190 return processor.partialIsValidUtf8(state, bytes, index, limit); in partialIsValidUtf8()
211 private static int incompleteStateFor(byte[] bytes, int index, int limit) { in incompleteStateFor() argument
213 switch (limit - index) { in incompleteStateFor()
333 static int partialIsValidUtf8(int state, ByteBuffer buffer, int index, int limit) { in partialIsValidUtf8() argument
334 return processor.partialIsValidUtf8(state, buffer, index, limit); in partialIsValidUtf8()
362 private static int estimateConsecutiveAscii(ByteBuffer buffer, int index, int limit) { in estimateConsecutiveAscii() argument
364 final int lim = limit - 7; in estimateConsecutiveAscii()
[all …]
/external/pcre/dist2/testdata/
Dtestoutput1515 Minimum match limit = 8
16 Minimum recursion limit = 6
20 Minimum match limit = 32768
21 Minimum recursion limit = 29
29 Minimum match limit = 120
30 Minimum recursion limit = 6
36 Minimum match limit = 5
37 Minimum recursion limit = 2
40 Minimum match limit = 12
41 Minimum recursion limit = 2
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTrieTest.java49 SetRange(int start, int limit, int value, boolean overwrite) in SetRange() argument
52 this.limit = limit; in SetRange()
57 int start, limit; field in TrieTest.SetRange
69 CheckRange(int limit, int value) in CheckRange() argument
71 this.limit = limit; in CheckRange()
75 int limit; field in TrieTest.CheckRange
90 int limit = start + 0x400; in getFoldedValue() local
91 while (start < limit) { in getFoldedValue()
141 int c = checkRanges[i].limit; in _testTrieIteration()
148 int limit = s.length(); in _testTrieIteration() local
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTrieTest.java50 SetRange(int start, int limit, int value, boolean overwrite) in SetRange() argument
53 this.limit = limit; in SetRange()
58 int start, limit; field in TrieTest.SetRange
70 CheckRange(int limit, int value) in CheckRange() argument
72 this.limit = limit; in CheckRange()
76 int limit; field in TrieTest.CheckRange
91 int limit = start + 0x400; in getFoldedValue() local
92 while (start < limit) { in getFoldedValue()
142 int c = checkRanges[i].limit; in _testTrieIteration()
149 int limit = s.length(); in _testTrieIteration() local
[all …]
/external/icu/icu4c/source/test/cintltst/
Dtrietest.c39 UChar32 start, limit; member
50 UChar32 limit; member
58 UChar32 limit; in _testFoldedValue32() local
63 limit=start+0x400; in _testFoldedValue32()
64 while(start<limit) { in _testFoldedValue32()
89 UChar32 limit; in _testFoldedValue16() local
94 limit=start+0x400; in _testFoldedValue16()
95 while(start<limit) { in _testFoldedValue16()
127 _testEnumRange(const void *context, UChar32 start, UChar32 limit, uint32_t value) { in _testEnumRange() argument
132 if(start!=(b-1)->limit || limit!=b->limit || value!=b->value) { in _testEnumRange()
[all …]

12345678910>>...79