Home
last modified time | relevance | path

Searched refs:nSeconds (Results 1 – 25 of 28) sorted by relevance

12

/trunk/main/forms/source/xforms/xpathlib/
H A Dxpathlib.cxx379 nSeconds += aDateTime.GetMin() * 60; in xforms_secondsFromDateTimeFunction()
380 nSeconds += aDateTime.GetSec(); in xforms_secondsFromDateTimeFunction()
381 xmlXPathReturnNumber(ctxt, nSeconds); in xforms_secondsFromDateTimeFunction()
434 nSeconds = atoi(pString); in parseDuration()
463 sal_Int32 nSeconds = 0; in xforms_secondsFuction() local
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()
[all …]
/trunk/main/connectivity/source/commontools/
H A Ddbconversion.cxx134 sal_Int32 nSeconds = rVal.Seconds + rVal.HundredthSeconds / 100; in toINT32() local
136 sal_Int32 nMinutes = rVal.Minutes + nSeconds / 60; in toINT32()
137 nSeconds = nSeconds % 60; in toINT32()
142 … return (sal_Int32)(nHundredthSeconds + (nSeconds*100) + (nMinutes*10000) + (nHours*1000000)); in toINT32()
149 sal_Int32 nSeconds = rVal.Seconds + rVal.HundredthSeconds / 100; in toINT64() local
151 sal_Int32 nMinutes = rVal.Minutes + nSeconds / 60; in toINT64()
152 nSeconds = nSeconds % 60; in toINT64()
157 …sal_Int32 nTime = (sal_Int32)(nHundredthSeconds + (nSeconds*100) + (nMinutes*10000) + (nHours*1000… in toINT64()
372 sal_Int32 nSeconds = nHundredthSeconds / 100; in toTime() local
373 sal_Int32 nMinutes = nSeconds / 60; in toTime()
[all …]
/trunk/main/sal/osl/os2/
H A Dtime.c97 time_t nSeconds; in osl_getTimeValueFromDateTime() local
121 nSeconds = mktime( &aTime ); in osl_getTimeValueFromDateTime()
128 if ( nSeconds != (time_t) -1 ) in osl_getTimeValueFromDateTime()
147 pTimeVal->Seconds = nSeconds; in osl_getTimeValueFromDateTime()
150 if ( nSeconds > bias ) in osl_getTimeValueFromDateTime()
251 sal_uInt32 nSeconds; in osl_getGlobalTimer() local
262 nSeconds = (sal_uInt32)( currentTime.tv_sec - startTime.tv_sec ); in osl_getGlobalTimer()
264 return ( nSeconds * 1000 ) + (long) (( currentTime.tv_usec - startTime.tv_usec) / 1000 ); in osl_getGlobalTimer()
/trunk/main/sal/osl/unx/
H A Dtime.c96 time_t nSeconds; in osl_getTimeValueFromDateTime() local
120 nSeconds = mktime( &aTime ); in osl_getTimeValueFromDateTime()
127 if ( nSeconds != (time_t) -1 ) in osl_getTimeValueFromDateTime()
146 pTimeVal->Seconds = nSeconds; in osl_getTimeValueFromDateTime()
149 if ( nSeconds > bias ) in osl_getTimeValueFromDateTime()
250 sal_uInt32 nSeconds; in osl_getGlobalTimer() local
261 nSeconds = (sal_uInt32)( currentTime.tv_sec - startTime.tv_sec ); in osl_getGlobalTimer()
263 return ( nSeconds * 1000 ) + (long) (( currentTime.tv_usec - startTime.tv_usec) / 1000 ); in osl_getGlobalTimer()
/trunk/main/basic/source/runtime/
H A Dmethods.cxx1977 sal_Int32 nSeconds = nHour; in RTLFUNC() local
1978 nSeconds *= 3600; in RTLFUNC()
1979 nSeconds += nMinute * 60; in RTLFUNC()
1980 nSeconds += nSecond; in RTLFUNC()
2187 nSeconds -= nTemp * 3600; in implGetSecond()
2189 nSeconds -= nTemp * 60; in implGetSecond()
2216 nSeconds *= 3600; in Now_Impl()
2218 nSeconds += aTime.GetSec(); in Now_Impl()
2256 nSeconds *= 3600; in RTLFUNC()
2297 nSeconds *= 3600; in RTLFUNC()
[all …]
/trunk/main/sc/source/core/tool/
H A Drefreshtimer.cxx53 void ScRefreshTimer::SetRefreshDelay( sal_uLong nSeconds ) in SetRefreshDelay() argument
56 if ( bActive && !nSeconds ) in SetRefreshDelay()
58 SetTimeout( nSeconds * 1000 ); in SetRefreshDelay()
59 if ( !bActive && nSeconds ) in SetRefreshDelay()
/trunk/main/sal/qa/testHelperFunctions/
H A DtestHelperFunctions.cxx271 sal_Int32 nSeconds = m_aEndTime.Seconds - m_aStartTime.Seconds; in showTime() local
277 nSeconds--; in showTime()
284 aStr += makeTwoDigits(rtl::OString::valueOf(nSeconds / 3600)); in showTime()
286 aStr += makeTwoDigits(rtl::OString::valueOf((nSeconds % 3600) / 60)); in showTime()
288 aStr += makeTwoDigits(rtl::OString::valueOf((nSeconds % 60))); in showTime()
/trunk/main/svl/source/numbers/
H A Dzformat.cxx2654 nSec = nSeconds%60; in ImpGetTimeOutput()
2660 nSec = nSeconds; in ImpGetTimeOutput()
2665 nMin = nSeconds / 60; in ImpGetTimeOutput()
2666 nSec = nSeconds % 60; in ImpGetTimeOutput()
2670 nHour = nSeconds / 3600; in ImpGetTimeOutput()
2672 nSec = nSeconds%60; in ImpGetTimeOutput()
3185 nSec = nSeconds%60; in ImpGetDateTimeOutput()
3191 nSec = nSeconds; in ImpGetDateTimeOutput()
3196 nMin = nSeconds / 60; in ImpGetDateTimeOutput()
3197 nSec = nSeconds % 60; in ImpGetDateTimeOutput()
[all …]
/trunk/main/sax/source/tools/
H A Dconverter.cxx1080 sal_Int32 nSeconds(0); in convertDuration() local
1131 nSeconds = nTemp; in convertDuration()
1180 nSeconds = nTemp; in convertDuration()
1209 rDuration.Seconds = static_cast<sal_Int16>(nSeconds); in convertDuration()
1421 sal_Int32 nSeconds(0); in convertDateOrDateTime() local
1456 bSuccess = readDateTimeComponent(string, nPos, nSeconds, 2, true); in convertDateOrDateTime()
1457 bSuccess &= (0 <= nSeconds) && (nSeconds < 60); in convertDateOrDateTime()
1490 if (!((0 == nMinutes) && (0 == nSeconds) && (0 == nMilliSeconds))) in convertDateOrDateTime()
1585 rDateTime.Seconds = static_cast<sal_uInt16>(nSeconds); in convertDateOrDateTime()
/trunk/main/sc/inc/
H A Drefreshtimer.hxx106 ScRefreshTimer( sal_uLong nSeconds ) : ppControl(0) in ScRefreshTimer() argument
108 SetTimeout( nSeconds * 1000 ); in ScRefreshTimer()
148 SC_DLLPUBLIC virtual void SetRefreshDelay( sal_uLong nSeconds );
/trunk/main/sal/osl/w32/
H A Dtime.c198 sal_uInt32 nSeconds; in osl_getGlobalTimer() local
208 nSeconds = (sal_uInt32)( currentTime.time - startTime.time ); in osl_getGlobalTimer()
210 return ( nSeconds * 1000 ) + (long)( currentTime.millitm - startTime.millitm ); in osl_getGlobalTimer()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/graphical/
H A DTimeHelper.java67 int nSeconds = cal.get(Calendar.SECOND); in stop() local
68 m_nSeconds = nSeconds - m_nSeconds; in stop()
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDBTypeConversion.java370 int nSeconds = nHundredthSeconds / 100; in toTime() local
371 int nMinutes = nSeconds / 60; in toTime()
374 xRet.Seconds = (short)(nSeconds % 60); in toTime()
/trunk/main/xmloff/source/draw/
H A Dpropimp0.cxx63 const sal_Int32 nSeconds = ( aTime.Hours * 60 + aTime.Minutes ) * 60 + aTime.Seconds; in importXML() local
64 rValue <<= nSeconds; in importXML()
/trunk/main/sc/source/core/data/
H A Ddpgroup.cxx488 long nSeconds = (long)::rtl::math::approxFloor(fTime*D_TIMEFACTOR+0.5); in lcl_GetDatePartValue() local
493 nResult = nSeconds / 3600; in lcl_GetDatePartValue()
496 nResult = ( nSeconds % 3600 ) / 60; in lcl_GetDatePartValue()
499 nResult = nSeconds % 60; in lcl_GetDatePartValue()
/trunk/main/vcl/source/gdi/
H A Dpdfwriter.cxx519 void PDFWriter::SetAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr ) in SetAutoAdvanceTime() argument
521 ((PDFWriterImpl*)pImplementation)->setAutoAdvanceTime( nSeconds, nPageNr ); in SetAutoAdvanceTime()
H A Dpdfextoutdevdata.cxx743 void PDFExtOutDevData::SetAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr ) in SetAutoAdvanceTime() argument
746 mpGlobalSyncData->mParauInts.push_back( nSeconds ); in SetAutoAdvanceTime()
/trunk/main/vcl/inc/vcl/
H A Dpdfextoutdevdata.hxx521 void SetAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr = -1 );
H A Dpdfwriter.hxx1265 void SetAutoAdvanceTime( sal_uInt32 nSeconds, sal_Int32 nPageNr = -1 );
/trunk/main/sw/source/core/graphic/
H A Dndgrf.cxx79 const sal_Int32 nSeconds(aCacheOptions.GetGraphicManagerObjectReleaseTime()); in getCacheTimeInMs() local
81 return nSeconds * 1000 / 12; in getCacheTimeInMs()
/trunk/main/sc/source/ui/miscdlgs/
H A Doptsolver.cxx79 void ScSolverProgressDialog::SetTimeLimit( sal_Int32 nSeconds ) in SetTimeLimit() argument
83 aNew += String::CreateFromInt32( nSeconds ); in SetTimeLimit()
/trunk/main/sc/source/ui/inc/
H A Doptsolver.hxx229 void SetTimeLimit( sal_Int32 nSeconds );
/trunk/main/svx/source/svdraw/
H A Dsvdograf.cxx98 const sal_Int32 nSeconds(aCacheOptions.GetGraphicManagerObjectReleaseTime()); in getCacheTimeInMs() local
106 return nSeconds * 1000 / 12; in getCacheTimeInMs()
/trunk/main/sdext/source/presenter/
H A DPresenterToolBar.cxx2116 const sal_Int32 nSeconds(sal::static_int_cast<sal_Int32>(rTime.Seconds)); in FormatTime() local
2137 const OUString sSeconds (OUString::valueOf(nSeconds)); in FormatTime()
/trunk/main/xmloff/source/core/
H A Dxmluconv.cxx2005 sal_uInt16 nSeconds = rTime.GetSec(); in convertTimeDuration() local
2006 sTmp.append( (sal_Int32) nSeconds ); in convertTimeDuration()

Completed in 500 milliseconds

12