/dalvik/dx/tests/141-invoke-polymorphic-varhandles/ |
VarHandleDexTest.java | 35 boolean newValue = true; 38 boolean b0 = (boolean) vb.compareAndExchangeAcquire(t, expectedValue, newValue); 39 vb.compareAndExchangeAcquire(t, expectedValue, newValue); 40 boolean b1 = (boolean) vb.compareAndExchange(t, expectedValue, newValue); 41 vb.compareAndExchange(t, expectedValue, newValue); 42 boolean b2 = (boolean) vb.compareAndExchangeRelease(t, expectedValue, newValue); 43 vb.compareAndExchangeRelease(t, expectedValue, newValue); 45 boolean r0 = vb.compareAndSet(t, expectedValue, newValue); 46 vb.compareAndSet(t, expectedValue, newValue); 47 boolean r1 = vb.weakCompareAndSetAcquire(t, expectedValue, newValue); [all...] |
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/atomic/ |
AtomicInteger.java | 40 public final void set(int newValue) { 41 value = newValue; 44 public final void lazySet(int newValue) { 45 set(newValue); 48 public final int getAndSet(int newValue) { 50 value = newValue;
|
AtomicLong.java | 40 public final void set(long newValue) { 41 value = newValue; 44 public final void lazySet(long newValue) { 45 set(newValue); 48 public final long getAndSet(long newValue) { 50 value = newValue;
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/ |
PropertyChange.java | 12 private final Object newValue; 23 return newValue; 26 public PropertyChange(ObservableProperty property, Object oldValue, Object newValue) { 29 this.newValue = newValue; 35 return newValue;
|
ListReplacementChange.java | 16 private final Node newValue; 18 public ListReplacementChange(ObservableProperty observableProperty, int index, Node newValue) { 21 this.newValue = newValue; 38 nodeList.set(index, newValue);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
SetValues002Test.java | 36 Value newValue = Value.createBoolean(StackTrace002Debuggee.BOOLEAN_PARAM_VALUE_TO_SET); 38 suspensionMethodInfo.addVariable("param", oldValue, newValue); 40 methodInfo.addVariable("param", oldValue, newValue); 53 Value newValue = Value.createByte(StackTrace002Debuggee.BYTE_PARAM_VALUE_TO_SET); 55 suspensionMethodInfo.addVariable("param", oldValue, newValue); 57 methodInfo.addVariable("param", oldValue, newValue); 70 Value newValue = Value.createChar(StackTrace002Debuggee.CHAR_PARAM_VALUE_TO_SET); 72 suspensionMethodInfo.addVariable("param", oldValue, newValue); 74 methodInfo.addVariable("param", oldValue, newValue); 87 Value newValue = Value.createShort(StackTrace002Debuggee.SHORT_PARAM_VALUE_TO_SET) [all...] |
/art/test/141-class-unload/src-ex/ |
IntHolder.java | 22 public static void setValue(int newValue) { 23 value = newValue;
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
ProcessorOutputElem.java | 50 * @param newValue non-null reference to processed attribute value. 52 public void setCdataSectionElements(java.util.Vector newValue) 54 m_outputProperties.setQNameProperties(OutputKeys.CDATA_SECTION_ELEMENTS, newValue); 60 * @param newValue non-null reference to processed attribute value. 62 public void setDoctypePublic(String newValue) 64 m_outputProperties.setProperty(OutputKeys.DOCTYPE_PUBLIC, newValue); 70 * @param newValue non-null reference to processed attribute value. 72 public void setDoctypeSystem(String newValue) 74 m_outputProperties.setProperty(OutputKeys.DOCTYPE_SYSTEM, newValue); 80 * @param newValue non-null reference to processed attribute value [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Count.java | 50 public void set(int newValue) { 51 value = newValue; 54 public int getAndSet(int newValue) { 56 value = newValue;
|
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/ |
PropertyChangeSupportTest.java | 312 Object newValue = new Object(); 316 "myProp", oldValue, newValue); 323 sup.firePropertyChange("myProp", oldValue, newValue); 585 Object newValue = new Object(); 589 "myProp", oldValue, newValue); 591 "myProp", oldValue, newValue); 595 "myProp", oldValue, newValue); 600 sup.firePropertyChange("myProp", oldValue, newValue); 614 Object newValue = new Object(); 615 Object oldValue = newValue; [all...] |
PropertyChangeEventTest.java | 38 Object newValue = new Object(); 41 oldValue, newValue); 45 assertSame(newValue, event.getNewValue()); 70 Object newValue = new Object(); 72 oldValue, newValue); 76 assertSame(newValue, event.getNewValue()); 98 Object newValue = new Object(); 101 oldValue, newValue); 110 assertSame(newValue, event.getNewValue()); 120 Object newValue = new Object() [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
AbstractLoadingCacheTest.java | 60 Object newValue = new Object(); 61 valueRef.set(newValue); 62 assertSame(newValue, cache.getUnchecked(new Object())); 91 Object newValue = new Object(); 92 valueRef.set(newValue); 93 assertSame(newValue, cache.getUnchecked(new Object())); 122 Object newValue = new Object(); 123 valueRef.set(newValue); 124 assertSame(newValue, cache.getUnchecked(new Object())); 153 Object newValue = new Object() [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
AtomicDouble.java | 91 * @param newValue the new value 93 public final void set(double newValue) { 94 long next = doubleToRawLongBits(newValue); 101 * @param newValue the new value 103 public final void lazySet(double newValue) { 104 set(newValue); 106 // long next = doubleToRawLongBits(newValue); 113 * @param newValue the new value 116 public final double getAndSet(double newValue) { 117 long next = doubleToRawLongBits(newValue); [all...] |
AtomicLongMap.java | 126 long newValue = oldValue + delta; 127 if (atomic.compareAndSet(oldValue, newValue)) { 128 return newValue; 175 long newValue = oldValue + delta; 176 if (atomic.compareAndSet(oldValue, newValue)) { 185 * Associates {@code newValue} with {@code key} in this map, and returns the value previously 188 public long put(K key, long newValue) { 192 atomic = map.putIfAbsent(key, new AtomicLong(newValue)); 203 if (map.replace(key, atomic, new AtomicLong(newValue))) { 210 if (atomic.compareAndSet(oldValue, newValue)) { [all...] |
AtomicDoubleArray.java | 98 * @param newValue the new value 100 public final void set(int i, double newValue) { 101 long next = doubleToRawLongBits(newValue); 109 * @param newValue the new value 111 public final void lazySet(int i, double newValue) { 112 set(i, newValue); 114 // long next = doubleToRawLongBits(newValue); 123 * @param newValue the new value 126 public final double getAndSet(int i, double newValue) { 127 long next = doubleToRawLongBits(newValue); [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
DecimalFormat.java | [all...] |
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
AtomicBackoff.java | 65 long newValue = Math.max(savedValue * 2, savedValue); 66 boolean swapped = value.compareAndSet(savedValue, newValue); 67 // Even if swapped is false, the current value should be at least as large as newValue 68 assert value.get() >= newValue; 70 log.log(Level.WARNING, "Increased {0} to {1}", new Object[] {name, newValue});
|
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/ |
DelegatingHttpsURLConnection.java | 185 @Override public void addRequestProperty(String field, String newValue) { 186 delegate.addRequestProperty(field, newValue); 237 @Override public void setAllowUserInteraction(boolean newValue) { 238 delegate.setAllowUserInteraction(newValue); 241 @Override public void setDefaultUseCaches(boolean newValue) { 242 delegate.setDefaultUseCaches(newValue); 245 @Override public void setDoInput(boolean newValue) { 246 delegate.setDoInput(newValue); 249 @Override public void setDoOutput(boolean newValue) { 250 delegate.setDoOutput(newValue); [all...] |
/external/okhttp/repackaged/okhttp-urlconnection/src/main/java/com/android/okhttp/internal/huc/ |
DelegatingHttpsURLConnection.java | 186 @Override public void addRequestProperty(String field, String newValue) { 187 delegate.addRequestProperty(field, newValue); 238 @Override public void setAllowUserInteraction(boolean newValue) { 239 delegate.setAllowUserInteraction(newValue); 242 @Override public void setDefaultUseCaches(boolean newValue) { 243 delegate.setDefaultUseCaches(newValue); 246 @Override public void setDoInput(boolean newValue) { 247 delegate.setDoInput(newValue); 250 @Override public void setDoOutput(boolean newValue) { 251 delegate.setDoOutput(newValue); [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/observer/ |
PropagatingAstObserver.java | 42 public void concretePropertyChange(Node observedNode, ObservableProperty property, Object oldValue, Object newValue) { 43 observer.propertyChange(observedNode, property, oldValue, newValue); 59 public final void propertyChange(Node observedNode, ObservableProperty property, Object oldValue, Object newValue) { 61 considerAdding(newValue); 62 concretePropertyChange(observedNode, property, oldValue, newValue); 85 public void concretePropertyChange(Node observedNode, ObservableProperty property, Object oldValue, Object newValue) { 93 public void concreteListReplacement(NodeList observedNode, int index, Node oldValue, Node newValue) {
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
DateTimeCanonicalizer.java | 51 String newValue; 67 newValue = result.toString(); 69 newValue = formatDateParser.toString(); 72 if (!value.equals(newValue)) { 73 value = newValue;
|
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/ |
ConfigLoader.java | 69 final StringBuilder newValue = new StringBuilder(); 73 newValue.append(oldValue.substring(pos, m.start())); 75 newValue.append(sub == null ? m.group(0) : sub); 78 newValue.append(oldValue.substring(pos)); 79 entry.setValue(newValue.toString());
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
DecimalFormatICU.java | 294 public void setDecimalSeparatorAlwaysShown(boolean newValue) { 296 fIcuDecfmt.setDecimalSeparatorAlwaysShown(newValue); 301 public void setGroupingSize(int newValue) { 303 fIcuDecfmt.setGroupingSize(newValue); 308 public void setMaximumFractionDigits(int newValue) { 310 fIcuDecfmt.setMaximumFractionDigits(newValue); 315 public void setMaximumIntegerDigits(int newValue) { 317 fIcuDecfmt.setMaximumIntegerDigits(newValue); 322 public void setMinimumFractionDigits(int newValue) { 324 fIcuDecfmt.setMinimumFractionDigits(newValue); [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
decimfmt.h | [all...] |
/external/cldr/tools/java/org/unicode/cldr/test/ |
CheckCasing.java | 60 String newValue = value; 63 newValue = UCharacter.toLowerCase(uLocale, value); 66 newValue = UCharacter.toTitleCase(uLocale, value, null); 69 newValue = TitleCaseFirst(uLocale, value); 75 if (!newValue.equals(value)) { 82 new Object[] { newValue })); // the message; can be MessageFormat with arguments
|