/external/cldr/tools/java/org/unicode/cldr/util/ |
D | UnicodeRelation.java | 139 private Set<T> addValue(Set<T> oldValues, T value) { in addValue() argument 140 if (oldValues == null) { in addValue() 142 } else if (oldValues.contains(value)) { in addValue() 145 Set<T> newValues = make(oldValues); in addValue() 151 private final Set<T> make(Collection<T> oldValues) { in make() argument 153 newValues.addAll(oldValues); in make() 157 private Set<T> addValues(Set<T> oldValues, Collection<T> values) { in addValues() argument 158 if (oldValues == null) { in addValues() 164 } else if (oldValues.containsAll(values)) { in addValues() 167 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<>(); 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/ |
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/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/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 | 61 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 140 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 246 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 249 … oldValues[tid] = host_atomic_load<HostAtomicType, HostDataType>(&destMemory[tid], MemoryOrder()); in HostFunction() 346 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 348 oldValues[tid] = host_atomic_exchange(&destMemory[0], (HostDataType)tid, MemoryOrder()); in HostFunction() 350 oldValues[tid] = host_atomic_exchange(&destMemory[0], oldValues[tid], MemoryOrder()); in HostFunction() 518 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 521 oldValues[tid] = (HostDataType)tid; in HostFunction() 525 …if(host_atomic_compare_exchange(&destMemory[0], &expected, oldValues[tid], MemoryOrder(), MemoryOr… in HostFunction() [all …]
|
D | common.h | 130 HostDataType *oldValues; member 135 …readContext->tid, threadContext->threadCount, threadContext->destMemory, threadContext->oldValues); in HostThreadFunction() 275 …ion(cl_uint tid, cl_uint threadCount, volatile HostAtomicType *destMemory, HostDataType *oldValues) in HostFunction() argument 1164 hostThreadContexts[t].oldValues = UseSVM() ? svmDataBuffer : &refValues[0]; in ExecuteSingleTest()
|
/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 | 225 Collection<V> oldValues = createCollection(); in replaceValues() local 226 oldValues.addAll(collection); in replaceValues() 237 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 | 227 Collection<V> oldValues = createCollection(); in replaceValues() local 228 oldValues.addAll(collection); in replaceValues() 239 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()
|
/external/llvm-project/lld/ELF/ |
D | LinkerScript.cpp | 240 getChangedSymbolAssignment(const SymbolAssignmentMap &oldValues) { in getChangedSymbolAssignment() argument 242 for (auto &it : oldValues) { in getChangedSymbolAssignment() 1218 SymbolAssignmentMap oldValues = getSymbolAssignmentValues(sectionCommands); in assignAddresses() local 1230 return getChangedSymbolAssignment(oldValues); in assignAddresses()
|