Home
last modified time | relevance | path

Searched refs:getList (Results 1 – 25 of 49) sorted by relevance

12

/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DListAddAllAtIndexTester.java48 getList().addAll(0, MinimalCollection.of(samples.e0))); in testAddAllAtIndex_supportedAllPresent()
56 getList().addAll(0, MinimalCollection.of(samples.e0)); in testAddAllAtIndex_unsupportedAllPresent()
67 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3))); in testAddAllAtIndex_supportedSomePresent()
75 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3)); in testAddAllAtIndex_unsupportedSomePresent()
86 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_supportedNothing()
94 getList().addAll(0, emptyCollection())); in testAddAllAtIndex_unsupportedNothing()
105 getList().addAll(0, elementsToAdd)); in testAddAllAtIndex_withDuplicates()
114 getList().addAll(0, containsNull)); in testAddAllAtIndex_nullSupported()
127 getList().addAll(0, containsNull); in testAddAllAtIndex_nullUnsupported()
140 getList().addAll(getNumElements() / 2, createDisjointCollection())); in testAddAllAtIndex_middle()
[all …]
DListSubListTester.java49 getList().subList(-1, 0); in testSubList_startNegative()
57 getList().subList(0, getNumElements() + 1); in testSubList_endTooLarge()
65 getList().subList(1, 0); in testSubList_startGreaterThanEnd()
80 emptyList(), getList().subList(0, 0)); in testSubList_empty()
85 getList(), getList().subList(0, getNumElements())); in testSubList_entireList()
91 List<E> subList = getList().subList(0, 1); in testSubList_subListRemoveAffectsOriginal()
100 List<E> subList = getList().subList(0, 0); in testSubList_subListAddAffectsOriginal()
108 List<E> subList = getList().subList(0, 1); in testSubList_subListSetAffectsOriginal()
118 List<E> subList = getList().subList(0, 1); in testSubList_originalListSetAffectsSubList()
119 getList().set(0, samples.e3); in testSubList_originalListSetAffectsSubList()
[all …]
DListAddAtIndexTester.java44 getList().add(0, samples.e0); in testAddAtIndex_supportedPresent()
56 getList().add(0, samples.e0); in testAddAtIndex_unsupportedPresent()
65 getList().add(0, samples.e3); in testAddAtIndex_supportedNotPresent()
72 getList().add(0, samples.e3); in testAddAtIndex_unsupportedNotPresent()
83 getList().add(getNumElements() / 2, samples.e3); in testAddAtIndex_middle()
90 getList().add(getNumElements(), samples.e3); in testAddAtIndex_end()
97 getList().add(0, null); in testAddAtIndex_nullSupported()
105 getList().add(0, null); in testAddAtIndex_nullUnsupported()
117 getList().add(-1, samples.e3); in testAddAtIndex_negative()
128 getList().add(getNumElements() + 1, samples.e3); in testAddAtIndex_tooLarge()
DListSetTester.java66 E initialValue = getList().get(index); in doTestSet()
68 initialValue, getList().set(index, newValue)); in doTestSet()
70 newValue, getList().get(index)); in doTestSet()
72 getNumElements(), getList().size()); in doTestSet()
78 getList().set(-1, samples.e3); in testSet_indexTooLow()
89 getList().set(index, samples.e3); in testSet_indexTooHigh()
100 getList().set(aValidIndex(), samples.e3); in testSet_unsupported()
111 getList().set(0, samples.e3); in testSet_unsupportedByEmptyList()
125 getList().set(aValidIndex(), null); in testSet_nullUnsupported()
133 return getList().size() / 2; in aValidIndex()
DListEqualsTester.java40 getList().equals(new ArrayList<E>(getSampleElements()))); 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()
DListRemoveTester.java43 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()
DListRemoveAtIndexTester.java43 getList().remove(0); in testRemoveAtIndex_unsupported()
53 getList().remove(-1); in testRemoveAtIndex_negative()
63 getList().remove(getNumElements()); in testRemoveAtIndex_tooLarge()
91 getList().get(index), getList().remove(index)); in runRemoveTest()
DListToArrayTester.java38 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()
DAbstractListTester.java38 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()
DListListIteratorTester.java79 return getList().listIterator(); in runListIteratorTest()
90 getList().listIterator(-1); in testListIterator_tooLow()
98 getList().listIterator(getNumElements() + 1); in testListIterator_tooHigh()
105 getList().listIterator(getNumElements()); in testListIterator_atSize()
DListAddAllTester.java41 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()
DListAddTester.java44 assertTrue("add(present) should return true", getList().add(samples.e0)); in testAdd_supportedPresent()
56 getList().add(samples.e0); in testAdd_unsupportedPresent()
67 assertTrue("add(nullPresent) should return true", getList().add(null)); in testAdd_supportedNullPresent()
DListGetTester.java36 getList().get(-1); in testGet_negative()
44 getList().get(getNumElements()); in testGet_tooLarge()
DListLastIndexOfTester.java37 return getList().lastIndexOf(o); in find()
52 getNumElements() / 2, getList().lastIndexOf(samples.e0)); in testLastIndexOf_duplicate()
DListRemoveAllTester.java46 getList().removeAll(MinimalCollection.of(duplicate))); in testRemoveAll_duplicate()
49 getList().contains(duplicate)); in testRemoveAll_duplicate()
DListIndexOfTester.java37 return getList().indexOf(o); in find()
51 0, getList().indexOf(samples.e0)); in testIndexOf_duplicate()
DListHashCodeTester.java37 expectedHashCode, getList().hashCode()); in testHashCode()
/external/chromium_org/chrome/browser/ui/webui/options/
Dstartup_page_list_browsertest.js25 assertGE(this.getList().items.length, 2);
33 getList: function() { method in StartupPageListWebUITest
133 this.getList().items[0].dispatchEvent(mockDropEvent);
142 this.getList().selectionModel.selectedIndex = 1;
143 expectEquals(1, this.getList().selectionModel.selectedIndexes.length);
145 this.getList().items[0].dispatchEvent(createMouseEvent('drop'));
/external/llvm/include/llvm/CodeGen/
DRegAllocRegistry.h48 static RegisterRegAlloc *getList() { in getList() function
49 return (RegisterRegAlloc *)Registry.getList(); in getList()
DSchedulerRegistry.h52 static RegisterScheduler *getList() { in getList() function
53 return (RegisterScheduler *)Registry.getList(); in getList()
DMachinePassRegistry.h99 MachinePassRegistryNode *getList() { return List; } in getList() function
132 for (RegistryClass *Node = RegistryClass::getList(); in initialize()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/
DBuildMachineManager.java154 StringTokenizer tokenizer = new StringTokenizer(getList(), ","); in getNames()
164 private String getList() { in getList() method in BuildMachineManager
/external/llvm/lib/CodeGen/
DMachinePassRegistry.cpp24 for(MachinePassRegistryNode *R = getList(); R; R = R->getNext()) { in setDefault()
/external/llvm/include/llvm/IR/
DSymbolTableListTraits.h56 static iplist<ValueSubClass> &getList(ItemParentClass *Par) { in getList() function
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DCstArray.java94 public List getList() { in getList() method in CstArray

12