/trunk/main/vos/inc/vos/ |
H A D | timer.hxx | 47 { Seconds = 0; Nanosec = 0; } in TTimeValue() 55 { Seconds = rTimeValue.Seconds; Nanosec = rTimeValue.Nanosec; } in TTimeValue() 58 { Seconds = rTimeValue.Seconds; Nanosec = rTimeValue.Nanosec; } in TTimeValue() 71 Seconds += Nanosec / 1000000000; in normalize() 78 Seconds = Secs; in TTimeValue() 86 Seconds += Time.Seconds; in addTime() 99 if (rTimeA.Seconds < rTimeB.Seconds) in operator <() 101 else if (rTimeA.Seconds > rTimeB.Seconds) in operator <() 109 if (rTimeA.Seconds > rTimeB.Seconds) in operator >() 111 else if (rTimeA.Seconds < rTimeB.Seconds) in operator >() [all …]
|
/trunk/main/sal/osl/os2/ |
H A D | time.c | 49 TimeValue->Seconds = tp.tv_sec; in osl_getSystemTime() 66 atime = (time_t)pTimeVal->Seconds; in osl_getDateTimeFromTimeValue() 76 pDateTime->Seconds = pSystemTime->tm_sec; in osl_getDateTimeFromTimeValue() 100 aTime.tm_sec = pDateTime->Seconds; in osl_getTimeValueFromDateTime() 147 pTimeVal->Seconds = nSeconds; in osl_getTimeValueFromDateTime() 151 pTimeVal->Seconds -= bias; in osl_getTimeValueFromDateTime() 171 atime = (time_t) pSystemTimeVal->Seconds; in osl_getLocalTimeFromSystemTime() 186 if ( (sal_Int64) pSystemTimeVal->Seconds > bias ) in osl_getLocalTimeFromSystemTime() 188 pLocalTimeVal->Seconds = pSystemTimeVal->Seconds - bias; in osl_getLocalTimeFromSystemTime() 208 atime = (time_t) pLocalTimeVal->Seconds; in osl_getSystemTimeFromLocalTime() [all …]
|
/trunk/main/sal/osl/unx/ |
H A D | time.c | 48 TimeValue->Seconds = tp.tv_sec; in osl_getSystemTime() 65 atime = (time_t)pTimeVal->Seconds; in osl_getDateTimeFromTimeValue() 75 pDateTime->Seconds = pSystemTime->tm_sec; in osl_getDateTimeFromTimeValue() 99 aTime.tm_sec = pDateTime->Seconds; in osl_getTimeValueFromDateTime() 146 pTimeVal->Seconds = nSeconds; in osl_getTimeValueFromDateTime() 150 pTimeVal->Seconds -= bias; in osl_getTimeValueFromDateTime() 170 atime = (time_t) pSystemTimeVal->Seconds; in osl_getLocalTimeFromSystemTime() 185 if ( (sal_Int64) pSystemTimeVal->Seconds > bias ) in osl_getLocalTimeFromSystemTime() 187 pLocalTimeVal->Seconds = pSystemTimeVal->Seconds - bias; in osl_getLocalTimeFromSystemTime() 207 atime = (time_t) pLocalTimeVal->Seconds; in osl_getSystemTimeFromLocalTime() [all …]
|
/trunk/main/sal/rtl/source/ |
H A D | unload.cxx | 44 if( time1->Seconds == time2->Seconds && in isEqualTimeValue() 54 if ( time1->Seconds > time2->Seconds) in isGreaterTimeValue() 56 else if ( time1->Seconds == time2->Seconds) in isGreaterTimeValue() 78 result->Seconds=0; in addTimeValue() 83 result->Seconds=1; in addTimeValue() 87 result->Seconds += value1->Seconds + value2->Seconds; in addTimeValue() 139 pMod->unusedSince.Seconds= 0; in rtl_moduleCount_release()
|
/trunk/main/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 83 (int)rTime.Seconds); in toTimeString() 94 Time aTime(0,_rDateTime.Seconds,_rDateTime.Minutes,_rDateTime.Hours); in toDateTimeString() 116 aReturn.Seconds = (sal_uInt16)((((sal_uInt32)(_nVal >= 0 ? _nVal : _nVal*-1)) / 100) % 100); in toTime() 134 sal_Int32 nSeconds = rVal.Seconds + rVal.HundredthSeconds / 100; in toINT32() 149 sal_Int32 nSeconds = rVal.Seconds + rVal.HundredthSeconds / 100; in toINT64() 173 sal_Int32 nSec = rVal.Seconds; in getMsFromTime() 293 aTimePart.Seconds = _rVal.Seconds; in toDouble() 376 xRet.Seconds = (sal_uInt16)(nSeconds % 60); in toTime() 387 xRet.Seconds = 59; in toTime() 406 xRet.Seconds = aTime.Seconds; in toDateTime() [all …]
|
/trunk/main/connectivity/java/dbtools/src/org/apache/openoffice/comp/sdbc/dbtools/util/ |
H A D | DBTypeConversion.java | 144 int nSec = rVal.Seconds; in getMsFromTime() 256 aTimePart.Seconds = _rVal.Seconds; in toDouble() 317 xRet.Seconds = aTime.Seconds; in toDateTime() 341 …return new DateTime(aTime.HundredthSeconds,aTime.Seconds,aTime.Minutes,aTime.Hours,aDate.Day,aDate… in toDateTime() 348 aReturn.Seconds = (short)((((int)(_nVal >= 0 ? _nVal : _nVal*-1)) / 100) % 100); in toTime() 374 xRet.Seconds = (short)(nSeconds % 60); in toTime() 379 …int nTime = (int)(xRet.HundredthSeconds + (xRet.Seconds*100) + (xRet.Minutes*10000) + (xRet.Hours*… in toTime() 385 xRet.Seconds = 59; in toTime() 434 toUnsignedInt(time.Seconds)); in toTimeString() 445 toUnsignedInt(dateTime.Seconds), in toDateTimeString()
|
H A D | ORowSetValue.java | 613 aValue.Seconds = time.Seconds; in getDateTime() 624 aValue.Seconds = dateTime.Seconds; in getDateTime() 635 aValue.Seconds = any.Seconds; in getDateTime() 1150 aValue.Seconds = pDateTime.Seconds; in getTime() 1158 aValue.Seconds = time.Seconds; in getTime() 1193 this.value = new DateTime(value.HundredthSeconds, value.Seconds, value.Minutes, value.Hours, in setDateTime() 1248 this.value = new Time(value.Hours, value.Minutes, value.Seconds, value.HundredthSeconds); in setTime() 1286 timeOut.Seconds = time.Seconds; in makeAny() 1292 …DateTime dateTimeOut = new DateTime(dateTime.HundredthSeconds, dateTime.Seconds, dateTime.Minutes,… in makeAny()
|
/trunk/main/sal/osl/w32/ |
H A D | time.c | 62 pTimeVal->Seconds = (unsigned long) (Value / 10000000L); in osl_getSystemTime() 83 pDateTime->Seconds = aSystemTime.wSecond; in osl_getDateTimeFromTimeValue() 108 aSystemTime.wSecond = pDateTime->Seconds; in osl_getTimeValueFromDateTime() 148 if ( (sal_Int64) pSystemTimeVal->Seconds > ( bias * 60 ) ) in osl_getLocalTimeFromSystemTime() 150 pLocalTimeVal->Seconds = (sal_uInt32) (pSystemTimeVal->Seconds - ( bias * 60) ); in osl_getLocalTimeFromSystemTime() 179 if ( (sal_Int64) pLocalTimeVal->Seconds + ( bias * 60 ) > 0 ) in osl_getSystemTimeFromLocalTime() 181 pSystemTimeVal->Seconds = (sal_uInt32) ( pLocalTimeVal->Seconds + ( bias * 60) ); in osl_getSystemTimeFromLocalTime()
|
/trunk/main/sal/qa/testHelperFunctions/ |
H A D | testHelperFunctions.cxx | 271 sal_Int32 nSeconds = m_aEndTime.Seconds - m_aStartTime.Seconds; in showTime() 304 if( time1->Seconds == time2->Seconds && in isEqualTimeValue() 314 if ( time1->Seconds > time2->Seconds) in isGreaterTimeValue() 316 else if ( time1->Seconds == time2->Seconds) in isGreaterTimeValue() 336 if (B.Seconds > A.Seconds) return true; in isBTimeGreaterATime()
|
/trunk/main/unotools/source/misc/ |
H A D | datetime.cxx | 41 _rOut.Seconds = _rTime.GetSec(); in typeConvert() 48 _rOut = Time(_rTime.Hours, _rTime.Minutes, _rTime.Seconds, _rTime.HundredthSeconds); in typeConvert() 73 _rOut.Seconds = _rDateTime.GetSec(); in typeConvert() 81 Time aTime(_rDateTime.Hours, _rDateTime.Minutes, _rDateTime.Seconds, _rDateTime.HundredthSeconds); in typeConvert() 89 ( _rLeft.Seconds == _rRight.Seconds) && in operator ==() 109 ( _rLeft.Seconds == _rRight.Seconds) && in operator ==()
|
/trunk/main/sax/qa/gtest/ |
H A D | test_converter.cxx | 62 && a.Seconds == b.Seconds in eqDuration() 76 od.Hours, od.Minutes, od.Seconds, od.MilliSeconds); in doTest() 93 od.Hours, od.Minutes, od.Seconds, od.MilliSeconds); in doTestDurationF() 134 && a.Seconds == b.Seconds in eqDateTime() 147 odt.Hours, odt.Minutes, odt.Seconds, odt.HundredthSeconds); in doTest() 164 odt.Hours, odt.Minutes, odt.Seconds, odt.HundredthSeconds); in doTestDateTimeF()
|
/trunk/main/sdext/source/presenter/ |
H A D | PresenterTimer.cxx | 68 return rpTask1->maDueTime.Seconds < rpTask2->maDueTime.Seconds in operator ()() 69 || (rpTask1->maDueTime.Seconds == rpTask2->maDueTime.Seconds in operator ()() 429 rTimeValue.Seconds = sal::static_int_cast<sal_Int32>(nTimeDifference / 1000000000L); in ConvertToTimeValue() 439 return sal_Int64(rTimeValue.Seconds) * 1000000000L + rTimeValue.Nanosec; in ConvertFromTimeValue() 616 if (aDateTime.Seconds != maDateTime.Seconds in CheckCurrentTime() 618 || aDateTime.Seconds != maDateTime.Seconds) in CheckCurrentTime()
|
/trunk/main/comphelper/source/misc/ |
H A D | anycompare.cxx | 127 if ( lhs.Seconds < rhs.Seconds ) in isLess() 129 if ( lhs.Seconds > rhs.Seconds ) in isLess() 177 if ( lhs.Seconds < rhs.Seconds ) in isLess() 179 if ( lhs.Seconds > rhs.Seconds ) in isLess()
|
H A D | uieventslogger.cxx | 339 m_LastLogEventTime.Seconds = m_LastLogEventTime.Nanosec = 0; in UiEventsLogger_Impl() 489 … if(now.Seconds - m_LastLogEventTime.Seconds > m_IdleTimeout.Seconds && m_SessionLogEventCount>0) in checkIdleTimeout() 523 now.Seconds); in getRotatedPath() 629 result.Seconds = static_cast<sal_uInt32>(timeoutminutes)*60; in getIdleTimeoutFromCfg()
|
/trunk/main/store/workben/ |
H A D | t_store.cxx | 93 Seconds = 0; in OTime() 106 Seconds -= rPast.Seconds; in operator -=() 109 Seconds -= 1; in operator -=() 432 sal_uInt32 nDelta = aDelta.Seconds * 1000000; in main() 444 sal_uInt32 nDelta = aDelta.Seconds * 1000000; in main() 565 sal_uInt32 nDelta = aDelta.Seconds * 1000000; in main() 575 tv.Seconds = 300; in main() 594 sal_uInt32 nDelta = aDelta.Seconds * 1000000; in main()
|
/trunk/main/ucb/source/ucp/webdav/ |
H A D | DateTimeHelper.cxx | 83 aDateTime.Seconds = sal::static_int_cast< sal_uInt16 >(seconds); // 0-59 in ISO8601_To_DateTime() 94 aTimeValue.Seconds += fix; in ISO8601_To_DateTime() 105 dateTime.Seconds = aDateTime.Seconds; in ISO8601_To_DateTime() 217 aDateTime.Seconds = sal::static_int_cast< sal_uInt16 >(seconds); in RFC2068_To_DateTime() 245 dateTime.Seconds = aDateTime.Seconds; in RFC2068_To_DateTime()
|
/trunk/main/sal/workben/ |
H A D | testfile.cxx | 390 …eTime.Day, aDateTime.Month, aDateTime.Year, aDateTime.Hours, aDateTime.Minutes, aDateTime.Seconds); in showTime() 407 if ( ( aSystemTimeVal.Seconds == aTime.Seconds ) && ( aSystemTimeVal.Nanosec == aTime.Nanosec )) in showTime() 412 printf ("aTime : %u \n", aTime.Seconds); in showTime() 413 printf ("aSystemTimeVal : %u \n", aSystemTimeVal.Seconds); in showTime() 422 if ( ( aSysTimeVal.Seconds == aTime.Seconds ) && ( aSysTimeVal.Nanosec == aTime.Nanosec )) in showTime() 427 printf ("aTime : %u\n", aTime.Seconds); in showTime() 428 printf ("aSystemTimeVal : %u\n", aSysTimeVal.Seconds); in showTime() 444 aTime.Seconds = ltime; in getSystemTime() 1497 …if ( aCreationTime.Seconds == aCreationTimeRead.Seconds && aCreationTime.Nanosec == aCreationTimeR… in FileTimeTest() 1511 …if ( aAccessTime.Seconds == aAccessTimeRead.Seconds && aAccessTime.Nanosec == aAccessTimeRead.Nano… in FileTimeTest() [all …]
|
/trunk/main/sfx2/qa/complex/sfx2/ |
H A D | DocumentProperties.java | 357 dur.Seconds = 555; in check() 434 t.Hours, t.Minutes, t.Seconds, in check() 484 && a.Seconds == b.Seconds in eqDateTime() 494 && a.Seconds == b.Seconds in eqTime() 501 && a.Seconds == b.Seconds in eqDuration()
|
/trunk/main/writerfilter/qa/cppunittests/xxml/ |
H A D | testXXML.cxx | 171 …time=%is time/event=%0.10fs\n", handler.events, t2.Seconds-t1.Seconds, (double)(t2.Seconds-t1.Seco… in test()
|
/trunk/main/forms/source/xforms/ |
H A D | convert.cxx | 345 lcl_appendInt32ToBuffer( rTime.Seconds, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 418 aTime.Seconds = (sal_uInt16)nTokenValue; in lcl_toUNOTime() 432 || ( aTime.Seconds > 60 ) in lcl_toUNOTime() 439 || ( aTime.Seconds != 0 ) in lcl_toUNOTime() 467 …UNOTime aTime( aDateTime.HundredthSeconds, aDateTime.Seconds, aDateTime.Minutes, aDateTime.Hours ); in lcl_toXSD_UNODateTime() 498 aTime.HundredthSeconds, aTime.Seconds, aTime.Minutes, aTime.Hours, in lcl_toAny_UNODateTime()
|
/trunk/main/bridges/test/ |
H A D | testcomp.cxx | 500 double fStart = (double)aStartTime.Seconds + ((double)aStartTime.Nanosec / 1000000000.0); in getCallsPerSec() 501 double fEnd = (double)aEndTime.Seconds + ((double)aEndTime.Nanosec / 1000000000.0); in getCallsPerSec() 523 double fStart = (double)aStartTime.Seconds + ((double)aStartTime.Nanosec / 1000000000.0); in getCallsPerSecOneway() 524 double fEnd = (double)aEndTime.Seconds + ((double)aEndTime.Nanosec / 1000000000.0); in getCallsPerSecOneway() 525 *pdAfterExecution = (double)aAfterExecution.Seconds + in getCallsPerSecOneway() 543 double fStart = (double)aStartTime.Seconds + ((double)aStartTime.Nanosec / 1000000000.0); in testOnewayPerformanceOnTwoInterfaces() 544 double fEnd = (double)aEndTime.Seconds + ((double)aEndTime.Nanosec / 1000000000.0); in testOnewayPerformanceOnTwoInterfaces()
|
/trunk/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 1017 double fSec = rDateTime.Seconds; in convertTime() 1040 rDateTime.Seconds = static_cast < sal_uInt16 > ( nSecs ); in convertTime() 1165 double Sec = aDateTime.Seconds; in convertDateTime() 1192 if( rDateTime.Seconds != 0 || in convertDateTime() 1206 if( rDateTime.Seconds < 10 ) in convertDateTime() 1208 aString += String::CreateFromInt32( rDateTime.Seconds ); in convertDateTime() 1313 rDateTime.Seconds = (sal_uInt16)nSec; in convertDateTime() 2202 aTempValue.Seconds = 0; in convertAny() 2217 aTempValue.Seconds = aTime.Seconds; in convertAny() 2288 aConvValue.Seconds = aTempValue.Seconds; in convertAny()
|
/trunk/main/vos/source/ |
H A D | timer.cxx | 239 sal_Int32 secs = m_Expired.Seconds - Now.Seconds; in getRemainingTime() 432 Now.Seconds += pTimer->m_RepeatDelta.Seconds; in checkForTimeout()
|
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/ifc/document/ |
H A D | _DocumentInfo.java | 81 && dt1.Seconds == dt2.Seconds in compare() 97 + ":" + dt.Seconds + ":" + dt.HundredthSeconds; in toString()
|
/trunk/main/extensions/source/update/check/ |
H A D | updatecheck.cxx | 555 if( last + offset > systime.Seconds ) in run() 558 tv.Seconds = static_cast< sal_Int32 > (next - systime.Seconds); in run() 571 if ( nExtCheckTime.Seconds + offset < systime.Seconds ) in run() 580 tv.Seconds = nRetryInterval[n-1]; in run() 682 tv.Seconds = 15; in run() 692 tv.Seconds = nRetryInterval[n-1]; in run()
|