/libcore/luni/src/main/java/java/util/regex/ |
H A D | Splitter.java | 35 * Returns a result equivalent to {@code s.split(separator, limit)} if it's able 39 public static String[] fastSplit(String re, String input, int limit) { argument 71 while (separatorCount + 1 != limit && (end = input.indexOf(ch, begin)) != -1) { 76 if (limit == 0 && begin == lastPartEnd) { 77 // Last part is empty for limit == 0, remove all trailing empty matches. 104 public static String[] split(Pattern pattern, String re, String input, int limit) { argument 105 String[] fastResult = fastSplit(re, input, limit); 120 while (list.size() + 1 != limit && matcher.find()) { 124 return finishSplit(list, input, begin, limit); 127 private static String[] finishSplit(List<String> list, String input, int begin, int limit) { argument [all...] |
H A D | Pattern.java | 307 * <p>Otherwise, the {@code limit} parameter controls the contents of the 310 * @param limit 324 * special, as described above, and the limit parameter does 328 public String[] split(CharSequence input, int limit) { argument 329 return Splitter.split(this, pattern, input.toString(), limit);
|
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | JarHandler.java | 53 * @param limit 57 protected void parseURL(URL url, String spec, int start, int limit) { argument 62 if (limit > start) { 63 spec = spec.substring(start, limit);
|
H A D | FtpURLInputStream.java | 56 public synchronized void mark(int limit) { argument 57 is.mark(limit);
|
/libcore/luni/src/main/java/java/util/zip/ |
H A D | DeflaterInputStream.java | 198 public void mark(int limit) { argument
|
/libcore/luni/src/main/java/java/nio/ |
H A D | Buffer.java | 28 * negative and not greater than the limit.</li> 30 * write elements from index zero to <code>limit - 1</code>. Accessing 37 * while changing the position, limit and mark of a read-only buffer is OK.</li> 59 * <code>limit - 1</code> is the last element that can be read or written. 62 int limit; field in class:Buffer 73 * and no greater than <code>limit</code>. 96 this.capacity = this.limit = capacity; 149 if (index < 0 || index >= limit) { 150 throw new IndexOutOfBoundsException("index=" + index + ", limit=" + limit); 277 public final int limit() { method in class:Buffer 296 public final Buffer limit(int newLimit) { method in class:Buffer [all...] |
/libcore/luni/src/main/java/java/util/logging/ |
H A D | FileHandler.java | 63 * <li>java.util.logging.FileHandler.limit specifies the maximum number of 64 * bytes to write to any one file, defaults to zero, which means no limit.</li> 114 private int limit; field in class:FileHandler 181 && (!append || files[0].length() >= limit)) { 226 limit = (l == null) ? getIntProperty(className + ".limit", 229 limit = limit < 0 ? DEFAULT_LIMIT : limit; 368 * output filename, the file limit i 439 FileHandler(String pattern, int limit, int count) argument 475 FileHandler(String pattern, int limit, int count, boolean append) argument [all...] |
/libcore/luni/src/main/native/ |
H A D | java_text_Bidi.cpp | 95 static jlong Bidi_ubidi_setLine(JNIEnv* env, jclass, jlong ptr, jint start, jint limit) { argument 97 UBiDi* sized = ubidi_openSized(limit - start, 0, &status); 102 ubidi_setLine(uBiDi(ptr), start, limit, lineData->uBiDi(), &status); local 153 int limit = 0; local 155 ubidi_getLogicalRun(ubidi, start, &limit, &level); 156 jobject run = env->NewObject(JniConstants::bidiRunClass, bidiRunConstructor, start, limit, level); 158 start = limit;
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldURLStreamHandlerTest.java | 204 @Override public void parseURL(URL url, String spec, int start, int limit) { argument 205 super.parseURL(url, spec, start, limit);
|
H A D | URLConnectionTest.java | 2308 * Reads at most {@code limit} characters from {@code in} and asserts that 2311 private void assertContent(String expected, URLConnection connection, int limit) argument 2314 assertEquals(expected, readAscii(connection.getInputStream(), limit));
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ConcurrentSkipListSetTest.java | 702 void populate(NavigableSet<Integer> set, int limit, BitSet bs) { argument 703 for (int i = 0, n = 2 * limit / 3; i < n; i++) { 704 int element = rnd.nextInt(limit);
|
H A D | TreeMapTest.java | 795 void populate(NavigableMap<Integer, Integer> map, int limit) { argument 796 for (int i = 0, n = 2 * limit / 3; i < n; i++) { 797 int key = rnd.nextInt(limit);
|
H A D | TreeSetTest.java | 708 void populate(NavigableSet<Integer> set, int limit) { argument 709 for (int i = 0, n = 2 * limit / 3; i < n; i++) { 710 int element = rnd.nextInt(limit);
|
H A D | ConcurrentSkipListMapTest.java | 990 void populate(NavigableMap<Integer, Integer> map, int limit) { argument 991 for (int i = 0, n = 2 * limit / 3; i < n; i++) { 992 int key = rnd.nextInt(limit);
|
/libcore/luni/src/main/java/java/text/ |
H A D | Bidi.java | 66 private final int limit; field in class:Bidi.Run 69 public Run(int start, int limit, int level) { argument 71 this.limit = limit; 80 return limit; 376 * the limit of the line. 378 * range from 0 to (limit - start - 1). 387 "limit=" + lineLimit + ", length=" + length + ")"); 462 * Returns the limit offset of the given run. 551 * @param limit 560 requiresBidi(char[] text, int start, int limit) argument 586 ubidi_setLine(final long pParaBiDi, int start, int limit) argument [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_TestWebServer.java | 170 * @param limit The number of sockets to accept 172 public void setAcceptLimit(int limit) { argument 173 acceptLimit = limit;
|
/libcore/dalvik/src/main/java/dalvik/system/ |
H A D | VMDebug.java | 253 public static int setAllocationLimit(int limit) { argument 262 public static int setGlobalAllocationLimit(int limit) { argument
|
/libcore/libart/src/main/java/java/lang/ |
H A D | String.java | 785 byte[] bytes = new byte[buffer.limit()]; 1625 * See {@link Pattern#split(CharSequence, int)} for an explanation of {@code limit}. 1644 * See {@link Pattern#split(CharSequence, int)} for an explanation of {@code limit}. 1656 public String[] split(String regularExpression, int limit) { argument 1657 String[] result = java.util.regex.Splitter.fastSplit(regularExpression, this, limit); 1658 return result != null ? result : Pattern.compile(regularExpression).split(this, limit);
|
/libcore/luni/src/main/java/libcore/icu/ |
H A D | NativeDecimalFormat.java | 325 fp.setEndIndex(fpi.limit()); 369 as.addAttribute(field, field, fpIter.start(), fpIter.limit()); 607 public int limit() { method in class:NativeDecimalFormat.FieldPositionIterator
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentHashMap.java | 2471 Traverser(Node<K,V>[] tab, int size, int index, int limit) { argument 2475 this.baseLimit = limit; 2517 BaseIterator(Node<K,V>[] tab, int size, int index, int limit, argument 2519 super(tab, size, index, limit); 2538 KeyIterator(Node<K,V>[] tab, int index, int size, int limit, argument 2540 super(tab, index, size, limit, map); 2558 ValueIterator(Node<K,V>[] tab, int index, int size, int limit, argument 2560 super(tab, index, size, limit, map); 2578 EntryIterator(Node<K,V>[] tab, int index, int size, int limit, argument 2580 super(tab, index, size, limit, ma [all...] |
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlParser.java | 144 private int limit = 0; field in class:KXmlParser 477 if (position + delimiter.length > limit) { 819 if (position + 1 >= limit && !fillBuffer(2)) { 992 if (position >= limit && !fillBuffer(1)) { 1000 if (position + 3 >= limit && !fillBuffer(4)) { 1009 if ((position + 5 < limit || fillBuffer(6)) 1064 if (position >= limit && !fillBuffer(1)) { 1099 if (position >= limit && !fillBuffer(1)) { 1108 if (position >= limit && !fillBuffer(1)) { 1349 if (position >= limit) { 2147 private final int limit; field in class:KXmlParser.ContentSource 2148 ContentSource(ContentSource next, char[] buffer, int position, int limit) argument [all...] |
/libcore/luni/src/main/java/java/lang/ |
H A D | Character.java | 1826 * character units, where {@code index} has to be less than {@code limit}. 1828 * is less than {@code limit} and the unit at {@code index + 1} is a 1837 * @param limit 1844 * if {@code index < 0}, {@code index >= limit}, 1845 * {@code limit < 0} or if {@code limit} is greater than the 1849 public static int codePointAt(char[] seq, int index, int limit) { argument 1850 if (index < 0 || index >= limit || limit < 0 || limit > se [all...] |
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |