Home
last modified time | relevance | path

Searched refs:fromList (Results 1 – 19 of 19) sorted by relevance

/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DListsTest.java265 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/
DListsTest.java146 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/
DLists.java508 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/guava/guava/src/com/google/common/collect/
DLists.java542 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/protobuf/java/core/src/main/java/com/google/protobuf/
DInternal.java426 private final List<F> fromList; field in Internal.ListAdapter
429 public ListAdapter(List<F> fromList, Converter<F, T> converter) { in ListAdapter() argument
430 this.fromList = fromList; in ListAdapter()
436 return converter.convert(fromList.get(index)); in get()
441 return fromList.size(); in size()
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DLenientCopyToolTest.java79 LinkedList fromList = new LinkedList(); in shouldShallowCopyLinkedListIntoMock() local
83 tool.copyToMock(fromList, toList); in shouldShallowCopyLinkedListIntoMock()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineBasicBlock.cpp122 transferNodesFromList(ilist_traits<MachineInstr> &fromList, in transferNodesFromList() argument
125 assert(Parent->getParent() == fromList.Parent->getParent() && in transferNodesFromList()
129 if (Parent == fromList.Parent) return; in transferNodesFromList()
/external/flatbuffers/dart/lib/
Dflat_buffers.dart80 return new Uint8List.fromList(byteList);
/external/clang/lib/Sema/
DSemaType.cpp274 AttributeList *&fromList, in moveAttrFromListToList() argument
276 spliceAttrOutOfList(attr, fromList); in moveAttrFromListToList()
/external/dagger2/lib/
Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/testng/ant/3rdparty/
Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/v8/src/inspector/build/closure-compiler/
Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...