/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...] |
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformPcieHelperLib/ |
SocUnit.c | 29 UINT32 NewValue;
34 NewValue = QNCPortIORead (QUARK_SC_PCIE_AFE_SB_PORT_ID, QUARK_PCIE_AFE_PCIE_RXPICTRL0_L0);
35 NewValue &= OCFGPIMIXLOAD_1_0_MASK;
36 QNCPortIOWrite (QUARK_SC_PCIE_AFE_SB_PORT_ID, QUARK_PCIE_AFE_PCIE_RXPICTRL0_L0, NewValue);
38 NewValue = QNCPortIORead (QUARK_SC_PCIE_AFE_SB_PORT_ID, QUARK_PCIE_AFE_PCIE_RXPICTRL0_L1);
39 NewValue &= OCFGPIMIXLOAD_1_0_MASK;
40 QNCPortIOWrite (QUARK_SC_PCIE_AFE_SB_PORT_ID, QUARK_PCIE_AFE_PCIE_RXPICTRL0_L1, NewValue);
56 UINT32 NewValue;
67 NewValue = QNCAltPortRead (QUARK_SCSS_SOC_UNIT_SB_PORT_ID, QUARK_SCSS_SOC_UNIT_SOCCLKEN_CONFIG);
68 NewValue |= SOCCLKEN_CONFIG_PHY_I_CMNRESET_L; [all...] |
/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/clang/test/CodeGenObjCXX/ |
refence-assign-write-barrier.mm | 9 void NSAssignArray(NSArray*& target, NSArray* newValue) 11 if (target == newValue) 16 target = [newValue retain];
|
/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...] |
DoubleConst.java | 71 double newValue; 74 newValue = value1 + value2; 77 newValue = value1 - value2; 80 newValue = value1 * value2; 83 newValue = value1 / value2; 86 newValue = value1 % value2; 92 return new DoubleConst(newValue, newType);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
PreviewNavInflater.java | 45 public void onTuningChanged(String key, String newValue) { 49 if (isValidLayout(newValue)) { 50 super.onTuningChanged(key, newValue); 53 super.onTuningChanged(key, newValue); 57 private boolean isValidLayout(String newValue) { 58 if (newValue == null) { 63 for (int i = 0; i < newValue.length(); i++) { 64 if (newValue.charAt(i) == GRAVITY_SEPARATOR.charAt(0)) { 72 return separatorCount == 2 && (newValue.length() - lastGravitySeparator) != 1;
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
DateFormatSymbolsTest.java | 75 String[] newvalue = (String[])oldvalue.clone(); local 76 newvalue[0] = newvalue[0] + "!"; 77 dfs.setEras(newvalue); 80 assertArraysEqual(newvalue, result); 97 String[] newvalue = (String[])oldvalue.clone(); local 98 newvalue[0] = newvalue[0] + "!"; 99 dfs.setMonths(newvalue); 102 assertArraysEqual(newvalue, result) 119 String[] newvalue = (String[])oldvalue.clone(); local 141 String[] newvalue = (String[])oldvalue.clone(); local 163 String[] newvalue = (String[])oldvalue.clone(); local 185 String[] newvalue = (String[])oldvalue.clone(); local 207 String[][] newvalue = (String[][])cloneComplex(oldvalue); local [all...] |
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
LinearLayoutManagerActivity.java | 58 public void onChange(boolean newValue) { 59 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL 74 public void onChange(boolean newValue) { 75 mLayoutManager.setReverseLayout(newValue); 86 public void onChange(boolean newValue) { 87 ViewCompat.setLayoutDirection(mRecyclerView, newValue ? 98 public void onChange(boolean newValue) { 99 mLayoutManager.setStackFromEnd(newValue); 109 public void onChange(boolean newValue) { 110 mLinearSnapHelper.attachToRecyclerView(newValue ? mRecyclerView : null) [all...] |
/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...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
InlinePayloadTest.java | 37 int newValue = payload.getValue(mContext); 39 assertThat(newValue).isEqualTo(currentValue); 48 int newValue = payload.getValue(mContext); 50 assertThat(newValue).isEqualTo(currentValue); 59 int newValue = payload.getValue(mContext); 61 assertThat(newValue).isEqualTo(currentValue); 67 int newValue = 1; 71 payload.setValue(mContext, newValue); 74 assertThat(updatedValue).isEqualTo(newValue); 80 int newValue = 1 [all...] |
/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...] |
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
NumericalWatcher.java | 38 public abstract void onNewValue(int newValue); 47 int newValue = sanitize(unsanitized); 48 if (currentValue != newValue || unsanitized != newValue) { 49 currentValue = newValue; 51 editable.append(newValue + ""); 53 onNewValue(newValue);
|
/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-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;
|
/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);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
TogglePreferenceControllerTest.java | 68 boolean newValue = true; 69 mToggleController.setChecked(!newValue); 71 mToggleController.onPreferenceChange(mPreference, newValue); 73 assertThat(mToggleController.isChecked()).isEqualTo(newValue); 78 boolean newValue = false; 79 mToggleController.setChecked(!newValue); 81 mToggleController.onPreferenceChange(mPreference, newValue); 83 assertThat(mToggleController.isChecked()).isEqualTo(newValue);
|
/external/clang/test/CodeGenObjC/ |
optimized-setter-ios-device.m | 5 // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); 9 // void objc_setProperty_nonatomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset); 13 // void objc_setProperty_atomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); 17 // void objc_setProperty_atomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
|
optimized-setter.m | 7 // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); 11 // void objc_setProperty_nonatomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset); 15 // void objc_setProperty_atomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); 19 // void objc_setProperty_atomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
|
unoptimized-setter.m | 5 // void objc_setProperty_nonatomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); 9 // void objc_setProperty_nonatomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset); 13 // void objc_setProperty_atomic(id self, SEL _cmd, id newValue, ptrdiff_t offset); 17 // void objc_setProperty_atomic_copy(id self, SEL _cmd, id newValue, ptrdiff_t offset);
|
/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...] |
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
InverseBindingListener.java | 37 * CharSequence newValue = view.getText(); 40 * value.set(newValue); 41 * } else if (!contentEquals(newValue, oldValue)) { 42 * value.set(newValue); 51 * TextWatcher newValue = new TextWatcher() { 63 * TextWatcher oldValue = ListenerUtil.trackListener(view, newValue, R.id.textWatcher); 67 * view.addTextChangedListener(newValue);
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
VehiclePropValueBuilder.java | 45 VehiclePropValue newValue = new VehiclePropValue(); 47 newValue.prop = propValue.prop; 48 newValue.areaId = propValue.areaId; 49 newValue.timestamp = propValue.timestamp; 50 newValue.value.stringValue = propValue.value.stringValue; 51 newValue.value.int32Values.addAll(propValue.value.int32Values); 52 newValue.value.floatValues.addAll(propValue.value.floatValues); 53 newValue.value.int64Values.addAll(propValue.value.int64Values); 54 newValue.value.bytes.addAll(propValue.value.bytes); 56 return newValue; [all...] |