Home
last modified time | relevance | path

Searched refs:toDouble (Results 1 – 25 of 72) sorted by relevance

123

/aoo4110/main/jurt/test/com/sun/star/uno/
H A DAnyConverter_Test.java517 double val= AnyConverter.toDouble(aByte); in test_toDouble()
519 val= AnyConverter.toDouble(anyByte); in test_toDouble()
521 val= AnyConverter.toDouble(aShort); in test_toDouble()
523 val= AnyConverter.toDouble(anyShort); in test_toDouble()
525 val= AnyConverter.toDouble(aInt); in test_toDouble()
527 val= AnyConverter.toDouble(anyInt); in test_toDouble()
529 val= AnyConverter.toDouble(aFloat); in test_toDouble()
531 val= AnyConverter.toDouble(anyFloat); in test_toDouble()
534 val= AnyConverter.toDouble(aDouble); in test_toDouble()
536 val= AnyConverter.toDouble(anyDouble); in test_toDouble()
[all …]
/aoo4110/main/sal/qa/rtl/ostring/
H A Drtl_OString2.cxx208 class toDouble : public CppUnit::TestFixture class
213 toDouble() in toDouble() function in rtl_OString::toDouble
234 double nValueToDouble = _sValue.toDouble(); in toDouble_test_impl()
340 CPPUNIT_TEST_SUITE(toDouble);
552 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(rtl_OString::toDouble, "rtl_OString");
/aoo4110/main/stoc/source/typeconv/
H A Dconvert.cxx142 double fRet = rStr.toDouble(); in getNumericValue()
291 double toDouble( const Any& rAny, double min = -DBL_MAX, double max = DBL_MAX ) const
461 double TypeConverter_Impl::toDouble( const Any& rAny, double min, double max ) const in toDouble() function in stoc_tcv::TypeConverter_Impl
786 sal_Bool bTmp = (toDouble( rVal ) != 0.0); in convertToSimpleType()
863 aRet <<= (float)( toDouble( rVal, -FLT_MAX, FLT_MAX ) ); in convertToSimpleType()
866 aRet <<= (double)( toDouble( rVal, -DBL_MAX, DBL_MAX ) ); in convertToSimpleType()
930 aRet <<= OUString::valueOf( toDouble( rVal ) ); in convertToSimpleType()
/aoo4110/main/framework/source/uielement/
H A Dspinfieldtoolbarcontroller.cxx260 aArgs[1].Value <<= aSpinfieldText.toDouble(); in getExecuteArgs()
489 m_nValue = aValue.toDouble(); in executeControlCommand()
497 m_nMax = aMax.toDouble(); in executeControlCommand()
502 m_nMin = aMin.toDouble(); in executeControlCommand()
506 m_nStep = aStep.toDouble(); in executeControlCommand()
/aoo4110/main/connectivity/inc/connectivity/
H A DDateConversion.hxx57 static double toDouble(const ::com::sun::star::util::Date&) in toDouble() function in connectivity::DateConversion
62 static double toDouble(const ::com::sun::star::util::Time&) in toDouble() function in connectivity::DateConversion
67 static double toDouble(const ::com::sun::star::util::DateTime&) in toDouble() function in connectivity::DateConversion
H A Ddbconversion.hxx129 …static double toDouble(const ::com::sun::star::util::Date& rVal, const ::com::sun::star::util::Dat…
130 static double toDouble(const ::com::sun::star::util::Time& rVal);
131 …static double toDouble(const ::com::sun::star::util::DateTime& rVal, const ::com::sun::star::util:…
/aoo4110/main/chart2/qa/
H A DTestCaseOldAPI.java373 fMax1 = AnyConverter.toDouble( oMax ); in testAxis()
380 fMax2 = AnyConverter.toDouble( oMax ); in testAxis()
392 AnyConverter.toDouble( xProp.getPropertyValue( "Max" )), in testAxis()
401 AnyConverter.toDouble( xProp.getPropertyValue( "Origin" )), in testAxis()
407 log.println( "Origin retrieved: " + AnyConverter.toDouble( oOrigin )); in testAxis()
433 AnyConverter.toDouble( xProp.getPropertyValue( "StepMain" )) == fStepMain ); in testAxis()
441 AnyConverter.toDouble( xProp.getPropertyValue( "StepHelp" )) == fStepHelp ); in testAxis()
/aoo4110/main/desktop/source/splash/
H A Dsplash.cxx596 double fRatio = sFullScreenProgressRatio.toDouble(); in determineProgressRatioValues()
608 double temp = sFullScreenProgressPos.getToken( 0, ',', idx ).toDouble(); in determineProgressRatioValues()
612 rYRelPos = sFullScreenProgressPos.getToken( 0, ',', idx ).toDouble(); in determineProgressRatioValues()
619 double temp = sFullScreenProgressSize.getToken( 0, ',', idx ).toDouble(); in determineProgressRatioValues()
623 rRelHeight = sFullScreenProgressSize.getToken( 0, ',', idx ).toDouble(); in determineProgressRatioValues()
/aoo4110/main/xmloff/source/draw/
H A Danimationimport.cxx560 aAny <<= rValue.toDouble(); in convertTiming()
632 *pValues++ = rValue.getToken( 0, ';', nIndex ).toDouble(); in convertKeyTimes()
658 pValues->Time = aToken.copy( 0, nPos ).toDouble(); in convertTimeFilter()
659 pValues->Progress = aToken.copy( nPos+1, aToken.getLength() - nPos - 1 ).toDouble(); in convertTimeFilter()
861 mxNode->setAcceleration( rValue.toDouble() ); in init_node()
867 mxNode->setDecelerate( rValue.toDouble() ); in init_node()
961 xAudio->setVolume( rValue.toDouble() ); in init_node()
1216 fInterval = rValue.toDouble(); in init_node()
/aoo4110/main/sal/qa/rtl_strings/
H A Drtl_old_testostring.cxx232 double f = OString("1.7e-10").toDouble(); in test_OString()
234 f = OString("1.7e+10").toDouble(); in test_OString()
236 f = OString("1.7e10").toDouble(); in test_OString()
/aoo4110/main/connectivity/source/commontools/
H A Ddbconversion.cxx274 double DBTypeConversion::toDouble(const Date& rVal, const Date& _rNullDate) in toDouble() function in dbtools::DBTypeConversion
280 double DBTypeConversion::toDouble(const Time& rVal) in toDouble() function in dbtools::DBTypeConversion
286 double DBTypeConversion::toDouble(const DateTime& _rVal, const Date& _rNullDate) in toDouble() function in dbtools::DBTypeConversion
296 return ((double)nTime) + toDouble(aTimePart); in toDouble()
H A DDateConversion.cxx375 return toDouble( i_column->getDate(), i_relativeToNullDate ); in getValue()
378 return toDouble( i_column->getTime() ); in getValue()
381 return toDouble( i_column->getTimestamp(), i_relativeToNullDate ); in getValue()
H A DFValue.cxx1490 …nRet = (float)dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::Date*)m_aValue.m_pValu… in getFloat()
1493 …nRet = (float)dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::Time*)m_aValue.m_pValu… in getFloat()
1496 …nRet = (float)dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::DateTime*)m_aValue.m_p… in getFloat()
1553 nRet = ::rtl::OUString(m_aValue.m_pString).toDouble(); in getDouble()
1559 nRet = ::rtl::OUString(m_aValue.m_pString).toDouble(); in getDouble()
1569 nRet = dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::Date*)m_aValue.m_pValue); in getDouble()
1572 nRet = dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::Time*)m_aValue.m_pValue); in getDouble()
1575 … nRet = dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::DateTime*)m_aValue.m_pValue); in getDouble()
/aoo4110/main/wizards/com/sun/star/wizards/ui/event/
H A DDataAwareFields.java220 field.setInt(target, (int) toDouble(value)); in set()
280 field.setDouble(target, toDouble(value)); in set()
423 private static double toDouble(Object value) in toDouble() method in DataAwareFields
/aoo4110/main/xmloff/source/style/
H A Dxmlbahdl.cxx359 fValue = rStrImpValue.toDouble(); in importXML()
500 aHSL[0] = aTmp.getToken( 0, ',', nIndex ).toDouble(); in importXML()
501 aHSL[1] = aTmp.getToken( 0, ',', nIndex ).toDouble() / 100.0; in importXML()
502 aHSL[2] = aTmp.getToken( 0, ',', nIndex ).toDouble() / 100.0; in importXML()
/aoo4110/main/oox/source/xls/
H A Dexternallinkfragment.cxx81 setCellValue( Any( rChars.toDouble() ) ); in onCharacters()
263 mxExtName->appendResultValue( maResultValue.toDouble() ); in onEndElement()
269 mxExtName->appendResultValue( maResultValue.toDouble() ); in onEndElement()
/aoo4110/main/oox/source/drawingml/chart/
H A Dchartdrawingfragment.cxx76 case CDR_TOKEN( x ): pAnchorPos->mfX = rValue.toDouble(); break; in setPos()
77 case CDR_TOKEN( y ): pAnchorPos->mfY = rValue.toDouble(); break; in setPos()
/aoo4110/main/connectivity/source/drivers/file/
H A DFPreparedStatement.cxx245 setParameter(parameterIndex,DBTypeConversion::toDouble(aData)); in setDate()
251 setParameter(parameterIndex,DBTypeConversion::toDouble(aVal)); in setTime()
258 setParameter(parameterIndex,DBTypeConversion::toDouble(aVal)); in setTimestamp()
H A Dfcomp.cxx521 …pOperand->setValue(::dbtools::DBTypeConversion::toDouble(::dbtools::DBTypeConversion::toDate(sDate… in execute_Operand()
525 …pOperand->setValue(::dbtools::DBTypeConversion::toDouble(::dbtools::DBTypeConversion::toTime(sDate… in execute_Operand()
529 …pOperand->setValue(::dbtools::DBTypeConversion::toDouble(::dbtools::DBTypeConversion::toDateTime(s… in execute_Operand()
/aoo4110/main/connectivity/source/drivers/macab/
H A DMacabRecord.cxx252 double nTime = DBTypeConversion::toDouble(aDateTime, DBTypeConversion::getStandardDate()); in createMacabField()
277 double nVal = _newFieldString.toDouble(); in createMacabField()
/aoo4110/main/wizards/com/sun/star/wizards/common/
H A DNumericalHelper.java669 public static double toDouble(Object aValue) in toDouble() method in NumericalHelper
1036 public static double toDouble(Object aValue, double defaultValue) in toDouble() method in NumericalHelper
1040 return toDouble(aValue); in toDouble()
1210 aTypeObject.aValue = new Double(AnyConverter.toDouble(aValue)); in getTypeObject()
/aoo4110/main/sal/qa/rtl/oustring/
H A Drtl_OUString2.cxx370 class toDouble : public CppUnit::TestFixture class
379 double nValueToDouble = suValue.toDouble(); in toDouble_test_impl()
486 CPPUNIT_TEST_SUITE(toDouble);
1252 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(rtl_OUString::toDouble, "rtl_OUString");
/aoo4110/main/reportdesign/source/ui/dlg/
H A DDateTime.cxx216 …nValue = ::dbtools::DBTypeConversion::toDouble(::dbtools::DBTypeConversion::toTime(aCurrentTime.Ge… in getFormatStringByKey()
222 …nValue = ::dbtools::DBTypeConversion::toDouble(::dbtools::DBTypeConversion::toDate(static_cast<sal… in getFormatStringByKey()
/aoo4110/main/connectivity/source/drivers/ado/
H A DAolevariant.cxx146 dblVal = ::dbtools::DBTypeConversion::toDouble(x,::com::sun::star::util::Date(30,12,1899)); in OLEVariant()
152 dblVal = ::dbtools::DBTypeConversion::toDouble(x); in OLEVariant()
158 dblVal = ::dbtools::DBTypeConversion::toDouble(x,::com::sun::star::util::Date(30,12,1899)); in OLEVariant()
/aoo4110/main/extensions/source/propctrlr/
H A Dusercontrol.cxx137 …nValue = ::dbtools::DBTypeConversion::toDouble(::dbtools::DBTypeConversion::toDate(static_cast<sal… in getPreviewValue()
144 …nValue = ::dbtools::DBTypeConversion::toDouble(::dbtools::DBTypeConversion::toTime(aCurrentTime.Ge… in getPreviewValue()

Completed in 142 milliseconds

123