HomeSort by relevance Sort by last modified time
    Searched refs:limit (Results 101 - 125 of 4660) sorted by null

1 2 3 45 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/util/
RandomTest.java 46 final int limit = 128; // We can't test for every element in an infinite stream. local
49 int[] rands = new int[limit];
50 for(int i = 0; i < limit; ++i) {
54 int[] streamRands = new Random(0).ints().limit(limit).toArray();
78 final int limit = 128; // We can't test for every element in an infinite stream. local
82 int[] rands = new int[limit];
83 for(int i = 0; i < limit; ++i) {
87 int[] streamRands = new Random(0).ints(origin, bound).limit(limit).toArray()
121 final int limit = 128; \/\/ We can't test for every element in an infinite stream. local
153 final int limit = 128; \/\/ We can't test for every element in an infinite stream. local
196 final int limit = 128; \/\/ We can't test for every element in an infinite stream. local
228 final int limit = 128; \/\/ We can't test for every element in an infinite stream. local
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/lang/
UCharacterNameIterator.java 83 // greater than limit
135 * @param limit 1 integer after the last integer in range
137 * illegal range. E.g limit <= start
139 public void setRange(int start, int limit)
141 if (start >= limit) {
143 "start or limit has to be valid Unicode codepoints and start < limit");
152 if (limit > UCharacter.MAX_VALUE + 1) {
156 m_limit_ = limit;
226 * @param limit last codepoint + 1 in range to searc
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
UCharacterNameIterator.java 83 // greater than limit
135 * @param limit 1 integer after the last integer in range
137 * illegal range. E.g limit <= start
139 public void setRange(int start, int limit)
141 if (start >= limit) {
143 "start or limit has to be valid Unicode codepoints and start < limit");
152 if (limit > UCharacter.MAX_VALUE + 1) {
156 m_limit_ = limit;
226 * @param limit last codepoint + 1 in range to searc
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/text/
AnyTransliterator.java 79 int allLimit = pos.limit;
86 if (it.limit <= allStart) continue;
95 pos.start = it.limit;
99 // If the run end is before the transliteration limit, do
102 boolean incremental = isIncremental && (it.limit >= allLimit);
105 pos.limit = Math.min(allLimit, it.limit);
106 int limit = pos.limit; local
108 int delta = pos.limit - limit
327 public int limit; field in class:AnyTransliterator.ScriptRunIterator
    [all...]
RemoveTransliterator.java 48 text.replace(index.start, index.limit, "");
49 int len = index.limit - index.start;
51 index.limit -= len;
StringMatcher.java 42 * Limit offset, in the match text, of the <em>rightmost</em>
82 * @param limit index after the last character of theString to be
91 int limit,
94 this(theString.substring(start, limit), segmentNum, theData);
102 int limit,
110 if (limit < cursor[0]) {
116 if (cursor[0] > limit &&
124 subm.matches(text, cursor, limit, incremental);
131 // forward start, limit, and only if a prior match does not
139 if (incremental && cursor[0] == limit) {
    [all...]
UnescapeTransliterator.java 142 int limit = pos.limit; local
146 while (start < limit) {
165 if (s >= limit) {
189 if (s >= limit) {
212 if (s >= limit) {
231 limit -= s - start - str.length();
244 if (start < limit) {
249 pos.contextLimit += limit - pos.limit;
    [all...]
  /libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
SliceSpliteratorTest.java 63 void test(int size, int skip, int limit);
73 SliceTester r = (size, skip, limit) -> {
79 return new StreamSpliterators.SliceSpliterator.OfRef<>(s, skip, limit);
86 SliceTester r = (size, skip, limit) -> {
92 return new StreamSpliterators.SliceSpliterator.OfInt(s, skip, limit);
99 SliceTester r = (size, skip, limit) -> {
105 return new StreamSpliterators.SliceSpliterator.OfLong(s, skip, limit);
112 SliceTester r = (size, skip, limit) -> {
118 return new StreamSpliterators.SliceSpliterator.OfDouble(s, skip, limit);
128 SliceTester r = (size, skip, limit) ->
    [all...]
  /external/okhttp/okio/okio/src/main/java/okio/
Buffer.java 149 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) {
    [all...]
  /external/freetype/src/psaux/
psconv.c 85 FT_Byte* limit,
98 if ( p >= limit )
112 if ( p == limit )
119 for ( ; p < limit; p++ )
159 FT_Byte* limit )
169 num = PS_Conv_Strtol( &p, limit, 10 );
174 if ( p < limit && *p == '#' )
179 num = PS_Conv_Strtol( &p, limit, num );
193 FT_Byte* limit,
208 if ( p >= limit )
    [all...]
  /external/pdfium/third_party/freetype/src/psaux/
psconv.c 85 FT_Byte* limit,
98 if ( p >= limit )
112 if ( p == limit )
119 for ( ; p < limit; p++ )
159 FT_Byte* limit )
169 num = PS_Conv_Strtol( &p, limit, 10 );
174 if ( p < limit && *p == '#' )
179 num = PS_Conv_Strtol( &p, limit, num );
193 FT_Byte* limit,
208 if ( p >= limit )
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
UTF16CollationIterator.java 34 limit = s.length();
67 limit = s.length();
72 if(pos == limit) {
77 if(Character.isHighSurrogate(c) && pos != limit &&
104 if(pos == limit) {
113 if(pos == limit) { return 0; }
123 while(num > 0 && pos != limit) {
126 if(Character.isHighSurrogate(c) && pos != limit &&
148 protected int limit; field in class:UTF16CollationIterator
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
UTF16CollationIterator.java 32 limit = s.length();
65 limit = s.length();
70 if(pos == limit) {
75 if(Character.isHighSurrogate(c) && pos != limit &&
102 if(pos == limit) {
111 if(pos == limit) { return 0; }
121 while(num > 0 && pos != limit) {
124 if(Character.isHighSurrogate(c) && pos != limit &&
146 protected int limit; field in class:UTF16CollationIterator
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DHKeyGeneratorHelper.java 23 int limit = dhParams.getL(); local
25 if (limit != 0)
27 int minWeight = limit >>> 2;
30 BigInteger x = new BigInteger(limit, random).setBit(limit - 1);
  /external/iproute2/netem/
stats.c 22 int limit; local
29 limit = 2*info.st_size/sizeof(double); /* @@ approximate */
31 limit = 10000;
33 x = (double *)malloc(limit*sizeof(double));
35 for (i=0; i<limit; ++i){
  /libcore/ojluni/src/main/java/java/util/zip/
Adler32.java 89 * limit; its limit will not have been changed.
95 int limit = buffer.limit(); local
96 assert (pos <= limit);
97 int rem = limit - pos;
109 buffer.position(limit);
  /prebuilts/go/darwin-x86/test/bench/shootout/
mandelbrot.c 49 double x, y, limit = 2.0; local
63 for (i=0;i<iter && (Tr+Ti <= limit*limit);++i)
72 if(Tr+Ti <= limit*limit) byte_acc |= 0x01;
  /prebuilts/go/linux-x86/test/bench/shootout/
mandelbrot.c 49 double x, y, limit = 2.0; local
63 for (i=0;i<iter && (Tr+Ti <= limit*limit);++i)
72 if(Tr+Ti <= limit*limit) byte_acc |= 0x01;
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
AnyTransliterator.java 53 run.start = run.limit; // show we processed
85 it.adjust(run.limit);
95 if (run.start == run.limit) offsets.start = offsets.limit;
107 + ", l: " + offsets.limit
132 * The only time that contextLimit != limit is for the last run
155 current.start = current.limit = current.contextLimit = expanse.start;
163 + ", l: " + current.limit
167 current.start = current.limit;
171 int limit = expanse.start local
    [all...]
  /external/icu/icu4c/source/samples/uciter8/
uit_len8.c 86 * The caller must not modify start and limit because they are used internally.
93 * limit UTF-8 length of the string
120 int32_t i, limit, index; local
124 limit=iter->start; /* count up to the UTF-8 index */
125 while(i<limit) {
126 L8_NEXT(s, i, limit, c);
135 if(i==iter->limit) {
149 int32_t i, limit, length; local
158 limit=iter->start;
161 while(i<limit) {
306 int32_t limit=iter->limit; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
ReplaceableTest.java 116 public String substring(int start, int limit) {
117 return chars.substring(start, limit);
136 public void replace(int start, int limit, String text) {
137 if (substring(start,limit).equals(text)) return; // NO ACTION!
139 "," + limit + "," + text) + ") -> ");
140 chars.replace(start, limit, text);
141 fixStyles(start, limit, text.length());
145 public void replace(int start, int limit, char[] charArray,
147 if (substring(start,limit).equals(new String(charArray, charsStart, charsLen-charsStart))) return; // NO ACTION!
148 this.chars.replace(start, limit, charArray, charsStart, charsLen)
    [all...]
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
ReplaceableTest.java 112 public String substring(int start, int limit) {
113 return chars.substring(start, limit);
132 public void replace(int start, int limit, String text) {
133 if (substring(start,limit).equals(text)) return; // NO ACTION!
135 "," + limit + "," + text) + ") -> ");
136 chars.replace(start, limit, text);
137 fixStyles(start, limit, text.length());
141 public void replace(int start, int limit, char[] charArray,
143 if (substring(start,limit).equals(new String(charArray, charsStart, charsLen-charsStart))) return; // NO ACTION!
144 this.chars.replace(start, limit, charArray, charsStart, charsLen)
    [all...]
  /external/icu/icu4c/source/common/unicode/
rep.h 44 * offset and a limit offset. The range of characters thus specified
45 * includes the characters at offset start..limit-1. That is, the
46 * start offset is inclusive, and the limit offset is exclusive.
111 * Copies characters in the range [<tt>start</tt>, <tt>limit</tt>)
114 * @param limit offset immediately following the last character to
121 int32_t limit,
130 * limit is equal to the replacement text, that replace has no
137 * <= limit</code>.
138 * @param limit the ending index, exclusive; <code>start <= limit
    [all...]
  /external/icu/icu4c/source/i18n/
fphdlimp.h 25 virtual void addAttribute(int32_t id, int32_t start, int32_t limit);
40 virtual void addAttribute(int32_t id, int32_t start, int32_t limit);
64 virtual void addAttribute(int32_t id, int32_t start, int32_t limit);
name2uni.cpp 116 offsets.start = offsets.limit;
124 offsets.start = offsets.limit;
132 int32_t limit = offsets.limit; local
141 while (cursor < limit) {
149 ICU_Utility::parsePattern(openPat, text, cursor, limit);
150 if (i >= 0 && i < limit) {
163 // loop. If the limit is reached, exit the loop.
210 limit -= delta;
245 offsets.contextLimit += limit - offsets.limit
    [all...]

Completed in 1610 milliseconds

1 2 3 45 6 7 8 91011>>