/external/icu/icu4c/source/i18n/ |
D | measunit.cpp | 499 return MeasureUnit::create(0, 0, status); in createGForce() 503 return MeasureUnit::create(0, 1, status); in createMeterPerSecondSquared() 507 return MeasureUnit::create(1, 0, status); in createArcMinute() 511 return MeasureUnit::create(1, 1, status); in createArcSecond() 515 return MeasureUnit::create(1, 2, status); in createDegree() 519 return MeasureUnit::create(1, 3, status); in createRadian() 523 return MeasureUnit::create(2, 0, status); in createAcre() 527 return MeasureUnit::create(2, 1, status); in createHectare() 531 return MeasureUnit::create(2, 2, status); in createSquareCentimeter() 535 return MeasureUnit::create(2, 3, status); in createSquareFoot() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | BenchmarkHelpers.java | 41 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method 46 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method 51 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method 56 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method 61 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method 66 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method 71 @Override <E extends Comparable<E>> Set<E> create(Collection<E> contents) { in create() method 77 abstract <E extends Comparable<E>> Set<E> create(Collection<E> contents); in create() method in BenchmarkHelpers.SetImpl 83 <K, V> ListMultimap<K, V> create(Multimap<K, V> contents) { in create() method 84 return ArrayListMultimap.create(contents); in create() [all …]
|
D | MultisetsTest.java | 44 TreeMultiset<DerivedComparable> set = TreeMultiset.create(); in testNewTreeMultisetDerived() 54 TreeMultiset<LegacyComparable> set = TreeMultiset.create(); in testNewTreeMultisetNonGeneric() 65 = TreeMultiset.create(Collections.reverseOrder()); in testNewTreeMultisetComparator() 72 Multiset<String> multiset = HashMultiset.create(); in testRetainOccurrencesEmpty() 74 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRetainOccurrencesEmpty() 80 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesEmpty() 82 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRemoveOccurrencesEmpty() 88 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnion() 89 Multiset<String> ms2 = HashMultiset.create( in testUnion() 95 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets() [all …]
|
D | ContiguousSetTest.java | 65 ContiguousSet.create(Range.closed(1, 3), integers()), in testEquals() 66 ContiguousSet.create(Range.closedOpen(1, 4), integers()), in testEquals() 67 ContiguousSet.create(Range.openClosed(0, 3), integers()), in testEquals() 68 ContiguousSet.create(Range.open(0, 4), integers()), in testEquals() 69 ContiguousSet.create(Range.closed(1, 3), NOT_EQUAL_TO_INTEGERS), in testEquals() 70 ContiguousSet.create(Range.closedOpen(1, 4), NOT_EQUAL_TO_INTEGERS), in testEquals() 71 ContiguousSet.create(Range.openClosed(0, 3), NOT_EQUAL_TO_INTEGERS), in testEquals() 72 ContiguousSet.create(Range.open(0, 4), NOT_EQUAL_TO_INTEGERS), in testEquals() 77 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals() 78 ContiguousSet.create(Range.<Integer>all(), integers())); in testEquals() [all …]
|
D | ArrayTableTest.java | 41 @Override protected ArrayTable<String, Integer, Character> create( in create() method in ArrayTableTest 46 ArrayTable.create(asList("foo", "bar", "cat"), asList(1, 2, 3)); in create() 66 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContains() 82 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsRow() 91 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsColumn() 100 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsValue() 110 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testIsEmpty() 115 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testEquals() 116 Table<String, Integer, Character> hashCopy = HashBasedTable.create(); in testEquals() 121 = create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b'); in testEquals() [all …]
|
D | AbstractTableReadTest.java | 48 create(Object... data); in create() method in AbstractTableReadTest 56 table = create(); in setUp() 60 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContains() 73 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsRow() 81 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsColumn() 89 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsValue() 98 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testGet() 112 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testIsEmpty() 118 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testSize() 123 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testEquals() [all …]
|
D | SynchronizedQueueTest.java | 32 protected Queue<String> create() { in create() method in SynchronizedQueueTest 156 create().element(); in testHoldsLockOnAllOperations() 157 create().offer("foo"); in testHoldsLockOnAllOperations() 158 create().peek(); in testHoldsLockOnAllOperations() 159 create().poll(); in testHoldsLockOnAllOperations() 160 create().remove(); in testHoldsLockOnAllOperations() 161 create().add("foo"); in testHoldsLockOnAllOperations() 162 create().addAll(ImmutableList.of("foo")); in testHoldsLockOnAllOperations() 163 create().clear(); in testHoldsLockOnAllOperations() 164 create().contains("foo"); in testHoldsLockOnAllOperations() [all …]
|
D | TreeBasedTableTest.java | 56 @Override protected SortedMap<String, String> create( in suite() 59 TreeBasedTable.create(); in suite() 83 TreeBasedTable<String, String, String> table = TreeBasedTable.create(); in makeEmptyMap() 91 TreeBasedTable<String, String, String> table = TreeBasedTable.create(); in makePopulatedMap() 110 TreeBasedTable<String, String, String> table = TreeBasedTable.create(); in testClearSubMapOfRowMap() 127 protected TreeBasedTable<String, Integer, Character> create( in create() method in TreeBasedTableTest 132 TreeBasedTable.create(rowComparator, columnComparator); in create() 140 @Override protected TreeBasedTable<String, Integer, Character> create( in create() method in TreeBasedTableTest 142 TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); in create() 151 table = TreeBasedTable.create( in testCreateExplicitComparators() [all …]
|
D | ArrayListMultimapTest.java | 52 protected ListMultimap<String, String> create(Entry<String, String>[] entries) { in suite() 53 ListMultimap<String, String> multimap = ArrayListMultimap.create(); in suite() 75 protected ListMultimap<String, Integer> create() { in create() method in ArrayListMultimapTest 76 return ArrayListMultimap.create(); in create() 83 Multimap<String, Integer> multimap = create(); in testGetRandomAccess() 94 Multimap<String, Integer> multimap = create(); in testRemoveAllRandomAccess() 105 Multimap<String, Integer> multimap = create(); in testReplaceValuesRandomAccess() 119 ListMultimap<String, Integer> multimap = create(); in testSublistConcurrentModificationException() 137 Multimap<String, Integer> multimap = create(); in testCreateFromMultimap() 142 = ArrayListMultimap.create(multimap); in testCreateFromMultimap() [all …]
|
D | TableCollectionTest.java | 122 @Override protected Set<String> create(String[] elements) { in suite() 124 = ArrayTable.create( in suite() 138 @Override protected Set<String> create(String[] elements) { in suite() 139 Table<String, Integer, Character> table = HashBasedTable.create(); in suite() 150 @Override protected SortedSet<String> create(String[] elements) { in suite() 151 TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); in suite() 167 @Override protected Set<String> create(String[] elements) { in suite() 168 Table<String, Integer, Character> table = HashBasedTable.create(); in suite() 178 @Override protected Set<String> create(String[] elements) { in suite() 179 RowSortedTable<String, Integer, Character> table = TreeBasedTable.create(); in suite() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | MultisetsTest.java | 42 TreeMultiset<DerivedComparable> set = TreeMultiset.create(); in testNewTreeMultisetDerived() 52 TreeMultiset<LegacyComparable> set = TreeMultiset.create(); in testNewTreeMultisetNonGeneric() 63 = TreeMultiset.create(Collections.reverseOrder()); in testNewTreeMultisetComparator() 70 Multiset<String> multiset = HashMultiset.create(); in testRetainOccurrencesEmpty() 72 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRetainOccurrencesEmpty() 78 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesEmpty() 80 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRemoveOccurrencesEmpty() 86 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnion() 87 Multiset<String> ms2 = HashMultiset.create( in testUnion() 93 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a")); in testUnionEqualMultisets() [all …]
|
D | ContiguousSetTest.java | 61 ContiguousSet.create(Range.closed(1, 3), integers()), in testEquals() 62 ContiguousSet.create(Range.closedOpen(1, 4), integers()), in testEquals() 63 ContiguousSet.create(Range.openClosed(0, 3), integers()), in testEquals() 64 ContiguousSet.create(Range.open(0, 4), integers()), in testEquals() 65 ContiguousSet.create(Range.closed(1, 3), NOT_EQUAL_TO_INTEGERS), in testEquals() 66 ContiguousSet.create(Range.closedOpen(1, 4), NOT_EQUAL_TO_INTEGERS), in testEquals() 67 ContiguousSet.create(Range.openClosed(0, 3), NOT_EQUAL_TO_INTEGERS), in testEquals() 68 ContiguousSet.create(Range.open(0, 4), NOT_EQUAL_TO_INTEGERS), in testEquals() 73 ContiguousSet.create(Range.closed(Integer.MIN_VALUE, Integer.MAX_VALUE), integers()), in testEquals() 74 ContiguousSet.create(Range.<Integer>all(), integers())); in testEquals() [all …]
|
D | ArrayTableTest.java | 39 @Override protected ArrayTable<String, Integer, Character> create( in create() method in ArrayTableTest 44 ArrayTable.create(asList("foo", "bar", "cat"), asList(1, 2, 3)); in create() 64 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContains() 80 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsRow() 89 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsColumn() 98 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsValue() 108 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testIsEmpty() 113 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testEquals() 114 Table<String, Integer, Character> hashCopy = HashBasedTable.create(); in testEquals() 119 = create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b'); in testEquals() [all …]
|
D | AbstractTableReadTest.java | 46 create(Object... data); in create() method in AbstractTableReadTest 54 table = create(); in setUp() 58 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContains() 71 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsRow() 79 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsColumn() 87 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsValue() 96 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testGet() 110 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testIsEmpty() 116 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testSize() 121 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testEquals() [all …]
|
D | TreeBasedTableTest.java | 46 TreeBasedTable<String, String, String> table = TreeBasedTable.create(); in makeEmptyMap() 54 TreeBasedTable<String, String, String> table = TreeBasedTable.create(); in makePopulatedMap() 73 TreeBasedTable<String, String, String> table = TreeBasedTable.create(); in testClearSubMapOfRowMap() 90 protected TreeBasedTable<String, Integer, Character> create( in create() method in TreeBasedTableTest 95 TreeBasedTable.create(rowComparator, columnComparator); in create() 103 @Override protected TreeBasedTable<String, Integer, Character> create( in create() method in TreeBasedTableTest 105 TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); in create() 114 table = TreeBasedTable.create( in testCreateExplicitComparators() 125 TreeBasedTable<String, Integer, Character> original = TreeBasedTable.create( in testCreateCopy() 131 table = TreeBasedTable.create(original); in testCreateCopy() [all …]
|
D | ArrayListMultimapTest.java | 38 protected ListMultimap<String, Integer> create() { in create() method in ArrayListMultimapTest 39 return ArrayListMultimap.create(); in create() 46 Multimap<String, Integer> multimap = create(); in testGetRandomAccess() 57 Multimap<String, Integer> multimap = create(); in testRemoveAllRandomAccess() 68 Multimap<String, Integer> multimap = create(); in testReplaceValuesRandomAccess() 82 ListMultimap<String, Integer> multimap = create(); in testSublistConcurrentModificationException() 100 Multimap<String, Integer> multimap = create(); in testCreateFromMultimap() 105 = ArrayListMultimap.create(multimap); in testCreateFromMultimap() 111 = ArrayListMultimap.create(); in testCreate() 117 = ArrayListMultimap.create(15, 20); in testCreateFromSizes() [all …]
|
D | LinkedListMultimapTest.java | 43 protected LinkedListMultimap<String, Integer> create() { in create() method in LinkedListMultimapTest 44 return LinkedListMultimap.create(); in create() 51 Multimap<String, Integer> multimap = create(); in testGetRandomAccess() 63 Multimap<String, Integer> multimap = create(); in testRemoveAllRandomAccess() 75 Multimap<String, Integer> multimap = create(); in testReplaceValuesRandomAccess() 85 Multimap<String, Integer> multimap = LinkedListMultimap.create(); in testCreateFromMultimap() 90 LinkedListMultimap.create(multimap); in testCreateFromMultimap() 97 = LinkedListMultimap.create(20); in testCreateFromSize() 106 LinkedListMultimap.create(-20); in testCreateFromIllegalSize() 112 LinkedListMultimap<String, Integer> map = create(); in testLinkedGetAdd() [all …]
|
D | ImmutableMultisetTest.java | 48 assertEquals(HashMultiset.create(asList("a")), multiset); in testCreation_oneElement() 53 assertEquals(HashMultiset.create(asList("a", "b")), multiset); in testCreation_twoElements() 58 assertEquals(HashMultiset.create(asList("a", "b", "c")), multiset); in testCreation_threeElements() 63 assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset); in testCreation_fourElements() 68 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e")), in testCreation_fiveElements() 75 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f")), in testCreation_sixElements() 83 HashMultiset.create(asList("a", "b", "c", "d", "e", "f", "g")), in testCreation_sevenElements() 96 assertEquals(HashMultiset.create(asList("a")), multiset); in testCreation_arrayOfOneElement() 102 Multiset<String[]> expected = HashMultiset.create(); in testCreation_arrayOfArray() 125 assertEquals(HashMultiset.create(asList("a")), multiset); in testCopyOf_collection_oneElement() [all …]
|
D | EnumHashBiMapTest.java | 44 public BiMap<Country, String> create(Object... entries) { in create() method in EnumHashBiMapTest.EnumHashBiMapGenerator 45 BiMap<Country, String> result = EnumHashBiMap.create(Country.class); in create() 87 EnumHashBiMap.create(Currency.class); in testCreate() 90 assertEquals(HashBiMap.create(), bimap); in testCreate() 103 = EnumHashBiMap.create(map); in testCreateFromMap() 109 EnumHashBiMap.create( in testCreateFromMap() 115 Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class); in testCreateFromMap() 116 bimap = EnumHashBiMap.create(emptyBimap); in testCreateFromMap() 121 EnumBiMap.create(Currency.class, Country.class); in testCreateFromMap() 123 = EnumHashBiMap.create(emptyBimap2); in testCreateFromMap() [all …]
|
/external/v8/test/mjsunit/ |
D | object-create.js | 33 Object.create(null); 34 Object.create(null, undefined); 38 Object.create(4); 45 Object.create("foo"); 70 Object.create(protoFoo).foo(); 74 Object.create(Object.create(protoFoo)).foo(); 78 var v = Object.create(protoFoo, fooValue); 90 v = Object.create(null, { foo: {value: 103}}); 96 assertEquals(0, Object.create(protoFoo, fooGetter).foo); 102 assertEquals(1, Object.create(protoFoo, fooSetter).foo = 1); [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
D | test-tree-wizard.rb | 180 t = @wizard.create("ID") 185 t = @wizard.create("ID[foo]") 191 t = @wizard.create("(A)") 196 t = @wizard.create("(A B C D)") 201 t = @wizard.create("(nil A B C)") 206 t = @wizard.create("A B C") 211 t = @wizard.create("(A (B C) (B D) E)") 222 tree = @wizard.create("ID") 230 tree = @wizard.create("(A B C D)") 240 tree = @wizard.create("(A B (A C B) B D D)") [all …]
|
/external/v8/test/mjsunit/harmony/ |
D | proxies.js | 38 test(Proxy.create, x, y, z) 52 function TestGetOwnProperty2(create, handler) { argument 53 var p = create(handler) 84 TestGetOwnProperty(Proxy.create({ 95 function TestGetOwnPropertyThrow2(create, handler) { argument 96 var p = create(handler) 118 TestGetOwnPropertyThrow(Proxy.create({ 134 function TestGet2(create, handler) { argument 135 var p = create(handler) 147 var o = Object.create(p, {x: {value: 88}}) [all …]
|
/external/libdrm/tests/ |
D | gem_basic.c | 56 struct drm_i915_gem_create create; in test_create_close() local 62 memset(&create, 0, sizeof(create)); in test_create_close() 63 create.size = 16 * 1024; in test_create_close() 64 ret = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &create); in test_create_close() 67 close.handle = create.handle; in test_create_close() 74 struct drm_i915_gem_create create; in test_create_fd_close() local 79 memset(&create, 0, sizeof(create)); in test_create_fd_close() 80 create.size = 16 * 1024; in test_create_fd_close() 81 ret = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &create); in test_create_fd_close()
|
D | gem_flink.c | 42 struct drm_i915_gem_create create; in test_flink() local 49 memset(&create, 0, sizeof(create)); in test_flink() 50 create.size = 16 * 1024; in test_flink() 51 ret = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &create); in test_flink() 54 flink.handle = create.handle; in test_flink() 67 struct drm_i915_gem_create create; in test_double_flink() local 74 memset(&create, 0, sizeof(create)); in test_double_flink() 75 create.size = 16 * 1024; in test_double_flink() 76 ret = ioctl(fd, DRM_IOCTL_I915_GEM_CREATE, &create); in test_double_flink() 79 flink.handle = create.handle; in test_double_flink() [all …]
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | BloomFilterTest.java | 56 BloomFilter<CharSequence> bf = BloomFilter.create( in testCreateAndCheckMitz32BloomFilterWithKnownFalsePositives() 97 BloomFilter<CharSequence> bf = BloomFilter.create( in testCreateAndCheckBloomFilterWithKnownFalsePositives64() 142 checkSanity(BloomFilter.create(HashTestUtils.BAD_FUNNEL, expectedInsertions, fpr)); in testBasic() 149 BloomFilter.create(Funnels.unencodedCharsFunnel(), -1); in testPreconditions() 153 BloomFilter.create(Funnels.unencodedCharsFunnel(), -1, 0.03); in testPreconditions() 157 BloomFilter.create(Funnels.unencodedCharsFunnel(), 1, 0.0); in testPreconditions() 161 BloomFilter.create(Funnels.unencodedCharsFunnel(), 1, 1.0); in testPreconditions() 170 BloomFilter.create(Funnels.unencodedCharsFunnel(), n, p); in testFailureWhenMoreThan255HashFunctionsAreNeeded() 177 tester.testAllPublicInstanceMethods(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100)); in testNullPointers() 212 BloomFilter.create(HashTestUtils.BAD_FUNNEL, Integer.MAX_VALUE, Double.MIN_VALUE); in testOptimalSize() [all …]
|