Home
last modified time | relevance | path

Searched refs:nSec (Results 1 – 24 of 24) sorted by relevance

/aoo42x/main/tools/source/datetime/
H A Dttime.cxx62 sal_Int32 nSec = rTime.GetSec(); in TimeToSec100() local
69 nRet += nSec*100; in TimeToSec100()
147 nSec += n100Sec / 100; in Time()
149 nMin += nSec / 60; in Time()
150 nSec = nSec % 60; in Time()
164 sal_Int32 nSec = GetSec(); in SetHour() local
167 nTime = (n100Sec + (nSec*100) + (nMin*10000) + in SetHour()
177 sal_Int32 nSec = GetSec(); in SetMin() local
210 sal_Int32 nSec = GetSec(); in Set100Sec() local
226 sal_Int32 nSec = GetSec(); in GetMSFromTime() local
[all …]
H A Ddatetime.cxx141 long nSec = Date( *this ) - rDate; in GetSecFromDateTime() local
142 nSec *= 24UL*60*60; in GetSecFromDateTime()
145 nSec += (nHour*3600)+(nMin*60)+GetSec(); in GetSecFromDateTime()
146 return nSec; in GetSecFromDateTime()
160 void DateTime::MakeDateTimeFromSec( const Date& rDate, sal_uIntPtr nSec ) in MakeDateTimeFromSec() argument
162 long nDays = nSec / (24UL*60*60); in MakeDateTimeFromSec()
164 nSec -= nDays * (24UL*60*60); in MakeDateTimeFromSec()
165 sal_uInt16 nMin = (sal_uInt16)(nSec / 60); in MakeDateTimeFromSec()
166 nSec -= nMin * 60; in MakeDateTimeFromSec()
167 ((Time*)this)->operator=( Time( 0, nMin, (sal_uInt16)nSec ) ); in MakeDateTimeFromSec()
/aoo42x/main/tools/source/ref/
H A Dglobname.cxx239 sal_uInt16 nSec = 0; in MakeId() local
245 nSec = nSec * 16 + (*pStr - '0'); in MakeId()
247 nSec = nSec * 16 + (sal_uInt16)(toupper( *pStr ) - 'A' + 10 ); in MakeId()
286 *(sal_uInt16 *)&pImp->szData[ 4 ] = nSec; in MakeId()
/aoo42x/main/sal/qa/osl/process/
H A Dosl_Thread.cxx300 void setWait(sal_Int32 nSec) in setWait() argument
302 m_nWaitSec = nSec; in setWait()
932 double nSec = aStopWatch.getSeconds(); in TEST_F() local
933 printf("join_001 nSec=%f\n", nSec); in TEST_F()
936 ASSERT_TRUE(nSec >= 2) << "Join the thread: after the thread terminate"; in TEST_F()
965 double nSec = aStopWatch.getSeconds(); in TEST_F() local
966 printf("join_002 nSec=%f\n", nSec); in TEST_F()
969 ASSERT_TRUE(nSec >= 1) << "Join the thread: after thread terminate by another thread"; in TEST_F()
1663 double nSec = aStopWatch.getSeconds(); in TEST_F() local
1666 printf("nSec = %f \n", nSec); in TEST_F()
/aoo42x/main/framework/source/fwi/classes/
H A Dconverter.cxx211 … sal_uInt32 nSec = sSource.copy( nIndex, sSource.getLength()-nIndex ).toInt32(); in convert_String2DateTime() local
214 Time aTime( nHour, nMin , nSec ); in convert_String2DateTime()
264 sal_Int32 nSec = aSource.GetSec(); in convert_DateTime2ISO8601() local
303 if (nSec<10) in convert_DateTime2ISO8601()
305 sBuffer.append( (sal_Int32)nSec ); in convert_DateTime2ISO8601()
/aoo42x/main/svl/source/numbers/
H A Dzformat.cxx2649 sal_uLong nHour, nMin, nSec; in ImpGetTimeOutput() local
2654 nSec = nSeconds%60; in ImpGetTimeOutput()
2660 nSec = nSeconds; in ImpGetTimeOutput()
2666 nSec = nSeconds % 60; in ImpGetTimeOutput()
2672 nSec = nSeconds%60; in ImpGetTimeOutput()
2678 nSec = 0; in ImpGetTimeOutput()
3185 nSec = nSeconds%60; in ImpGetDateTimeOutput()
3191 nSec = nSeconds; in ImpGetDateTimeOutput()
3197 nSec = nSeconds % 60; in ImpGetDateTimeOutput()
3203 nSec = nSeconds%60; in ImpGetDateTimeOutput()
[all …]
/aoo42x/main/xmloff/source/meta/
H A Dxmlversion.cxx273 sal_Int32 nSec = 0; in ParseISODateTimeString() local
330 nSec = aTimeStr.getToken( 0, ':', n ).toInt32(); in ParseISODateTimeString()
331 if ( nSec > 59 ) in ParseISODateTimeString()
345 rDateTime.Seconds = sal::static_int_cast< sal_uInt16 >(nSec); in ParseISODateTimeString()
/aoo42x/main/sal/qa/osl/mutex/
H A Dosl_Mutex.cxx727 sal_Int32 nSec = aTimeVal_after.Seconds - aTimeVal_befor.Seconds; in TEST_F() local
728 printf("nSec is %" SAL_PRIdINT32"\n", nSec); in TEST_F()
732 ASSERT_TRUE(nSec <= 7 && nSec > 1) << "ClearableGuard method: clear"; in TEST_F()
/aoo42x/main/sc/source/filter/xcl97/
H A DXclImpChangeTrack.cxx127 sal_uInt8 nMonth, nDay, nHour, nMin, nSec; in ReadDateTime() local
129 *pStrm >> nYear >> nMonth >> nDay >> nHour >> nMin >> nSec; in ReadDateTime()
136 rDateTime.SetSec( nSec ); in ReadDateTime()
/aoo42x/main/automation/source/server/
H A Dprof_usl.cxx107 #define CALC_MS( nSec, nNSec ) ( nSec * 1000 + (nNSec+500000) / 1000000 ) argument
/aoo42x/main/vcl/source/gdi/
H A Dimpvect.cxx900 sal_uInt16 nPrim( 0 ), nSec( nSize - 1 ); in ImplVectorize() local
906 aNewPoly.SetPoint( rPoly.GetPoint( nSec ), nPrim ); in ImplVectorize()
907 aNewPoly.SetFlags( nPrim++, rPoly.GetFlags( nSec-- ) ); in ImplVectorize()
912 aNewPoly.SetPoint( rPoly.GetPoint( nSec-- ), nPrim++ ); in ImplVectorize()
/aoo42x/main/xmlsecurity/source/helper/
H A Dxsecctl.cxx210 sal_Int32 nSec = 0; in convertDateTime() local
256 if ( !convertNumber( nSec, aTimeStr.getToken( 0, ':', n ), 0, 59 ) ) in convertDateTime()
268 rDateTime.Seconds = (sal_uInt16)nSec; in convertDateTime()
/aoo42x/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/
H A DDBTypeConversion.java144 int nSec = rVal.Seconds; in getMsFromTime() local
147 return ((nHour*3600000)+(nMin*60000)+(nSec*1000)+(n100Sec*10)); in getMsFromTime()
/aoo42x/main/connectivity/source/commontools/
H A Ddbconversion.cxx173 sal_Int32 nSec = rVal.Seconds; in getMsFromTime() local
176 return ((nHour*3600000)+(nMin*60000)+(nSec*1000)+(n100Sec*10)); in getMsFromTime()
/aoo42x/main/l10ntools/source/help/
H A DHelpCompiler.cxx38 static void impl_sleep( sal_uInt32 nSec ) in impl_sleep() argument
41 aTime.Seconds = nSec; in impl_sleep()
/aoo42x/main/tools/inc/tools/
H A Ddatetime.hxx68 void MakeDateTimeFromSec( const Date& rDate, sal_uIntPtr nSec );
H A Dtime.hxx46 sal_uIntPtr nSec = 0, sal_uIntPtr n100Sec = 0 );
/aoo42x/main/svx/inc/svx/
H A Dfrmsel.hxx158 void SetStyleToSelection( sal_uInt16 nPrim, sal_uInt16 nDist, sal_uInt16 nSec );
/aoo42x/main/sc/source/filter/excel/
H A Dxipivot.cxx166 sal_uInt8 nDay, nHour, nMin, nSec; in ReadSxdatetime() local
167 rStrm >> nYear >> nMonth >> nDay >> nHour >> nMin >> nSec; in ReadSxdatetime()
168 SetDateTime( DateTime( Date( nDay, nMonth, nYear ), Time( nHour, nMin, nSec ) ) ); in ReadSxdatetime()
H A Dxepivot.cxx190 sal_uInt8 nSec = static_cast< sal_uInt8 >( pDateTime->GetSec() ); in WriteBody() local
192 rStrm << nYear << nMonth << nDay << nHour << nMin << nSec; in WriteBody()
/aoo42x/main/xmloff/source/core/
H A Dxmluconv.cxx1255 sal_Int32 nSec = 0; in convertDateTime() local
1301 if ( !convertNumber( nSec, aTimeStr.getToken( 0, ':', n ), 0, 59 ) ) in convertDateTime()
1313 rDateTime.Seconds = (sal_uInt16)nSec; in convertDateTime()
/aoo42x/main/sc/source/core/tool/
H A Dinterpr2.cxx296 double nSec = GetDouble(); in ScGetTime() local
299 double fTime = fmod( (nHour * 3600) + (nMin * 60) + nSec, D_TIMEFACTOR) / D_TIMEFACTOR; in ScGetTime()
/aoo42x/main/filter/source/msfilter/
H A Dmsdffimp.cxx3313 sal_uInt32 nShapeId, nSec = ( nId >> 10 ) - 1; in SeekToShape() local
3314 if ( nSec < mnIdClusters ) in SeekToShape()
3316 sal_IntPtr nOfs = (sal_IntPtr)maDgOffsetTable.Get( mpFidcls[ nSec ].dgid ); in SeekToShape()
H A Dsvdfppt.cxx1382 sal_uInt32 nSec = ( rObjData.nShapeId >> 10 ) - 1; in ProcessObj() local
1383 if ( mpFidcls && ( nSec < mnIdClusters ) ) in ProcessObj()
1384 mpFidcls[ nSec ].dgid = rPersistEntry.nDrawingDgId; // insert the correct drawing id; in ProcessObj()

Completed in 210 milliseconds