/external/jetty/src/java/org/eclipse/jetty/util/ |
Atomics.java | 30 public static void updateMin(AtomicLong currentMin, long newValue) 33 while (newValue < oldValue) 35 if (currentMin.compareAndSet(oldValue, newValue)) 41 public static void updateMax(AtomicLong currentMax, long newValue) 44 while (newValue > oldValue) 46 if (currentMax.compareAndSet(oldValue, newValue)) 52 public static void updateMin(AtomicInteger currentMin, int newValue) 55 while (newValue < oldValue) 57 if (currentMin.compareAndSet(oldValue, newValue)) 63 public static void updateMax(AtomicInteger currentMax, int newValue) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/ |
AbstractInterceptFieldCallback.java | 23 public int writeInt(Object obj, String name, int oldValue, int newValue) { return newValue; } 24 public char writeChar(Object obj, String name, char oldValue, char newValue) { return newValue; } 25 public byte writeByte(Object obj, String name, byte oldValue, byte newValue) { return newValue; } 26 public boolean writeBoolean(Object obj, String name, boolean oldValue, boolean newValue) { return newValue; } 27 public short writeShort(Object obj, String name, short oldValue, short newValue) { return newValue; } [all...] |
InterceptFieldCallback.java | 23 int writeInt(Object obj, String name, int oldValue, int newValue); 24 char writeChar(Object obj, String name, char oldValue, char newValue); 25 byte writeByte(Object obj, String name, byte oldValue, byte newValue); 26 boolean writeBoolean(Object obj, String name, boolean oldValue, boolean newValue); 27 short writeShort(Object obj, String name, short oldValue, short newValue); 28 float writeFloat(Object obj, String name, float oldValue, float newValue); 29 double writeDouble(Object obj, String name, double oldValue, double newValue); 30 long writeLong(Object obj, String name, long oldValue, long newValue); 31 Object writeObject(Object obj, String name, Object oldValue, Object newValue);
|
/external/javassist/src/main/javassist/compiler/ast/ |
IntConst.java | 67 long newValue; 70 newValue = value1 + value2; 73 newValue = value1 - value2; 76 newValue = value1 * value2; 79 newValue = value1 / value2; 82 newValue = value1 % value2; 85 newValue = value1 | value2; 88 newValue = value1 ^ value2; 91 newValue = value1 & value2; 94 newValue = value << (int)value2 [all...] |
/libcore/ojluni/src/main/java/java/util/prefs/ |
PreferenceChangeEvent.java | 59 private String newValue; 66 * @param newValue The new value of the preference, or <tt>null</tt> 70 String newValue) { 73 this.newValue = newValue; 101 return newValue;
|
/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;
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
AtomicBoolean.java | 97 * @param newValue the new value 99 public final void set(boolean newValue) { 100 value = newValue ? 1 : 0; 106 * @param newValue the new value 109 public final void lazySet(boolean newValue) { 110 U.putOrderedInt(this, VALUE, (newValue ? 1 : 0)); 116 * @param newValue the new value 119 public final boolean getAndSet(boolean newValue) { 123 } while (!compareAndSet(prev, newValue));
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
MetadataResponseListener.java | 43 V newValue = partialResult.get(mKey); 44 if (newValue != null) { 45 mUpdatable.update(newValue); 51 V newValue = totalCaptureResult.get(mKey); 52 if (newValue != null) { 53 mUpdatable.update(newValue);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
PreviewNavInflater.java | 44 public void onTuningChanged(String key, String newValue) { 48 if (isValidLayout(newValue)) { 49 super.onTuningChanged(key, newValue); 52 super.onTuningChanged(key, newValue); 56 private boolean isValidLayout(String newValue) { 57 if (newValue == null) { 62 for (int i = 0; i < newValue.length(); i++) { 63 if (newValue.charAt(i) == GRAVITY_SEPARATOR.charAt(0)) { 71 return separatorCount == 2 && (newValue.length() - lastGravitySeparator) != 1;
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
SetValues002Test.java | 36 Value newValue = new Value(StackTrace002Debuggee.BOOLEAN_PARAM_VALUE_TO_SET); 38 suspensionMethodInfo.addVariable("param", oldValue, newValue); 40 methodInfo.addVariable("param", oldValue, newValue); 53 Value newValue = new Value(StackTrace002Debuggee.BYTE_PARAM_VALUE_TO_SET); 55 suspensionMethodInfo.addVariable("param", oldValue, newValue); 57 methodInfo.addVariable("param", oldValue, newValue); 70 Value newValue = new Value(StackTrace002Debuggee.CHAR_PARAM_VALUE_TO_SET); 72 suspensionMethodInfo.addVariable("param", oldValue, newValue); 74 methodInfo.addVariable("param", oldValue, newValue); 87 Value newValue = new Value(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;
|
/libcore/ojluni/src/main/java/java/beans/ |
IndexedPropertyChangeEvent.java | 55 * @param newValue The new value of the property. 59 Object oldValue, Object newValue, 61 super (source, propertyName, oldValue, 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...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_nodevalue01.java | 61 String newValue; 64 newValue = newNode.getNodeValue(); 65 assertNull("initiallyNull", newValue); 67 newValue = newNode.getNodeValue(); 68 assertNull("nullAfterAttemptedChange", newValue);
|
hc_nodevalue02.java | 61 String newValue; 64 newValue = newNode.getNodeValue(); 65 assertEquals("initial", "This is a new Comment node", newValue); 67 newValue = newNode.getNodeValue(); 68 assertEquals("afterChange", "This should have an effect", newValue);
|
hc_nodevalue04.java | 61 String newValue; 70 newValue = newNode.getNodeValue(); 71 assertNull("initiallyNull", newValue); 73 newValue = newNode.getNodeValue(); 74 assertNull("nullAfterAttemptedChange", newValue);
|
hc_nodevalue05.java | 61 String newValue; 64 newValue = newNode.getNodeValue(); 65 assertNull("initiallyNull", newValue); 67 newValue = newNode.getNodeValue(); 68 assertNull("nullAfterAttemptedChange", newValue);
|
hc_nodevalue06.java | 60 String newValue; 62 newValue = newNode.getNodeValue(); 63 assertNull("initiallyNull", newValue); 65 newValue = newNode.getNodeValue(); 66 assertNull("nullAfterAttemptedChange", newValue);
|
nodevalue01.java | 61 String newValue; 64 newValue = newNode.getNodeValue(); 65 assertNull("initiallyNull", newValue); 67 newValue = newNode.getNodeValue(); 68 assertNull("nullAfterAttemptedChange", newValue);
|
nodevalue02.java | 61 String newValue; 64 newValue = newNode.getNodeValue(); 65 assertEquals("initial", "This is a new Comment node", newValue); 67 newValue = newNode.getNodeValue(); 68 assertEquals("afterChange", "This should have an effect", newValue);
|
nodevalue03.java | 61 String newValue; 65 newValue = newNode.getNodeValue(); 66 assertNull("initiallyNull", newValue); 68 newValue = newNode.getNodeValue(); 69 assertNull("nullAfterAttemptedChange", newValue);
|
nodevalue04.java | 61 String newValue; 65 newValue = newNode.getNodeValue(); 66 assertNull("initiallyNull", newValue); 68 newValue = newNode.getNodeValue(); 69 assertNull("nullAfterAttemptedChange", newValue);
|
nodevalue05.java | 61 String newValue; 64 newValue = newNode.getNodeValue(); 65 assertNull("initiallyNull", newValue); 67 newValue = newNode.getNodeValue(); 68 assertNull("nullAfterAttemptedChange", newValue);
|
nodevalue06.java | 60 String newValue; 62 newValue = newNode.getNodeValue(); 63 assertNull("initiallyNull", newValue); 65 newValue = newNode.getNodeValue(); 66 assertNull("nullAfterAttemptedChange", newValue);
|