/dports/editors/libreoffice/libreoffice-7.2.6.2/include/tools/ |
H A D | time.hxx | 71 Time( const tools::Time& rTime ); 72 Time( const css::util::Time& rTime ); 128 bool operator ==( const tools::Time& rTime ) const in operator ==() 129 { return (nTime == rTime.nTime); } in operator ==() 130 bool operator !=( const tools::Time& rTime ) const in operator !=() 131 { return (nTime != rTime.nTime); } in operator !=() 132 bool operator >( const tools::Time& rTime ) const in operator >() 133 { return (nTime > rTime.nTime); } in operator >() 135 { return (nTime < rTime.nTime); } in operator <() 137 { return (nTime >= rTime.nTime); } in operator >=() [all …]
|
H A D | datetime.hxx | 47 DateTime( const tools::Time& rTime ) : Date(0), Time( rTime ) {} in DateTime() argument 48 DateTime( const Date& rDate, const tools::Time& rTime ) : in DateTime() argument 49 Date( rDate ), Time( rTime ) {} in DateTime() 84 DateTime& operator +=( const tools::Time& rTime ); 85 DateTime& operator -=( const tools::Time& rTime ); 92 … TOOLS_DLLPUBLIC friend DateTime operator +( const DateTime& rDateTime, const tools::Time& rTime ); 93 … TOOLS_DLLPUBLIC friend DateTime operator -( const DateTime& rDateTime, const tools::Time& rTime );
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/tools/ |
H A D | time.hxx | 71 Time( const tools::Time& rTime ); 72 Time( const css::util::Time& rTime ); 128 bool operator ==( const tools::Time& rTime ) const in operator ==() 129 { return (nTime == rTime.nTime); } in operator ==() 130 bool operator !=( const tools::Time& rTime ) const in operator !=() 131 { return (nTime != rTime.nTime); } in operator !=() 132 bool operator >( const tools::Time& rTime ) const in operator >() 133 { return (nTime > rTime.nTime); } in operator >() 135 { return (nTime < rTime.nTime); } in operator <() 137 { return (nTime >= rTime.nTime); } in operator >=() [all …]
|
H A D | datetime.hxx | 47 DateTime( const tools::Time& rTime ) : Date(0), Time( rTime ) {} in DateTime() argument 48 DateTime( const Date& rDate, const tools::Time& rTime ) : in DateTime() argument 49 Date( rDate ), Time( rTime ) {} in DateTime() 84 DateTime& operator +=( const tools::Time& rTime ); 85 DateTime& operator -=( const tools::Time& rTime ); 92 … TOOLS_DLLPUBLIC friend DateTime operator +( const DateTime& rDateTime, const tools::Time& rTime ); 93 … TOOLS_DLLPUBLIC friend DateTime operator -( const DateTime& rDateTime, const tools::Time& rTime );
|
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/physics/ |
H A D | physics.h | 173 void WaterFrame(float aTime, float rTime); 174 void SoundMotor(float rTime); 175 void SoundMotorFull(float rTime, ObjectType type); 176 void SoundMotorSlow(float rTime, ObjectType type); 177 void SoundMotorStop(float rTime, ObjectType type); 178 void SoundReactorFull(float rTime, ObjectType type); 179 void SoundReactorStop(float rTime, ObjectType type); 180 void FrameParticle(float aTime, float rTime); 181 void MotorUpdate(float aTime, float rTime); 182 void EffectUpdate(float aTime, float rTime); [all …]
|
H A D | physics.cpp | 1173 incl.z += rTime*accel; in EffectUpdate() 1181 incl.z -= rTime*accel; in EffectUpdate() 1451 m_time += event.rTime; in EventFrame() 1452 m_timeUnderWater += event.rTime; in EventFrame() 1460 WaterFrame(m_time, event.rTime); in EventFrame() 1580 SoundMotor(event.rTime); in EventFrame() 1606 m_lastSoundInsect -= rTime; in SoundMotor() 1956 m_soundTimePshhh -= rTime*2.0f; in SoundMotorFull() 2058 m_soundTimePshhh -= rTime; in SoundMotorSlow() 2121 m_soundTimePshhh -= rTime*2.0f; in SoundMotorStop() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/datetime/ |
H A D | ttime.cxx | 57 sal_Int64 TimeToNanoSec( const tools::Time& rTime ) in TimeToNanoSec() argument 59 short nSign = (rTime.GetTime() >= 0) ? +1 : -1; in TimeToNanoSec() 60 sal_Int32 nHour = rTime.GetHour(); in TimeToNanoSec() 61 sal_Int32 nMin = rTime.GetMin(); in TimeToNanoSec() 62 sal_Int32 nSec = rTime.GetSec(); in TimeToNanoSec() 63 sal_Int32 nNanoSec = rTime.GetNanoSec(); in TimeToNanoSec() 99 Time::Time( const tools::Time& rTime ) in Time() argument 101 nTime = rTime.nTime; in Time() 346 nTime = rTime.nTime; in operator =() 379 …sal_Int32 n2 = (rTime.nTime < 0 ? -static_cast<sal_Int32>(rTime.GetNanoSec()) : rTime.GetNanoSec()… in IsEqualIgnoreNanoSec() [all …]
|
H A D | datetime.cxx | 97 DateTime& DateTime::operator +=( const tools::Time& rTime ) in operator +=() argument 100 aTime += rTime; in operator +=() 126 DateTime& DateTime::operator -=( const tools::Time& rTime ) in operator -=() argument 129 aTime -= rTime; in operator -=() 169 DateTime operator +( const DateTime& rDateTime, const tools::Time& rTime ) in operator +() argument 172 aDateTime += rTime; in operator +() 176 DateTime operator -( const DateTime& rDateTime, const tools::Time& rTime ) in operator -() argument 179 aDateTime -= rTime; in operator -()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/tools/source/datetime/ |
H A D | ttime.cxx | 57 sal_Int64 TimeToNanoSec( const tools::Time& rTime ) in TimeToNanoSec() argument 59 short nSign = (rTime.GetTime() >= 0) ? +1 : -1; in TimeToNanoSec() 60 sal_Int32 nHour = rTime.GetHour(); in TimeToNanoSec() 61 sal_Int32 nMin = rTime.GetMin(); in TimeToNanoSec() 62 sal_Int32 nSec = rTime.GetSec(); in TimeToNanoSec() 63 sal_Int32 nNanoSec = rTime.GetNanoSec(); in TimeToNanoSec() 99 Time::Time( const tools::Time& rTime ) in Time() argument 101 nTime = rTime.nTime; in Time() 346 nTime = rTime.nTime; in operator =() 379 …sal_Int32 n2 = (rTime.nTime < 0 ? -static_cast<sal_Int32>(rTime.GetNanoSec()) : rTime.GetNanoSec()… in IsEqualIgnoreNanoSec() [all …]
|
H A D | datetime.cxx | 97 DateTime& DateTime::operator +=( const tools::Time& rTime ) in operator +=() argument 100 aTime += rTime; in operator +=() 126 DateTime& DateTime::operator -=( const tools::Time& rTime ) in operator -=() argument 129 aTime -= rTime; in operator -=() 169 DateTime operator +( const DateTime& rDateTime, const tools::Time& rTime ) in operator +() argument 172 aDateTime += rTime; in operator +() 176 DateTime operator -( const DateTime& rDateTime, const tools::Time& rTime ) in operator -() argument 179 aDateTime -= rTime; in operator -()
|
/dports/www/srg/srg-1.3.6/src/ |
H A D | utils.cc | 156 struct tm rTime; in parse_timestring() local 162 bzero((void *)&rTime, sizeof(struct tm)); in parse_timestring() 163 rTime.tm_isdst = -1; in parse_timestring() 176 if (sscanf(tDate, "%u-%u-%u", &rTime.tm_year, &rTime.tm_mon, in parse_timestring() 177 &rTime.tm_mday) != 3) { in parse_timestring() 184 rTime.tm_year -= 1900; // tm_year is years since 1900 in parse_timestring() 185 rTime.tm_mon -= 1; // tm_mon starts at 0 for Jan in parse_timestring() 190 return mktime(&rTime); in parse_timestring() 199 if (sscanf(tTime, "%u:%u:%u", &rTime.tm_hour, &rTime.tm_min, in parse_timestring() 200 &rTime.tm_sec)!=3) { in parse_timestring() [all …]
|
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/motion/ |
H A D | motionhuman.cpp | 646 m_time += event.rTime; in EventFrame() 698 m_time += event.rTime; in EventFrame() 733 rTime[0] = rTime[1] = m_armTimeAbs*0.21f; in EventFrame() 742 rTime[0] = rTime[1] = m_armTimeAbs; in EventFrame() 746 rTime[1] = 1000000.0f-rTime[1]; in EventFrame() 758 rTime[0] = rTime[1] = m_armMember; in EventFrame() 764 rTime[0] *= 0.6f; in EventFrame() 765 rTime[1] *= 0.6f; in EventFrame() 775 rTime[0] = rTime[1] = m_armTimeSwim; in EventFrame() 781 rTime[0] = rTime[1] = m_armTimeAbs*0.30f; in EventFrame() [all …]
|
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/auto/ |
H A D | autopowercaptor.cpp | 118 m_progress += event.rTime*m_speed; in EventProcess() 119 m_timeVirus -= event.rTime; in EventProcess() 130 EventProgress(event.rTime); in EventProcess() 184 ChargeObject(event.rTime); in EventProcess() 248 void CAutoPowerCaptor::ChargeObject(float rTime) in ChargeObject() argument 264 energy += rTime/2.0f; in ChargeObject() 279 energy += rTime/2.0f; in ChargeObject() 295 energy += rTime/2.0f; in ChargeObject()
|
H A D | autopowerstation.cpp | 95 m_timeVirus -= event.rTime; in EventProcess() 122 UpdateInterface(event.rTime); in EventProcess() 129 big += event.rTime*0.01f; // recharges the large battery in EventProcess() 148 float add = event.rTime*0.2f; in EventProcess() 168 float add = event.rTime*0.2f; in EventProcess() 349 void CAutoPowerStation::UpdateInterface(float rTime) in UpdateInterface() argument 354 CAuto::UpdateInterface(rTime); in UpdateInterface()
|
/dports/astro/kstars/kstars-3.5.6/kstars/tools/ |
H A D | calendarwidget.cpp | 75 float rTime, sTime; in setHorizon() local 98 rTime = tmp_rTime.secsTo(midday) * 24.0 / 86400.0; in setHorizon() 102 rTime = 12.0 - rTime; in setHorizon() 104 rTime = -12.0 - rTime; in setHorizon() 118 rTime = -4.0; in setHorizon() 123 rTime = 12.0; in setHorizon() 129 if (rTime > maxRTime) in setHorizon() 130 maxRTime = rTime; in setHorizon() 136 riseTimeList.append(rTime); in setHorizon()
|
H A D | skycalendar.cpp | 183 float rTime, sTime, tTime; in addPlanetEvents() local 201 rTime = tmp_rTime.secsTo(midday) * 24.0 / 86400.0; in addPlanetEvents() 205 rTime = 12.0 - rTime; in addPlanetEvents() 207 rTime = -12.0 - rTime; in addPlanetEvents() 218 rTime = -24.0; in addPlanetEvents() 223 rTime = 24.0; in addPlanetEvents() 235 vRise.push_back(QPointF(rTime, dy)); in addPlanetEvents()
|
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/graphics/engine/ |
H A D | camera.cpp | 503 m_effectProgress += event.rTime * 0.7f; in EffectFrame() 513 m_effectProgress += event.rTime * 1.0f; in EffectFrame() 523 m_effectProgress += event.rTime * 1.0f; in EffectFrame() 533 m_effectProgress += event.rTime * 5.0f; in EffectFrame() 541 m_effectProgress += event.rTime * 0.1f; in EffectFrame() 549 m_effectProgress += event.rTime *5.0f; in EffectFrame() 672 m_overTime += event.rTime; in OverFrame() 753 float rTime) in UpdateCameraAnimation() argument 757 m_initDelay -= rTime; in UpdateCameraAnimation() 760 rTime /= 1.0f+m_initDelay; in UpdateCameraAnimation() [all …]
|
/dports/games/hedgewars-server/hedgewars-src-1.0.0/hedgewars/ |
H A D | uAIAmmoTests.pas | 142 rTime: LongInt; 152 rTime:= 350; 160 rTime:= rTime + 300 + Level * 50 + random(300); 164 Vy:= cGravityf * rTime * 0.5 - (Targ.Point.Y + 1 - mY) / rTime; 172 t:= rTime; 339 rTime:= 350; 348 rTime:= rTime + 300 + Level * 50 + random(300); 424 rTime:= 350; 432 rTime:= rTime + 300 + Level * 50 + random(1000); 436 Vy:= cGravityf * rTime * 0.5 - (Targ.Point.Y - meY) / rTime; [all …]
|
/dports/games/hedgewars/hedgewars-src-1.0.0/hedgewars/ |
H A D | uAIAmmoTests.pas | 142 rTime: LongInt; 152 rTime:= 350; 160 rTime:= rTime + 300 + Level * 50 + random(300); 164 Vy:= cGravityf * rTime * 0.5 - (Targ.Point.Y + 1 - mY) / rTime; 172 t:= rTime; 339 rTime:= 350; 348 rTime:= rTime + 300 + Level * 50 + random(300); 424 rTime:= 350; 432 rTime:= rTime + 300 + Level * 50 + random(1000); 436 Vy:= cGravityf * rTime * 0.5 - (Targ.Point.Y - meY) / rTime; [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/forms/source/xforms/ |
H A D | convert.cxx | 157 OUString lcl_toXSD_UNOTime_typed( const css::util::Time& rTime ) in lcl_toXSD_UNOTime_typed() argument 161 lcl_appendInt32ToBuffer( rTime.Hours, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 163 lcl_appendInt32ToBuffer( rTime.Minutes, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 165 lcl_appendInt32ToBuffer( rTime.Seconds, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 166 if ( rTime.NanoSeconds != 0 ) in lcl_toXSD_UNOTime_typed() 168 … OSL_ENSURE(rTime.NanoSeconds < 1000000000,"NanoSeconds cannot be more than 999 999 999"); in lcl_toXSD_UNOTime_typed() 173 ostr << rTime.NanoSeconds; in lcl_toXSD_UNOTime_typed()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/forms/source/xforms/ |
H A D | convert.cxx | 163 OUString lcl_toXSD_UNOTime_typed( const css::util::Time& rTime ) in lcl_toXSD_UNOTime_typed() argument 167 lcl_appendInt32ToBuffer( rTime.Hours, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 169 lcl_appendInt32ToBuffer( rTime.Minutes, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 171 lcl_appendInt32ToBuffer( rTime.Seconds, sInfo, 2 ); in lcl_toXSD_UNOTime_typed() 172 if ( rTime.NanoSeconds != 0 ) in lcl_toXSD_UNOTime_typed() 174 … OSL_ENSURE(rTime.NanoSeconds < 1000000000,"NanoSeconds cannot be more than 999 999 999"); in lcl_toXSD_UNOTime_typed() 179 ostr << rTime.NanoSeconds; in lcl_toXSD_UNOTime_typed()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 87 OUString DBTypeConversion::toTimeStringS(const css::util::Time& rTime) in toTimeStringS() argument 92 ostr << setw(2) << rTime.Hours << ":" in toTimeStringS() 93 << setw(2) << rTime.Minutes << ":" in toTimeStringS() 94 << setw(2) << rTime.Seconds; in toTimeStringS() 98 OUString DBTypeConversion::toTimeString(const css::util::Time& rTime) in toTimeString() argument 103 ostr << setw(2) << rTime.Hours << ":" in toTimeString() 104 << setw(2) << rTime.Minutes << ":" in toTimeString() 105 << setw(2) << rTime.Seconds << "." in toTimeString() 106 << setw(9) << rTime.NanoSeconds; in toTimeString()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/connectivity/source/commontools/ |
H A D | dbconversion.cxx | 87 OUString DBTypeConversion::toTimeStringS(const css::util::Time& rTime) in toTimeStringS() argument 92 ostr << setw(2) << rTime.Hours << ":" in toTimeStringS() 93 << setw(2) << rTime.Minutes << ":" in toTimeStringS() 94 << setw(2) << rTime.Seconds; in toTimeStringS() 98 OUString DBTypeConversion::toTimeString(const css::util::Time& rTime) in toTimeString() argument 103 ostr << setw(2) << rTime.Hours << ":" in toTimeString() 104 << setw(2) << rTime.Minutes << ":" in toTimeString() 105 << setw(2) << rTime.Seconds << "." in toTimeString() 106 << setw(9) << rTime.NanoSeconds; in toTimeString()
|
/dports/games/colobot/colobot-colobot-gold-0.2.0-alpha/src/object/subclass/ |
H A D | exchange_post.cpp | 353 m_timeVirus -= event.rTime; in EventProcess() 394 UpdateInterface(event.rTime); in EventProcess() 396 float rTime = event.rTime; in EventProcess() local 424 m_progress += rTime*m_speed; in EventProcess() 471 m_progress += rTime*m_speed; in EventProcess() 512 m_progress += rTime*m_speed; in EventProcess() 513 rTime = 0.0f; // stops the rotation in EventProcess() 547 angle += rTime*0.5f; in EventProcess() 600 void CAutoInfo::UpdateInterface(float rTime) in UpdateInterface() argument 602 CAuto::UpdateInterface(rTime); in UpdateInterface()
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Common/ |
H A D | Signal.cpp | 516 Array<double> &rTime,Array<double> &rSignal) in ReduceNumberOfPoints() argument 519 int size = rTime.getSize(); in ReduceNumberOfPoints() 553 p3[0] = rTime[i+1]; in ReduceNumberOfPoints() 559 imid = rTime.searchBinary(tmid,false,iLast,i+1); in ReduceNumberOfPoints() 561 p2[0] = rTime[imid]; in ReduceNumberOfPoints() 576 t.append(rTime[i]); in ReduceNumberOfPoints() 581 t.append(rTime.getLast()); in ReduceNumberOfPoints() 585 int numberRemoved = rTime.getSize() - t.getSize(); in ReduceNumberOfPoints() 588 rTime = t; in ReduceNumberOfPoints()
|