Searched refs:fromList (Results 1 – 6 of 6) sorted by relevance
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ListsTest.java | 265 List<Integer> fromList = Lists.newArrayList(SOME_LIST); in testReverseViewRandomAccess() local 266 List<Integer> toList = Lists.reverse(fromList); in testReverseViewRandomAccess() 267 assertReverseView(fromList, toList); in testReverseViewRandomAccess() 271 List<Integer> fromList = Lists.newLinkedList(SOME_SEQUENTIAL_LIST); in testReverseViewSequential() local 272 List<Integer> toList = Lists.reverse(fromList); in testReverseViewSequential() 273 assertReverseView(fromList, toList); in testReverseViewSequential() 276 private static void assertReverseView(List<Integer> fromList, in assertReverseView() argument 279 fromList.set(0, 5); in assertReverseView() 281 fromList.add(6); in assertReverseView() 283 fromList.add(2, 9); in assertReverseView() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ListsTest.java | 146 List<String> fromList = Lists.newArrayList(); in suite() 148 fromList.add("q" + checkNotNull(element)); in suite() 150 return Lists.transform(fromList, removeFirst); in suite() 162 List<String> fromList = Lists.newLinkedList(); in suite() 164 fromList.add("q" + checkNotNull(element)); in suite() 166 return Lists.transform(fromList, removeFirst); in suite() 178 List<String> fromList = Lists.newArrayList(elements); in suite() 179 return Lists.transform(fromList, Functions.<String>identity()); in suite() 191 List<String> fromList = in suite() 193 return Lists.transform(fromList, Functions.<String>identity()); in suite() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Lists.java | 473 List<F> fromList, Function<? super F, ? extends T> function) { in transform() argument 474 return (fromList instanceof RandomAccess) in transform() 475 ? new TransformingRandomAccessList<F, T>(fromList, function) in transform() 476 : new TransformingSequentialList<F, T>(fromList, function); in transform() 486 final List<F> fromList; field in Lists.TransformingSequentialList 490 List<F> fromList, Function<? super F, ? extends T> function) { in TransformingSequentialList() argument 491 this.fromList = checkNotNull(fromList); in TransformingSequentialList() 500 fromList.clear(); in clear() 503 return fromList.size(); in size() 506 return new TransformedListIterator<F, T>(fromList.listIterator(index)) { in listIterator() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | Lists.java | 507 List<F> fromList, Function<? super F, ? extends T> function) { in transform() argument 508 return (fromList instanceof RandomAccess) in transform() 509 ? new TransformingRandomAccessList<F, T>(fromList, function) in transform() 510 : new TransformingSequentialList<F, T>(fromList, function); in transform() 520 final List<F> fromList; field in Lists.TransformingSequentialList 524 List<F> fromList, Function<? super F, ? extends T> function) { in TransformingSequentialList() argument 525 this.fromList = checkNotNull(fromList); in TransformingSequentialList() 534 fromList.clear(); in clear() 537 return fromList.size(); in size() 540 return new TransformedListIterator<F, T>(fromList.listIterator(index)) { in listIterator() [all …]
|
/external/llvm/lib/CodeGen/ |
D | MachineBasicBlock.cpp | 124 transferNodesFromList(ilist_traits<MachineInstr> &fromList, in transferNodesFromList() argument 127 assert(Parent->getParent() == fromList.Parent->getParent() && in transferNodesFromList() 131 if (Parent == fromList.Parent) return; in transferNodesFromList()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 262 AttributeList *&fromList, in moveAttrFromListToList() argument 264 spliceAttrOutOfList(attr, fromList); in moveAttrFromListToList()
|