/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
PatternTokenizer.java | 36 private int limit; field in class:PatternTokenizer 116 return limit; 118 public PatternTokenizer setLimit(int limit) { 119 this.limit = limit; 139 this.limit = pattern.length(); 256 if (start >= limit) return DONE; 264 for (int i = start; i < limit; i += UTF16.getCharCount(cp)) { 369 start = limit;
|
PropsVectors.java | 29 * limit code point, which is the start of the next range. 39 // and limit values 104 int limit = rows; local 105 while (start < limit - 1) { 106 mid = (start + limit) / 2; 109 limit = mid; 147 columns = numOfColumns + 2; // count range start and limit columns 184 int limit = end + 1; local 186 // skip range start and limit columns 201 splitLastRow = (limit != v[lastRow + 1] && value != (v[lastRow + column] & mask)) 447 int limit = v[indexArray[i].intValue() + 1]; local 537 int limit = start + 0x400; local [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
LowercaseTransliterator.java | 69 if(offsets.start >= offsets.limit) { 81 iter.setLimit(offsets.limit); 87 // the case mapping function tried to look beyond the context limit 107 offsets.limit += delta; 111 offsets.start = offsets.limit;
|
TitlecaseTransliterator.java | 70 if (offsets.start >= offsets.limit) { 104 iter.setLimit(offsets.limit); 124 // the case mapping function tried to look beyond the context limit 144 offsets.limit += delta; 149 offsets.start = offsets.limit;
|
UppercaseTransliterator.java | 65 if(offsets.start >= offsets.limit) { 77 iter.setLimit(offsets.limit); 83 // the case mapping function tried to look beyond the context limit 103 offsets.limit += delta; 107 offsets.start = offsets.limit;
|
/external/libchrome/base/ |
sys_info_posix.cc | 63 struct rlimit limit; local 64 int result = getrlimit(RLIMIT_DATA, &limit); 69 return limit.rlim_cur == RLIM_INFINITY ? 0 : limit.rlim_cur;
|
/external/libnl/lib/route/sch/ |
fifo.c | 20 * the configured limit.backlog contains currently enqueued volume in bytes. 24 * exceeds the configured limit. 70 fifo->qf_limit = opt->limit; 86 nl_dump(p, " limit %u packets", fifo->qf_limit); 98 nl_dump(p, " limit %.1f%s", r, unit); 117 opts.limit = fifo->qf_limit; 134 * Set limit of FIFO qdisc. 136 * @arg limit New limit. 139 int rtnl_qdisc_fifo_set_limit(struct rtnl_qdisc *qdisc, int limit) [all...] |
/external/lzma/Java/SevenZip/Compression/LZ/ |
InWindow.java | 107 // index + limit have not to exceed _keepSizeAfter;
108 public int GetMatchLen(int index, int distance, int limit)
111 if ((_pos + index) + limit > _streamPos)
112 limit = _streamPos - (_pos + index);
118 for (i = 0; i < limit && _bufferBase[pby + i] == _bufferBase[pby + i - distance]; i++);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
ItemDataBox.java | 29 return data.limit();
|
UnknownBox.java | 37 return data.limit();
|
/external/okhttp/okio/okio/src/main/java/okio/ |
SegmentPool.java | 56 segment.pos = segment.limit = 0;
|
/libcore/ojluni/src/main/java/java/nio/ |
CharBuffer.java | 119 // Creates a new buffer with the given mark, position, limit, capacity, 129 // Creates a new buffer with the given mark, position, limit, and capacity 139 * <p> The new buffer's position will be zero, its limit will be its 161 * <tt>array.length</tt>, its position will be <tt>offset</tt>, its limit 173 * The new buffer's limit will be set to <tt>offset + length</tt>. 193 * and vice versa. The new buffer's capacity and limit will be 228 int limit = limit(); local 229 // Set source limit to prevent target overflow 231 limit(position() + n) [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
DoublePrimitiveOpsTests.java | 60 double[] content = DoubleStream.generate(() -> r.nextDouble()).limit(10).toArray(); 78 double[] content = DoubleStream.generate(() -> r.nextDouble()).limit(10).toArray(); 97 double[] actual = DoubleStream.iterate(1.0, i -> i + 1.0).limit(9).toArray(); 102 double[] actual = LongStream.range(1, 100).parallel().asDoubleStream().limit(9).toArray();
|
/ndk/tests/build/stdint-c++/jni/ |
Android.mk | 2 # follow the standard with regards to limit- and constant- related macros 9 # - When included from a C++ program, limit-related macros should only be
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
EmailAddress.java | 193 final int limit = user.length() - 1; local 194 if (limit < 1 || !user.endsWith("\"")) { 200 for (int i = 1; i < limit; ++i) { 209 if (i + 1 < limit) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
DoubleBufferTest.java | 111 buf.position(buf.limit()); 118 assertEquals(buf.limit(), readonly.limit()); 123 // readonly's position, mark, and limit should be independent to buf 127 assertEquals(buf.position(), buf.limit()); 140 assertEquals(buf.limit(), buf.capacity()); 151 buf.limit(0); 156 assertEquals(buf.limit(), buf.capacity()); 168 buf.limit(5); 173 assertEquals(buf.limit(), buf.capacity()) [all...] |
CharBufferTest.java | 90 buf.position(buf.limit()); 97 assertEquals(buf.limit(), readonly.limit()); 103 // readonly's position, mark, and limit should be independent to buf 107 assertEquals(buf.position(), buf.limit()); 112 int originalPosition = (buf.position() + buf.limit()) / 2; 115 buf.position(buf.limit()); 122 assertEquals(buf.limit(), readonly.limit()); 128 // readonly's position, mark, and limit should be independent to bu [all...] |
/external/icu/icu4c/source/common/ |
ustring.cpp | 37 * The limit pointer may be NULL, all others must be real pointers. 40 isMatchAtCPBoundary(const UChar *start, const UChar *match, const UChar *matchLimit, const UChar *limit) { 45 if(U16_IS_LEAD(*(matchLimit-1)) && match!=limit && U16_IS_TRAIL(*matchLimit)) { 150 const UChar *limit, *preLimit; local 157 limit=s+length; 160 preLimit=limit-subLength; 170 if(isMatchAtCPBoundary(start, s-1, p, limit)) { 246 const UChar *limit=s+count; local 251 } while(++s!=limit); 266 const UChar *limit=s+count-1; /* -1 so that we do not need a separate check for the trail unit * local 286 const UChar *start, *limit, *p, *q, *subLimit; local 421 const UChar *limit=s+count; local 441 const UChar *limit=s+count-1; local 1074 const UChar *limit; local 1133 UChar *limit = dest + count; local 1145 const UChar *limit = buf1 + count; local [all...] |
/libcore/luni/src/main/java/java/math/ |
Logical.java | 148 int limit = Math.min(negative.numberLength, positive.numberLength); local 149 for ( ; i < limit; i++) { 254 int limit = Math.min(val.numberLength, that.numberLength); local 256 for (i = val.getFirstNonzeroDigit(); i < limit; i++) { 302 int limit; local 316 limit = Math.min(negative.numberLength, iPos); 317 for ( ; i < limit; i++) { 331 limit = Math.min(positive.numberLength, negative.numberLength); 332 for (i++; i < limit && (digit = ~(negative.digits[i] | positive.digits[i])) == 0; i++) 354 limit = Math.min(positive.numberLength, negative.numberLength) 382 int limit; local 516 int limit; local 630 int limit; local 681 int limit; local [all...] |
/external/libvpx/libvpx/vp8/common/ |
loopfilter_filters.c | 27 static signed char vp8_filter_mask(uc limit, uc blimit, 32 mask |= (abs(p3 - p2) > limit); 33 mask |= (abs(p2 - p1) > limit); 34 mask |= (abs(p1 - p0) > limit); 35 mask |= (abs(q1 - q0) > limit); 36 mask |= (abs(q2 - q1) > limit); 37 mask |= (abs(q3 - q2) > limit); 103 const unsigned char *limit, 117 mask = vp8_filter_mask(limit[0], blimit[0], 135 const unsigned char *limit, [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
loopfilter_filters.c | 27 static signed char vp8_filter_mask(uc limit, uc blimit, 32 mask |= (abs(p3 - p2) > limit); 33 mask |= (abs(p2 - p1) > limit); 34 mask |= (abs(p1 - p0) > limit); 35 mask |= (abs(q1 - q0) > limit); 36 mask |= (abs(q2 - q1) > limit); 37 mask |= (abs(q3 - q2) > limit); 103 const unsigned char *limit, 117 mask = vp8_filter_mask(limit[0], blimit[0], 135 const unsigned char *limit, [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
PropsVectors.java | 30 * limit code point, which is the start of the next range. 41 // and limit values 106 int limit = rows; local 107 while (start < limit - 1) { 108 mid = (start + limit) / 2; 111 limit = mid; 149 columns = numOfColumns + 2; // count range start and limit columns 186 int limit = end + 1; local 188 // skip range start and limit columns 203 splitLastRow = (limit != v[lastRow + 1] && value != (v[lastRow + column] & mask)) 449 int limit = v[indexArray[i].intValue() + 1]; local 539 int limit = start + 0x400; local [all...] |
/external/iproute2/tc/ |
q_gred.c | 41 fprintf(stderr, " default DEFAULT_VQ [ grio ] [ limit BYTES ]\n"); 42 fprintf(stderr, " tc qdisc change ... gred vq VQ [ prio VALUE ] limit BYTES\n"); 53 __u32 limit = 0; local 87 } else if (strcmp(*argv, "limit") == 0) { 89 if (get_size(&limit, *argv)) { 90 fprintf(stderr, "Illegal \"limit\"\n"); 114 if (limit) 115 addattr32(n, 1024, TCA_GRED_LIMIT, limit); 138 if (strcmp(*argv, "limit") == 0) { 140 if (get_size(&opt.limit, *argv)) 276 __u32 *limit = NULL; local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
trie2test.c | 30 UChar32 start, limit; member in struct:SetRange 37 * value is set from the previous boundary's limit to before 38 * this boundary's limit 40 * There must be an entry with limit 0 and the intialValue. 41 * It may be preceded by an entry with negative limit and the errorValue. 44 UChar32 limit; member in struct:CheckRange 51 for(i=0; i<countCheckRanges && checkRanges[i].limit<=0; ++i) {} 59 if(i<countCheckRanges && checkRanges[i].limit<0) { 64 if(i<countCheckRanges && checkRanges[i].limit==0) { 83 UChar32 limit=end+1 local 113 UChar32 start, limit; local 273 const UChar *p, *limit; local 371 const uint8_t *p, *limit; local 801 UChar32 start, limit; local 1288 UChar32 start, limit; local [all...] |
utransts.c | 95 static void Xreplace(UReplaceable* rep, int32_t start, int32_t limit, 98 int32_t newLen = Xlength(rep) + limit - start + textLength; 102 u_strcpy(newText + start + textLength, x->text + limit); 108 static void Xcopy(UReplaceable* rep, int32_t start, int32_t limit, int32_t dest) { 110 int32_t newLen = Xlength(rep) + limit - start; 113 u_strncpy(newText + dest, x->text + start, limit - start); 114 u_strcpy(newText + dest + limit - start, x->text + dest); 120 static void Xextract(UReplaceable* rep, int32_t start, int32_t limit, UChar* dst) { 122 int32_t len = limit - start; 495 int32_t limit; local 680 int32_t limit; local [all...] |