Home
last modified time | relevance | path

Searched refs:stringToDouble (Results 1 – 25 of 274) sorted by relevance

1234567891011

/dports/editors/libreoffice/libreoffice-7.2.6.2/sal/qa/rtl/math/
H A Dtest-rtl-math.cxx63 res = rtl::math::stringToDouble( in test_stringToDouble_good()
70 res = rtl::math::stringToDouble( in test_stringToDouble_good()
77 res = rtl::math::stringToDouble( in test_stringToDouble_good()
84 res = rtl::math::stringToDouble( in test_stringToDouble_good()
91 res = rtl::math::stringToDouble( in test_stringToDouble_good()
98 res = rtl::math::stringToDouble( in test_stringToDouble_good()
106 res = rtl::math::stringToDouble( in test_stringToDouble_good()
114 res = rtl::math::stringToDouble( in test_stringToDouble_good()
122 res = rtl::math::stringToDouble( in test_stringToDouble_good()
130 res = rtl::math::stringToDouble( in test_stringToDouble_good()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sal/qa/rtl/math/
H A Dtest-rtl-math.cxx63 res = rtl::math::stringToDouble( in test_stringToDouble_good()
70 res = rtl::math::stringToDouble( in test_stringToDouble_good()
77 res = rtl::math::stringToDouble( in test_stringToDouble_good()
84 res = rtl::math::stringToDouble( in test_stringToDouble_good()
91 res = rtl::math::stringToDouble( in test_stringToDouble_good()
98 res = rtl::math::stringToDouble( in test_stringToDouble_good()
106 res = rtl::math::stringToDouble( in test_stringToDouble_good()
114 res = rtl::math::stringToDouble( in test_stringToDouble_good()
122 res = rtl::math::stringToDouble( in test_stringToDouble_good()
130 res = rtl::math::stringToDouble( in test_stringToDouble_good()
[all …]
/dports/audio/vst3sdk/vst3sdk-3.7.1_build_50-1-g8199057/vstgui4/vstgui/tests/unittest/uidescription/
H A Duiattributes_test.cpp161 TEST(stringToDouble,
163 EXPECT(UIAttributes::stringToDouble ("as5.5", d) == false)
164 EXPECT(UIAttributes::stringToDouble ("5.5sa", d) == false)
165 EXPECT(UIAttributes::stringToDouble ("5.567.5", d) == false)
166 EXPECT(UIAttributes::stringToDouble ("hola", d) == false)
168 EXPECT(UIAttributes::stringToDouble ("25.5", d) && d == 25.5)
169 EXPECT(UIAttributes::stringToDouble (".5", d) && d == 0.5)
170 EXPECT(UIAttributes::stringToDouble (" -0.5", d) && d == -0.5)
/dports/finance/skrooge/skrooge-2.26.1/skgbankmodeler/
H A Dskgbudgetobject.cpp87 return SKGServices::stringToDouble(getAttribute(QStringLiteral("f_budgeted"))); in getBudgetedAmount()
92 return SKGServices::stringToDouble(getAttribute(QStringLiteral("f_budgeted_modified"))); in getBudgetedModifiedAmount()
102 return SKGServices::stringToDouble(getAttribute(QStringLiteral("f_DELTABEFORETRANSFER"))); in getDelta()
157 double transferred = SKGServices::stringToDouble(getAttribute(QStringLiteral("f_transferred"))); in process()
301 double amount = SKGServices::stringToDouble(listTmp.at(i).at(3)); in createAutomaticBudget()
348 double amount = -SKGServices::stringToDouble(listTmp.at(1).at(0)); in balanceBudget()
364 double amount = -SKGServices::stringToDouble(listTmp.at(1).at(0)); in balanceBudget()
H A Dskgbudgetruleobject.cpp134 return SKGServices::stringToDouble(getAttribute(QStringLiteral("f_quantity"))); in getQuantity()
212 order = SKGServices::stringToDouble(result.at(1).at(0)) + 1; in setOrder()
221 return SKGServices::stringToDouble(getAttribute(QStringLiteral("f_sortorder"))); in getOrder()
H A Dskgaccountobject.cpp109 oBalance = SKGServices::stringToDouble(listTmp.at(1).at(0)); in getInitialBalance()
226 …return SKGServices::stringToDouble(getAttributeFromView(QStringLiteral("v_account_amount"), QStrin… in getCurrentAmount()
255 coef = SKGServices::stringToDouble(val2); in getAmount()
264 output += coef * SKGServices::stringToDouble(quantity); in getAmount()
268 output = SKGServices::stringToDouble(val); in getAmount()
341 return SKGServices::stringToDouble(getAttribute(QStringLiteral("f_maxamount"))); in getMaxLimitAmount()
365 return SKGServices::stringToDouble(getAttribute(QStringLiteral("f_minamount"))); in getMinLimitAmount()
385 return SKGServices::stringToDouble(getAttribute(QStringLiteral("f_reconciliationbalance"))); in getReconciliationBalance()
802 …unit1.Value = SKGServices::stringToDouble(unitAccount.getAttribute(QStringLiteral("f_CURRENTAMOUNT… in getPossibleReconciliations()
810 double balance = SKGServices::stringToDouble(balanceString); in getPossibleReconciliations()
H A Dskgdocumentbank.cpp111 double val = SKGServices::stringToDouble(line.at(2)); in computeBalances()
112 double val2 = SKGServices::stringToDouble(line.at(3)); in computeBalances()
2179 … if (!err && SKGServices::stringToDouble(version) > SKGServices::stringToDouble(lastversion)) { in migrate()
3310 double v1 = SKGServices::stringToDouble(listTmp.at(i).at(1)); in getBudget()
3311 double v2 = SKGServices::stringToDouble(listTmp.at(i).at(2)); in getBudget()
3312 double v3 = SKGServices::stringToDouble(listTmp.at(i).at(3)); in getBudget()
3313 double v4 = SKGServices::stringToDouble(listTmp.at(i).at(4)); in getBudget()
3360 sum += qAbs(SKGServices::stringToDouble(listTmp.at(i).at(1))); in getMainCategories()
3416 double a1 = SKGServices::stringToDouble(listTmp.at(i).at(1)); in get5MainCategoriesVariationList()
3417 double a2 = SKGServices::stringToDouble(listTmp.at(i).at(3)); in get5MainCategoriesVariationList()
[all …]
/dports/finance/skrooge/skrooge-2.26.1/plugins/import/skrooge_import_gnc/
H A Dskgimportplugingnc.cpp328 info.value = SKGServices::stringToDouble(vals.at(0)); in importFile()
330 … info.value = SKGServices::stringToDouble(vals.at(0)) / SKGServices::stringToDouble(vals.at(1)); in importFile()
359 … info.value = SKGServices::stringToDouble(vals2.at(0)); in importFile()
361 … info.value = SKGServices::stringToDouble(vals2.at(0)) / SKGServices::stringToDouble(vals2.at(1)); in importFile()
366 … info.value = -SKGServices::stringToDouble(vals2.at(0)); in importFile()
368 … info.value = -SKGServices::stringToDouble(vals2.at(0)) / SKGServices::stringToDouble(vals2.at(1)); in importFile()
498 … quantity -= SKGServices::stringToDouble(operationObj.getAttribute(QStringLiteral("f_QUANTITY"))); in importFile()
631 val = SKGServices::stringToDouble(vals.at(0)); in importFile()
633 … val = SKGServices::stringToDouble(vals.at(0)) / SKGServices::stringToDouble(vals.at(1)); in importFile()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/inc/
H A Dstrhelper.hxx49 return rtl::math::stringToDouble(rStr, u'.', u'\0'); in StringToDouble()
54 return rtl::math::stringToDouble(rStr, '.', static_cast<char>(0)); in StringToDouble()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/vcl/
H A Dstrhelper.hxx49 return rtl::math::stringToDouble(rStr, u'.', u'\0'); in StringToDouble()
54 return rtl::math::stringToDouble(rStr, '.', static_cast<sal_Char>(0)); in StringToDouble()
/dports/graphics/hugin/hugin-2020.0.0/src/hugin_base/lensdb/
H A DLensDB.cpp1505 valid &= hugin_utils::stringToDouble(items[indexA], a); in ImportDistortion()
1506 valid &= hugin_utils::stringToDouble(items[indexB], b); in ImportDistortion()
1507 valid &= hugin_utils::stringToDouble(items[indexC], c); in ImportDistortion()
1632 valid &= hugin_utils::stringToDouble(items[indexVb], Vb); in ImportVignetting()
1633 valid &= hugin_utils::stringToDouble(items[indexVc], Vc); in ImportVignetting()
1634 valid &= hugin_utils::stringToDouble(items[indexVd], Vd); in ImportVignetting()
1787 valid &= hugin_utils::stringToDouble(items[indexRa], ra); in ImportTCA()
1788 valid &= hugin_utils::stringToDouble(items[indexRb], rb); in ImportTCA()
1789 valid &= hugin_utils::stringToDouble(items[indexRc], rc); in ImportTCA()
1790 valid &= hugin_utils::stringToDouble(items[indexRd], rd); in ImportTCA()
[all …]
/dports/finance/skrooge/skrooge-2.26.1/plugins/skrooge/skrooge_budget/
H A Dskgbudgetdelegate.cpp49 int year = SKGServices::stringToDouble(obj.getAttribute(QStringLiteral("i_year"))); in paint()
50 int month = SKGServices::stringToDouble(obj.getAttribute(QStringLiteral("i_month"))); in paint()
71 double budgeted = SKGServices::stringToDouble(obj.getAttribute(att)); in paint()
72 … double amount = SKGServices::stringToDouble(obj.getAttribute(QStringLiteral("f_CURRENTAMOUNT"))); in paint()
H A Dskgbudgetplugin.cpp121 …double f_CURRENTAMOUNT = SKGServices::stringToDouble(budget.getAttribute(QStringLiteral("f_CURRENT… in advice()
122 …double f_budgeted_modified = SKGServices::stringToDouble(budget.getAttribute(QStringLiteral("f_bud… in advice()
/dports/astro/gpstk/GPSTk-8.0.0/core/tests/
H A Ddf_diff.cpp69 double stringToDouble(const string& s, bool& isDouble) in stringToDouble() function in DFDiff
200 double d1 = stringToDouble(s1, df1); in process()
201 double d2 = stringToDouble(s2, df2); in process()
/dports/finance/skrooge/skrooge-2.26.1/tests/skgbasemodelertest/
H A Dskgtestbase.cpp115 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("10")) -… in test_conversions()
116 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("5.3")) … in test_conversions()
119 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("1.307,4… in test_conversions()
120 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("2 150,1… in test_conversions()
121 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("-$8.35"… in test_conversions()
122 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("8.35€")… in test_conversions()
124 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("31238/1… in test_conversions()
125 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("31238/a… in test_conversions()
126 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("nan")),… in test_conversions()
127 …SKGTEST(QStringLiteral("CONV:stringToDouble"), SKGServices::stringToDouble(QStringLiteral("inf")),… in test_conversions()
[all …]
/dports/x11-toolkits/plasma5-kdeplasma-addons/kdeplasma-addons-5.23.5/runners/converter/
H A Dconverterrunner.cpp128 QPair<bool, double> ConverterRunner::stringToDouble(const QStringRef &value) in stringToDouble() function in ConverterRunner
146 const QPair<bool, double> doubleFirstResults = stringToDouble(fractionParts.first()); in getValidatedNumberValue()
150 const QPair<bool, double> doubleSecondResult = stringToDouble(fractionParts.last()); in getValidatedNumberValue()
156 const QPair<bool, double> doubleResult = stringToDouble(fractionParts.first()); in getValidatedNumberValue()
/dports/math/vampire/vampire-4.5.1/Lib/
H A DInt.hpp97 static bool stringToDouble(const char*,double& result);
98 …static bool stringToDouble(const vstring& str,double& result) { return stringToDouble(str.c_str(),… in stringToDouble() function in Lib::Int
H A DInt.cpp209 bool Int::stringToDouble (const char* str,double& result) in stringToDouble() function in Int
234 bool converted = stringToDouble(str,d); in stringToFloat()
/dports/graphics/hugin/hugin-2020.0.0/src/hugin1/hugin/
H A DPapywizardImport.cpp100 … if (!hugin_utils::stringToDouble(std::string(number.mb_str(wxConvLocal)), images.cropfactor)) in ParseHeader()
139 … if(!hugin_utils::stringToDouble(std::string(focallength.mb_str(wxConvLocal)), images.focallength)) in ParseHeader()
209 if (!hugin_utils::stringToDouble(std::string(s.mb_str(wxConvLocal)), image.yaw)) in ParseShoot()
217 … if (!hugin_utils::stringToDouble(std::string(s.mb_str(wxConvLocal)), image.pitch)) in ParseShoot()
225 … if (!hugin_utils::stringToDouble(std::string(s.mb_str(wxConvLocal)), image.roll)) in ParseShoot()
/dports/finance/skrooge/skrooge-2.26.1/plugins/skrooge/skrooge_search/
H A Dskgsearchpluginwidget.cpp366 …ui.kAlarmAmount->setValue(SKGServices::stringToDouble(elementElement.attribute(QStringLiteral("val… in onSelectionChanged()
402 order = SKGServices::stringToDouble(result.at(1).at(0)) - 1; in onTop()
443 order = SKGServices::stringToDouble(result.at(1).at(0)) - 1; in onUp()
445 …order = (SKGServices::stringToDouble(result.at(1).at(0)) + SKGServices::stringToDouble(result.at(2… in onUp()
487 order = SKGServices::stringToDouble(result.at(1).at(0)) + 1; in onDown()
489 …order = (SKGServices::stringToDouble(result.at(1).at(0)) + SKGServices::stringToDouble(result.at(2… in onDown()
530 order = SKGServices::stringToDouble(result.at(1).at(0)) + 1; in onBottom()
/dports/finance/skrooge/skrooge-2.26.1/plugins/import/skrooge_import_mmb/
H A Dskgimportpluginmmb.cpp135 …IFOKDO(err, account.setInitialBalance(SKGServices::stringToDouble(attributes.at(10)), mapUnit[attr… in importFile()
284 … double q = SKGServices::stringToDouble(attributes.at(5)); in importFile()
310 … double q = SKGServices::stringToDouble(attributesSubOp.at(3)); in importFile()
445 … IFOKDO(err, unitValue.setQuantity(SKGServices::stringToDouble(attributes.at(6)))) in importFile()
451 … IFOKDO(err, unitValue2.setQuantity(SKGServices::stringToDouble(attributes.at(8)))) in importFile()
470 … IFOKDO(err, subop.setQuantity(SKGServices::stringToDouble(attributes.at(5)))) in importFile()
533 … IFOKDO(err, unitValue.setQuantity(SKGServices::stringToDouble(attributes.at(3)))) in importFile()
613 … IFOKDO(err, bug.setBudgetedAmount(coef * SKGServices::stringToDouble(attributes.at(5)))) in importFile()
/dports/graphics/hugin/hugin-2020.0.0/src/hugin_base/panodata/
H A DPTScriptParsing.cpp159 return hugin_utils::stringToDouble(s, d); in getDoubleParam()
176 if (!hugin_utils::stringToDouble(val, value)) { in getPTDoubleParam()
200 if (!hugin_utils::stringToDouble(val, dest)) { in readVar()
/dports/finance/skrooge/skrooge-2.26.1/plugins/import/skrooge_import_csv/
H A Dskgimportplugincsv.cpp377 … if (!s.isEmpty() && SKGServices::stringToDouble(s) < 0) { in importFile()
564 … if (!val.isEmpty() && SKGServices::stringToDouble(val) != 0.0 && !amountSet) { in importFile()
571 … err = currentSubOperation.setQuantity(sign * SKGServices::stringToDouble(val)); in importFile()
577 … err = currentSubOperation.setQuantity(SKGServices::stringToDouble(val)); in importFile()
608 …err = unitval.setQuantity(SKGServices::stringToDouble(atts.at(posAmount)) / SKGServices::stringToD… in importFile()
741 …IFOKDO(err, defAccount.setInitialBalance(SKGServices::stringToDouble(balance) - currentAmount, def… in importFile()
925 SKGServices::stringToDouble(atts.at(posvalue))); in importCSVUnit()
/dports/finance/skrooge/skrooge-2.26.1/plugins/import/skrooge_import_xhb/
H A Dskgimportpluginxhb.cpp111 …IFOKDO(err, accountObj.setMinLimitAmount(SKGServices::stringToDouble(getAttribute(account, QStrin… in importFile()
136 …IFOKDO(err, accountObj.setInitialBalance(SKGServices::stringToDouble(getAttribute(account, QStrin… in importFile()
212 …IFOKDO(err, budget.setBudgetedAmount(SKGServices::stringToDouble(getAttribute(category, 'b' % SKG… in importFile()
257 … double amount = SKGServices::stringToDouble(getAttribute(transaction, QStringLiteral("amount"))); in importFile()
/dports/finance/skrooge/skrooge-2.26.1/skgbankgui/
H A Dskgobjectmodel.cpp333 double dval = SKGServices::stringToDouble(val); in computeData()
526 … auto soluces = act.getPossibleReconciliations(SKGServices::stringToDouble(val), false); in computeData()
536 … auto soluces = act.getPossibleReconciliations(SKGServices::stringToDouble(val), false); in computeData()
552 double val = SKGServices::stringToDouble(obj->getAttribute(att)); in computeData()
559 …double transferred = SKGServices::stringToDouble(obj->getAttribute(QStringLiteral("f_transferred")… in computeData()
692 double val = SKGServices::stringToDouble(obj->getAttribute(att)); in computeData()
713 … double val1 = SKGServices::stringToDouble(obj->getAttribute(QStringLiteral("f_CURRENTAMOUNT"))); in computeData()
714 double val2 = SKGServices::stringToDouble(originalAmount); in computeData()
731 … double val1 = SKGServices::stringToDouble(obj->getAttribute(QStringLiteral("f_CURRENTAMOUNT"))); in computeData()
760 …double val = SKGServices::stringToDouble(obj->getAttribute(QStringLiteral("f_DELTABEFORETRANSFER")… in computeData()

1234567891011