Home
last modified time | relevance | path

Searched refs:newValues (Results 1 – 25 of 30) sorted by relevance

12

/external/cldr/tools/java/org/unicode/cldr/util/
DUnicodeRelation.java90 Set<T> newValues = addValue(data.get(key), value); in add() local
91 if (newValues != null) { in add()
92 data.put(key, newValues); in add()
98 Set<T> newValues = addValue(data.get(key), value); in add() local
99 if (newValues != null) { in add()
100 data.put(key, newValues); in add()
106 Set<T> newValues = addValues(data.get(key), values); in addAll() local
107 if (newValues != null) { in addAll()
108 data.put(key, newValues); in addAll()
144 Set<T> newValues = make(oldValues); in addValue() local
[all …]
/external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
DSpriteAccessor.java35 public void setValues(Sprite target, int tweenType, float[] newValues) { in setValues() argument
37 case POSITION_XY: target.setPosition(newValues[0], newValues[1]); break; in setValues()
38 case SCALE_XY: target.setScale(newValues[0], newValues[1]); break; in setValues()
39 case VISIBILITY: target.setVisible(newValues[0] > 0); break; in setValues()
/external/grpc-grpc-java/context/src/main/java/io/grpc/
DPersistentHashArrayMappedTrie.java165 V[] newValues = Arrays.copyOf(values, keys.length); in put() local
167 newValues[keyIndex] = value; in put()
168 return new CollisionLeaf<K,V>(newKeys, newValues); in put()
172 V[] newValues = Arrays.copyOf(values, keys.length + 1); in put() local
174 newValues[keys.length] = value; in put()
175 return new CollisionLeaf<K,V>(newKeys, newValues); in put()
239 Node<K,V>[] newValues = (Node<K,V>[]) new Node<?,?>[values.length + 1]; in put() local
240 System.arraycopy(values, 0, newValues, 0, compressedIndex); in put()
241 newValues[compressedIndex] = new Leaf<K,V>(key, value); in put()
245 newValues, in put()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dppucd.cpp186 PreparsedUCD::getProps(UnicodeSet &newValues, UErrorCode &errorCode) { in getProps() argument
188 newValues.clear(); in getProps()
251 newValues=blockValues; in getProps()
255 newValues.remove((UChar32)UCHAR_BLOCK); in getProps()
279 if(!parseProperty(*props, field, newValues, errorCode)) { return NULL; } in getProps()
282 blockValues=newValues; in getProps()
286 if(newValues.contains(prop) && cpProps.binProps[prop]==blockProps.binProps[prop]) { in getProps()
287 newValues.remove(prop); in getProps()
292 if(newValues.contains(prop) && cpProps.intProps[index]==blockProps.intProps[index]) { in getProps()
293 newValues.remove(prop); in getProps()
[all …]
Dppucd.h135 const UniProps *getProps(UnicodeSet &newValues, UErrorCode &errorCode);
153 UBool parseProperty(UniProps &props, const char *field, UnicodeSet &newValues,
/external/proguard/src/proguard/evaluation/value/
DInstructionOffsetValue.java189 int[] newValues = new int[newLength]; in generalize() local
195 System.arraycopy(thisValues, 0, newValues, 0, thisValues.length); in generalize()
206 newValues[newIndex++] = thisValues[index]; in generalize()
212 System.arraycopy(otherValues, 0, newValues, newIndex, otherValues.length); in generalize()
214 return new InstructionOffsetValue(newValues); in generalize()
/external/eigen/Eigen/src/SparseCore/
DCompressedStorage.h182 internal::scoped_array<Scalar> newValues(m_allocatedSize);
186 internal::smart_copy(m_values, m_values +id, newValues.ptr());
192 internal::smart_copy(m_values +id, m_values +m_size, newValues.ptr() +id+1);
195 std::swap(m_values,newValues.ptr());
234 internal::scoped_array<Scalar> newValues(size); in reallocate()
238 internal::smart_copy(m_values, m_values+copySize, newValues.ptr()); in reallocate()
241 std::swap(m_values,newValues.ptr()); in reallocate()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DStringToIntTable.java106 int newValues[] = new int[m_mapSize]; in put() local
108 System.arraycopy(m_values, 0, newValues, 0, m_firstFree + 1); in put()
110 m_values = newValues; in put()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DStringToIntTable.java113 int newValues[] = new int[m_mapSize]; in put() local
115 System.arraycopy(m_values, 0, newValues, 0, m_firstFree + 1); in put()
117 m_values = newValues; in put()
/external/cldr/tools/java/org/unicode/cldr/tool/
DFindAttributeValueDifferences.java52 …M4<String, String, String, Boolean> newValues = ChainedMap.of(new TreeMap(), new TreeMap(), new Tr… in main() local
62 getActuals(current.make(locale, false), newValues); in main() local
66 Set<String> elements = new TreeSet<>(newValues.keySet()); in main()
70 … M3<String, String, Boolean> newSubmap = CldrUtility.ifNull(newValues.get(element), emptyM3); in main()
/external/cldr/tools/java/org/unicode/cldr/icu/
DCompareIcuOutput.java137 List<String[]> newValues = newData.get(rbPath); in analyseMatches() local
140 Collections.sort(newValues, comparator); in analyseMatches()
143 if (valuesDiffer(oldValues, newValues)) { in analyseMatches()
148 printValues(newValues, 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()
189 String[] newArray = newValues.get(i); in valuesDiffer()
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/primitives/
DMutableInteger.java31 public void setValues(MutableInteger target, int tweenType, float[] newValues) { in setValues() argument
32 target.value = (int) newValues[0]; in setValues()
DMutableFloat.java31 public void setValues(MutableFloat target, int tweenType, float[] newValues) { in setValues() argument
32 target.value = newValues[0]; in setValues()
/external/icu/icu4c/source/i18n/
Dsortkey.cpp60 CollationKey::CollationKey(const uint8_t* newValues, int32_t count) in CollationKey() argument
64 if (count < 0 || (newValues == NULL && count != 0) || in CollationKey()
71 uprv_memcpy(getBytes(), newValues, count); in CollationKey()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCompactByteArray.java94 byte newValues[]) in CompactByteArray() argument
101 if (index >= newValues.length+BLOCKCOUNT) in CompactByteArray()
105 values = newValues; in CompactByteArray()
DCompactCharArray.java95 char newValues[]) in CompactCharArray() argument
102 if (index >= newValues.length+BLOCKCOUNT) in CompactCharArray()
106 values = newValues; in CompactCharArray()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCompactByteArray.java92 byte newValues[]) in CompactByteArray() argument
99 if (index >= newValues.length+BLOCKCOUNT) in CompactByteArray()
103 values = newValues; in CompactByteArray()
DCompactCharArray.java93 char newValues[]) in CompactCharArray() argument
100 if (index >= newValues.length+BLOCKCOUNT) in CompactCharArray()
104 values = newValues; in CompactCharArray()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedListMultimap.java606 Iterator<? extends V> newValues = values.iterator(); in replaceValues() local
609 while (keyValues.hasNext() && newValues.hasNext()) { in replaceValues()
611 keyValues.set(newValues.next()); in replaceValues()
621 while (newValues.hasNext()) { in replaceValues()
622 keyValues.add(newValues.next()); in replaceValues()
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
DOpenIntToDoubleHashMap.java444 final double[] newValues = new double[newLength]; in growTable() local
452 newValues[index] = oldValues[i]; in growTable()
459 values = newValues; in growTable()
DOpenIntToFieldHashMap.java456 final T[] newValues = buildArray(newLength); in growTable() local
464 newValues[index] = oldValues[i]; in growTable()
471 values = newValues; in growTable()
/external/guava/guava/src/com/google/common/collect/
DLinkedListMultimap.java610 Iterator<? extends V> newValues = values.iterator(); in replaceValues() local
613 while (keyValues.hasNext() && newValues.hasNext()) { in replaceValues()
615 keyValues.set(newValues.next()); in replaceValues()
625 while (newValues.hasNext()) { in replaceValues()
626 keyValues.add(newValues.next()); in replaceValues()
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DTweenAccessor.java81 public void setValues(T target, int tweenType, float[] newValues); in setValues() argument
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DGrpcHttp2HeadersUtils.java222 AsciiString[] newValues = new AsciiString[newValuesLen]; in expandHeadersAndValues() local
224 System.arraycopy(values, 0, newValues, 0, values.length); in expandHeadersAndValues()
226 values = newValues; in expandHeadersAndValues()
/external/tensorflow/tensorflow/examples/ios/camera/
DCameraExampleViewController.mm325 NSMutableDictionary *newValues = [NSMutableDictionary dictionary];
332 [newValues setObject:valueObject forKey:labelObject];
336 [self setPredictionValues:newValues];
431 - (void)setPredictionValues:(NSDictionary *)newValues {
452 for (NSString *label in newValues) {
453 NSNumber *newPredictionValueObject = [newValues objectForKey:label];

12