/external/selinux/libsepol/tests/ |
D | test-ebitmap.c | 258 ebitmap_t e1, e2, e3, e4, e5, e6; in test_ebitmap_init_range() local 268 CU_ASSERT_EQUAL(ebitmap_init_range(&e3, 20, 100), 0); in test_ebitmap_init_range() 269 CU_ASSERT_EQUAL(ebitmap_highest_set_bit(&e3), 100); in test_ebitmap_init_range() 270 CU_ASSERT_EQUAL(ebitmap_cardinality(&e3), 81); in test_ebitmap_init_range() 282 ebitmap_destroy(&e3); in test_ebitmap_init_range() 289 ebitmap_t e1, e2, e3, e4; in test_ebitmap_or() local 293 ebitmap_init(&e3); in test_ebitmap_or() 311 CU_ASSERT_EQUAL(ebitmap_set_bit(&e3, 10, 1), 0); in test_ebitmap_or() 312 CU_ASSERT_EQUAL(ebitmap_set_bit(&e3, 11, 1), 0); in test_ebitmap_or() 313 CU_ASSERT_EQUAL(ebitmap_set_bit(&e3, 100, 1), 0); in test_ebitmap_or() [all …]
|
/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 | 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 | 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 | 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 | 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()
|
/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 | 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 | 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 | 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()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/rand/rand.eng/rand.eng.lcong/ |
D | alg.pass.cpp | 56 E3 e3; in main() local 58 assert(e3() == 2); in main() 59 assert(e3() == 3); in main() 60 assert(e3() == 4); in main() 62 assert(e3() < (1ull<<48)); in main() 63 assert(e3() < (1ull<<48)); in main() 64 assert(e3() < (1ull<<48)); in main() 65 assert(e3() < (1ull<<48)); in main()
|
/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/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/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/expected/expected.expected/equality/ |
D | equality.other_expected.pass.cpp | 39 const std::expected<int, int> e3(5); in test() local 41 assert(e1 == e3); in test() 48 const std::expected<int, int> e3(5); in test() local 50 assert(e1 != e3); in test() 57 const std::expected<int, int> e3(std::unexpect, 5); in test() local 59 assert(e1 != e3); in test() 66 const std::expected<int, int> e3(std::unexpect, 5); in test() local 68 assert(e1 == e3); in test()
|
/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 | 65 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { in of() argument 66 return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3)); in of() 69 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { in of() argument 70 return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3, e4)); in of() 73 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument 74 return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3, e4, e5)); in of() 77 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { in of() argument 78 return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3, e4, e5, e6)); in of() 81 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7) { in of() argument 83 ImmutableList.<E>nullCheckedList(e1, e2, e3, e4, e5, e6, e7)); in of() [all …]
|
/external/python/pyyaml/tests/data/ |
D | yaml11.schema | 90 '!!str +0.3e3': ['str', '+0.3e3', "+0.3e3"] 111 '!!str .3e3': ['str', '.3e3', ".3e3"] 122 '!!str 0.3e3': ['str', '0.3e3', "0.3e3"] 178 '+0.3e3': ['str', '+0.3e3', '+0.3e3'] 200 '.3e3': ['str', '.3e3', '.3e3'] 211 '0.3e3': ['str', '0.3e3', '0.3e3'] 236 '3e3': ['str', '3e3', '3e3']
|
/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 | 101 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { in of() argument 102 return construct(e1, e2, e3); in of() 110 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { in of() argument 111 return construct(e1, e2, e3, e4); in of() 119 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument 120 return construct(e1, e2, e3, e4, e5); in of() 128 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { in of() argument 129 return construct(e1, e2, e3, e4, e5, e6); in of() 137 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7) { in of() argument 138 return construct(e1, e2, e3, e4, e5, e6, e7); in of() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableList.java | 117 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { in of() argument 118 return construct(e1, e2, e3); in of() 126 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { in of() argument 127 return construct(e1, e2, e3, e4); in of() 135 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { in of() argument 136 return construct(e1, e2, e3, e4, e5); in of() 144 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6) { in of() argument 145 return construct(e1, e2, e3, e4, e5, e6); in of() 153 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5, E e6, E e7) { in of() argument 154 return construct(e1, e2, e3, e4, e5, e6, e7); in of() [all …]
|
/external/flac/src/libFLAC/ |
D | stream_encoder_intrin_ssse3.c | 66 uint32_t 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 uint32_t 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 uint32_t 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 uint32_t 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()
|