Searched refs:idx (Results 1 - 13 of 13) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | RefSortedMap.java | 178 int idx = bsearch(start); 179 if (idx >= 0) { 182 if (-idx - 1 >= entries.size() || !isInRange(entries.get(-idx - 1).getKey())) { 185 return entries.get(-idx - 1).getKey(); 203 int idx = bsearch(end); 204 idx = idx >= 0 ? idx - 1 : -idx [all...] |
H A D | AbstractListTest.java | 216 public E remove(int idx) { argument 218 return list.remove(idx); 231 public void add(int idx, E o) { argument 233 list.add(idx, o); 386 public E remove(int idx) { argument
|
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | JarHandler.java | 75 int idx = file.indexOf('!'); 76 String tmpFile = file.substring(idx + 1, file.lastIndexOf('/') + 1) + spec; 78 file = file.substring(0, idx + 1) + tmpFile;
|
H A D | FtpURLConnection.java | 149 int idx = url.getFile().lastIndexOf('/'); 151 if (idx > 0) { 152 String dir = url.getFile().substring(0, idx);
|
/libcore/libart/src/main/java/java/lang/ |
H A D | StringFactory.java | 81 int idx = offset; 85 while (idx < last) { 86 byte b0 = d[idx++]; 107 if (idx + utfCount > last) { 115 byte b = d[idx++]; 118 idx--; // Put the input char back
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | OldAndroidZipFileTest.java | 103 int idx = 0; 109 assertEquals(entry.getName(), "file-" + idx); 110 idx++;
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldBufferedWriterTest.java | 132 int idx = sw.toString().length(); 134 assertEquals(idx + testCharArray.length, sw.toString().length()); 136 assertEquals(idx + testCharArray.length, sw.toString().length()); 138 assertEquals(idx + testCharArray.length, sw.toString().length());
|
H A D | OldFileTest.java | 166 int idx = classPath.indexOf("!"); 167 assertTrue("could not find the path of the test jar/apk", idx > 0); 168 classPath = classPath.substring(9, idx); // cutting off jar:file:
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentSkipListMap.java | 901 Index<K,V> idx = null; 903 idx = new Index<K,V>(z, idx, null); 904 addIndex(idx, h, level); 917 Index<K,V> idx = null; 919 idxs[i] = idx = new Index<K,V>(z, idx, null); 945 * @param idx the topmost index node being inserted 950 private void addIndex(Index<K,V> idx, HeadIndex<K,V> h, int indexLevel) { argument 953 Comparable<? super K> key = comparable(idx [all...] |
H A D | ScheduledThreadPoolExecutor.java | 865 private void setIndex(RunnableScheduledFuture<?> f, int idx) { argument 867 ((ScheduledFutureTask)f).heapIndex = idx;
|
H A D | ForkJoinPool.java | 1383 int idx = w.poolIndex; 1385 if (ws != null && idx >= 0 && idx < ws.length && ws[idx] == w) 1386 ws[idx] = null;
|
/libcore/luni/src/main/java/java/lang/ |
H A D | StringBuffer.java | 402 * starting at {@code idx}. 410 * @param idx 418 public synchronized void getChars(int start, int end, char[] buffer, int idx) { argument 419 super.getChars(start, end, buffer, idx);
|
/libcore/luni/src/main/java/java/net/ |
H A D | URLClassLoader.java | 498 int idx = 0; 502 while (idx < name.length() && 503 ((name.charAt(idx) == '/') || (name.charAt(idx) == '\\'))) { 504 idx++; 507 if (idx > 0) { 508 name = name.substring(idx);
|
Completed in 608 milliseconds