/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/ |
LimitTest.java | 25 * Unit tests for {@link Limit}. 29 private Limit limit; field in class:LimitTest 33 limit = new Limit(); 38 assertNull(limit.getMinimum()); 39 assertNull(limit.getMaximum()); 40 assertEquals(CounterEntity.INSTRUCTION, limit.getEntity()); 41 assertEquals(CounterValue.COVEREDRATIO, limit.getValue()); 46 limit.setValue(CounterValue.TOTALCOUNT.name()) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
BidiRun.java | 22 * <p>The "limit" of the run is the position just after the 34 int limit; /* last visual position of the run +1 */ field in class:BidiRun 42 * Note that members start and limit of a run instance have different 48 * - limit is one after the last visual position of the run. 51 * - limit is one after the last logical position of the run. 61 BidiRun(int start, int limit, byte embeddingLevel) 64 this.limit = limit; 74 this.limit = run.limit; [all...] |
DictionaryMatcher.java | 25 * @param limit The maximum amount of words to output. Must be less than or equal to lengths.length. 30 int[] count, int limit, int[] values); 33 int[] count, int limit) { 34 return matches(text, maxLength, lengths, count, limit, null);
|
Replaceable.java | 26 * offset and a limit offset. The range of characters thus specified 27 * includes the characters at offset start..limit-1. That is, the 28 * start offset is inclusive, and the limit offset is exclusive. 96 * <= start <= limit</code>. 98 * <code>start <= limit <= length()</code>. 108 * limit is equal to the replacement text, that replace has no 115 * <= limit</code>. 116 * @param limit the ending index, exclusive; <code>start <= limit 119 * to <code>limit - 1</code [all...] |
ReplaceableString.java | 65 public String substring(int start, int limit) { 66 return buf.substring(start, limit); 112 * <= start <= limit</code>. 114 * <code>start <= limit <= length()</code>. 128 * <= limit</code>. 129 * @param limit the ending index, exclusive; <code>start <= limit 132 * <code>limit - 1</code> 134 public void replace(int start, int limit, String text) { 135 buf.replace(start, limit, text) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
BidiRun.java | 21 * <p>The "limit" of the run is the position just after the 33 int limit; /* last visual position of the run +1 */ field in class:BidiRun 41 * Note that members start and limit of a run instance have different 47 * - limit is one after the last visual position of the run. 50 * - limit is one after the last logical position of the run. 60 BidiRun(int start, int limit, byte embeddingLevel) 63 this.limit = limit; 73 this.limit = run.limit; [all...] |
DictionaryMatcher.java | 24 * @param limit The maximum amount of words to output. Must be less than or equal to lengths.length. 29 int[] count, int limit, int[] values); 32 int[] count, int limit) { 33 return matches(text, maxLength, lengths, count, limit, null);
|
Replaceable.java | 25 * offset and a limit offset. The range of characters thus specified 26 * includes the characters at offset start..limit-1. That is, the 27 * start offset is inclusive, and the limit offset is exclusive. 99 * <= start <= limit</code>. 101 * <code>start <= limit <= length()</code>. 112 * limit is equal to the replacement text, that replace has no 119 * <= limit</code>. 120 * @param limit the ending index, exclusive; <code>start <= limit 123 * to <code>limit - 1</code [all...] |
ReplaceableString.java | 69 public String substring(int start, int limit) { 70 return buf.substring(start, limit); 119 * <= start <= limit</code>. 121 * <code>start <= limit <= length()</code>. 136 * <= limit</code>. 137 * @param limit the ending index, exclusive; <code>start <= limit 140 * <code>limit - 1</code> 143 public void replace(int start, int limit, String text) { 144 buf.replace(start, limit, text) [all...] |
/external/icu/icu4c/source/tools/gentest/ |
genres32.c | 27 incKey(char *key, char *limit) { 30 while(limit>key) { 31 c=*--limit; 33 *limit='1'; 36 *limit='o'; 51 char *limit; local 70 /* find the limit of the key string */ 71 for(limit=key; *limit!=0; ++limit) { [all...] |
/dalvik/libdex/ |
Leb128.cpp | 28 * any but the low-order four bits set. Additionally, if the limit is 29 * passed as non-NULL and bytes would need to be read past the limit, 32 int readAndVerifyUnsignedLeb128(const u1** pStream, const u1* limit, 37 if (((limit != NULL) && (*pStream > limit)) 50 * any but the low-order four bits set. Additionally, if the limit is 51 * passed as non-NULL and bytes would need to be read past the limit, 54 int readAndVerifySignedLeb128(const u1** pStream, const u1* limit, 59 if (((limit != NULL) && (*pStream > limit)) [all...] |
/libcore/ojluni/src/main/java/java/nio/ |
Buffer.java | 36 * buffer are its capacity, limit, and position: </p> 43 * <p> A buffer's <i>limit</i> is the index of the first element that should 44 * not be read or written. A buffer's limit is never negative and is never 49 * greater than its limit. </p> 65 * elements transferred. If the requested transfer exceeds the limit then a 73 * limit. </p> 88 * position or the limit is adjusted to a value smaller than the mark. If the 95 * <p> The following invariant holds for the mark, position, limit, and 102 * <i>limit</i> <tt><=</tt> 107 * undefined. The initial limit may be zero, or it may be some other valu 187 private int limit; field in class:Buffer 260 public final int limit() { method in class:Buffer 274 public final Buffer limit(int newLimit) { method in class:Buffer [all...] |
CharBufferSpliterator.java | 42 private final int limit; field in class:CharBufferSpliterator 45 this(buffer, buffer.position(), buffer.limit()); 48 CharBufferSpliterator(CharBuffer buffer, int origin, int limit) { 49 assert origin <= limit; 51 this.index = (origin <= limit) ? origin : limit; 52 this.limit = limit; 57 int lo = index, mid = (lo + limit) >>> 1; 69 int hi = limit; [all...] |
/packages/apps/Settings/src/com/android/settings/datausage/ |
DataUsageInfoController.java | 40 * @returns the most appropriate limit for the data usage summary. Use the total usage when it 41 * is higher than the limit and warning level. Use the limit when it is set and less than usage. 45 long limit = info.limitLevel; local 46 if (limit <= 0) { 47 limit = info.warningLevel; 49 if (info.usageLevel > limit) { 50 limit = info.usageLevel; 52 return limit;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
UCharArrayIterator.java | 23 private final int limit; field in class:UCharArrayIterator 26 public UCharArrayIterator(char[] text, int start, int limit) { 27 if (start < 0 || limit > text.length || start > limit) { 28 throw new IllegalArgumentException("start: " + start + " or limit: " 29 + limit + " out of range [0, " 34 this.limit = limit; 40 return pos < limit ? text[pos] : DONE; 44 return limit - start [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
UCharArrayIterator.java | 21 private final int limit; field in class:UCharArrayIterator 24 public UCharArrayIterator(char[] text, int start, int limit) { 25 if (start < 0 || limit > text.length || start > limit) { 26 throw new IllegalArgumentException("start: " + start + " or limit: " 27 + limit + " out of range [0, " 32 this.limit = limit; 38 return pos < limit ? text[pos] : DONE; 42 return limit - start [all...] |
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gxvalid/ |
gxvmorx4.c | 44 FT_Bytes limit, 50 gxv_mort_subtable_type4_validate( table, limit, gxvalid );
|
gxvmorx.h | 41 FT_Bytes limit, 46 FT_Bytes limit, 51 FT_Bytes limit, 56 FT_Bytes limit, 61 FT_Bytes limit,
|
/external/skia/src/core/ |
SkScaleToSides.h | 19 // Scale must be less than or equal to the ratio limit / (*a + *b). 21 static void AdjustRadii(double limit, double scale, SkScalar* a, SkScalar* b) { 27 if (*a + *b > limit) { 37 // The newMinRadius will always be smaller than limit. The largest that minRadius can be 39 // division, minRadius can be no larger than 1/2 limit + ULP. The newMinRadius can be 44 // than limit, but only by one ULP. 45 float newMaxRadius = (float)(limit - newMinRadius); 48 // sum is greater than the limit then newMaxRadius may have to be reduced twice. 51 if (newMaxRadius + newMinRadius > limit) { 53 if (newMaxRadius + newMinRadius > limit) { [all...] |
/external/tlsdate/src/common/ |
strnlen.c | 10 strnlen(const char *s, size_t limit) 14 for (len = 0; len < limit; len++)
|
/frameworks/av/include/media/ |
MemoryLeakTrackUtil.h | 26 * limit is the number of unique allocations to return. 28 extern std::string dumpMemoryAddresses(size_t limit);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
AbstractBufferTest.java | 42 assertTrue(0 <= baseBuf.position() && baseBuf.position() <= baseBuf.limit() 43 && baseBuf.limit() <= baseBuf.capacity()); 49 int oldLimit = baseBuf.limit(); 54 assertEquals(baseBuf.limit(), baseBuf.capacity()); 63 baseBuf.limit(oldLimit); 70 int oldLimit = baseBuf.limit(); 75 assertEquals(baseBuf.limit(), oldPosition); 84 baseBuf.limit(oldLimit); 91 int oldLimit = baseBuf.limit(); 93 assertEquals(baseBuf.hasRemaining(), baseBuf.position() < baseBuf.limit()); [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/nio/ |
Buffer.java | 25 * Position may not be negative and not greater than the limit.</li> 26 * <li>Limit: controls the scope of accessible elements. You can only read or write elements from index zero to 27 * <code>limit - 1</code>. Accessing elements out of the scope will cause an exception. Limit may not be negative and not greater 32 * <code>ReadOnlyBufferException</code>, while changing the position, limit and mark of a read-only buffer is OK.</li> 51 /** <code>limit - 1</code> is the last element that can be read or written. Limit must be no less than zero and no greater than 53 int limit; field in class:Buffer 59 /** The current position of this buffer. Position is always no less than zero and no greater than <code>limit</code>. */ 70 this.capacity = this.limit = capacity 131 public final int limit () { method in class:Buffer 146 public final Buffer limit (int newLimit) { method in class:Buffer [all...] |
DoubleToByteBufferAdapter.java | 28 * <li>The byte buffer's position and limit are NOT linked with the adapter. The adapter extends Buffer, thus has its own position 29 * and limit.</li> 98 buf.limit = limit; 109 byteBuffer.limit(limit << 3); 113 position = limit - position; 114 limit = capacity; 122 buf.limit = limit; [all...] |
/frameworks/av/media/libmedia/ |
MediaUtils.cpp | 51 ALOGV("requested limit: %zu", maxMem); 60 ALOGV("actual limit: %zu", maxMem); 62 struct rlimit limit; local 63 getrlimit(RLIMIT_AS, &limit); 64 ALOGV("original limits: %lld/%lld", (long long)limit.rlim_cur, (long long)limit.rlim_max); 65 limit.rlim_cur = maxMem; 66 setrlimit(RLIMIT_AS, &limit); 67 limit.rlim_cur = -1; 68 limit.rlim_max = -1 [all...] |