/aoo4110/main/tools/source/datetime/ |
H A D | ttime.cxx | 62 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 D | datetime.cxx | 141 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()
|
/aoo4110/main/tools/source/ref/ |
H A D | globname.cxx | 239 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()
|
/aoo4110/main/sal/qa/osl/process/ |
H A D | osl_Thread.cxx | 300 void setWait(sal_Int32 nSec) in setWait() argument 302 m_nWaitSec = nSec; in setWait() 982 double nSec = aStopWatch.getSeconds(); in join_001() local 983 t_print("join_001 nSec=%f\n", nSec); in join_001() 988 nSec >= 2 in join_001() 1018 double nSec = aStopWatch.getSeconds(); in join_002() local 1019 t_print("join_002 nSec=%f\n", nSec); in join_002() 1024 nSec >= 1 in join_002() 1796 double nSec = aStopWatch.getSeconds(); in wait_001() local 1799 t_print("nSec = %f \n", nSec); in wait_001()
|
/aoo4110/main/framework/source/fwi/classes/ |
H A D | converter.cxx | 211 … 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()
|
/aoo4110/main/xmloff/source/meta/ |
H A D | xmlversion.cxx | 273 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()
|
/aoo4110/main/sal/qa/osl/mutex/ |
H A D | osl_Mutex.cxx | 770 sal_Int32 nSec = aTimeVal_after.Seconds - aTimeVal_befor.Seconds; in clear_001() local 771 printf("nSec is %"SAL_PRIdINT32"\n", nSec); in clear_001() 776 nSec < 7 && nSec > 1); in clear_001()
|
/aoo4110/main/svl/source/numbers/ |
H A D | zformat.cxx | 2649 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 …]
|
/aoo4110/main/sc/source/filter/xcl97/ |
H A D | XclImpChangeTrack.cxx | 127 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()
|
/aoo4110/main/automation/source/server/ |
H A D | prof_usl.cxx | 107 #define CALC_MS( nSec, nNSec ) ( nSec * 1000 + (nNSec+500000) / 1000000 ) argument
|
/aoo4110/main/vcl/source/gdi/ |
H A D | impvect.cxx | 900 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()
|
/aoo4110/main/xmlsecurity/source/helper/ |
H A D | xsecctl.cxx | 210 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()
|
/aoo4110/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 173 sal_Int32 nSec = rVal.Seconds; in getMsFromTime() local 176 return ((nHour*3600000)+(nMin*60000)+(nSec*1000)+(n100Sec*10)); in getMsFromTime()
|
/aoo4110/main/l10ntools/source/help/ |
H A D | HelpCompiler.cxx | 39 static void impl_sleep( sal_uInt32 nSec ) in impl_sleep() argument 42 aTime.Seconds = nSec; in impl_sleep()
|
/aoo4110/main/tools/inc/tools/ |
H A D | datetime.hxx | 68 void MakeDateTimeFromSec( const Date& rDate, sal_uIntPtr nSec );
|
H A D | time.hxx | 46 sal_uIntPtr nSec = 0, sal_uIntPtr n100Sec = 0 );
|
/aoo4110/main/svx/inc/svx/ |
H A D | frmsel.hxx | 158 void SetStyleToSelection( sal_uInt16 nPrim, sal_uInt16 nDist, sal_uInt16 nSec );
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | xipivot.cxx | 166 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 D | xepivot.cxx | 190 sal_uInt8 nSec = static_cast< sal_uInt8 >( pDateTime->GetSec() ); in WriteBody() local 192 rStrm << nYear << nMonth << nDay << nHour << nMin << nSec; in WriteBody()
|
/aoo4110/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 1255 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()
|
/aoo4110/main/sc/source/core/tool/ |
H A D | interpr2.cxx | 296 double nSec = GetDouble(); in ScGetTime() local 299 double fTime = fmod( (nHour * 3600) + (nMin * 60) + nSec, D_TIMEFACTOR) / D_TIMEFACTOR; in ScGetTime()
|
/aoo4110/main/filter/source/msfilter/ |
H A D | msdffimp.cxx | 3294 sal_uInt32 nShapeId, nSec = ( nId >> 10 ) - 1; in SeekToShape() local 3295 if ( nSec < mnIdClusters ) in SeekToShape() 3297 sal_IntPtr nOfs = (sal_IntPtr)maDgOffsetTable.Get( mpFidcls[ nSec ].dgid ); in SeekToShape()
|
H A D | svdfppt.cxx | 1382 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()
|