Home
last modified time | relevance | path

Searched refs:oldValues (Results 1 – 18 of 18) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DUnicodeRelation.java138 private Set<T> addValue(Set<T> oldValues, T value) { in addValue() argument
139 if (oldValues == null) { in addValue()
141 } else if (oldValues.contains(value)) { in addValue()
144 Set<T> newValues = make(oldValues); in addValue()
150 private final Set<T> make(Collection<T> oldValues) { in make() argument
152 newValues.addAll(oldValues); in make()
156 private Set<T> addValues(Set<T> oldValues, Collection<T> values) { in addValues() argument
157 if (oldValues == null) { in addValues()
163 } else if (oldValues.containsAll(values)) { in addValues()
166 Set<T> newValues = make(oldValues); in addValues()
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DPrepareRootAnnotations.java22 UnicodeMap<String> oldValues = new UnicodeMap<>(); in main() local
30 oldValues.put(cp, value); in main()
33 int counter = oldValues.size(); in main()
35 String value = oldValues.get(cp); in main()
37 oldValues.put(cp, value = "E" + (counter++)); in main()
DFindAttributeValueDifferences.java54 …M4<String, String, String, Boolean> oldValues = ChainedMap.of(new TreeMap(), new TreeMap(), new Tr… in main() local
63 getActuals(last.make(locale, false), oldValues); in main() local
67 elements.addAll(oldValues.keySet()); in main()
71 … M3<String, String, Boolean> oldSubmap = CldrUtility.ifNull(oldValues.get(element), emptyM3); in main()
DFindPreferredHours.java199 … LinkedHashSet<Entry<Character, String>> oldValues = new LinkedHashSet<Entry<Character, String>>(); in main() local
203 oldValues.add(x); in main()
207 for (Entry<Character, String> x : oldValues) { in main()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapReplaceValuesTester.java82 List<V> oldValues = new ArrayList<V>(multimap().get(key)); in testReplaceValuesWithEmpty() local
85 assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(key, values))); in testReplaceValuesWithEmpty()
87 assertEquals(size - oldValues.size(), multimap().size()); in testReplaceValuesWithEmpty()
94 List<V> oldValues = new ArrayList<V>(multimap().get(key)); in testReplaceValuesWithDuplicates() local
99 assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(key, values))); in testReplaceValuesWithDuplicates()
101 size - oldValues.size() + multimap().get(key).size(), in testReplaceValuesWithDuplicates()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCalendarCache.java77 long[] oldValues = values; in rehash() local
88 if (oldValues[i] != EMPTY) { in rehash()
89 put(oldKeys[i], oldValues[i]); in rehash()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarCache.java75 long[] oldValues = values; in rehash() local
86 if (oldValues[i] != EMPTY) { in rehash()
87 put(oldKeys[i], oldValues[i]); in rehash()
/external/cldr/tools/java/org/unicode/cldr/icu/
DCompareIcuOutput.java136 List<String[]> oldValues = oldData.get(rbPath); in analyseMatches() local
139 Collections.sort(oldValues, comparator); in analyseMatches()
143 if (valuesDiffer(oldValues, newValues)) { in analyseMatches()
146 printValues(oldValues, buffer); in analyseMatches()
184 private static boolean valuesDiffer(List<String[]> oldValues, List<String[]> newValues) { in valuesDiffer() argument
185 if (oldValues.size() != newValues.size()) return true; in valuesDiffer()
187 for (int i = 0; i < oldValues.size(); i++) { in valuesDiffer()
188 String[] oldArray = oldValues.get(i); in valuesDiffer()
/external/spirv-llvm/test/SPIRV/transcoding/
DAtomicCompareExchange_cl20.ll56 define spir_kernel void @atomic_in_loop(i32 addrspace(1)* %destMemory, i32 addrspace(1)* %oldValues
59 %oldValues.addr = alloca i32 addrspace(1)*, align 8
64 store i32 addrspace(1)* %oldValues, i32 addrspace(1)** %oldValues.addr, align 8
78 %4 = load i32 addrspace(1)*, i32 addrspace(1)** %oldValues.addr, align 8
/external/deqp/framework/randomshaders/
DrsgVariableManager.cpp444 map<const Variable*, const ValueEntry*> oldValues; in popValueScope() local
448 oldValues[(*valueIter)->getVariable()] = *valueIter; in popValueScope()
468 if (oldValues.find(var) != oldValues.end()) in popValueScope()
470 const ValueEntry* oldEntry = oldValues[var]; in popValueScope()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedListMultimap.java604 List<V> oldValues = getCopy(key); in replaceValues() local
625 return oldValues; in replaceValues()
640 List<V> oldValues = getCopy(key); in removeAll() local
642 return oldValues; in removeAll()
DAbstractMapBasedMultimap.java232 Collection<V> oldValues = createCollection(); in replaceValues() local
233 oldValues.addAll(collection); in replaceValues()
244 return unmodifiableCollectionSubclass(oldValues); in replaceValues()
/external/spirv-llvm/test/SPIRV/
Dmemory_access.ll39 …void @test_load_store(i32 addrspace(1)* %destMemory, i32 addrspace(1)* %oldValues, i32 %newValue) …
42 %0 = addrspacecast i32 addrspace(1)* %oldValues to i32 addrspace(4)*
/external/guava/guava/src/com/google/common/collect/
DLinkedListMultimap.java608 List<V> oldValues = getCopy(key); in replaceValues() local
629 return oldValues; in replaceValues()
644 List<V> oldValues = getCopy(key); in removeAll() local
646 return oldValues; in removeAll()
DAbstractMapBasedMultimap.java235 Collection<V> oldValues = createCollection(); in replaceValues() local
236 oldValues.addAll(collection); in replaceValues()
247 return unmodifiableCollectionSubclass(oldValues); in replaceValues()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTextFileReader.java43 E processLine(String line, E oldValues); in processLine() argument
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DOpenIntToDoubleHashMap.java439 final double[] oldValues = values; in growTable() local
452 newValues[index] = oldValues[i]; in growTable()
DOpenIntToFieldHashMap.java451 final T[] oldValues = values; in growTable() local
464 newValues[index] = oldValues[i]; in growTable()