Searched refs:fromList (Results 1 – 5 of 5) 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/src/com/google/common/collect/ |
D | Lists.java | 542 List<F> fromList, Function<? super F, ? extends T> function) { in transform() argument 543 return (fromList instanceof RandomAccess) in transform() 544 ? new TransformingRandomAccessList<F, T>(fromList, function) in transform() 545 : new TransformingSequentialList<F, T>(fromList, function); in transform() 555 final List<F> fromList; field in Lists.TransformingSequentialList 559 List<F> fromList, Function<? super F, ? extends T> function) { in TransformingSequentialList() argument 560 this.fromList = checkNotNull(fromList); in TransformingSequentialList() 569 fromList.clear(); in clear() 572 return fromList.size(); in size() 575 return new TransformedListIterator<F, T>(fromList.listIterator(index)) { in listIterator() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Lists.java | 508 List<F> fromList, Function<? super F, ? extends T> function) { in transform() argument 509 return (fromList instanceof RandomAccess) in transform() 510 ? new TransformingRandomAccessList<F, T>(fromList, function) in transform() 511 : new TransformingSequentialList<F, T>(fromList, function); in transform() 521 final List<F> fromList; field in Lists.TransformingSequentialList 525 List<F> fromList, Function<? super F, ? extends T> function) { in TransformingSequentialList() argument 526 this.fromList = checkNotNull(fromList); in TransformingSequentialList() 535 fromList.clear(); in clear() 538 return fromList.size(); in size() 541 return new TransformedListIterator<F, T>(fromList.listIterator(index)) { in listIterator() [all …]
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 267 AttributeList *&fromList, in moveAttrFromListToList() argument 269 spliceAttrOutOfList(attr, fromList); in moveAttrFromListToList()
|