Searched refs:copyOf (Results 1 - 25 of 117) sorted by relevance

12345

/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A DSymbolTable.cpp160 TSymbol::TSymbol(const TSymbol& copyOf) argument
162 name = NewPoolTString(copyOf.name->c_str());
163 uniqueId = copyOf.uniqueId;
166 TVariable::TVariable(const TVariable& copyOf, TStructureMap& remapper) : TSymbol(copyOf) argument
168 type.copyType(copyOf.type, remapper);
169 userType = copyOf.userType;
171 assert(copyOf.arrayInformationType == 0);
174 if (copyOf.unionArray) {
175 assert(!copyOf
190 TFunction(const TFunction& copyOf, TStructureMap& remapper) argument
222 copyTable(const TSymbolTable& copyOf) argument
[all...]
H A DTypes.h107 void copyType(const TType& copyOf, TStructureMap& remapper) argument
109 type = copyOf.type;
110 precision = copyOf.precision;
111 qualifier = copyOf.qualifier;
112 size = copyOf.size;
113 matrix = copyOf.matrix;
114 array = copyOf.array;
115 arraySize = copyOf.arraySize;
118 if (copyOf.structure) {
122 for (unsigned int i = 0; i < copyOf
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DAbstractImmutableSetTest.java56 protected abstract Set<String> copyOf(String[] elements); method in class:AbstractImmutableSetTest
57 protected abstract Set<String> copyOf(Collection<String> elements); method in class:AbstractImmutableSetTest
58 protected abstract Set<String> copyOf(Iterable<String> elements); method in class:AbstractImmutableSetTest
59 protected abstract Set<String> copyOf(Iterator<String> elements); method in class:AbstractImmutableSetTest
109 Set<String> set = copyOf(array);
116 Set<String> set = copyOf(array);
122 copyOf((String[]) null);
131 copyOf(array);
140 Set<String> set = copyOf(c);
147 Set<String> set = copyOf(
[all...]
H A DImmutableSetTest.java73 @Override protected Set<String> copyOf(String[] elements) { method in class:ImmutableSetTest
74 return ImmutableSet.copyOf(elements);
77 @Override protected Set<String> copyOf(Collection<String> elements) { method in class:ImmutableSetTest
78 return ImmutableSet.copyOf(elements);
81 @Override protected Set<String> copyOf(Iterable<String> elements) { method in class:ImmutableSetTest
82 return ImmutableSet.copyOf(elements);
85 @Override protected Set<String> copyOf(Iterator<String> elements) { method in class:ImmutableSetTest
86 return ImmutableSet.copyOf(elements);
90 ImmutableSet<String> set = ImmutableSet.copyOf(Lists.newArrayList("a", "a"));
167 ImmutableSet<String> copy = ImmutableSet.copyOf(sortedSe
[all...]
H A DImmutableMultimapAsMapImplementsMapTest.java46 return ImmutableMultimap.copyOf(delegate).asMap();
H A DImmutableSetMultimapAsMapImplementsMapTest.java46 return ImmutableSetMultimap.copyOf(delegate).asMap();
H A DImmutableMultisetTest.java60 return ImmutableMultiset.copyOf(elements);
72 ImmutableMultiset.copyOf(elements));
83 ImmutableMultiset.copyOf(elements).elementSet());
142 Multiset<String> multiset = ImmutableMultiset.copyOf(array);
148 Multiset<String> multiset = ImmutableMultiset.copyOf(array);
163 ImmutableMultiset.copyOf(array);
171 Multiset<String> multiset = ImmutableMultiset.copyOf(c);
177 Multiset<String> multiset = ImmutableMultiset.copyOf(c);
183 Multiset<String> multiset = ImmutableMultiset.copyOf(c);
190 ImmutableMultiset.copyOf(
[all...]
H A DImmutableSortedMultisetTest.java57 return ImmutableSortedMultiset.copyOf(elements);
71 return SerializableTester.reserialize(ImmutableSortedMultiset.copyOf(elements));
86 return SerializableTester.reserialize(ImmutableSortedMultiset.copyOf(elements)
143 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
149 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(array);
172 ImmutableSortedMultiset.copyOf(array);
180 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
186 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
192 Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
199 ImmutableSortedMultiset.copyOf(
[all...]
H A DImmutableClassToInstanceMapTest.java75 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in);
78 assertSame(map, ImmutableClassToInstanceMap.copyOf(map));
85 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in);
94 assertSame(map, ImmutableClassToInstanceMap.copyOf(map));
101 ImmutableClassToInstanceMap.copyOf(nullKey);
109 ImmutableClassToInstanceMap.copyOf(nullValue);
117 ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in);
124 ClassToInstanceMap<Number> map = ImmutableClassToInstanceMap.copyOf(in);
H A DImmutableSortedSetTest.java90 @Override protected SortedSet<String> copyOf(String[] elements) { method in class:ImmutableSortedSetTest
91 return ImmutableSortedSet.copyOf(elements);
94 @Override protected SortedSet<String> copyOf(Collection<String> elements) { method in class:ImmutableSortedSetTest
95 return ImmutableSortedSet.copyOf(elements);
98 @Override protected SortedSet<String> copyOf(Iterable<String> elements) { method in class:ImmutableSortedSetTest
99 return ImmutableSortedSet.copyOf(elements);
102 @Override protected SortedSet<String> copyOf(Iterator<String> elements) { method in class:ImmutableSortedSetTest
103 return ImmutableSortedSet.copyOf(elements);
431 copyOf(asList("e", "a", "f", "b", "d", "c"));
437 copyOf(asLis
[all...]
H A DImmutableListTest.java95 ImmutableList.copyOf(elements));
254 List<String> list = ImmutableList.copyOf(array);
260 List<String> list = ImmutableList.copyOf(array);
266 ImmutableList.copyOf((String[]) null);
275 ImmutableList.copyOf(array);
284 List<String> list = ImmutableList.copyOf(c);
290 List<String> list = ImmutableList.copyOf(c);
296 List<String> list = ImmutableList.copyOf(c);
299 list = ImmutableList.copyOf(mutableList);
307 ImmutableList.copyOf(
[all...]
H A DImmutableBiMapTest.java416 = ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap());
418 assertSame(copy, ImmutableBiMap.copyOf(copy));
424 = ImmutableBiMap.copyOf(Collections.singletonMap("one", 1));
426 assertSame(copy, ImmutableBiMap.copyOf(copy));
435 ImmutableBiMap<String, Integer> copy = ImmutableBiMap.copyOf(original);
437 assertSame(copy, ImmutableBiMap.copyOf(copy));
450 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(
457 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(
481 ImmutableBiMap.copyOf(map);
492 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf(
[all...]
/external/guava/guava/src/com/google/common/collect/
H A DImmutableSortedSet.java138 return copyOf(Ordering.natural(), Arrays.asList(e1, e2));
151 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3));
164 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4));
177 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5));
195 return copyOf(Ordering.natural(), all);
208 public static <E extends Comparable<? super E>> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet
210 return copyOf(Ordering.natural(), Arrays.asList(elements));
223 * ImmutableSortedSet.copyOf(s)} returns an {@code ImmutableSortedSet<String>}
239 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet
245 return copyOf(naturalOrde
277 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet
297 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet
315 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet
334 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet
358 public static <E> ImmutableSortedSet<E> copyOf( method in class:ImmutableSortedSet
[all...]
H A DImmutableSortedMultiset.java108 return copyOf(Ordering.natural(), Arrays.asList(e1, e2));
119 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3));
131 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4));
143 return copyOf(Ordering.natural(), Arrays.asList(e1, e2, e3, e4, e5));
165 return copyOf(Ordering.natural(), all);
174 public static <E extends Comparable<? super E>> ImmutableSortedMultiset<E> copyOf(E[] elements) { method in class:ImmutableSortedMultiset
175 return copyOf(Ordering.natural(), Arrays.asList(elements));
185 * ImmutableSortedMultiset.copyOf(s)} returns an {@code ImmutableSortedMultiset<String>}
200 public static <E> ImmutableSortedMultiset<E> copyOf(Iterable<? extends E> elements) { method in class:ImmutableSortedMultiset
205 return copyOf(naturalOrde
218 public static <E> ImmutableSortedMultiset<E> copyOf(Iterator<? extends E> elements) { method in class:ImmutableSortedMultiset
232 public static <E> ImmutableSortedMultiset<E> copyOf( method in class:ImmutableSortedMultiset
248 public static <E> ImmutableSortedMultiset<E> copyOf( method in class:ImmutableSortedMultiset
[all...]
H A DImmutableMultiset.java130 return copyOf(all);
141 * @deprecated use {@link #copyOf(Object[])}. <b>This method is scheduled for
147 return copyOf(Arrays.asList(elements));
154 * example, {@code ImmutableMultiset.copyOf([2, 3, 1, 3])} yields a multiset
160 public static <E> ImmutableMultiset<E> copyOf(E[] elements) { method in class:ImmutableMultiset
161 return copyOf(Arrays.asList(elements));
168 * example, {@code ImmutableMultiset.copyOf(Arrays.asList(2, 3, 1, 3))} yields
181 public static <E> ImmutableMultiset<E> copyOf( method in class:ImmutableMultiset
199 return copyOf(Arrays.asList(elements));
232 * {@code ImmutableMultiset.copyOf(Array
237 public static <E> ImmutableMultiset<E> copyOf( method in class:ImmutableMultiset
[all...]
H A DImmutableList.java210 * {@link #copyOf(Collection)}; otherwise, it behaves exactly as {@code
211 * copyOf(elements.iterator()}.
215 public static <E> ImmutableList<E> copyOf(Iterable<? extends E> elements) { method in class:ImmutableList
218 ? copyOf(Collections2.cast(elements))
219 : copyOf(elements.iterator());
230 * ImmutableList.copyOf(list)} returns an {@code ImmutableList<String>}
241 public static <E> ImmutableList<E> copyOf(Collection<? extends E> elements) { method in class:ImmutableList
255 public static <E> ImmutableList<E> copyOf(Iterator<? extends E> elements) { method in class:ImmutableList
265 public static <E> ImmutableList<E> copyOf(E[] elements) { method in class:ImmutableList
516 return copyOf(element
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DBiMapGenerators.java49 return ImmutableBiMap.copyOf(map).keySet();
60 return ImmutableBiMap.copyOf(map).values();
77 return ImmutableBiMap.copyOf(map).inverse().entrySet();
88 return ImmutableBiMap.copyOf(map).inverse().keySet();
99 return ImmutableBiMap.copyOf(map).inverse().values();
116 return ImmutableBiMap.copyOf(map).entrySet();
H A DListGenerators.java44 return ImmutableList.copyOf(elements);
72 return ImmutableList.copyOf(list).reverse();
83 return ImmutableList.copyOf(all)
95 return ImmutableList.copyOf(all)
111 return ImmutableList.copyOf(all)
125 return ImmutableList.copyOf(elements);
H A DSetGenerators.java58 return ImmutableSet.copyOf(elements);
70 return ImmutableSet.copyOf(elements);
88 return ImmutableSortedSet.copyOf(elements);
97 return ImmutableSortedSet.copyOf(list)
107 return ImmutableSortedSet.copyOf(list)
118 return ImmutableSortedSet.copyOf(list)
178 return ImmutableSortedSet.copyOf(elements);
185 return ImmutableSet.copyOf(elements).asList();
193 ImmutableSet<String> set = ImmutableSortedSet.copyOf(
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableSet.java88 return copyOf(all.iterator());
93 return copyOf(elements);
96 public static <E> ImmutableSet<E> copyOf(E[] elements) { method in class:ImmutableSet
108 public static <E> ImmutableSet<E> copyOf(Collection<? extends E> elements) { method in class:ImmutableSet
110 return copyOf(iterable);
113 public static <E> ImmutableSet<E> copyOf(Iterable<? extends E> elements) { method in class:ImmutableSet
120 return copyOf(elements.iterator());
123 public static <E> ImmutableSet<E> copyOf(Iterator<? extends E> elements) { method in class:ImmutableSet
218 return copyOf(contents.iterator());
/external/guava/guava-gwt/src/com/google/common/collect/
H A DRegularImmutableBiMap_CustomFieldSerializer.java45 * always have one or more elements, ImmutableBiMap.copyOf always return a
49 (RegularImmutableBiMap<Object, Object>) ImmutableBiMap.copyOf(entries);
H A DRegularImmutableList_CustomFieldSerializer.java46 * always have one or more elements, ImmutableList.copyOf always return
49 return (RegularImmutableList<Object>) ImmutableList.copyOf(elements);
H A DRegularImmutableMap_CustomFieldSerializer.java45 * always have two or more elements, ImmutableMap.copyOf always return
48 return (RegularImmutableMap<Object, Object>) ImmutableMap.copyOf(entries);
H A DRegularImmutableMultiset_CustomFieldSerializer.java44 * ImmutableMultiset.copyOf always return a RegularImmutableMultiset back.
47 .copyOf(elements);
H A DRegularImmutableSet_CustomFieldSerializer.java44 * always have two or more elements, ImmutableSet.copyOf always return
47 return (RegularImmutableSet<Object>) ImmutableSet.copyOf(elements);

Completed in 1853 milliseconds

12345