/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListSubListTester.java | 54 getList().subList(-1, 0); in testSubList_startNegative() 62 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge() 70 getList().subList(1, 0); in testSubList_startGreaterThanEnd() 85 emptyList(), getList().subList(0, 0)); in testSubList_empty() 90 getList(), getList().subList(0, getNumElements())); in testSubList_entireList() 96 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal() 106 List<E> subList = getList().subList(0, 1); in testSubList_subListClearAffectsOriginal() 115 List<E> subList = getList().subList(0, 0); in testSubList_subListAddAffectsOriginal() 123 List<E> subList = getList().subList(0, 1); in testSubList_subListSetAffectsOriginal() 133 List<E> subList = getList().subList(0, 1); in testSubList_originalListSetAffectsSubList() [all …]
|
D | ListAddAllAtIndexTester.java | 47 getList().addAll(0, MinimalCollection.of(samples.e0))); in testAddAllAtIndex_supportedAllPresent() 55 getList().addAll(0, MinimalCollection.of(samples.e0)); in testAddAllAtIndex_unsupportedAllPresent() 66 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3))); in testAddAllAtIndex_supportedSomePresent() 74 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3)); in testAddAllAtIndex_unsupportedSomePresent() 85 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_supportedNothing() 93 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_unsupportedNothing() 104 getList().addAll(0, elementsToAdd)); in testAddAllAtIndex_withDuplicates() 113 getList().addAll(0, containsNull)); in testAddAllAtIndex_nullSupported() 126 getList().addAll(0, containsNull); in testAddAllAtIndex_nullUnsupported() 139 getList().addAll(getNumElements() / 2, createDisjointCollection())); in testAddAllAtIndex_middle() [all …]
|
D | ListSetTester.java | 68 E initialValue = getList().get(index); in doTestSet() 70 initialValue, getList().set(index, newValue)); in doTestSet() 72 newValue, getList().get(index)); in doTestSet() 74 getNumElements(), getList().size()); in doTestSet() 80 getList().set(-1, samples.e3); in testSet_indexTooLow() 91 getList().set(index, samples.e3); in testSet_indexTooHigh() 102 getList().set(aValidIndex(), samples.e3); in testSet_unsupported() 113 getList().set(0, samples.e3); in testSet_unsupportedByEmptyList() 127 getList().set(aValidIndex(), null); in testSet_nullUnsupported() 135 return getList().size() / 2; in aValidIndex()
|
D | ListAddAtIndexTester.java | 49 getList().add(0, samples.e0); in testAddAtIndex_supportedPresent() 61 getList().add(0, samples.e0); in testAddAtIndex_unsupportedPresent() 70 getList().add(0, samples.e3); in testAddAtIndex_supportedNotPresent() 79 getList().add(0, samples.e3); in testAddAtIndexConcurrentWithIteration() 90 getList().add(0, samples.e3); in testAddAtIndex_unsupportedNotPresent() 101 getList().add(getNumElements() / 2, samples.e3); in testAddAtIndex_middle() 108 getList().add(getNumElements(), samples.e3); in testAddAtIndex_end() 115 getList().add(0, null); in testAddAtIndex_nullSupported() 123 getList().add(0, null); in testAddAtIndex_nullUnsupported() 135 getList().add(-1, samples.e3); in testAddAtIndex_negative() [all …]
|
D | ListEqualsTester.java | 40 getList().equals(new ArrayList<E>(getOrderedElements()))); in testEquals_otherListWithSameElements() 49 getList().equals(other)); in testEquals_otherListWithDifferentElements() 58 getList().equals(other)); in testEquals_otherListContainingNull() 70 getList().equals(other)); in testEquals_containingNull() 77 getList().equals(new ArrayList<E>(fewerElements))); in testEquals_shorterList() 83 getList().equals(new ArrayList<E>(moreElements))); in testEquals_longerList() 88 getList().equals(MinimalSet.from(getList()))); in testEquals_set()
|
D | ListRemoveTester.java | 43 int firstIndex = getList().indexOf(duplicate); in testRemove_duplicate() 44 int initialSize = getList().size(); in testRemove_duplicate() 46 getList().remove(duplicate)); in testRemove_duplicate() 48 + "the duplicate element", getList().contains(duplicate)); in testRemove_duplicate() 51 firstIndex == getList().indexOf(duplicate)); in testRemove_duplicate() 53 initialSize - 1, getList().size()); in testRemove_duplicate()
|
D | ListRemoveAtIndexTester.java | 47 getList().remove(0); in testRemoveAtIndex_unsupported() 57 getList().remove(-1); in testRemoveAtIndex_negative() 67 getList().remove(getNumElements()); in testRemoveAtIndex_tooLarge() 92 getList().remove(getNumElements() / 2); in testRemoveAtIndexConcurrentWithIteration() 109 getList().get(index), getList().remove(index)); in runRemoveTest()
|
D | ListToArrayTester.java | 38 Object[] actual = getList().toArray(); in testToArray_noArg() 45 Object[] actual = getList().toArray(new Object[0]); in testToArray_tooSmall() 51 Object[] actual = getList().toArray(new Object[getNumElements()]); in testToArray_largeEnough()
|
D | AbstractListTester.java | 38 protected final List<E> getList() { in getList() method in AbstractListTester 52 if (getList().size() != expectedList.size()) { in expectContents() 57 E actual = getList().get(i); in expectContents()
|
D | ListListIteratorTester.java | 80 return getList().listIterator(); in runListIteratorTest() 91 getList().listIterator(-1); in testListIterator_tooLow() 99 getList().listIterator(getNumElements() + 1); in testListIterator_tooHigh() 106 getList().listIterator(getNumElements()); in testListIterator_atSize()
|
D | ListAddAllTester.java | 41 getList().addAll(MinimalCollection.of(samples.e0))); in testAddAll_supportedAllPresent() 49 getList().addAll(MinimalCollection.of(samples.e0)); in testAddAll_unsupportedAllPresent() 61 getList().addAll(elementsToAdd)); in testAddAll_withDuplicates()
|
D | ListAddTester.java | 45 assertTrue("add(present) should return true", getList().add(samples.e0)); in testAdd_supportedPresent() 57 getList().add(samples.e0); in testAdd_unsupportedPresent() 68 assertTrue("add(nullPresent) should return true", getList().add(null)); in testAdd_supportedNullPresent()
|
D | ListGetTester.java | 37 getList().get(-1); in testGet_negative() 45 getList().get(getNumElements()); in testGet_tooLarge()
|
D | ListIndexOfTester.java | 37 return getList().indexOf(o); in find() 51 0, getList().indexOf(samples.e0)); in testIndexOf_duplicate()
|
D | ListLastIndexOfTester.java | 37 return getList().lastIndexOf(o); in find() 52 getNumElements() / 2, getList().lastIndexOf(samples.e0)); in testLastIndexOf_duplicate()
|
D | ListRemoveAllTester.java | 46 getList().removeAll(MinimalCollection.of(duplicate))); in testRemoveAll_duplicate() 49 getList().contains(duplicate)); in testRemoveAll_duplicate()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
D | ListSubListTester.java | 50 getList().subList(-1, 0); in testSubList_startNegative() 58 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge() 66 getList().subList(1, 0); in testSubList_startGreaterThanEnd() 81 emptyList(), getList().subList(0, 0)); in testSubList_empty() 86 getList(), getList().subList(0, getNumElements())); in testSubList_entireList() 92 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal() 102 List<E> subList = getList().subList(0, 1); in testSubList_subListClearAffectsOriginal() 111 List<E> subList = getList().subList(0, 0); in testSubList_subListAddAffectsOriginal() 119 List<E> subList = getList().subList(0, 1); in testSubList_subListSetAffectsOriginal() 129 List<E> subList = getList().subList(0, 1); in testSubList_originalListSetAffectsSubList() [all …]
|
D | ListAddAtIndexTester.java | 46 getList().add(0, samples.e0); in testAddAtIndex_supportedPresent() 58 getList().add(0, samples.e0); in testAddAtIndex_unsupportedPresent() 67 getList().add(0, samples.e3); in testAddAtIndex_supportedNotPresent() 76 getList().add(0, samples.e3); in testAddAtIndexConcurrentWithIteration() 87 getList().add(0, samples.e3); in testAddAtIndex_unsupportedNotPresent() 98 getList().add(getNumElements() / 2, samples.e3); in testAddAtIndex_middle() 105 getList().add(getNumElements(), samples.e3); in testAddAtIndex_end() 112 getList().add(0, null); in testAddAtIndex_nullSupported() 120 getList().add(0, null); in testAddAtIndex_nullUnsupported() 132 getList().add(-1, samples.e3); in testAddAtIndex_negative() [all …]
|
D | ListSetTester.java | 64 E initialValue = getList().get(index); in doTestSet() 66 initialValue, getList().set(index, newValue)); in doTestSet() 68 newValue, getList().get(index)); in doTestSet() 70 getNumElements(), getList().size()); in doTestSet() 76 getList().set(-1, samples.e3); in testSet_indexTooLow() 87 getList().set(index, samples.e3); in testSet_indexTooHigh() 98 getList().set(aValidIndex(), samples.e3); in testSet_unsupported() 109 getList().set(0, samples.e3); in testSet_unsupportedByEmptyList() 123 getList().set(aValidIndex(), null); in testSet_nullUnsupported() 131 return getList().size() / 2; in aValidIndex()
|
D | ListListIteratorTester.java | 77 return getList().listIterator(); in runListIteratorTest() 88 getList().listIterator(-1); in testListIterator_tooLow() 96 getList().listIterator(getNumElements() + 1); in testListIterator_tooHigh() 103 getList().listIterator(getNumElements()); in testListIterator_atSize()
|
D | ListAddTester.java | 43 assertTrue("add(present) should return true", getList().add(samples.e0)); in testAdd_supportedPresent() 55 getList().add(samples.e0); in testAdd_unsupportedPresent() 66 assertTrue("add(nullPresent) should return true", getList().add(null)); in testAdd_supportedNullPresent()
|
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
D | ICUCurrencyMetaInfo.java | 104 return collector.getList(); in collect() 204 public List<CurrencyInfo> getList() { in getList() method in ICUCurrencyMetaInfo.InfoCollector 225 public List<String> getList() { in getList() method in ICUCurrencyMetaInfo.RegionCollector 242 public List<String> getList() { in getList() method in ICUCurrencyMetaInfo.CurrencyCollector 276 List<T> getList(); in getList() method
|
/external/llvm/include/llvm/CodeGen/ |
D | RegAllocRegistry.h | 48 static RegisterRegAlloc *getList() { in getList() function 49 return (RegisterRegAlloc *)Registry.getList(); in getList()
|
D | SchedulerRegistry.h | 52 static RegisterScheduler *getList() { in getList() function 53 return (RegisterScheduler *)Registry.getList(); in getList()
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
D | LazyList.java | 234 public static<E> List<E> getList(Object list) in getList() method in LazyList 236 return getList(list,false); in getList() 250 public static<E> List<E> getList(Object list, boolean nullForEmpty) in getList() method in LazyList 398 List<E> l=getList(list); in iterator() 414 List<E> l=getList(list); in listIterator()
|