/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
D | SymbolTable.cpp | 160 TSymbol::TSymbol(const TSymbol& copyOf) in TSymbol() argument 162 name = NewPoolTString(copyOf.name->c_str()); in TSymbol() 163 uniqueId = copyOf.uniqueId; in TSymbol() 166 TVariable::TVariable(const TVariable& copyOf, TStructureMap& remapper) : TSymbol(copyOf) in TVariable() argument 168 type.copyType(copyOf.type, remapper); in TVariable() 169 userType = copyOf.userType; in TVariable() 171 assert(copyOf.arrayInformationType == 0); in TVariable() 174 if (copyOf.unionArray) { in TVariable() 175 assert(!copyOf.type.getStruct()); in TVariable() 176 assert(copyOf.type.getObjectSize() == 1); in TVariable() [all …]
|
D | Types.h | 107 void copyType(const TType& copyOf, TStructureMap& remapper) in copyType() argument 109 type = copyOf.type; in copyType() 110 precision = copyOf.precision; in copyType() 111 qualifier = copyOf.qualifier; in copyType() 112 size = copyOf.size; in copyType() 113 matrix = copyOf.matrix; in copyType() 114 array = copyOf.array; in copyType() 115 arraySize = copyOf.arraySize; in copyType() 118 if (copyOf.structure) { in copyType() 122 for (unsigned int i = 0; i < copyOf.structure->size(); ++i) { in copyType() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | AbstractImmutableSetTest.java | 56 protected abstract Set<String> copyOf(String[] elements); in copyOf() method in AbstractImmutableSetTest 57 protected abstract Set<String> copyOf(Collection<String> elements); in copyOf() method in AbstractImmutableSetTest 58 protected abstract Set<String> copyOf(Iterable<String> elements); in copyOf() method in AbstractImmutableSetTest 59 protected abstract Set<String> copyOf(Iterator<String> elements); in copyOf() method in AbstractImmutableSetTest 109 Set<String> set = copyOf(array); in testCopyOf_emptyArray() 116 Set<String> set = copyOf(array); in testCopyOf_arrayOfOneElement() 122 copyOf((String[]) null); in testCopyOf_nullArray() 131 copyOf(array); in testCopyOf_arrayContainingOnlyNull() 140 Set<String> set = copyOf(c); in testCopyOf_collection_empty() 147 Set<String> set = copyOf(c); in testCopyOf_collection_oneElement() [all …]
|
D | ImmutableMultisetTest.java | 60 return ImmutableMultiset.copyOf(elements); in suite() 72 ImmutableMultiset.copyOf(elements)); in suite() 83 ImmutableMultiset.copyOf(elements).elementSet()); in suite() 142 Multiset<String> multiset = ImmutableMultiset.copyOf(array); in testCreation_emptyArray() 148 Multiset<String> multiset = ImmutableMultiset.copyOf(array); in testCreation_arrayOfOneElement() 163 ImmutableMultiset.copyOf(array); in testCreation_arrayContainingOnlyNull() 171 Multiset<String> multiset = ImmutableMultiset.copyOf(c); in testCopyOf_collection_empty() 177 Multiset<String> multiset = ImmutableMultiset.copyOf(c); in testCopyOf_collection_oneElement() 183 Multiset<String> multiset = ImmutableMultiset.copyOf(c); in testCopyOf_collection_general() 190 ImmutableMultiset.copyOf(c); in testCopyOf_collectionContainingNull() [all …]
|
D | ImmutableSortedMultisetTest.java | 57 return ImmutableSortedMultiset.copyOf(elements); in suite() 71 return SerializableTester.reserialize(ImmutableSortedMultiset.copyOf(elements)); in suite() 86 return SerializableTester.reserialize(ImmutableSortedMultiset.copyOf(elements) in suite() 143 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array); in testCreation_emptyArray() 149 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array); in testCreation_arrayOfOneElement() 172 ImmutableSortedMultiset.copyOf(array); in testCreation_arrayContainingOnlyNull() 180 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c); in testCopyOf_collection_empty() 186 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c); in testCopyOf_collection_oneElement() 192 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c); in testCopyOf_collection_general() 199 ImmutableSortedMultiset.copyOf(c); in testCopyOf_collectionContainingNull() [all …]
|
D | ImmutableSetTest.java | 73 @Override protected Set<String> copyOf(String[] elements) { in copyOf() method in ImmutableSetTest 74 return ImmutableSet.copyOf(elements); in copyOf() 77 @Override protected Set<String> copyOf(Collection<String> elements) { in copyOf() method in ImmutableSetTest 78 return ImmutableSet.copyOf(elements); in copyOf() 81 @Override protected Set<String> copyOf(Iterable<String> elements) { in copyOf() method in ImmutableSetTest 82 return ImmutableSet.copyOf(elements); in copyOf() 85 @Override protected Set<String> copyOf(Iterator<String> elements) { in copyOf() method in ImmutableSetTest 86 return ImmutableSet.copyOf(elements); in copyOf() 90 ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a")); in testCreation_allDuplicates() 167 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSet); in testCopyOf_copiesImmutableSortedSet()
|
D | ImmutableSortedSetTest.java | 90 @Override protected SortedSet<String> copyOf(String[] elements) { in copyOf() method in ImmutableSortedSetTest 91 return ImmutableSortedSet.copyOf(elements); in copyOf() 94 @Override protected SortedSet<String> copyOf(Collection<String> elements) { in copyOf() method in ImmutableSortedSetTest 95 return ImmutableSortedSet.copyOf(elements); in copyOf() 98 @Override protected SortedSet<String> copyOf(Iterable<String> elements) { in copyOf() method in ImmutableSortedSetTest 99 return ImmutableSortedSet.copyOf(elements); in copyOf() 102 @Override protected SortedSet<String> copyOf(Iterator<String> elements) { in copyOf() method in ImmutableSortedSetTest 103 return ImmutableSortedSet.copyOf(elements); in copyOf() 431 copyOf(asList("e", "a", "f", "b", "d", "c")); in testCopyOf_ordering() 437 copyOf(asList("e", "a", "e", "f", "b", "b", "d", "a", "c")); in testCopyOf_ordering_dupes() [all …]
|
D | ImmutableListTest.java | 95 ImmutableList.copyOf(elements)); in suite() 254 List<String> list = ImmutableList.copyOf(array); in testCopyOf_emptyArray() 260 List<String> list = ImmutableList.copyOf(array); in testCopyOf_arrayOfOneElement() 266 ImmutableList.copyOf((String[]) null); in testCopyOf_nullArray() 275 ImmutableList.copyOf(array); in testCopyOf_arrayContainingOnlyNull() 284 List<String> list = ImmutableList.copyOf(c); in testCopyOf_collection_empty() 290 List<String> list = ImmutableList.copyOf(c); in testCopyOf_collection_oneElement() 296 List<String> list = ImmutableList.copyOf(c); in testCopyOf_collection_general() 299 list = ImmutableList.copyOf(mutableList); in testCopyOf_collection_general() 307 ImmutableList.copyOf(c); in testCopyOf_collectionContainingNull() [all …]
|
D | ImmutableClassToInstanceMapTest.java | 75 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_map_empty() 78 assertSame(map, ImmutableClassToInstanceMap.copyOf(map)); in testCopyOf_map_empty() 85 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_map_valid() 94 assertSame(map, ImmutableClassToInstanceMap.copyOf(map)); in testCopyOf_map_valid() 101 ImmutableClassToInstanceMap.copyOf(nullKey); in testCopyOf_map_nulls() 109 ImmutableClassToInstanceMap.copyOf(nullValue); in testCopyOf_map_nulls() 117 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_imap_empty() 124 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in); in testCopyOf_imap_valid()
|
D | ImmutableBiMapTest.java | 416 = ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap()); in testCopyOfEmptyMap() 418 assertSame(copy, ImmutableBiMap.copyOf(copy)); in testCopyOfEmptyMap() 424 = ImmutableBiMap.copyOf(Collections.singletonMap("one", 1)); in testCopyOfSingletonMap() 426 assertSame(copy, ImmutableBiMap.copyOf(copy)); in testCopyOfSingletonMap() 435 ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(original); in testCopyOf() 437 assertSame(copy, ImmutableBiMap.copyOf(copy)); in testCopyOf() 450 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( in testFromHashMap() 457 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( in testFromImmutableMap() 481 ImmutableBiMap.copyOf(map); in testDuplicateValues() 492 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( in testForcePut() [all …]
|
D | ImmutableSortedMapTest.java | 540 = ImmutableSortedMap.copyOf(Collections.<String, Integer>emptyMap()); in testCopyOfEmptyMap() 542 assertSame(copy, ImmutableSortedMap.copyOf(copy)); in testCopyOfEmptyMap() 548 = ImmutableSortedMap.copyOf(Collections.singletonMap("one", 1)); in testCopyOfSingletonMap() 550 assertSame(copy, ImmutableSortedMap.copyOf(copy)); in testCopyOfSingletonMap() 561 = ImmutableSortedMap.copyOf(original); in testCopyOf() 563 assertSame(copy, ImmutableSortedMap.copyOf(copy)); in testCopyOf() 575 = ImmutableSortedMap.copyOf(original, comparator); in testCopyOfExplicitComparator() 577 assertSame(copy, ImmutableSortedMap.copyOf(copy, comparator)); in testCopyOfExplicitComparator() 586 = ImmutableSortedMap.copyOf(original, comparator); in testCopyOfImmutableSortedSetDifferentComparator() 588 assertSame(copy, ImmutableSortedMap.copyOf(copy, comparator)); in testCopyOfImmutableSortedSetDifferentComparator() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableSortedSet.java | 138 return copyOf(Ordering.natural(), Arrays.asList(e1, e2)); in of() 151 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3)); in of() 164 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4)); in of() 177 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5)); in of() 195 return copyOf(Ordering.natural(), all); in of() 208 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet 210 return copyOf(Ordering.natural(), Arrays.asList(elements)); in copyOf() 239 public static <E> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet 245 return copyOf(naturalOrder, elements); in copyOf() 277 public static <E> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet [all …]
|
D | ImmutableSortedMultiset.java | 108 return copyOf(Ordering.natural(), Arrays.asList(e1, e2)); in of() 119 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3)); in of() 131 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4)); in of() 143 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5)); in of() 165 return copyOf(Ordering.natural(), all); in of() 174 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> copyOf(E[] elements) { in copyOf() method in ImmutableSortedMultiset 175 return copyOf(Ordering.natural(), Arrays.asList(elements)); in copyOf() 200 public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) { in copyOf() method in ImmutableSortedMultiset 205 return copyOf(naturalOrder, elements); in copyOf() 218 public static <E> ImmutableSortedMultiset<E> copyOf(Iterator<? extends E> elements) { in copyOf() method in ImmutableSortedMultiset [all …]
|
D | ImmutableMultiset.java | 130 return copyOf(all); in of() 147 return copyOf(Arrays.asList(elements)); in of() 160 public static <E> ImmutableMultiset<E> copyOf(E[] elements) { in copyOf() method in ImmutableMultiset 161 return copyOf(Arrays.asList(elements)); in copyOf() 181 public static <E> ImmutableMultiset<E> copyOf( in copyOf() method in ImmutableMultiset 199 return copyOf(Arrays.asList(elements)); in copyOfInternal() 237 public static <E> ImmutableMultiset<E> copyOf( in copyOf() method in ImmutableMultiset 479 return ImmutableMultiset.copyOf(multiset); in readResolve() 629 return copyOf(contents); in build()
|
D | ImmutableSet.java | 240 public static <E> ImmutableSet<E> copyOf(E[] elements) { 270 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { 272 ? copyOf(Collections2.cast(elements)) 273 : copyOf(elements.iterator()); 283 public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) { 320 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { 518 return copyOf(elements); 627 return copyOf(contents);
|
D | ImmutableList.java | 215 public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) { in copyOf() method in ImmutableList 218 ? copyOf(Collections2.cast(elements)) in copyOf() 219 : copyOf(elements.iterator()); in copyOf() 241 public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) { in copyOf() method in ImmutableList 255 public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) { in copyOf() method in ImmutableList 265 public static <E> ImmutableList<E> copyOf(E[] elements) { in copyOf() method in ImmutableList 516 return copyOf(elements); 624 return copyOf(contents);
|
D | ImmutableSetMultimap.java | 278 return copyOf(builderMultimap, valueComparator); in build() 296 public static <K, V> ImmutableSetMultimap<K, V> copyOf( in copyOf() method in ImmutableSetMultimap 298 return copyOf(multimap, null); in copyOf() 301 private static <K, V> ImmutableSetMultimap<K, V> copyOf( in copyOf() method in ImmutableSetMultimap 326 ? ImmutableSet.copyOf(values) in copyOf() 327 : ImmutableSortedSet.copyOf(valueComparator, values); in copyOf() 425 ? (entries = ImmutableSet.copyOf(super.entries())) in entries() 462 ImmutableSet<Object> valueSet = ImmutableSet.copyOf(array); in readObject()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableSet.java | 88 return copyOf(all.iterator()); in of() 93 return copyOf(elements); in of() 96 public static <E> ImmutableSet<E> copyOf(E[] elements) { in copyOf() method in ImmutableSet 108 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { in copyOf() method in ImmutableSet 110 return copyOf(iterable); in copyOf() 113 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { in copyOf() method in ImmutableSet 120 return copyOf(elements.iterator()); in copyOf() 123 public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) { in copyOf() method in ImmutableSet 218 return copyOf(contents.iterator()); in build()
|
D | ImmutableList.java | 146 public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) { in copyOf() method in ImmutableList 149 ? copyOf((Collection<? extends E>) elements) in copyOf() 150 : copyOf(elements.iterator()); in copyOf() 153 public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) { in copyOf() method in ImmutableList 157 public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) { in copyOf() method in ImmutableList 170 public static <E> ImmutableList<E> copyOf(E[] elements) { in copyOf() method in ImmutableList 172 return copyOf(Arrays.asList(elements)); in copyOf() 315 return copyOf(contents); in build()
|
D | ImmutableSetMultimap.java | 273 return copyOf(builderMultimap, valueComparator); in build() 291 public static <K, V> ImmutableSetMultimap<K, V> copyOf( in copyOf() method in ImmutableSetMultimap 293 return copyOf(multimap, null); in copyOf() 296 private static <K, V> ImmutableSetMultimap<K, V> copyOf( in copyOf() method in ImmutableSetMultimap 321 ? ImmutableSet.copyOf(values) in copyOf() 322 : ImmutableSortedSet.copyOf(valueComparator, values); in copyOf() 420 ? (entries = ImmutableSet.copyOf(super.entries())) in entries()
|
D | ImmutableSortedSet.java | 120 return copyOf(elements); in of() 139 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet 144 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet 149 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet 154 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet 159 public static <E> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet 165 public static <E> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet 171 public static <E> ImmutableSortedSet<E> copyOf( in copyOf() method in ImmutableSortedSet
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | BiMapGenerators.java | 49 return ImmutableBiMap.copyOf(map).keySet(); in create() 60 return ImmutableBiMap.copyOf(map).values(); in create() 77 return ImmutableBiMap.copyOf(map).inverse().entrySet(); in createFromEntries() 88 return ImmutableBiMap.copyOf(map).inverse().keySet(); in create() 99 return ImmutableBiMap.copyOf(map).inverse().values(); in create() 116 return ImmutableBiMap.copyOf(map).entrySet(); in createFromEntries()
|
D | ListGenerators.java | 44 return ImmutableList.copyOf(elements); in create() 72 return ImmutableList.copyOf(list).reverse(); in create() 83 return ImmutableList.copyOf(all) in create() 95 return ImmutableList.copyOf(all) in create() 111 return ImmutableList.copyOf(all) in create() 125 return ImmutableList.copyOf(elements); in create()
|
D | SetGenerators.java | 58 return ImmutableSet.copyOf(elements); in create() 70 return ImmutableSet.copyOf(elements); in create() 88 return ImmutableSortedSet.copyOf(elements); in create() 97 return ImmutableSortedSet.copyOf(list) in create() 107 return ImmutableSortedSet.copyOf(list) in create() 118 return ImmutableSortedSet.copyOf(list) in create() 178 return ImmutableSortedSet.copyOf(elements); in create() 185 return ImmutableSet.copyOf(elements).asList(); in create() 193 ImmutableSet<String> set = ImmutableSortedSet.copyOf( in create()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | ArraysTest.java | 2624 byte[] result = Arrays.copyOf(byteArray, arraySize*2); in test_copyOf_$BI() 2632 result = Arrays.copyOf(byteArray, arraySize/2); in test_copyOf_$BI() 2638 Arrays.copyOf((byte[])null, arraySize); in test_copyOf_$BI() 2644 Arrays.copyOf(byteArray, -1); in test_copyOf_$BI() 2650 Arrays.copyOf((byte[])null, -1); in test_copyOf_$BI() 2661 short[] result = Arrays.copyOf(shortArray, arraySize*2); in test_copyOf_$SI() 2669 result = Arrays.copyOf(shortArray, arraySize/2); in test_copyOf_$SI() 2675 Arrays.copyOf((short[])null, arraySize); in test_copyOf_$SI() 2681 Arrays.copyOf(shortArray, -1); in test_copyOf_$SI() 2687 Arrays.copyOf((short[])null, -1); in test_copyOf_$SI() [all …]
|