Searched refs:lst (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/net/ |
D | CookieManager.java | 385 static private boolean isInPortList(String lst, int port) { in isInPortList() argument 386 int i = lst.indexOf(","); in isInPortList() 390 val = Integer.parseInt(lst.substring(0, i)); in isInPortList() 396 lst = lst.substring(i+1); in isInPortList() 397 i = lst.indexOf(","); in isInPortList() 399 if (!lst.isEmpty()) { in isInPortList() 401 val = Integer.parseInt(lst); in isInPortList()
|
D | InMemoryCookieStore.java | 327 List<HttpCookie> lst = entry.getValue(); in getInternal1() local 328 for (HttpCookie c : lst) { in getInternal1() 346 lst.remove(c); in getInternal1()
|
D | NetworkInterface.java | 195 java.util.List<InterfaceAddress> lst = new java.util.ArrayList<InterfaceAddress>(1); in getInterfaceAddresses() local 205 lst.add(bindings[j]); in getInterfaceAddresses() 210 return lst; in getInterfaceAddresses()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ArrayList.java | 1341 ArrayList<E> lst; in getFence() local 1343 if ((lst = list) == null) in getFence() 1346 expectedModCount = lst.modCount; in getFence() 1347 hi = fence = lst.size; in getFence() 1377 ArrayList<E> lst; Object[] a; in forEachRemaining() local 1380 if ((lst = list) != null && (a = lst.elementData) != null) { in forEachRemaining() 1382 mc = lst.modCount; in forEachRemaining() 1383 hi = lst.size; in forEachRemaining() 1392 if (lst.modCount == mc) in forEachRemaining()
|
D | Vector.java | 1417 Vector<E> lst; Object[] a; in forEachRemaining() local 1420 if ((lst = list) != null) { in forEachRemaining() 1422 synchronized(lst) { in forEachRemaining() 1423 expectedModCount = lst.modCount; in forEachRemaining() 1424 a = array = lst.elementData; in forEachRemaining() 1425 hi = fence = lst.elementCount; in forEachRemaining() 1433 if (lst.modCount == expectedModCount) in forEachRemaining()
|
D | LinkedList.java | 1191 final LinkedList<E> lst; in getEst() local 1193 if ((lst = list) == null) in getEst() 1196 expectedModCount = lst.modCount; in getEst() 1197 current = lst.first; in getEst() 1198 s = est = lst.size; in getEst()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | Collections2Test.java | 60 LinkedList<Integer> lst = new LinkedList<Integer>(); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator() local 61 lst.add(new Integer(30)); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator() 62 Collections.sort(lst, null); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator() 63 int index = Collections.binarySearch(lst, new Integer(2), null); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldCollectionsTest.java | 58 LinkedList<Integer> lst = new LinkedList<Integer>(); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator() local 59 lst.add(new Integer(30)); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator() 60 Collections.sort(lst, null); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator() 61 int index = Collections.binarySearch(lst, new Integer(2), null); in test_binarySearchLjava_util_ListLjava_lang_ObjectLjava_util_Comparator()
|