Searched refs:now (Results 1 - 25 of 152) sorted by relevance

1234567

/haiku/src/libs/compat/freebsd_network/
H A Dfbsd_time.c37 int now; local
44 now = ticks;
45 if (lasttime->tv_sec == 0 || (u_int)(now - lasttime->tv_sec) >= hz) {
46 lasttime->tv_sec = now;
/haiku/headers/os/support/
H A Dparsedate.h24 extern time_t parsedate(const char *dateString, time_t now);
25 extern time_t parsedate_etc(const char *dateString, time_t now, int *_storedFlags);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dntfstime.h114 struct timespec now; local
117 clock_gettime(CLOCK_REALTIME, &now);
122 now.tv_sec = microseconds.tv_sec;
123 now.tv_nsec = microseconds.tv_usec*1000;
125 now.tv_sec = time((time_t*)NULL);
126 now.tv_nsec = 0;
128 return (timespec2ntfs(now));
/haiku/src/servers/app/decorator/
H A DWindowBehaviour.cpp33 WindowBehaviour::AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument
H A DMagneticBorder.h25 bigtime_t now);
27 BRect& frame, BPoint& delta, bigtime_t now);
H A DMagneticBorder.cpp28 MagneticBorder::AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument
35 return AlterDeltaForSnap(window->Screen(), frame, delta, now);
41 BPoint& delta, bigtime_t now)
51 if (now - fLastSnapTime > kSnappingDuration
52 && now - fLastSnapTime < kSnappingPause) {
83 if (snapped && now - fLastSnapTime > kSnappingPause)
84 fLastSnapTime = now;
40 AlterDeltaForSnap(const Screen* screen, BRect& frame, BPoint& delta, bigtime_t now) argument
/haiku/headers/private/kernel/
H A Dload_tracking.h19 bigtime_t now)
22 measureTime = now;
26 bigtime_t deltaTime = now - measureTime;
39 measureTime = now;
18 compute_load(bigtime_t& measureTime, bigtime_t& measureActiveTime, int32& load, bigtime_t now) argument
/haiku/src/preferences/time/
H A DTimeZoneListView.cpp49 time_t now = time(NULL); local
50 fTimeFormat.Format(nowInTimeZone, now, B_SHORT_TIME_FORMAT,
54 fDateFormat.Format(dateInTimeZone, now, B_SHORT_DATE_FORMAT,
/haiku/src/system/libroot/posix/
H A Dutime.c30 bigtime_t now = real_time_clock_usecs(); local
31 stat.st_atim.tv_sec = stat.st_mtim.tv_sec = now / 1000000;
32 stat.st_atim.tv_nsec = stat.st_mtim.tv_nsec = (now % 1000000) * 1000;
/haiku/src/kits/tracker/
H A DPendingNodeMonitorCache.cpp70 PendingNodeMonitorEntry::TooOld(bigtime_t now) const
72 return now > fExpiresAfter;
117 bigtime_t now = system_time(); local
120 if (fList.ItemAt(index)->TooOld(now)) {
131 bigtime_t now = system_time(); local
134 if (item->TooOld(now)) {
H A DPendingNodeMonitorCache.h61 bool TooOld(bigtime_t now) const;
/haiku/src/system/libroot/posix/sys/
H A Dutimes.c36 bigtime_t now = real_time_clock_usecs(); local
37 stat.st_atim.tv_sec = stat.st_mtim.tv_sec = now / 1000000;
38 stat.st_atim.tv_nsec = stat.st_mtim.tv_nsec = (now % 1000000) * 1000;
67 bigtime_t now = real_time_clock_usecs(); local
68 stat.st_atim.tv_sec = stat.st_mtim.tv_sec = now / 1000000;
69 stat.st_atim.tv_nsec = stat.st_mtim.tv_nsec = (now % 1000000) * 1000;
/haiku/src/apps/poorman/
H A DPoorManLogger.cpp25 time_t now = time(NULL); local
38 if(message.AddData("time_t", B_TIME_TYPE, &now, sizeof(time_t)) != B_OK)
/haiku/src/apps/cortex/addons/LoggingConsumer/
H A DLoggingConsumer.cpp130 // a potential race condition with the looper thread trying to write to the now-
179 logMsg.now = TimeSource()->Now();
189 logMsg.now = TimeSource()->Now();
199 logMsg.now = TimeSource()->Now();
209 logMsg.now = TimeSource()->Now();
233 logMsg.now = TimeSource()->Now();
274 logMsg.now = TimeSource()->Now();
306 logMsg.now = TimeSource()->Now();
327 logMsg.now = TimeSource()->Now();
334 // so now w
364 bigtime_t now = TimeSource()->Now(); local
587 bigtime_t now = TimeSource()->Now(); local
[all...]
/haiku/src/tests/system/libroot/os/
H A DParseDateTest.cpp45 time_t now = 1249471430; local
62 {now, "now", MINUTE_RELATIVE, true, false},
96 printf("All times relative to: %s (%ld)\n", ctime(&now), now);
118 time_t result = parsedate_etc(kDates[i].date, now, &flags);
/haiku/src/system/kernel/
H A DUserTimer.cpp261 \param now The current time.
264 UserTimer::CheckPeriodicOverrun(bigtime_t now) argument
266 if (fNextTime + fInterval > now)
271 bigtime_t skip = (now - fNextTime) / fInterval;
302 bigtime_t now = system_time(); local
308 _oldRemainingTime = fNextTime - now;
326 fNextTime += now;
328 ScheduleKernelTimer(now, fInterval > 0);
370 \param now The current system time to be used.
375 SystemTimeUserTimer::ScheduleKernelTimer(bigtime_t now, argument
404 bigtime_t now = system_time(); local
516 bigtime_t now = nowValid ? fTeam->CPUTime(false) : 0; local
711 bigtime_t now = fTeam->CPUTime(unscheduling, lockedThread); local
764 bigtime_t now = nowValid ? fTeam->UserCPUTime() : 0; local
910 bigtime_t now = nowValid ? fThread->CPUTime(false) : 0; local
1027 bigtime_t now = fThread->CPUTime(false); local
[all...]
/haiku/src/libs/libc++/
H A Dchrono.cpp37 system_clock::now() _NOEXCEPT
75 steady_clock::now() _NOEXCEPT
135 steady_clock::now() _NOEXCEPT
/haiku/src/apps/mediaplayer/supplier/
H A DProxyVideoSupplier.cpp36 bigtime_t now = system_time(); local
73 fProcessingLatency = system_time() - now;
/haiku/src/tests/kits/app/bmessenger/
H A DSMLooper.cpp32 bigtime_t now = system_time(); local
33 if (now < fUnblockTime) {
/haiku/src/tests/servers/app/benchmark/
H A DHorizontalLineTest.cpp51 bigtime_t now = system_time(); local
67 fTestDuration += system_time() - now;
H A DRandomLineTest.cpp50 bigtime_t now = system_time(); local
71 fTestDuration += system_time() - now;
H A DVerticalLineTest.cpp51 bigtime_t now = system_time(); local
67 fTestDuration += system_time() - now;
/haiku/src/kits/mail/
H A Dnumailkit.cpp70 bigtime_t now = system_time(); local
111 // be added to the API, but as it is not present now so we'll
138 // // this does not affect the lock, but now open-
151 while (system_time() - now < timeout) //-ATT-no timeout arg. Setting by #define
168 while (system_time() - now < timeout)
/haiku/src/servers/app/stackandtile/
H A DSATDecorator.cpp133 bigtime_t now)
135 if (DefaultWindowBehaviour::AlterDeltaForSnap(window, delta, now) == true)
150 groupFrame, delta, now);
132 AlterDeltaForSnap(Window* window, BPoint& delta, bigtime_t now) argument
/haiku/src/servers/app/font/
H A DFontCache.cpp81 // is an entry now, and only then create it if it's still not there,
136 bigtime_t now = system_time(); local
137 bigtime_t age = now - leastUsedEntry->LastUsed();
144 age = now - entry->LastUsed();

Completed in 159 milliseconds

1234567