/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
D | GetValues002Test.java | 35 Value oldValue = Value.createBoolean(StackTrace002Debuggee.BOOLEAN_PARAM_VALUE); in testGetValues001_Boolean() local 37 suspensionMethodInfo.addVariable("param", oldValue); in testGetValues001_Boolean() 39 methodInfo.addVariable("param", oldValue); in testGetValues001_Boolean() 83 Value oldValue = Value.createShort(StackTrace002Debuggee.SHORT_PARAM_VALUE); in testGetValues004_Short() local 85 suspensionMethodInfo.addVariable("param", oldValue); in testGetValues004_Short() 87 methodInfo.addVariable("param", oldValue); in testGetValues004_Short() 99 Value oldValue = Value.createInt(StackTrace002Debuggee.INT_PARAM_VALUE); in testGetValues005_Int() local 101 suspensionMethodInfo.addVariable("param", oldValue); in testGetValues005_Int() 103 methodInfo.addVariable("param", oldValue); in testGetValues005_Int() 115 Value oldValue = Value.createInt(StackTrace002Debuggee.INT_PARAM_VALUE); in testGetValues005_Int2() local [all …]
|
D | SetValues002Test.java | 35 Value oldValue = Value.createBoolean(StackTrace002Debuggee.BOOLEAN_PARAM_VALUE); in testSetValues001_Boolean() local 38 suspensionMethodInfo.addVariable("param", oldValue, newValue); in testSetValues001_Boolean() 40 methodInfo.addVariable("param", oldValue, newValue); in testSetValues001_Boolean() 52 Value oldValue = Value.createByte(StackTrace002Debuggee.BYTE_PARAM_VALUE); in testSetValues002_Byte() local 55 suspensionMethodInfo.addVariable("param", oldValue, newValue); in testSetValues002_Byte() 57 methodInfo.addVariable("param", oldValue, newValue); in testSetValues002_Byte() 69 Value oldValue = Value.createChar(StackTrace002Debuggee.CHAR_PARAM_VALUE); in testSetValues003_Char() local 72 suspensionMethodInfo.addVariable("param", oldValue, newValue); in testSetValues003_Char() 74 methodInfo.addVariable("param", oldValue, newValue); in testSetValues003_Char() 86 Value oldValue = Value.createShort(StackTrace002Debuggee.SHORT_PARAM_VALUE); in testSetValues004_Short() local [all …]
|
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/ |
D | PropertyChangeSupportTest.java | 333 Object oldValue = new Object(); in testRemovePropertyChangeListener_PropertyChangeListener_String_AllRegistered() local 336 "myProp", oldValue, newValue); in testRemovePropertyChangeListener_PropertyChangeListener_String_AllRegistered() 343 sup.firePropertyChange("myProp", oldValue, newValue); in testRemovePropertyChangeListener_PropertyChangeListener_String_AllRegistered() 606 Object oldValue = new Object(); in testFirePropertyChange_Object_Normal() local 609 "myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal() 611 "myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal() 615 "myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal() 620 sup.firePropertyChange("myProp", oldValue, newValue); in testFirePropertyChange_Object_Normal() 635 Object oldValue = newValue; in testFirePropertyChange_Object_EqualValues() local 638 "myProp", oldValue, newValue); in testFirePropertyChange_Object_EqualValues() [all …]
|
D | PropertyChangeEventTest.java | 37 Object oldValue = new Object(); in testConstructor_Normal() local 41 oldValue, newValue); in testConstructor_Normal() 44 assertSame(oldValue, event.getOldValue()); in testConstructor_Normal() 69 Object oldValue = new Object(); in testConstructor_NullProperty() local 72 oldValue, newValue); in testConstructor_NullProperty() 75 assertSame(oldValue, event.getOldValue()); in testConstructor_NullProperty() 97 Object oldValue = new Object(); in testSetPropagationId_Normal() local 101 oldValue, newValue); in testSetPropagationId_Normal() 109 assertSame(oldValue, event.getOldValue()); in testSetPropagationId_Normal() 119 Object oldValue = new Object(); in testSetPropagationId_Null() local [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | AtomicLongMap.java | 116 long oldValue = atomic.get(); in addAndGet() local 117 if (oldValue == 0L) { in addAndGet() 126 long newValue = oldValue + delta; in addAndGet() 127 if (atomic.compareAndSet(oldValue, newValue)) { in addAndGet() 165 long oldValue = atomic.get(); in getAndAdd() local 166 if (oldValue == 0L) { in getAndAdd() 175 long newValue = oldValue + delta; in getAndAdd() 176 if (atomic.compareAndSet(oldValue, newValue)) { in getAndAdd() 177 return oldValue; in getAndAdd() 200 long oldValue = atomic.get(); in put() local [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | ConcurrentHashMultiset.java | 229 int oldValue = existingCounter.get(); in add() local 230 if (oldValue != 0) { in add() 232 int newValue = IntMath.checkedAdd(oldValue, occurrences); in add() 233 if (existingCounter.compareAndSet(oldValue, newValue)) { in add() 235 return oldValue; in add() 239 + " occurrences to a count of " + oldValue); in add() 287 int oldValue = existingCounter.get(); in remove() local 288 if (oldValue != 0) { in remove() 289 int newValue = Math.max(0, oldValue - occurrences); in remove() 290 if (existingCounter.compareAndSet(oldValue, newValue)) { in remove() [all …]
|
D | AbstractBiMap.java | 131 V oldValue = delegate.put(key, value); in putInBothMaps() local 132 updateInverseMap(key, containedKey, oldValue, value); in putInBothMaps() 133 return oldValue; in putInBothMaps() 137 K key, boolean containedKey, V oldValue, V newValue) { in updateInverseMap() argument 139 removeFromInverseMap(oldValue); in updateInverseMap() 149 V oldValue = delegate.remove(key); in removeFromBothMaps() local 150 removeFromInverseMap(oldValue); in removeFromBothMaps() 151 return oldValue; in removeFromBothMaps() 154 private void removeFromInverseMap(V oldValue) { in removeFromInverseMap() argument 155 inverse.delegate.remove(oldValue); in removeFromInverseMap() [all …]
|
D | ForwardingConcurrentMap.java | 57 public boolean replace(K key, V oldValue, V newValue) { in replace() argument 58 return delegate().replace(key, oldValue, newValue); in replace()
|
/external/tpm2/ |
D | NV_SetBits.c | 28 UINT64 oldValue; in TPM2_NV_SetBits() local 49 oldValue = 0; in TPM2_NV_SetBits() 52 NvGetIntIndexData(in->nvIndex, &nvIndex, &oldValue); in TPM2_NV_SetBits() 55 newValue = oldValue | in->bits; in TPM2_NV_SetBits() 60 && newValue != oldValue) in TPM2_NV_SetBits()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | AbstractBiMap.java | 127 V oldValue = delegate.put(key, value); in putInBothMaps() local 128 updateInverseMap(key, containedKey, oldValue, value); in putInBothMaps() 129 return oldValue; in putInBothMaps() 133 K key, boolean containedKey, V oldValue, V newValue) { in updateInverseMap() argument 135 removeFromInverseMap(oldValue); in updateInverseMap() 145 V oldValue = delegate.remove(key); in removeFromBothMaps() local 146 removeFromInverseMap(oldValue); in removeFromBothMaps() 147 return oldValue; in removeFromBothMaps() 150 private void removeFromInverseMap(V oldValue) { in removeFromInverseMap() argument 151 inverse.delegate.remove(oldValue); in removeFromInverseMap() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ConcurrentHashMultisetBasherTest.java | 130 int oldValue = multiset.setCount(key, newValue); in call() local 131 deltas[keyIndex] += (newValue - oldValue); in call() 136 int oldValue = multiset.count(key); in call() local 137 if (multiset.setCount(key, oldValue, newValue)) { in call() 138 deltas[keyIndex] += (newValue - oldValue); in call() 144 int oldValue = multiset.remove(key, delta); in call() local 145 deltas[keyIndex] -= Math.min(delta, oldValue); in call()
|
D | MapMakerInternalMapTest.java | 573 Object oldValue = new Object(); in testSegmentReplaceValue() local 579 DummyValueReference<Object, Object> oldValueRef = DummyValueReference.create(oldValue, entry); in testSegmentReplaceValue() 583 assertFalse(segment.replace(key, hash, oldValue, newValue)); in testSegmentReplaceValue() 590 assertSame(oldValue, segment.get(key, hash)); in testSegmentReplaceValue() 591 assertTrue(segment.replace(key, hash, oldValue, newValue)); in testSegmentReplaceValue() 596 assertFalse(segment.replace(key, hash, oldValue, newValue)); in testSegmentReplaceValue() 602 assertSame(oldValue, segment.get(key, hash)); in testSegmentReplaceValue() 604 assertFalse(segment.replace(key, hash, oldValue, newValue)); in testSegmentReplaceValue() 617 Object oldValue = new Object(); in testSegmentReplace() local 623 DummyValueReference<Object, Object> oldValueRef = DummyValueReference.create(oldValue, entry); in testSegmentReplace() [all …]
|
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/ |
D | ConfigLoader.java | 68 final String oldValue = (String) entry.getValue(); in substSystemProperties() local 70 final Matcher m = SUBST_PATTERN.matcher(oldValue); in substSystemProperties() 73 newValue.append(oldValue.substring(pos, m.start())); in substSystemProperties() 78 newValue.append(oldValue.substring(pos)); in substSystemProperties()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | ContactDbUtil.java | 73 int oldValue = 0; in updateVtCapability() local 80 oldValue = cursor.getInt(1); in updateVtCapability() 90 enable?(oldValue | ContactsContract.Data.CARRIER_PRESENCE_VT_CAPABLE): in updateVtCapability() 91 (oldValue & ~ContactsContract.Data.CARRIER_PRESENCE_VT_CAPABLE)); in updateVtCapability()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CacheValue.java | 139 V oldValue = ref.get(); in resetIfCleared() local 140 if (oldValue == null) { in resetIfCleared() 146 return oldValue; in resetIfCleared()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CacheValue.java | 141 V oldValue = ref.get(); in resetIfCleared() local 142 if (oldValue == null) { in resetIfCleared() 148 return oldValue; in resetIfCleared()
|
/external/v8/src/js/ |
D | harmony-atomics.js | 55 function AtomicsCompareExchangeJS(sta, index, oldValue, newValue) { argument 58 oldValue = TO_NUMBER(oldValue); 60 return %_AtomicsCompareExchange(sta, index, oldValue, newValue);
|
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/ |
D | AbstractAgentMojo.java | 141 final String oldValue = projectProperties.getProperty(name); in executeMojo() local 143 oldValue, getAgentJarFile()); in executeMojo() 152 final String oldValue = projectProperties.getProperty(name); in skipMojo() local 153 if (oldValue == null) { in skipMojo()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheLoader.java | 94 public ListenableFuture<V> reload(K key, V oldValue) throws Exception { in reload() argument 96 checkNotNull(oldValue); in reload() 193 public ListenableFuture<V> reload(final K key, final V oldValue) throws Exception { in asyncReloading() argument 197 return loader.reload(key, oldValue).get(); in asyncReloading()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowTextView.java | 76 CharSequence oldValue = this.text; in setText() local 79 sendOnTextChanged(oldValue); in setText() 87 CharSequence oldValue = this.text; in append() local 101 sendOnTextChanged(oldValue); in append() 109 CharSequence oldValue = this.text; in setText() local 112 sendOnTextChanged(oldValue); in setText() 122 private void sendOnTextChanged(CharSequence oldValue) { in sendOnTextChanged() argument 124 watcher.onTextChanged(text, 0, oldValue.length(), text.length()); in sendOnTextChanged()
|
/external/clang/test/CodeGenObjCXX/ |
D | refence-assign-write-barrier.mm | 14 NSArray* oldValue = target; 18 [oldValue release];
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
D | ConcurrentHashMap.java | 73 public boolean replace(K key, V oldValue, V newValue) { in replace() argument 74 if (oldValue == null || newValue == null) { in replace() 76 } else if (containsKey(key) && get(key).equals(oldValue)) { in replace()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | Internal.java | 495 RealValue oldValue = realMap.put(key, valueConverter.doBackward(value)); in put() local 496 if (oldValue == null) { in put() 499 return valueConverter.doForward(oldValue); in put() 567 RealValue oldValue = realEntry.setValue( in setValue() local 569 if (oldValue == null) { in setValue() 572 return valueConverter.doForward(oldValue); in setValue()
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | SparseArrayTest.java | 68 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithDefaultCapacity() local 70 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity() 134 Integer oldValue = VALUES[0]; // 0 in testSparseArrayWithSpecifiedCapacity() local 136 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithSpecifiedCapacity()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 832 final V oldValue = entry.getValue(); in testEntrySetSetValue() local 834 assertEquals(oldValue, returnedValue); in testEntrySetSetValue() 857 final V oldValue = entry.getValue(); in testEntrySetSetValueSameValue() local 858 final V returnedValue = entry.setValue(oldValue); in testEntrySetSetValueSameValue() 859 assertEquals(oldValue, returnedValue); in testEntrySetSetValueSameValue() 861 mapEntry(entry.getKey(), oldValue))); in testEntrySetSetValueSameValue() local 862 assertEquals(oldValue, map.get(entry.getKey())); in testEntrySetSetValueSameValue() 1015 V oldValue = map.put(keyToPut, valueToPut); in testPutNewKey() local 1020 assertNull(oldValue); in testPutNewKey() 1073 final V oldValue = map.get(null); in testPutNullKey() local [all …]
|