Home
last modified time | relevance | path

Searched refs:convertedValue (Results 1 – 25 of 137) sorted by relevance

123456

/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.beans/src/main/java/org/springframework/beans/
H A DTypeConverterDelegate.java158 convertedValue = StringUtils.commaDelimitedListToStringArray((String) convertedValue); in convertIfNecessary()
164 convertedValue = doConvertValue(oldValue, convertedValue, requiredType, editor); in convertIfNecessary()
172 if (convertedValue != null) { in convertIfNecessary()
176 convertedValue = StringUtils.commaDelimitedListToStringArray((String) convertedValue); in convertIfNecessary()
192 if (convertedValue.getClass().isArray() && Array.getLength(convertedValue) == 1) { in convertIfNecessary()
193 convertedValue = Array.get(convertedValue, 0); in convertIfNecessary()
200 else if (convertedValue instanceof String && !requiredType.isInstance(convertedValue)) { in convertIfNecessary()
223 convertedValue = attemptToConvertStringToEnum(requiredType, trimmedValue, convertedValue); in convertIfNecessary()
260 return (T) convertedValue; in convertIfNecessary()
307 return convertedValue; in attemptToConvertStringToEnum()
[all …]
H A DPropertyValue.java54 private Object convertedValue; field in PropertyValue
87 this.convertedValue = original.convertedValue; in PropertyValue()
165 this.convertedValue = value; in setConvertedValue()
173 return this.convertedValue; in getConvertedValue()
/dports/math/vtk9/VTK-9.1.0/IO/Core/Testing/Cxx/
H A DTestNumberToString.cxx111 T convertedValue; in TestConvert() local
114 if (convertedValue != value) in TestConvert()
157 T convertedValue; in ConvertNumericLimitsValue() local
158 convertedStream >> convertedValue; in ConvertNumericLimitsValue()
159 if (value != convertedValue) in ConvertNumericLimitsValue()
173 T convertedValue; in ConvertNumericLimitsValue() local
175 if (value != convertedValue) in ConvertNumericLimitsValue()
189 T convertedValue; in ConvertNumericLimitsValue() local
191 if (value != convertedValue) in ConvertNumericLimitsValue()
205 T convertedValue; in ConvertNumericLimitsValue() local
[all …]
/dports/math/vtk8/VTK-8.2.0/IO/Core/Testing/Cxx/
H A DTestNumberToString.cxx111 T convertedValue; in TestConvert() local
114 if (convertedValue != value) in TestConvert()
157 T convertedValue; in ConvertNumericLimitsValue() local
158 convertedStream >> convertedValue; in ConvertNumericLimitsValue()
159 if (value != convertedValue) in ConvertNumericLimitsValue()
173 T convertedValue; in ConvertNumericLimitsValue() local
175 if (value != convertedValue) in ConvertNumericLimitsValue()
189 T convertedValue; in ConvertNumericLimitsValue() local
191 if (value != convertedValue) in ConvertNumericLimitsValue()
205 T convertedValue; in ConvertNumericLimitsValue() local
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ComponentModel.DataAnnotations/DataAnnotations/
H A DEnumDataTypeAttribute.cs59 object convertedValue; in IsValid()
62 convertedValue = value; in IsValid()
66 convertedValue = Enum.Parse(this.EnumType, stringValue, false); in IsValid()
68 convertedValue = Enum.ToObject(this.EnumType, value); in IsValid()
81 string underlying = GetUnderlyingTypeValueString(this.EnumType, convertedValue); in IsValid()
82 string converted = convertedValue.ToString(); in IsValid()
85 return Enum.IsDefined(this.EnumType, convertedValue); in IsValid()
H A DCustomValidationAttribute.cs136 object convertedValue; in IsValid()
137 if (!this.TryConvertValue(value, out convertedValue)) { in IsValid()
149 ? new object[] { convertedValue } in IsValid()
150 : new object[] { convertedValue, validationContext }; in IsValid()
274 private bool TryConvertValue(object value, out object convertedValue) { in TryConvertValue() argument
275 convertedValue = null; in TryConvertValue()
289 convertedValue = value; in TryConvertValue()
296 convertedValue = Convert.ChangeType(value, t, CultureInfo.CurrentCulture); in TryConvertValue()
H A DRangeAttribute.cs105 object convertedValue = null; in IsValid()
108 convertedValue = this.Conversion(value); in IsValid()
119 return min.CompareTo(convertedValue) <= 0 && max.CompareTo(convertedValue) >= 0; in IsValid()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ComponentModel.Annotations/src/System/ComponentModel/DataAnnotations/
H A DEnumDataTypeAttribute.cs69 object convertedValue; in IsValid()
73 convertedValue = value; in IsValid()
79 convertedValue = stringValue != null in IsValid()
96 string underlying = GetUnderlyingTypeValueString(EnumType, convertedValue); in IsValid()
97 string converted = convertedValue.ToString(); in IsValid()
101 return Enum.IsDefined(EnumType, convertedValue); in IsValid()
H A DCustomValidationAttribute.cs140 object convertedValue; in IsValid()
141 if (!TryConvertValue(value, out convertedValue)) in IsValid()
161 ? new object[] { convertedValue } in IsValid()
162 : new[] { convertedValue, validationContext }; in IsValid()
306 private bool TryConvertValue(object value, out object convertedValue) in TryConvertValue() argument
308 convertedValue = null; in TryConvertValue()
327 convertedValue = value; in TryConvertValue()
335convertedValue = Convert.ChangeType(value, expectedValueType, CultureInfo.CurrentCulture); in TryConvertValue()
H A DRangeAttribute.cs106 object convertedValue; in IsValid()
110 convertedValue = Conversion(value); in IsValid()
127 return min.CompareTo(convertedValue) <= 0 && max.CompareTo(convertedValue) >= 0; in IsValid()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.Activities/LocalService/
H A DCorrelationTokenTypeConvertor.cs34 object convertedValue = null; in ConvertFrom()
43 convertedValue = correlator; in ConvertFrom()
48 if (convertedValue == null) in ConvertFrom()
49 convertedValue = new CorrelationToken(correlatorName); in ConvertFrom()
52 return convertedValue; in ConvertFrom()
57 object convertedValue = null; in ConvertTo()
60 convertedValue = correlator.Name; in ConvertTo()
61 return convertedValue; in ConvertTo()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.WorkflowServices/System/Workflow/Activities/
H A DChannelTokenTypeConverter.cs37 object convertedValue = null; in ConvertFrom()
46 convertedValue = endpoint; in ConvertFrom()
51 if (convertedValue == null) in ConvertFrom()
53 convertedValue = new ChannelToken(endpointName); in ConvertFrom()
57 return convertedValue; in ConvertFrom()
62 object convertedValue = null; in ConvertTo()
66 convertedValue = endpoint.Name; in ConvertTo()
68 return convertedValue; in ConvertTo()
H A DContextTokenTypeConverter.cs37 object convertedValue = null; in ConvertFrom()
46 convertedValue = contextToken; in ConvertFrom()
51 if (convertedValue == null) in ConvertFrom()
53 convertedValue = new ContextToken(contextName); in ConvertFrom()
57 return convertedValue; in ConvertFrom()
62 object convertedValue = null; in ConvertTo()
66 convertedValue = contextToken.Name; in ConvertTo()
68 return convertedValue; in ConvertTo()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Design/
H A DTypeConverters.cs87 object convertedValue = null; in ConvertTo()
94 convertedValue = conditionTypeEntry.Key; in ConvertTo()
100 if (convertedValue == null) in ConvertTo()
101 convertedValue = base.ConvertTo(context, culture, value, destinationType); in ConvertTo()
103 return convertedValue; in ConvertTo()
206 if (convertedValue == null) in ConvertFrom()
211 convertedValue = actualConverter.ConvertFrom(actualContext, culture, value); in ConvertFrom()
213 convertedValue = valueToConvert; in ConvertFrom()
216 return convertedValue; in ConvertFrom()
224 string convertedValue = null; in ConvertTo()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Serializer/
H A DPropertySegmentSerializer.cs101 object convertedValue = null; in DeserializeFromString()
104 convertedValue = null; in DeserializeFromString()
111 convertedValue = converter.ConvertFromString(context, value); in DeserializeFromString()
113convertedValue = this.containedSerializer.DeserializeFromString(serializationManager, propertyType… in DeserializeFromString()
115convertedValue = base.DeserializeFromString(serializationManager, propertyType, value); in DeserializeFromString()
118 return convertedValue; in DeserializeFromString()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.jface.tests.databinding/src/org/eclipse/core/tests/internal/databinding/
H A DConverterValuePropertyTest.java45 IValueProperty<Object, String> property = BindingProperties.convertedValue(converter); in testGetValue()
53 IValueProperty<Object, String> property = BindingProperties.convertedValue(converter); in testGetValueForNullSource()
61 IValueProperty<Object, String> property = BindingProperties.convertedValue(converter); in testSetValue()
73 IValueProperty<Object, String> property = BindingProperties.convertedValue(converter); in testGetValueType()
/dports/devel/log4net/log4net-1.2.10/src/Repository/Hierarchy/
H A DXmlHierarchyConfigurator.cs676 object convertedValue = ConvertStringTo(propertyType, propertyValue); in SetParameter()
679 if (convertedValue != null && parsedObjectConversionTargetType != null) in SetParameter()
681 …chyConfigurator: Performing additional conversion of value from [" + convertedValue.GetType().Name… in SetParameter()
682convertedValue = OptionConverter.ConvertTypeTo(convertedValue, parsedObjectConversionTargetType); in SetParameter()
685 if (convertedValue != null) in SetParameter()
690 …etting Property [" + propInfo.Name + "] to " + convertedValue.GetType().Name + " value [" + conver… in SetParameter()
695 …propInfo.SetValue(target, convertedValue, BindingFlags.SetProperty, null, null, CultureInfo.Invari… in SetParameter()
699 … [" + propInfo.Name + "] on object [" + target + "] using value [" + convertedValue + "]", targetI… in SetParameter()
705 …ection Property [" + methInfo.Name + "] to " + convertedValue.GetType().Name + " value [" + conver… in SetParameter()
710 …methInfo.Invoke(target, BindingFlags.InvokeMethod, null, new object[] {convertedValue}, CultureInf… in SetParameter()
[all …]
/dports/www/ilias/ILIAS-5.4.25/libs/composer/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/
H A DXml.php311 $convertedValue = AddressHelper::convertFormulaToA1($definedValue);
312 if ($convertedValue[0] === '=') {
313 $convertedValue = substr($convertedValue, 1);
315 …nedName(DefinedName::createInstance($name, $spreadsheet->getActiveSheet(), $convertedValue, true));
493 $convertedValue = AddressHelper::convertFormulaToA1($definedValue);
494 if ($convertedValue[0] === '=') {
495 $convertedValue = substr($convertedValue, 1);
497 …spreadsheet->addDefinedName(DefinedName::createInstance($name, $activeWorksheet, $convertedValue));
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities.Core.Presentation/System/Activities/Core/Presentation/
H A DExpressionToExpressionTextConverter.cs20 string convertedValue = null; in Convert()
24convertedValue = ExpressionHelper.GetExpressionString(valueMI.GetCurrentValue() as Activity, value… in Convert()
26 return convertedValue; in Convert()
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/linkeddata/gojsonld/
H A DserializationApi.go463 var convertedValue interface{}
464 convertedValue = valueLiteral.Value
477 if convertedValue == "true" {
478 convertedValue = true
479 } else if convertedValue == "false" {
480 convertedValue = false
485 floatValue, floatErr := strconv.ParseFloat(convertedValue.(string), 64)
487 convertedValue = floatValue
502 result["@value"] = convertedValue
/dports/games/openrct2/OpenRCT2-0.3.5.1/src/openrct2/localisation/
H A DFormatter.h97 uint64_t convertedValue; in Add() local
100 convertedValue = static_cast<uint64_t>(value); in Add()
104 convertedValue = reinterpret_cast<uint64_t>(value); in Add()
106 std::memcpy(CurrentBuf, &convertedValue, sizeof(TSpecified)); in Add()
/dports/editors/micro/micro-2.0.10/vendor/layeh.com/gopher-luar/
H A Dmap.go42 var convertedValue reflect.Value
44 convertedValue, err = lValueToReflect(L, value, ref.Type().Elem(), nil)
49 ref.SetMapIndex(convertedKey, convertedValue)
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/common/
H A Dconfig_file.h119 std::string convertedValue = ArrayToString(array); in SetArrayProperty() local
120 m_propertyTree.put(section + "." + key, convertedValue); in SetArrayProperty()
142 std::vector<T> convertedValue = StringToArray<T>(readValue); in GetArrayProperty() local
143 array = std::move(convertedValue); in GetArrayProperty()
/dports/java/springframework31/spring-framework-3.1.4.RELEASE/projects/org.springframework.beans/src/main/java/org/springframework/beans/factory/config/
H A DPropertyResourceConfigurer.java104 String convertedValue = convertProperty(propertyName, propertyValue); in convertProperties() local
105 if (!ObjectUtils.nullSafeEquals(propertyValue, convertedValue)) { in convertProperties()
106 props.setProperty(propertyName, convertedValue); in convertProperties()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/compmod/system/componentmodel/
H A DEnumConverter.cs121 long convertedValue = 0; in ConvertFrom()
124convertedValue |= Convert.ToInt64((Enum)Enum.Parse(type, v, true), culture); in ConvertFrom()
126 return Enum.ToObject(type, convertedValue); in ConvertFrom()
183 … object convertedValue = ((IConvertible)value).ToType(underlyingType, culture); in ConvertTo()
187 … return new InstanceDescriptor(method, new object[] {type, convertedValue}); in ConvertTo()

123456