/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System/ |
H A D | ByteTest.cs | 52 int cdd = NumberFormatInfo.CurrentInfo.CurrencyDecimalDigits; in SetUp() 53 string sep = NumberFormatInfo.CurrentInfo.CurrencyDecimalSeparator; in SetUp() 54 string csym = NumberFormatInfo.CurrentInfo.CurrencySymbol; in SetUp() 56 switch (NumberFormatInfo.CurrentInfo.CurrencyPositivePattern) { in SetUp() 75 sep = NumberFormatInfo.CurrentInfo.NumberDecimalSeparator; in SetUp() 76 string decimals = new String ('0', NumberFormatInfo.CurrentInfo.NumberDecimalDigits); in SetUp() 77 …string perPattern = new string[] {"n %","n%","%n"} [NumberFormatInfo.CurrentInfo.PercentPositivePa… in SetUp() 88 string gsep = NumberFormatInfo.CurrentInfo.NumberGroupSeparator; in SetUp() 166 " "+NumberFormatInfo.CurrentInfo.CurrencySymbol+"42 "); in TestParse() 168 Byte.Parse(NumberFormatInfo.CurrentInfo.CurrencySymbol+"42", NumberStyles.Integer); in TestParse() [all …]
|
H A D | SByteTest.cs | 29 private string[] Results1 = {"("+NumberFormatInfo.CurrentInfo.CurrencySymbol+"128.00)", 32 private string[] Results2 = {NumberFormatInfo.CurrentInfo.CurrencySymbol+"127.00000", 117 …Assert.AreEqual((sbyte)42, SByte.Parse(" "+NumberFormatInfo.CurrentInfo.CurrencySymbol+"42 ", Numb… in TestParse() 119 SByte.Parse(NumberFormatInfo.CurrentInfo.CurrencySymbol+"42", NumberStyles.Integer); in TestParse() 137 SByte.Parse(NumberFormatInfo.CurrentInfo.CurrencySymbol+"42", NumberStyles.Integer, Nfi); in TestParse()
|
H A D | UInt16Test.cs | 52 string decimals = new String ('0', NumberFormatInfo.CurrentInfo.NumberDecimalDigits); in SetUp() 53 …string perPattern = new string[] {"n %","n%","%n"} [NumberFormatInfo.CurrentInfo.PercentPositivePa… in SetUp() 55 Results1 [0] = NumberFormatInfo.CurrentInfo.CurrencySymbol + "0.00"; in SetUp() 60 Results2 [0] = NumberFormatInfo.CurrentInfo.CurrencySymbol + "65,535.00000"; in SetUp() 144 …Assert.IsTrue(42 == UInt16.Parse(" "+NumberFormatInfo.CurrentInfo.CurrencySymbol+"42 ", NumberStyl… in TestParse() 240 Console.WriteLine ("d:" + NumberFormatInfo.CurrentInfo.NumberDecimalDigits); in TestToString()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Extensions/tests/System/ |
H A D | Convert.ToString.cs | 463 actual = Convert.ToString(testValues[i], NumberFormatInfo.CurrentInfo); in FromBoolean() 477 result = Convert.ToString(testValues[i], NumberFormatInfo.CurrentInfo); in FromSByte() 491 result = Convert.ToString(testValues[i], NumberFormatInfo.CurrentInfo); in FromByte() 505 result = Convert.ToString(testValues[i], NumberFormatInfo.CurrentInfo); in FromInt16Array() 519 result = Convert.ToString(testValues[i], NumberFormatInfo.CurrentInfo); in FromUInt16Array() 533 result = Convert.ToString(testValues[i], NumberFormatInfo.CurrentInfo); in FromInt32Array() 547 result = Convert.ToString(testValues[i], NumberFormatInfo.CurrentInfo); in FromUInt32Array() 662 result = Convert.ToString(foo, NumberFormatInfo.CurrentInfo); in FromIFormattable() 666 result = Convert.ToString(foo, NumberFormatInfo.CurrentInfo); in FromIFormattable() 676 result = Convert.ToString(foo, NumberFormatInfo.CurrentInfo); in FromNonIConvertible() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Runtime.Serialization/System/Xml/ |
H A D | XmlExceptionHelper.cs | 133 ….XmlMaxStringContentLengthExceeded, maxStringContentLength.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxStringContentLengthExceeded() 138 …ption(reader, SR.XmlMaxArrayLengthExceeded, maxArrayLength.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxArrayLengthExceeded() 143 …der, SR.XmlMaxArrayLengthOrMaxItemsQuotaExceeded, maxQuota.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxArrayLengthOrMaxItemsQuotaExceeded() 148 …ThrowXmlException(reader, SR.XmlMaxDepthExceeded, maxDepth.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxDepthExceeded() 153 …ion(reader, SR.XmlMaxBytesPerReadExceeded, maxBytesPerRead.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxBytesPerReadExceeded() 158 …SR.XmlMaxNameTableCharCountExceeded, maxNameTableCharCount.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxNameTableCharCountExceeded() 253 …ing.MinKey.ToString(NumberFormatInfo.CurrentInfo), XmlDictionaryString.MaxKey.ToString(NumberForma… in ThrowXmlDictionaryStringIDOutOfRange() 258 …ption(reader, SR.XmlDictionaryStringIDUndefinedStatic, key.ToString(NumberFormatInfo.CurrentInfo)); in ThrowXmlDictionaryStringIDUndefinedStatic() 263 …tion(reader, SR.XmlDictionaryStringIDUndefinedSession, key.ToString(NumberFormatInfo.CurrentInfo)); in ThrowXmlDictionaryStringIDUndefinedSession()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Runtime.Serialization/ReferenceSources/ |
H A D | XmlExceptionHelper.cs | 135 ….XmlMaxStringContentLengthExceeded, maxStringContentLength.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxStringContentLengthExceeded() 140 …tion(reader, SR_.XmlMaxArrayLengthExceeded, maxArrayLength.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxArrayLengthExceeded() 145 …er, SR_.XmlMaxArrayLengthOrMaxItemsQuotaExceeded, maxQuota.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxArrayLengthOrMaxItemsQuotaExceeded() 150 …hrowXmlException(reader, SR_.XmlMaxDepthExceeded, maxDepth.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxDepthExceeded() 155 …on(reader, SR_.XmlMaxBytesPerReadExceeded, maxBytesPerRead.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxBytesPerReadExceeded() 160 …R_.XmlMaxNameTableCharCountExceeded, maxNameTableCharCount.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxNameTableCharCountExceeded() 255 …ing.MinKey.ToString(NumberFormatInfo.CurrentInfo), XmlDictionaryString.MaxKey.ToString(NumberForma… in ThrowXmlDictionaryStringIDOutOfRange() 260 …tion(reader, SR_.XmlDictionaryStringIDUndefinedStatic, key.ToString(NumberFormatInfo.CurrentInfo)); in ThrowXmlDictionaryStringIDUndefinedStatic() 265 …ion(reader, SR_.XmlDictionaryStringIDUndefinedSession, key.ToString(NumberFormatInfo.CurrentInfo)); in ThrowXmlDictionaryStringIDUndefinedSession()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Globalization/tests/NumberFormatInfo/ |
H A D | NumberFormatInfoCurrentInfo.cs | 28 Assert.Same(newCulture.NumberFormat, NumberFormatInfo.CurrentInfo); in CurrentInfo_CustomCulture() 39 … Assert.Same(CultureInfoSubclassOverridesGetFormat.CustomFormat, NumberFormatInfo.CurrentInfo); in CurrentInfo_Subclass_OverridesGetFormat() 50 … Assert.Same(CultureInfoSubclassOverridesNumberFormat.CustomFormat, NumberFormatInfo.CurrentInfo); in CurrentInfo_Subclass_OverridesNumberFormat()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web/UI/WebControls/ |
H A D | basecomparevalidator.cs | 85 NumberFormatInfo info = NumberFormatInfo.CurrentInfo; in AddAttributesToRender() 145 DateTimeFormatInfo info = DateTimeFormatInfo.CurrentInfo; in GetDateElementOrder() 175 return DateTimeFormatInfo.CurrentInfo.Calendar.TwoDigitYearMax; 185 return DateTimeFormatInfo.CurrentInfo.Calendar.ToFourDigitYear(shortYear); in GetFullYear() 216 cleanInput = ConvertDouble(text, NumberFormatInfo.CurrentInfo); in Convert() 231 … if (!(DateTimeFormatInfo.CurrentInfo.Calendar.GetType() == typeof(GregorianCalendar))) { in Convert() 248 cleanInput = ConvertCurrency(text, NumberFormatInfo.CurrentInfo); in Convert() 454 …if (Type == ValidationDataType.Date && DateTimeFormatInfo.CurrentInfo.Calendar.GetType() != typeof… in DetermineRenderUplevel()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/ |
H A D | uint32.cs | 95 return Number.FormatUInt32(m_value, null, NumberFormatInfo.CurrentInfo); in ToString() 107 return Number.FormatUInt32(m_value, format, NumberFormatInfo.CurrentInfo); in ToString() 118 return Number.ParseUInt32(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); in Parse() 124 return Number.ParseUInt32(s, style, NumberFormatInfo.CurrentInfo); in Parse() 141 … return Number.TryParseUInt32(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result); in TryParse()
|
H A D | uint64.cs | 91 return Number.FormatUInt64(m_value, null, NumberFormatInfo.CurrentInfo); in ToString() 103 return Number.FormatUInt64(m_value, format, NumberFormatInfo.CurrentInfo); in ToString() 114 return Number.ParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); in Parse() 120 return Number.ParseUInt64(s, style, NumberFormatInfo.CurrentInfo); in Parse() 136 … return Number.TryParseUInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result); in TryParse()
|
H A D | int64.cs | 92 return Number.FormatInt64(m_value, null, NumberFormatInfo.CurrentInfo); in ToString() 104 return Number.FormatInt64(m_value, format, NumberFormatInfo.CurrentInfo); in ToString() 114 return Number.ParseInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); in Parse() 119 return Number.ParseInt64(s, style, NumberFormatInfo.CurrentInfo); in Parse() 137 … return Number.TryParseInt64(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result); in TryParse()
|
H A D | int32.cs | 94 return Number.FormatInt32(m_value, null, NumberFormatInfo.CurrentInfo); in ToString() 101 return Number.FormatInt32(m_value, format, NumberFormatInfo.CurrentInfo); in ToString() 120 return Number.ParseInt32(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); in Parse() 126 return Number.ParseInt32(s, style, NumberFormatInfo.CurrentInfo); in Parse() 153 … return Number.TryParseInt32(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result); in TryParse()
|
H A D | uint16.cs | 84 return Number.FormatUInt32(m_value, null, NumberFormatInfo.CurrentInfo); in ToString() 97 return Number.FormatUInt32(m_value, format, NumberFormatInfo.CurrentInfo); in ToString() 108 return Parse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); in Parse() 114 return Parse(s, style, NumberFormatInfo.CurrentInfo); in Parse() 145 return TryParse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result); in TryParse()
|
H A D | byte.cs | 92 return Parse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); in Parse() 98 return Parse(s, style, NumberFormatInfo.CurrentInfo); in Parse() 130 return TryParse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result); in TryParse() 155 return Number.FormatInt32(m_value, null, NumberFormatInfo.CurrentInfo); in ToString() 162 return Number.FormatInt32(m_value, format, NumberFormatInfo.CurrentInfo); in ToString()
|
H A D | int16.cs | 87 return Number.FormatInt32(m_value, null, NumberFormatInfo.CurrentInfo); in ToString() 98 return ToString(format, NumberFormatInfo.CurrentInfo); in ToString() 118 return Parse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo); in Parse() 123 return Parse(s, style, NumberFormatInfo.CurrentInfo); in Parse() 159 return TryParse(s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result); in TryParse()
|
/dports/devel/llvm10/llvm-10.0.1.src/lib/CodeGen/ |
H A D | CFIInstrInserter.cpp | 229 MBBCFAInfo &CurrentInfo = MBBVector[Current->getNumber()]; in updateSuccCFAInfo() local 230 if (CurrentInfo.Processed) in updateSuccCFAInfo() 233 calculateOutgoingCFAInfo(CurrentInfo); in updateSuccCFAInfo() 234 for (auto *Succ : CurrentInfo.MBB->successors()) { in updateSuccCFAInfo() 237 SuccInfo.IncomingCFAOffset = CurrentInfo.OutgoingCFAOffset; in updateSuccCFAInfo() 238 SuccInfo.IncomingCFARegister = CurrentInfo.OutgoingCFARegister; in updateSuccCFAInfo()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | CFIInstrInserter.cpp | 229 MBBCFAInfo &CurrentInfo = MBBVector[Current->getNumber()]; in updateSuccCFAInfo() local 230 if (CurrentInfo.Processed) in updateSuccCFAInfo() 233 calculateOutgoingCFAInfo(CurrentInfo); in updateSuccCFAInfo() 234 for (auto *Succ : CurrentInfo.MBB->successors()) { in updateSuccCFAInfo() 237 SuccInfo.IncomingCFAOffset = CurrentInfo.OutgoingCFAOffset; in updateSuccCFAInfo() 238 SuccInfo.IncomingCFARegister = CurrentInfo.OutgoingCFARegister; in updateSuccCFAInfo()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/CodeGen/ |
H A D | CFIInstrInserter.cpp | 229 MBBCFAInfo &CurrentInfo = MBBVector[Current->getNumber()]; in updateSuccCFAInfo() local 230 if (CurrentInfo.Processed) in updateSuccCFAInfo() 233 calculateOutgoingCFAInfo(CurrentInfo); in updateSuccCFAInfo() 234 for (auto *Succ : CurrentInfo.MBB->successors()) { in updateSuccCFAInfo() 237 SuccInfo.IncomingCFAOffset = CurrentInfo.OutgoingCFAOffset; in updateSuccCFAInfo() 238 SuccInfo.IncomingCFARegister = CurrentInfo.OutgoingCFARegister; in updateSuccCFAInfo()
|
/dports/devel/llvm90/llvm-9.0.1.src/lib/CodeGen/ |
H A D | CFIInstrInserter.cpp | 229 MBBCFAInfo &CurrentInfo = MBBVector[Current->getNumber()]; in updateSuccCFAInfo() local 230 if (CurrentInfo.Processed) in updateSuccCFAInfo() 233 calculateOutgoingCFAInfo(CurrentInfo); in updateSuccCFAInfo() 234 for (auto *Succ : CurrentInfo.MBB->successors()) { in updateSuccCFAInfo() 237 SuccInfo.IncomingCFAOffset = CurrentInfo.OutgoingCFAOffset; in updateSuccCFAInfo() 238 SuccInfo.IncomingCFARegister = CurrentInfo.OutgoingCFARegister; in updateSuccCFAInfo()
|
/dports/devel/llvm80/llvm-8.0.1.src/lib/CodeGen/ |
H A D | CFIInstrInserter.cpp | 230 MBBCFAInfo &CurrentInfo = MBBVector[Current->getNumber()]; in updateSuccCFAInfo() local 231 if (CurrentInfo.Processed) in updateSuccCFAInfo() 234 calculateOutgoingCFAInfo(CurrentInfo); in updateSuccCFAInfo() 235 for (auto *Succ : CurrentInfo.MBB->successors()) { in updateSuccCFAInfo() 238 SuccInfo.IncomingCFAOffset = CurrentInfo.OutgoingCFAOffset; in updateSuccCFAInfo() 239 SuccInfo.IncomingCFARegister = CurrentInfo.OutgoingCFARegister; in updateSuccCFAInfo()
|
/dports/devel/llvm70/llvm-7.0.1.src/lib/CodeGen/ |
H A D | CFIInstrInserter.cpp | 229 MBBCFAInfo &CurrentInfo = MBBVector[Current->getNumber()]; 230 if (CurrentInfo.Processed) 233 calculateOutgoingCFAInfo(CurrentInfo); 234 for (auto *Succ : CurrentInfo.MBB->successors()) { 237 SuccInfo.IncomingCFAOffset = CurrentInfo.OutgoingCFAOffset; 238 SuccInfo.IncomingCFARegister = CurrentInfo.OutgoingCFARegister;
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.DataContractSerialization/src/System/Xml/ |
H A D | XmlExceptionHelper.cs | 127 …ption(reader, SR.XmlMaxArrayLengthExceeded, maxArrayLength.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxArrayLengthExceeded() 132 …ion(reader, SR.XmlMaxBytesPerReadExceeded, maxBytesPerRead.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxBytesPerReadExceeded() 142 ….XmlMaxStringContentLengthExceeded, maxStringContentLength.ToString(NumberFormatInfo.CurrentInfo)); in ThrowMaxStringContentLengthExceeded() 237 …ing.MinKey.ToString(NumberFormatInfo.CurrentInfo), XmlDictionaryString.MaxKey.ToString(NumberForma… in ThrowXmlDictionaryStringIDOutOfRange() 242 …ption(reader, SR.XmlDictionaryStringIDUndefinedStatic, key.ToString(NumberFormatInfo.CurrentInfo)); in ThrowXmlDictionaryStringIDUndefinedStatic() 247 …tion(reader, SR.XmlDictionaryStringIDUndefinedSession, key.ToString(NumberFormatInfo.CurrentInfo)); in ThrowXmlDictionaryStringIDUndefinedSession()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime/tests/System/ |
H A D | DoubleTests.cs | 298 bool isDefaultProvider = (provider == null || provider == NumberFormatInfo.CurrentInfo); in ToString() 332 NumberFormatInfo emptyFormat = NumberFormatInfo.CurrentInfo; in Parse_Valid_TestData() 375 bool isDefaultProvider = provider == null || provider == NumberFormatInfo.CurrentInfo; in Parse() 400 … Assert.True(double.TryParse(value, style, NumberFormatInfo.CurrentInfo, out result)); in Parse() 404 Assert.Equal(expected, double.Parse(value, style, NumberFormatInfo.CurrentInfo)); in Parse() 440 bool isDefaultProvider = provider == null || provider == NumberFormatInfo.CurrentInfo; in Parse_Invalid() 465 … Assert.False(double.TryParse(value, style, NumberFormatInfo.CurrentInfo, out result)); in Parse_Invalid() 469 … Assert.Throws(exceptionType, () => double.Parse(value, style, NumberFormatInfo.CurrentInfo)); in Parse_Invalid()
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/ |
H A D | Double.cs | 238 return Number.FormatDouble(m_value, null, NumberFormatInfo.CurrentInfo); in ToString() 243 return Number.FormatDouble(m_value, format, NumberFormatInfo.CurrentInfo); in ToString() 264 …ber.ParseDouble(s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.CurrentInfo); in Parse() 271 return Number.ParseDouble(s, style, NumberFormatInfo.CurrentInfo); in Parse() 311 …ar>)s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.CurrentInfo, out result); in TryParse() 316 …rse(s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.CurrentInfo, out result); in TryParse()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/ |
H A D | Double.cs | 238 return Number.FormatDouble(m_value, null, NumberFormatInfo.CurrentInfo); in ToString() 243 return Number.FormatDouble(m_value, format, NumberFormatInfo.CurrentInfo); in ToString() 264 …ber.ParseDouble(s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.CurrentInfo); in Parse() 271 return Number.ParseDouble(s, style, NumberFormatInfo.CurrentInfo); in Parse() 311 …ar>)s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.CurrentInfo, out result); in TryParse() 316 …rse(s, NumberStyles.Float | NumberStyles.AllowThousands, NumberFormatInfo.CurrentInfo, out result); in TryParse()
|