Lines Matching refs:nSeconds
377 sal_Int32 nSeconds = nDays * 24 * 60 * 60; in xforms_secondsFromDateTimeFunction() local
378 nSeconds += aDateTime.GetHour() * 60 * 60; in xforms_secondsFromDateTimeFunction()
379 nSeconds += aDateTime.GetMin() * 60; in xforms_secondsFromDateTimeFunction()
380 nSeconds += aDateTime.GetSec(); in xforms_secondsFromDateTimeFunction()
381 xmlXPathReturnNumber(ctxt, nSeconds); in xforms_secondsFromDateTimeFunction()
389 sal_Int32& nHours, sal_Int32& nMinutes, sal_Int32& nSeconds) in parseDuration() argument
434 nSeconds = atoi(pString); in parseDuration()
463 sal_Int32 nSeconds = 0; in xforms_secondsFuction() local
465 if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) in xforms_secondsFuction()
467 nSeconds += nMinutes*60; in xforms_secondsFuction()
468 nSeconds += nHours*60*60; in xforms_secondsFuction()
469 nSeconds += nDays*24*60*60; in xforms_secondsFuction()
472 nSeconds = 0 - nSeconds; in xforms_secondsFuction()
473 xmlXPathReturnNumber(ctxt, nSeconds); in xforms_secondsFuction()
493 sal_Int32 nSeconds = 0; in xforms_monthsFuction() local
495 if (parseDuration(pString, bNegative, nYears, nMonths, nDays, nHours, nMinutes, nSeconds)) in xforms_monthsFuction()