/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListAddAtIndexTester.java | 70 getList().add(0, e3()); in testAddAtIndex_supportedNotPresent() 71 expectAdded(0, e3()); in testAddAtIndex_supportedNotPresent() 79 getList().add(0, e3()); in testAddAtIndexConcurrentWithIteration() 90 getList().add(0, e3()); in testAddAtIndex_unsupportedNotPresent() 95 expectMissing(e3()); in testAddAtIndex_unsupportedNotPresent() 101 getList().add(getNumElements() / 2, e3()); in testAddAtIndex_middle() 102 expectAdded(getNumElements() / 2, e3()); in testAddAtIndex_middle() 108 getList().add(getNumElements(), e3()); in testAddAtIndex_end() 109 expectAdded(getNumElements(), e3()); in testAddAtIndex_end() 134 getList().add(-1, e3()); in testAddAtIndex_negative() [all …]
|
D | SetAddAllTester.java | 42 "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0()))); in testAddAll_supportedSomePresent() 43 expectAdded(e3()); in testAddAll_supportedSomePresent() 48 MinimalCollection<E> elementsToAdd = MinimalCollection.of(e3(), e4(), e3(), e4()); in testAddAll_withDuplicates() 50 expectAdded(e3(), e4()); in testAddAll_withDuplicates()
|
D | ListAddAllAtIndexTester.java | 68 getList().addAll(0, MinimalCollection.of(e0(), e3()))); in testAddAllAtIndex_supportedSomePresent() 69 expectAdded(0, e0(), e3()); in testAddAllAtIndex_supportedSomePresent() 76 getList().addAll(0, MinimalCollection.of(e0(), e3())); in testAddAllAtIndex_unsupportedSomePresent() 81 expectMissing(e3()); in testAddAllAtIndex_unsupportedSomePresent() 165 getList().addAll(-1, MinimalCollection.of(e3())); in testAddAllAtIndex_negative() 170 expectMissing(e3()); in testAddAllAtIndex_negative() 176 getList().addAll(getNumElements() + 1, MinimalCollection.of(e3())); in testAddAllAtIndex_tooLarge() 181 expectMissing(e3()); in testAddAllAtIndex_tooLarge()
|
D | ListSetTester.java | 44 doTestSet(e3()); in testSet() 63 doTestSet(e3()); in testSet_replacingNull() 80 getList().set(-1, e3()); in testSet_indexTooLow() 91 getList().set(index, e3()); in testSet_indexTooHigh() 102 getList().set(aValidIndex(), e3()); in testSet_unsupported() 113 getList().set(0, e3()); in testSet_unsupportedByEmptyList()
|
D | CollectionAddAllTester.java | 70 expectAdded(e3(), e4()); in testAddAll_supportedNonePresent() 81 expectMissing(e3(), e4()); in testAddAll_unsupportedNonePresent() 89 collection.addAll(MinimalCollection.of(e3(), e0()))); in testAddAll_supportedSomePresent() 90 assertTrue("should contain " + e3(), collection.contains(e3())); in testAddAll_supportedSomePresent() 98 collection.addAll(MinimalCollection.of(e3(), e0())); in testAddAll_unsupportedSomePresent() 110 assertTrue(collection.addAll(MinimalCollection.of(e3(), e0()))); in testAddAllConcurrentWithIteration()
|
D | CollectionRemoveAllTester.java | 60 collection.removeAll(MinimalCollection.of(e3()))); in testRemoveAll_nonePresent() 78 collection.removeAll(MinimalCollection.of(e0(), e3()))); in testRemoveAll_somePresent() 87 assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3()))); in testRemoveAllSomePresentConcurrentWithIteration() 101 collection.removeAll(MinimalCollection.of(e0(), e0(), e0(), e3(), e3(), e3()))); in testRemoveAll_somePresentLargeCollectionToRemove() 123 collection.removeAll(MinimalCollection.of(e3()))); in testRemoveAll_unsupportedNonePresent()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListAddAtIndexTester.java | 70 getList().add(0, e3()); in testAddAtIndex_supportedNotPresent() 71 expectAdded(0, e3()); in testAddAtIndex_supportedNotPresent() 79 getList().add(0, e3()); in testAddAtIndexConcurrentWithIteration() 90 getList().add(0, e3()); in testAddAtIndex_unsupportedNotPresent() 95 expectMissing(e3()); in testAddAtIndex_unsupportedNotPresent() 101 getList().add(getNumElements() / 2, e3()); in testAddAtIndex_middle() 102 expectAdded(getNumElements() / 2, e3()); in testAddAtIndex_middle() 108 getList().add(getNumElements(), e3()); in testAddAtIndex_end() 109 expectAdded(getNumElements(), e3()); in testAddAtIndex_end() 134 getList().add(-1, e3()); in testAddAtIndex_negative() [all …]
|
D | SetAddAllTester.java | 42 "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0()))); in testAddAll_supportedSomePresent() 43 expectAdded(e3()); in testAddAll_supportedSomePresent() 48 MinimalCollection<E> elementsToAdd = MinimalCollection.of(e3(), e4(), e3(), e4()); in testAddAll_withDuplicates() 50 expectAdded(e3(), e4()); in testAddAll_withDuplicates()
|
D | ListAddAllAtIndexTester.java | 68 getList().addAll(0, MinimalCollection.of(e0(), e3()))); in testAddAllAtIndex_supportedSomePresent() 69 expectAdded(0, e0(), e3()); in testAddAllAtIndex_supportedSomePresent() 76 getList().addAll(0, MinimalCollection.of(e0(), e3())); in testAddAllAtIndex_unsupportedSomePresent() 81 expectMissing(e3()); in testAddAllAtIndex_unsupportedSomePresent() 165 getList().addAll(-1, MinimalCollection.of(e3())); in testAddAllAtIndex_negative() 170 expectMissing(e3()); in testAddAllAtIndex_negative() 176 getList().addAll(getNumElements() + 1, MinimalCollection.of(e3())); in testAddAllAtIndex_tooLarge() 181 expectMissing(e3()); in testAddAllAtIndex_tooLarge()
|
D | ListSetTester.java | 44 doTestSet(e3()); in testSet() 63 doTestSet(e3()); in testSet_replacingNull() 80 getList().set(-1, e3()); in testSet_indexTooLow() 91 getList().set(index, e3()); in testSet_indexTooHigh() 102 getList().set(aValidIndex(), e3()); in testSet_unsupported() 113 getList().set(0, e3()); in testSet_unsupportedByEmptyList()
|
D | CollectionAddAllTester.java | 70 expectAdded(e3(), e4()); in testAddAll_supportedNonePresent() 81 expectMissing(e3(), e4()); in testAddAll_unsupportedNonePresent() 89 collection.addAll(MinimalCollection.of(e3(), e0()))); in testAddAll_supportedSomePresent() 90 assertTrue("should contain " + e3(), collection.contains(e3())); in testAddAll_supportedSomePresent() 98 collection.addAll(MinimalCollection.of(e3(), e0())); in testAddAll_unsupportedSomePresent() 110 assertTrue(collection.addAll(MinimalCollection.of(e3(), e0()))); in testAddAllConcurrentWithIteration()
|
D | CollectionRemoveAllTester.java | 60 collection.removeAll(MinimalCollection.of(e3()))); in testRemoveAll_nonePresent() 78 collection.removeAll(MinimalCollection.of(e0(), e3()))); in testRemoveAll_somePresent() 87 assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3()))); in testRemoveAllSomePresentConcurrentWithIteration() 101 collection.removeAll(MinimalCollection.of(e0(), e0(), e0(), e3(), e3(), e3()))); in testRemoveAll_somePresentLargeCollectionToRemove() 123 collection.removeAll(MinimalCollection.of(e3()))); in testRemoveAll_unsupportedNonePresent()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetAddTester.java | 94 getMultiset().add(e3(), Integer.MAX_VALUE); in testAddTooMany() 96 getMultiset().add(e3()); in testAddTooMany() 100 assertEquals(Integer.MAX_VALUE, getMultiset().count(e3())); in testAddTooMany() 118 assertTrue(getMultiset().addAll(Arrays.asList(e3(), e4(), e3()))); in testAddAll_nonEmptyList() 119 expectAdded(e3(), e4(), e3()); in testAddAll_nonEmptyList() 124 assertTrue(getMultiset().addAll(getSubjectGenerator().create(e3(), e4(), e3()))); in testAddAll_nonEmptyMultiset() 125 expectAdded(e3(), e4(), e3()); in testAddAll_nonEmptyMultiset()
|
D | AbstractMultisetSetCountTester.java | 110 assertSetCount(e3(), 0); in assertZeroToZero() 186 assertSetCount(e3(), 1); in testSetCount_zeroToOne_supported() 193 assertSetCount(e3(), 1); in testSetCountZeroToOneConcurrentWithIteration() 205 assertSetCount(e3(), 1); in testSetCountZeroToOneConcurrentWithEntrySetIteration() 215 assertSetCount(e3(), 3); in testSetCount_zeroToThree_supported() 226 assertSetCountIncreasingFailure(e3(), 1); in testSetCount_zeroToOne_unsupported() 231 assertSetCountIncreasingFailure(e3(), 3); in testSetCount_zeroToThree_unsupported() 237 assertSetCountIncreasingFailure(e3(), 3); in testSetCount_oneToThree_unsupported() 364 setCountNoCheckReturnValue(e3(), -1); in testSetCount_negative_removeSupported() 373 setCountNoCheckReturnValue(e3(), -1); in testSetCount_negative_removeUnsupported()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultisetAddTester.java | 94 getMultiset().add(e3(), Integer.MAX_VALUE); in testAddTooMany() 96 getMultiset().add(e3()); in testAddTooMany() 100 assertEquals(Integer.MAX_VALUE, getMultiset().count(e3())); in testAddTooMany() 118 assertTrue(getMultiset().addAll(Arrays.asList(e3(), e4(), e3()))); in testAddAll_nonEmptyList() 119 expectAdded(e3(), e4(), e3()); in testAddAll_nonEmptyList() 124 assertTrue(getMultiset().addAll(getSubjectGenerator().create(e3(), e4(), e3()))); in testAddAll_nonEmptyMultiset() 125 expectAdded(e3(), e4(), e3()); in testAddAll_nonEmptyMultiset()
|
D | AbstractMultisetSetCountTester.java | 110 assertSetCount(e3(), 0); in assertZeroToZero() 186 assertSetCount(e3(), 1); in testSetCount_zeroToOne_supported() 193 assertSetCount(e3(), 1); in testSetCountZeroToOneConcurrentWithIteration() 205 assertSetCount(e3(), 1); in testSetCountZeroToOneConcurrentWithEntrySetIteration() 215 assertSetCount(e3(), 3); in testSetCount_zeroToThree_supported() 226 assertSetCountIncreasingFailure(e3(), 1); in testSetCount_zeroToOne_unsupported() 231 assertSetCountIncreasingFailure(e3(), 3); in testSetCount_zeroToThree_unsupported() 237 assertSetCountIncreasingFailure(e3(), 3); in testSetCount_oneToThree_unsupported() 364 setCountNoCheckReturnValue(e3(), -1); in testSetCount_negative_removeSupported() 373 setCountNoCheckReturnValue(e3(), -1); in testSetCount_negative_removeUnsupported()
|
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/ |
D | SampleElements.java | 36 private final E e3; field in SampleElements 39 public SampleElements(E e0, E e1, E e2, E e3, E e4) { in SampleElements() argument 43 this.e3 = e3; in SampleElements() 53 return Arrays.asList(e0(), e1(), e2(), e3(), e4()); in asList() 97 Helpers.mapEntry(keys.e3(), values.e3()), in mapEntries() 113 public E e3() { in e3() method in SampleElements 114 return e3; in e3()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | SampleElements.java | 36 private final E e3; field in SampleElements 39 public SampleElements(E e0, E e1, E e2, E e3, E e4) { in SampleElements() argument 43 this.e3 = e3; in SampleElements() 53 return Arrays.asList(e0(), e1(), e2(), e3(), e4()); in asList() 97 Helpers.mapEntry(keys.e3(), values.e3()), in mapEntries() 113 public E e3() { in e3() method in SampleElements 114 return e3; in e3()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableList.java | 67 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { in of() argument 68 return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3)); in of() 71 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { in of() argument 72 return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3, e4)); in of() 75 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument 76 return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3, e4, e5)); in of() 79 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { in of() argument 80 return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3, e4, e5, e6)); in of() 83 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7) { in of() argument 85 ImmutableList.<E>nullCheckedList(e1, e2, e3, e4, e5, e6, e7)); in of() [all …]
|
D | ImmutableSet.java | 65 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { in of() argument 66 return create(e1, e2, e3); in of() 70 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { in of() argument 71 return create(e1, e2, e3, e4); in of() 75 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument 76 return create(e1, e2, e3, e4, e5); in of() 80 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E... others) { in of() argument 83 Collections.addAll(all, e1, e2, e3, e4, e5, e6); in of()
|
/external/wayland/tests/ |
D | list-test.c | 76 struct element e1, e2, e3, e4, *e; in TEST() local 82 e3.i = 5588; in TEST() 88 wl_list_insert(list.prev, &e3.link); in TEST() 132 struct element e1, e2, e3; in TEST() local 137 e3.i = 1000; in TEST() 142 wl_list_insert(list.prev, &e3.link); in TEST() 152 struct element e1, e2, e3, e4, e5, e6; in TEST() local 159 e3.i = 1000; in TEST() 164 wl_list_insert(list.prev, &e3.link); in TEST()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | ImmutableList.java | 95 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { in of() argument 96 return construct(e1, e2, e3); in of() 104 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { in of() argument 105 return construct(e1, e2, e3, e4); in of() 113 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument 114 return construct(e1, e2, e3, e4, e5); in of() 122 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { in of() argument 123 return construct(e1, e2, e3, e4, e5, e6); in of() 131 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7) { in of() argument 132 return construct(e1, e2, e3, e4, e5, e6, e7); in of() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableList.java | 110 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { in of() argument 111 return construct(e1, e2, e3); in of() 119 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { in of() argument 120 return construct(e1, e2, e3, e4); in of() 128 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument 129 return construct(e1, e2, e3, e4, e5); in of() 137 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { in of() argument 138 return construct(e1, e2, e3, e4, e5, e6); in of() 146 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7) { in of() argument 147 return construct(e1, e2, e3, e4, e5, e6, e7); in of() [all …]
|
/external/flac/libFLAC/ |
D | stream_encoder_intrin_ssse3.c | 66 unsigned e1, e3; in FLAC__precompute_partition_info_sums_intrin_ssse3() local 69 e1 = (residual_sample + 3) & ~3; e3 = end & ~3; in FLAC__precompute_partition_info_sums_intrin_ssse3() 79 for( ; residual_sample < e3; residual_sample+=4) { in FLAC__precompute_partition_info_sums_intrin_ssse3() 101 unsigned e1, e3; in FLAC__precompute_partition_info_sums_intrin_ssse3() local 104 e1 = (residual_sample + 1) & ~1; e3 = end & ~1; in FLAC__precompute_partition_info_sums_intrin_ssse3() 112 for( ; residual_sample < e3; residual_sample+=2) { in FLAC__precompute_partition_info_sums_intrin_ssse3()
|
D | stream_encoder_intrin_sse2.c | 77 unsigned e1, e3; in FLAC__precompute_partition_info_sums_intrin_sse2() local 80 e1 = (residual_sample + 3) & ~3; e3 = end & ~3; in FLAC__precompute_partition_info_sums_intrin_sse2() 90 for( ; residual_sample < e3; residual_sample+=4) { in FLAC__precompute_partition_info_sums_intrin_sse2() 112 unsigned e1, e3; in FLAC__precompute_partition_info_sums_intrin_sse2() local 115 e1 = (residual_sample + 1) & ~1; e3 = end & ~1; in FLAC__precompute_partition_info_sums_intrin_sse2() 123 for( ; residual_sample < e3; residual_sample+=2) { in FLAC__precompute_partition_info_sums_intrin_sse2()
|