/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentMap.java | 169 * map.put(key, newValue); 182 * @param newValue value to be associated with the specified key 193 boolean replace(K key, V oldValue, V newValue); 279 * V oldValue, newValue; 281 * && (newValue = mappingFunction.apply(key)) != null 282 * && (oldValue = map.putIfAbsent(key, newValue)) == null) 283 * ? newValue 301 V oldValue, newValue; 303 && (newValue = mappingFunction.apply(key)) != null 304 && (oldValue = putIfAbsent(key, newValue)) == null [all...] |
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/ |
PropertyChangeSupportTest.java | 332 Object newValue = new Object(); 336 "myProp", oldValue, newValue); 343 sup.firePropertyChange("myProp", oldValue, newValue); 605 Object newValue = new Object(); 609 "myProp", oldValue, newValue); 611 "myProp", oldValue, newValue); 615 "myProp", oldValue, newValue); 620 sup.firePropertyChange("myProp", oldValue, newValue); 634 Object newValue = new Object(); 635 Object oldValue = newValue; [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
DecimalFormatICU.java | 292 public void setDecimalSeparatorAlwaysShown(boolean newValue) { 294 fIcuDecfmt.setDecimalSeparatorAlwaysShown(newValue); 299 public void setGroupingSize(int newValue) { 301 fIcuDecfmt.setGroupingSize(newValue); 306 public void setMaximumFractionDigits(int newValue) { 308 fIcuDecfmt.setMaximumFractionDigits(newValue); 313 public void setMaximumIntegerDigits(int newValue) { 315 fIcuDecfmt.setMaximumIntegerDigits(newValue); 320 public void setMinimumFractionDigits(int newValue) { 322 fIcuDecfmt.setMinimumFractionDigits(newValue); [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/ |
BasicVerifier.java | 144 expected = newValue(Type.getObjectType(((FieldInsnNode) insn).owner));
174 expected = newValue(Type.getType(((FieldInsnNode) insn).desc));
194 expected1 = newValue(Type.getType("[I"));
198 if (isSubTypeOf(value1, newValue(Type.getType("[Z")))) {
199 expected1 = newValue(Type.getType("[Z"));
201 expected1 = newValue(Type.getType("[B"));
206 expected1 = newValue(Type.getType("[C"));
210 expected1 = newValue(Type.getType("[S"));
214 expected1 = newValue(Type.getType("[J"));
218 expected1 = newValue(Type.getType("[F")); [all...] |
BasicInterpreter.java | 52 public Value newValue(final Type type) {
82 return newValue(Type.getObjectType("null"));
115 return newValue(Type.getObjectType("java/lang/Class"));
117 return newValue(Type.getType(cst.getClass()));
122 return newValue(Type.getType(((FieldInsnNode) insn).desc));
124 return newValue(Type.getObjectType(((TypeInsnNode) insn).desc));
180 return newValue(Type.getType(((FieldInsnNode) insn).desc));
184 return newValue(Type.getType("[Z"));
186 return newValue(Type.getType("[C"));
188 return newValue(Type.getType("[B")); [all...] |
/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));
|
/external/guava/guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/ |
AtomicLongMapTest.java | 259 long newValue = random.nextInt(MAX_ADDEND); 262 long result = map.put(key, newValue); 264 assertEquals(newValue, after); 266 newValue += newValue; 317 long newValue = random.nextInt(MAX_ADDEND); 320 long result = map.putIfAbsent(key, newValue); 323 assertEquals(before == 0 ? newValue : before, after); 327 result = map.putIfAbsent(key, newValue); 331 assertEquals(newValue, after) [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
StringFloat.java | 24 public StringFloat(String newKey, float newValue) { 26 value = newValue;
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/ |
GridLayoutManagerActivity.java | 61 public void onChange(boolean newValue) { 62 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL 73 public void onChange(boolean newValue) { 74 mLayoutManager.setReverseLayout(newValue); 85 public void onChange(boolean newValue) { 86 ViewCompat.setLayoutDirection(mRecyclerView, newValue ? 97 public void onChange(boolean newValue) { 98 mLayoutManager.setStackFromEnd(newValue);
|
StaggeredGridLayoutManagerActivity.java | 48 public void onChange(boolean newValue) { 49 if (mVertical == newValue) { 52 mVertical = newValue;
|
/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/llvm/test/MC/Hexagon/ |
relaxed_newvalue.s | 2 # Make sure relaxation doesn't hinder newvalue calculation
|
/external/tpm2/ |
NV_SetBits.c | 29 UINT64 newValue; 55 newValue = oldValue | in->bits; 60 && newValue != oldValue) 73 result = NvWriteIndexData(in->nvIndex, &nvIndex, 0, 8, &newValue);
|
/prebuilts/go/darwin-x86/src/cmd/gofmt/testdata/ |
rewrite2.golden | 10 // node and reflect.NewValue(slice.Len) is an invalid reflect.Value.
|
rewrite2.input | 10 // node and reflect.NewValue(slice.Len) is an invalid reflect.Value.
|
/prebuilts/go/linux-x86/src/cmd/gofmt/testdata/ |
rewrite2.golden | 10 // node and reflect.NewValue(slice.Len) is an invalid reflect.Value.
|
rewrite2.input | 10 // node and reflect.NewValue(slice.Len) is an invalid reflect.Value.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
TunerSwitch.java | 39 public void onTuningChanged(String key, String newValue) { 40 setChecked(newValue != null ? Integer.parseInt(newValue) != 0 : mDefault);
|
/prebuilts/go/darwin-x86/src/syscall/ |
syscall_test.go | 18 newvalue, found := syscall.Getenv(key) 22 if newvalue != value { 23 t.Fatalf("Getenv(%v) = %q; want %q", key, newvalue, value)
|
/prebuilts/go/linux-x86/src/syscall/ |
syscall_test.go | 18 newvalue, found := syscall.Getenv(key) 22 if newvalue != value { 23 t.Fatalf("Getenv(%v) = %q; want %q", key, newvalue, value)
|
/build/blueprint/proptools/ |
clone.go | 85 newValue := reflect.New(srcFieldValue.Type()).Elem() 86 dstFieldValue.Set(newValue) 88 dstFieldValue = newValue 108 newValue := CloneProperties(srcFieldValue) 110 dstFieldInterfaceValue.Set(newValue) 112 dstFieldValue.Set(newValue) 116 newValue := reflect.New(srcFieldValue.Type()) 117 newValue.Elem().Set(srcFieldValue) 118 dstFieldValue.Set(newValue) 223 newValue := reflect.New(srcFieldValue.Type()).Elem( [all...] |
/external/clang/test/Analysis/ |
properties.m | 373 - (void)setImplicitManualProp:(id)newValue {} 589 - (void)testAssignOwned:(id)newValue { 590 _ownedProp = newValue; 594 - (void)testAssignUnowned:(id)newValue { 595 _unownedProp = newValue; 599 - (void)testAssignIvarOnly:(id)newValue { 600 _ivarOnly = newValue; 604 - (void)testAssignCF:(CFTypeRef)newValue { 605 _cfProp = newValue; 609 - (void)testAssignReadonly:(id)newValue { [all...] |
/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());
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
InverseBindingAdapter.java | 27 * CharSequence newValue = view.getText(); 30 * value.set(newValue); 31 * } else if (!contentEquals(newValue, oldValue)) { 32 * value.set(newValue); 51 * TextWatcher newValue = new TextWatcher() { 63 * TextWatcher oldValue = ListenerUtil.trackListener(view, newValue, R.id.textWatcher); 67 * view.addTextChangedListener(newValue);
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
NumberFormatJDK.java | 215 public void setGroupingUsed(boolean newValue) { 216 fJdkNfmt.setGroupingUsed(newValue); 220 public void setMaximumFractionDigits(int newValue) { 221 fJdkNfmt.setMaximumFractionDigits(newValue); 225 public void setMaximumIntegerDigits(int newValue) { 226 fJdkNfmt.setMaximumIntegerDigits(newValue); 230 public void setMinimumFractionDigits(int newValue) { 231 fJdkNfmt.setMinimumFractionDigits(newValue); 235 public void setMinimumIntegerDigits(int newValue) { 236 fJdkNfmt.setMinimumIntegerDigits(newValue); [all...] |