Home
last modified time | relevance | path

Searched refs:newValue (Results 1 – 25 of 270) sorted by relevance

1234567891011

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DSetValues002Test.java36 Value newValue = new Value(StackTrace002Debuggee.BOOLEAN_PARAM_VALUE_TO_SET); in testSetValues001_Boolean() local
38 suspensionMethodInfo.addVariable("param", oldValue, newValue); in testSetValues001_Boolean()
40 methodInfo.addVariable("param", oldValue, newValue); in testSetValues001_Boolean()
53 Value newValue = new Value(StackTrace002Debuggee.BYTE_PARAM_VALUE_TO_SET); in testSetValues002_Byte() local
55 suspensionMethodInfo.addVariable("param", oldValue, newValue); in testSetValues002_Byte()
57 methodInfo.addVariable("param", oldValue, newValue); in testSetValues002_Byte()
70 Value newValue = new Value(StackTrace002Debuggee.CHAR_PARAM_VALUE_TO_SET); in testSetValues003_Char() local
72 suspensionMethodInfo.addVariable("param", oldValue, newValue); in testSetValues003_Char()
74 methodInfo.addVariable("param", oldValue, newValue); in testSetValues003_Char()
87 Value newValue = new Value(StackTrace002Debuggee.SHORT_PARAM_VALUE_TO_SET); in testSetValues004_Short() local
[all …]
DJDWPStackFrameAccessTest.java62 VariableInfo(String variableName, Value initialValue, Value setValue, Value newValue) { in VariableInfo() argument
66 this.valueOnSecondSuspension = newValue; in VariableInfo()
103 Value newValue) { in addVariable() argument
104 variables.add(new VariableInfo(variableName, initialValue, setValue, newValue)); in addVariable()
108 Value newValue; in addVariable() local
111 newValue = initialValue; in addVariable()
114 newValue = setValue; in addVariable()
116 variables.add(new VariableInfo(variableName, initialValue, setValue, newValue)); in addVariable()
272 Value newValue = variableInfo.getValueToSet(); in checkStackFrame() local
273 if (firstSuspension && newValue != null && !isSuspensionMethod) { in checkStackFrame()
[all …]
/external/javassist/src/main/javassist/compiler/ast/
DIntConst.java67 long newValue; in compute0() local
70 newValue = value1 + value2; in compute0()
73 newValue = value1 - value2; in compute0()
76 newValue = value1 * value2; in compute0()
79 newValue = value1 / value2; in compute0()
82 newValue = value1 % value2; in compute0()
85 newValue = value1 | value2; in compute0()
88 newValue = value1 ^ value2; in compute0()
91 newValue = value1 & value2; in compute0()
94 newValue = value << (int)value2; in compute0()
[all …]
DDoubleConst.java71 double newValue; in compute() local
74 newValue = value1 + value2; in compute()
77 newValue = value1 - value2; in compute()
80 newValue = value1 * value2; in compute()
83 newValue = value1 / value2; in compute()
86 newValue = value1 % value2; in compute()
92 return new DoubleConst(newValue, newType); in compute()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/impl/
DAbstractInterceptFieldCallback.java23 public int writeInt(Object obj, String name, int oldValue, int newValue) { return newValue; } in writeInt() argument
24 … public char writeChar(Object obj, String name, char oldValue, char newValue) { return newValue; } in writeChar() argument
25 … public byte writeByte(Object obj, String name, byte oldValue, byte newValue) { return newValue; } in writeByte() argument
26 …lean writeBoolean(Object obj, String name, boolean oldValue, boolean newValue) { return newValue; } in writeBoolean() argument
27 …blic short writeShort(Object obj, String name, short oldValue, short newValue) { return newValue; } in writeShort() argument
28 …blic float writeFloat(Object obj, String name, float oldValue, float newValue) { return newValue; } in writeFloat() argument
29 … double writeDouble(Object obj, String name, double oldValue, double newValue) { return newValue; } in writeDouble() argument
30 … public long writeLong(Object obj, String name, long oldValue, long newValue) { return newValue; } in writeLong() argument
31 … Object writeObject(Object obj, String name, Object oldValue, Object newValue) { return newValue; } in writeObject() argument
DInterceptFieldCallback.java23 int writeInt(Object obj, String name, int oldValue, int newValue); in writeInt() argument
24 char writeChar(Object obj, String name, char oldValue, char newValue); in writeChar() argument
25 byte writeByte(Object obj, String name, byte oldValue, byte newValue); in writeByte() argument
26 boolean writeBoolean(Object obj, String name, boolean oldValue, boolean newValue); in writeBoolean() argument
27 short writeShort(Object obj, String name, short oldValue, short newValue); in writeShort() argument
28 float writeFloat(Object obj, String name, float oldValue, float newValue); in writeFloat() argument
29 double writeDouble(Object obj, String name, double oldValue, double newValue); in writeDouble() argument
30 long writeLong(Object obj, String name, long oldValue, long newValue); in writeLong() argument
31 Object writeObject(Object obj, String name, Object oldValue, Object newValue); in writeObject() argument
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorOutputElem.java52 public void setCdataSectionElements(java.util.Vector newValue) in setCdataSectionElements() argument
54 m_outputProperties.setQNameProperties(OutputKeys.CDATA_SECTION_ELEMENTS, newValue); in setCdataSectionElements()
62 public void setDoctypePublic(String newValue) in setDoctypePublic() argument
64 m_outputProperties.setProperty(OutputKeys.DOCTYPE_PUBLIC, newValue); in setDoctypePublic()
72 public void setDoctypeSystem(String newValue) in setDoctypeSystem() argument
74 m_outputProperties.setProperty(OutputKeys.DOCTYPE_SYSTEM, newValue); in setDoctypeSystem()
82 public void setEncoding(String newValue) in setEncoding() argument
84 m_outputProperties.setProperty(OutputKeys.ENCODING, newValue); in setEncoding()
92 public void setIndent(boolean newValue) in setIndent() argument
94 m_outputProperties.setBooleanProperty(OutputKeys.INDENT, newValue); in setIndent()
[all …]
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_gdal.cpp224 double newValue = range_cast(gdalType, image.depth(), pixelValue ); in write_pixel() local
228 if( image.depth() == CV_8U ){ image.at<uchar>(row,col) = newValue; } in write_pixel()
229 else if( image.depth() == CV_16U ){ image.at<unsigned short>(row,col) = newValue; } in write_pixel()
230 else if( image.depth() == CV_16S ){ image.at<short>(row,col) = newValue; } in write_pixel()
231 else if( image.depth() == CV_32S ){ image.at<int>(row,col) = newValue; } in write_pixel()
232 else if( image.depth() == CV_32F ){ image.at<float>(row,col) = newValue; } in write_pixel()
233 else if( image.depth() == CV_64F ){ image.at<double>(row,col) = newValue; } in write_pixel()
239 … if( image.depth() == CV_8U ){ image.at<Vec3b>(row,col) = Vec3b(newValue,newValue,newValue); } in write_pixel()
240 …lse if( image.depth() == CV_16U ){ image.at<Vec3s>(row,col) = Vec3s(newValue,newValue,newValue); } in write_pixel()
241 …lse if( image.depth() == CV_16S ){ image.at<Vec3s>(row,col) = Vec3s(newValue,newValue,newValue); } in write_pixel()
[all …]
/external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
DPropertyChangeSupportTest.java332 Object newValue = 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()
605 Object newValue = 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()
634 Object newValue = new Object(); in testFirePropertyChange_Object_EqualValues() local
635 Object oldValue = newValue; in testFirePropertyChange_Object_EqualValues()
[all …]
DPropertyChangeEventTest.java38 Object newValue = new Object(); in testConstructor_Normal() local
41 oldValue, newValue); in testConstructor_Normal()
45 assertSame(newValue, event.getNewValue()); in testConstructor_Normal()
70 Object newValue = new Object(); in testConstructor_NullProperty() local
72 oldValue, newValue); in testConstructor_NullProperty()
76 assertSame(newValue, event.getNewValue()); in testConstructor_NullProperty()
98 Object newValue = new Object(); in testSetPropagationId_Normal() local
101 oldValue, newValue); in testSetPropagationId_Normal()
110 assertSame(newValue, event.getNewValue()); in testSetPropagationId_Normal()
120 Object newValue = new Object(); in testSetPropagationId_Null() local
[all …]
/external/jetty/src/java/org/eclipse/jetty/util/
DAtomics.java30 public static void updateMin(AtomicLong currentMin, long newValue) in updateMin() argument
33 while (newValue < oldValue) in updateMin()
35 if (currentMin.compareAndSet(oldValue, newValue)) in updateMin()
41 public static void updateMax(AtomicLong currentMax, long newValue) in updateMax() argument
44 while (newValue > oldValue) in updateMax()
46 if (currentMax.compareAndSet(oldValue, newValue)) in updateMax()
52 public static void updateMin(AtomicInteger currentMin, int newValue) in updateMin() argument
55 while (newValue < oldValue) in updateMin()
57 if (currentMin.compareAndSet(oldValue, newValue)) in updateMin()
63 public static void updateMax(AtomicInteger currentMax, int newValue) in updateMax() argument
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DBasicVerifier.java144 expected = newValue(Type.getObjectType(((FieldInsnNode) insn).owner)); in unaryOperation()
174 expected = newValue(Type.getType(((FieldInsnNode) insn).desc)); in unaryOperation()
194 expected1 = newValue(Type.getType("[I")); in binaryOperation()
198 if (isSubTypeOf(value1, newValue(Type.getType("[Z")))) { in binaryOperation()
199 expected1 = newValue(Type.getType("[Z")); in binaryOperation()
201 expected1 = newValue(Type.getType("[B")); in binaryOperation()
206 expected1 = newValue(Type.getType("[C")); in binaryOperation()
210 expected1 = newValue(Type.getType("[S")); in binaryOperation()
214 expected1 = newValue(Type.getType("[J")); in binaryOperation()
218 expected1 = newValue(Type.getType("[F")); in binaryOperation()
[all …]
DBasicInterpreter.java52 public Value newValue(final Type type) { in newValue() method in BasicInterpreter
82 return newValue(Type.getObjectType("null")); in newOperation()
115 return newValue(Type.getObjectType("java/lang/Class")); in newOperation()
117 return newValue(Type.getType(cst.getClass())); in newOperation()
122 return newValue(Type.getType(((FieldInsnNode) insn).desc)); in newOperation()
124 return newValue(Type.getObjectType(((TypeInsnNode) insn).desc)); in newOperation()
180 return newValue(Type.getType(((FieldInsnNode) insn).desc)); in unaryOperation()
184 return newValue(Type.getType("[Z")); in unaryOperation()
186 return newValue(Type.getType("[C")); in unaryOperation()
188 return newValue(Type.getType("[B")); in unaryOperation()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DDecimalFormat.java835 public void setPositivePrefix(String newValue) { in setPositivePrefix() argument
836 ((java.text.DecimalFormat)numberFormat).setPositivePrefix(newValue); in setPositivePrefix()
858 public void setNegativePrefix(String newValue) { in setNegativePrefix() argument
859 ((java.text.DecimalFormat)numberFormat).setNegativePrefix(newValue); in setNegativePrefix()
881 public void setPositiveSuffix(String newValue) { in setPositiveSuffix() argument
882 ((java.text.DecimalFormat)numberFormat).setPositiveSuffix(newValue); in setPositiveSuffix()
904 public void setNegativeSuffix(String newValue) { in setNegativeSuffix() argument
905 ((java.text.DecimalFormat)numberFormat).setNegativeSuffix(newValue); in setNegativeSuffix()
934 public void setMultiplier(int newValue) { in setMultiplier() argument
935 ((java.text.DecimalFormat)numberFormat).setMultiplier(newValue); in setMultiplier()
[all …]
/external/llvm/test/Transforms/ObjCARC/
Dcontract-storestrong.ll66 ; CHECK-LABEL: define void @test3(i8* %newValue) {
68 ; CHECK-NEXT: %x0 = tail call i8* @objc_retain(i8* %newValue) [[NUW]]
75 define void @test3(i8* %newValue) {
77 %x0 = tail call i8* @objc_retain(i8* %newValue) nounwind
79 store i8* %newValue, i8** @x, align 8
87 ; CHECK-LABEL: define i1 @test4(i8* %newValue, i8* %foo) {
89 ; CHECK-NEXT: %x0 = tail call i8* @objc_retain(i8* %newValue) [[NUW]]
96 define i1 @test4(i8* %newValue, i8* %foo) {
98 %x0 = tail call i8* @objc_retain(i8* %newValue) nounwind
100 store i8* %newValue, i8** @x, align 8
[all …]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DDecimalFormatICU.java292 public void setDecimalSeparatorAlwaysShown(boolean newValue) { in setDecimalSeparatorAlwaysShown() argument
294 fIcuDecfmt.setDecimalSeparatorAlwaysShown(newValue); in setDecimalSeparatorAlwaysShown()
299 public void setGroupingSize(int newValue) { in setGroupingSize() argument
301 fIcuDecfmt.setGroupingSize(newValue); in setGroupingSize()
306 public void setMaximumFractionDigits(int newValue) { in setMaximumFractionDigits() argument
308 fIcuDecfmt.setMaximumFractionDigits(newValue); in setMaximumFractionDigits()
313 public void setMaximumIntegerDigits(int newValue) { in setMaximumIntegerDigits() argument
315 fIcuDecfmt.setMaximumIntegerDigits(newValue); in setMaximumIntegerDigits()
320 public void setMinimumFractionDigits(int newValue) { in setMinimumFractionDigits() argument
322 fIcuDecfmt.setMinimumFractionDigits(newValue); in setMinimumFractionDigits()
[all …]
DNumberFormatICU.java176 public void setGroupingUsed(boolean newValue) { in setGroupingUsed() argument
177 fIcuNfmt.setGroupingUsed(newValue); in setGroupingUsed()
181 public void setMaximumFractionDigits(int newValue) { in setMaximumFractionDigits() argument
182 fIcuNfmt.setMaximumFractionDigits(newValue); in setMaximumFractionDigits()
186 public void setMaximumIntegerDigits(int newValue) { in setMaximumIntegerDigits() argument
187 fIcuNfmt.setMaximumIntegerDigits(newValue); in setMaximumIntegerDigits()
191 public void setMinimumFractionDigits(int newValue) { in setMinimumFractionDigits() argument
192 fIcuNfmt.setMinimumFractionDigits(newValue); in setMinimumFractionDigits()
196 public void setMinimumIntegerDigits(int newValue) { in setMinimumIntegerDigits() argument
197 fIcuNfmt.setMinimumIntegerDigits(newValue); in setMinimumIntegerDigits()
/external/guava/guava-tests/test/com/google/common/cache/
DAbstractLoadingCacheTest.java60 Object newValue = new Object(); in testGetUnchecked_checked() local
61 valueRef.set(newValue); in testGetUnchecked_checked()
62 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_checked()
91 Object newValue = new Object(); in testGetUnchecked_unchecked() local
92 valueRef.set(newValue); in testGetUnchecked_unchecked()
93 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_unchecked()
122 Object newValue = new Object(); in testGetUnchecked_error() local
123 valueRef.set(newValue); in testGetUnchecked_error()
124 assertSame(newValue, cache.getUnchecked(new Object())); in testGetUnchecked_error()
153 Object newValue = new Object(); in testGetUnchecked_otherThrowable() local
[all …]
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DDelegatingHttpsURLConnection.java185 @Override public void addRequestProperty(String field, String newValue) { in addRequestProperty() argument
186 delegate.addRequestProperty(field, newValue); in addRequestProperty()
237 @Override public void setAllowUserInteraction(boolean newValue) { in setAllowUserInteraction() argument
238 delegate.setAllowUserInteraction(newValue); in setAllowUserInteraction()
241 @Override public void setDefaultUseCaches(boolean newValue) { in setDefaultUseCaches() argument
242 delegate.setDefaultUseCaches(newValue); in setDefaultUseCaches()
245 @Override public void setDoInput(boolean newValue) { in setDoInput() argument
246 delegate.setDoInput(newValue); in setDoInput()
249 @Override public void setDoOutput(boolean newValue) { in setDoOutput() argument
250 delegate.setDoOutput(newValue); in setDoOutput()
[all …]
/external/guava/guava/src/com/google/common/util/concurrent/
DAtomicLongMap.java126 long newValue = oldValue + delta; in addAndGet() local
127 if (atomic.compareAndSet(oldValue, newValue)) { in addAndGet()
128 return newValue; in addAndGet()
175 long newValue = oldValue + delta; in getAndAdd() local
176 if (atomic.compareAndSet(oldValue, newValue)) { in getAndAdd()
188 public long put(K key, long newValue) { in put() argument
192 atomic = map.putIfAbsent(key, new AtomicLong(newValue)); in put()
203 if (map.replace(key, atomic, new AtomicLong(newValue))) { in put()
210 if (atomic.compareAndSet(oldValue, newValue)) { in put()
364 long putIfAbsent(K key, long newValue) {
[all …]
/external/guava/guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/
DAtomicLongMapTest.java259 long newValue = random.nextInt(MAX_ADDEND); in testPut() local
262 long result = map.put(key, newValue); in testPut()
264 assertEquals(newValue, after); in testPut()
266 newValue += newValue; in testPut()
317 long newValue = random.nextInt(MAX_ADDEND); in testPutIfAbsent() local
320 long result = map.putIfAbsent(key, newValue); in testPutIfAbsent()
323 assertEquals(before == 0 ? newValue : before, after); in testPutIfAbsent()
327 result = map.putIfAbsent(key, newValue); in testPutIfAbsent()
331 assertEquals(newValue, after); in testPutIfAbsent()
335 result = map.putIfAbsent(key, newValue); in testPutIfAbsent()
[all …]
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/atomic/
DAtomicLong.java40 public final void set(long newValue) { in set() argument
41 value = newValue; in set()
44 public final void lazySet(long newValue) { in lazySet() argument
45 set(newValue); in lazySet()
48 public final long getAndSet(long newValue) { in getAndSet() argument
50 value = newValue; in getAndSet()
DAtomicInteger.java40 public final void set(int newValue) { in set() argument
41 value = newValue; in set()
44 public final void lazySet(int newValue) { in lazySet() argument
45 set(newValue); in lazySet()
48 public final int getAndSet(int newValue) { in getAndSet() argument
50 value = newValue; in getAndSet()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAtomicLongMapTest.java274 long newValue = random.nextInt(MAX_ADDEND); in testPut() local
277 long result = map.put(key, newValue); in testPut()
279 assertEquals(newValue, after); in testPut()
281 newValue += newValue; in testPut()
332 long newValue = random.nextInt(MAX_ADDEND); in testPutIfAbsent() local
335 long result = map.putIfAbsent(key, newValue); in testPutIfAbsent()
338 assertEquals(before == 0 ? newValue : before, after); in testPutIfAbsent()
342 result = map.putIfAbsent(key, newValue); in testPutIfAbsent()
346 assertEquals(newValue, after); in testPutIfAbsent()
350 result = map.putIfAbsent(key, newValue); in testPutIfAbsent()
[all …]
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp2369 DecimalFormat::setPositivePrefix(const UnicodeString& newValue) in setPositivePrefix() argument
2371 fImpl->setPositivePrefix(newValue); in setPositivePrefix()
2387 DecimalFormat::setNegativePrefix(const UnicodeString& newValue) in setNegativePrefix() argument
2389 fImpl->setNegativePrefix(newValue); in setNegativePrefix()
2405 DecimalFormat::setPositiveSuffix(const UnicodeString& newValue) in setPositiveSuffix() argument
2407 fImpl->setPositiveSuffix(newValue); in setPositiveSuffix()
2423 DecimalFormat::setNegativeSuffix(const UnicodeString& newValue) in setNegativeSuffix() argument
2425 fImpl->setNegativeSuffix(newValue); in setNegativeSuffix()
2443 DecimalFormat::setMultiplier(int32_t newValue) in setMultiplier() argument
2445 fImpl->setMultiplier(newValue); in setMultiplier()
[all …]

1234567891011