Home
last modified time | relevance | path

Searched refs:lst (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DCookieManager.java385 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()
DInMemoryCookieStore.java327 List<HttpCookie> lst = entry.getValue(); in getInternal1() local
328 for (HttpCookie c : lst) { in getInternal1()
346 lst.remove(c); in getInternal1()
DNetworkInterface.java202 java.util.List<InterfaceAddress> lst = new java.util.ArrayList<InterfaceAddress>(1); in getInterfaceAddresses() local
212 lst.add(bindings[j]); in getInterfaceAddresses()
217 return lst; in getInterfaceAddresses()
/libcore/ojluni/src/main/java/java/util/
DArrayList.java1341 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()
DVector.java1417 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()
DAbstractList.java684 List<E> lst = list; in getFence() local
689 hi = fence = lst.size(); in getFence()
715 List<E> lst = list; in forEachRemaining() local
720 action.accept(get(lst, i)); in forEachRemaining()
DLinkedList.java1191 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/
DCollections2Test.java60 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/
DOldCollectionsTest.java58 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()