/external/cldr/tools/java/org/unicode/cldr/util/ |
D | UnicodeRelation.java | 138 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/ |
D | PrepareRootAnnotations.java | 22 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()
|
D | FindAttributeValueDifferences.java | 54 …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()
|
D | FindPreferredHours.java | 199 … 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/android/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapReplaceValuesTester.java | 77 List<V> oldValues = new ArrayList<>(multimap().get(k0())); in testReplaceValuesWithEmpty() local 80 assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values))); in testReplaceValuesWithEmpty() 82 assertEquals(size - oldValues.size(), multimap().size()); in testReplaceValuesWithEmpty() 88 List<V> oldValues = new ArrayList<>(multimap().get(k0())); in testReplaceValuesWithDuplicates() local 90 assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values))); in testReplaceValuesWithDuplicates() 91 assertEquals(size - oldValues.size() + multimap().get(k0()).size(), multimap().size()); in testReplaceValuesWithDuplicates()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
D | MultimapReplaceValuesTester.java | 77 List<V> oldValues = new ArrayList<>(multimap().get(k0())); in testReplaceValuesWithEmpty() local 80 assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values))); in testReplaceValuesWithEmpty() 82 assertEquals(size - oldValues.size(), multimap().size()); in testReplaceValuesWithEmpty() 88 List<V> oldValues = new ArrayList<>(multimap().get(k0())); in testReplaceValuesWithDuplicates() local 90 assertEquals(oldValues, new ArrayList<V>(multimap().replaceValues(k0(), values))); in testReplaceValuesWithDuplicates() 91 assertEquals(size - oldValues.size() + multimap().get(k0()).size(), multimap().size()); in testReplaceValuesWithDuplicates()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CalendarCache.java | 77 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/ |
D | CalendarCache.java | 75 long[] oldValues = values; in rehash() local 86 if (oldValues[i] != EMPTY) { in rehash() 87 put(oldKeys[i], oldValues[i]); in rehash()
|
/external/OpenCL-CTS/test_conformance/c11_atomics/ |
D | test_atomics.cpp | 55 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 134 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 225 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 228 … oldValues[tid] = host_atomic_load<HostAtomicType, HostDataType>(&destMemory[tid], MemoryOrder()); in HostFunction() 325 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 327 oldValues[tid] = host_atomic_exchange(&destMemory[0], (HostDataType)tid, MemoryOrder()); in HostFunction() 329 oldValues[tid] = host_atomic_exchange(&destMemory[0], oldValues[tid], MemoryOrder()); in HostFunction() 488 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 491 oldValues[tid] = (HostDataType)tid; in HostFunction() 495 …if(host_atomic_compare_exchange(&destMemory[0], &expected, oldValues[tid], MemoryOrder(), MemoryOr… in HostFunction() [all …]
|
D | common.h | 123 HostDataType *oldValues; member 128 …readContext->tid, threadContext->threadCount, threadContext->destMemory, threadContext->oldValues); in HostThreadFunction() 268 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 1007 hostThreadContexts[t].oldValues = UseSVM() ? svmDataBuffer : &refValues[0]; in ExecuteSingleTest()
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | CompareIcuOutput.java | 136 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/deqp/framework/randomshaders/ |
D | rsgVariableManager.cpp | 444 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/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TextFileReader.java | 43 E processLine(String line, E oldValues); in processLine() argument
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | LinkedListMultimap.java | 616 List<V> oldValues = getCopy(key); in replaceValues() local 637 return oldValues; in replaceValues() 652 List<V> oldValues = getCopy(key); in removeAll() local 654 return oldValues; in removeAll()
|
D | AbstractMapBasedMultimap.java | 226 Collection<V> oldValues = createCollection(); in replaceValues() local 227 oldValues.addAll(collection); in replaceValues() 238 return unmodifiableCollectionSubclass(oldValues); in replaceValues()
|
/external/guava/guava/src/com/google/common/collect/ |
D | LinkedListMultimap.java | 617 List<V> oldValues = getCopy(key); in replaceValues() local 638 return oldValues; in replaceValues() 653 List<V> oldValues = getCopy(key); in removeAll() local 655 return oldValues; in removeAll()
|
D | AbstractMapBasedMultimap.java | 228 Collection<V> oldValues = createCollection(); in replaceValues() local 229 oldValues.addAll(collection); in replaceValues() 240 return unmodifiableCollectionSubclass(oldValues); in replaceValues()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
D | OpenIntToDoubleHashMap.java | 439 final double[] oldValues = values; in growTable() local 452 newValues[index] = oldValues[i]; in growTable()
|
D | OpenIntToFieldHashMap.java | 451 final T[] oldValues = values; in growTable() local 464 newValues[index] = oldValues[i]; in growTable()
|