Searched refs:seconds (Results 26 - 50 of 55) sorted by relevance

123

/haiku/src/system/kernel/arch/sparc/
H A Darch_platform.cpp61 virtual void SetHardwareRTC(uint32 seconds);
186 SparcOpenFirmware::SetHardwareRTC(uint32 seconds) argument
189 rtc_secs_to_tm(seconds, &t);
/haiku/src/system/kernel/arch/x86/
H A Darch_real_time_clock.cpp157 secs_to_cmos(uint32 seconds, cmos_time *cmos) argument
162 rtc_secs_to_tm(seconds, &t);
206 // Convert the CMOS data to seconds since 1970.
212 arch_rtc_set_hw_time(uint32 seconds) argument
216 secs_to_cmos(seconds, &cmos);
/haiku/src/apps/debuganalyzer/gui/chart/
H A DBigtimeChartAxisLegendSource.cpp63 decomposed.hours, decomposed.minutes, decomposed.seconds,
65 // TODO: Drop superfluous micro seconds digits, or even microseconds and seconds
H A DNanotimeChartAxisLegendSource.cpp64 decomposed.hours, decomposed.minutes, decomposed.seconds,
66 // TODO: Drop superfluous nanoseconds digits, or even nanoseconds and seconds
/haiku/src/system/kernel/arch/m68k/
H A Darch_real_time_clock.cpp143 secs_to_cmos(uint32 seconds, cmos_time *cmos) argument
148 rtc_secs_to_tm(seconds, &t);
204 arch_rtc_set_hw_time(uint32 seconds) argument
206 M68KPlatform::Default()->SetHardwareRTC(seconds);
/haiku/headers/private/kernel/arch/m68k/
H A Darch_platform.h53 virtual void SetHardwareRTC(uint32 seconds) = 0;
/haiku/src/bin/network/ppp_up/
H A DPPPStatusView.cpp149 int32 seconds = time % 60; local
155 sprintf(minsec, ":%02" B_PRId32 ":%02" B_PRId32, minutes, seconds);
158 sprintf(minsec, "%" B_PRId32 ":%02" B_PRId32, minutes, seconds);
161 text << seconds; local
/haiku/src/apps/screenshot/
H A DScreenshot.cpp86 int32 seconds = -1; local
88 seconds = atoi(argv[i + 1]);
89 if (seconds >= 0) {
90 delay = seconds * 1000000;
177 printf(" -d, --delay=seconds Take screenshot after the specified delay "
178 "[in seconds]\n");
/haiku/src/preferences/bluetooth/
H A DInquiryPanel.cpp137 "although should not take more than 3 seconds per device. "
252 BString elapsedTime = B_TRANSLATE("Remaining %1 seconds");
254 BString seconds("");
255 seconds << (int)(timer - scanningTime);
257 elapsedTime.ReplaceFirst("%1", seconds.String());
/haiku/src/bin/unzip/
H A Dtimezone.c26 * reasons. Support for timezone files and leap seconds was removed.
316 /* `SECSPERMIN' allows for leap seconds. */
623 /* Return the equivalent in seconds past 12:00:00 a.m. Jan 1, 1970 GMT
732 /* Return the equivalent in seconds past 12:00:00 a.m. Jan 1, 1970 GMT
743 int years, months, days, hours, minutes, seconds; local
750 seconds = tm->tm_sec; /* 0..61 in ANSI C. */
752 ADJUST_TM(seconds, minutes, 60)
779 tm->tm_sec = seconds;
803 (minutes == TM_MIN_MAX && seconds > TM_SEC_MAX) )))))))
810 (unsigned long)(SECSPERMIN * minutes + seconds));
[all...]
/haiku/src/apps/clock/
H A Dcl_view.cpp207 data->FindInt32("face"), data->FindBool("seconds"));
231 status = data->AddBool("seconds", fOffscreenView->fShowSeconds);
260 short seconds = loctime->tm_sec; local
262 if ((fOffscreenView->fShowSeconds && (seconds != fOffscreenView->fSeconds))
266 fOffscreenView->fSeconds = seconds;
/haiku/src/apps/codycam/
H A DCodyCam.h57 time_t seconds; member in struct:capture_rate
63 {"Every 15 seconds", 15 },
64 {"Every 30 seconds", 30 },
H A DCodyCam.cpp90 kCaptureRates[index++].name = B_TRANSLATE("Every 15 seconds");
91 kCaptureRates[index++].name = B_TRANSLATE("Every 30 seconds");
521 int32 seconds; local
522 message->FindInt32("seconds", &seconds);
523 if (seconds == 0) {
527 FTPINFO("%" B_PRId32 " seconds\n", seconds);
528 fFtpInfo.rate = (bigtime_t)(seconds * 1000000LL);
659 itemMessage->AddInt32("seconds", kCaptureRate
[all...]
/haiku/src/kits/tracker/
H A DWidgetAttributeText.cpp1797 // TODO: ignores micro seconds for now
1798 int32 seconds = time / 1000000LL; local
1800 bool negative = seconds < 0;
1802 seconds = -seconds;
1804 int32 hours = seconds / 3600;
1805 seconds -= hours * 3600;
1806 int32 minutes = seconds / 60;
1807 seconds = seconds
[all...]
/haiku/headers/os/support/
H A DDateTime.h57 BTime& AddSeconds(int32 seconds);
198 void SetTime_t(time_t seconds);
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/
H A Drandom_file_actions.cpp130 uint32 seconds = usecs / kSecond; local
135 seconds %= 60;
137 seconds);
139 seconds %= 60;
140 snprintf(buffer, sizeof(buffer), "%lum %02lus", minutes, seconds);
/haiku/src/add-ons/kernel/file_cache/
H A Dlaunch_speedup.cpp96 ino_t node, int32 seconds);
252 int32 seconds = 30)
256 Session *session = new Session(team, name, device, node, seconds);
372 ino_t node, int32 seconds)
395 fActiveUntil = system_time() + seconds * 1000000LL;
638 // than 0.4 seconds to load an run
371 Session(team_id team, const char *name, dev_t device, ino_t node, int32 seconds) argument
/haiku/src/tests/kits/opengl/demos/gears/
H A Dgears.c6 * -exit automatically exit after 30 seconds
219 GLfloat seconds = (t - T0) / 1000.0; local
220 GLfloat fps = Frames / seconds;
221 printf("%d frames in %6.3f seconds = %6.3f FPS\n", Frames, seconds, fps);
373 printf("Auto Exit after %i seconds.\n", autoexit );
/haiku/src/apps/installer/
H A DCopyEngine.cpp577 double seconds = (double)fTimeWritten / 1000000; local
578 if (seconds > 0) {
580 megaBytes / seconds);
/haiku/src/kits/support/
H A DDateTime.cpp233 Adds \c seconds to the current time. If the passed value is negative
237 BTime::AddSeconds(int32 seconds) argument
239 return _AddMicroseconds(bigtime_t(seconds % kSecondsPerDay)
331 The return value then can be hours, minutes, seconds, milliseconds or
1393 Returns the current date and time converted to seconds since
1423 Sets the current date and time converted from seconds since
1427 BDateTime::SetTime_t(time_t seconds) argument
1429 time_t timePart = seconds % kSecondsPerDay;
1432 seconds -= kSecondsPerDay;
1440 date.AddDays(seconds / kSecondsPerDa
[all...]
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_send.c868 int seconds, n, s; local
965 seconds = (statp->retrans << tries);
967 seconds /= statp->nscount;
968 if (seconds <= 0)
969 seconds = 1;
971 timeout = evConsTime((time_t)seconds, 0L);
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A Dbtrfs.h94 uint64 seconds; member in struct:btrfs_timespec
304 timespec.tv_sec = B_LENDIAN_TO_HOST_INT64(time.seconds);
317 time.seconds = B_HOST_TO_LENDIAN_INT64(timespec.tv_sec);
/haiku/src/apps/soundrecorder/
H A DTrackSlider.cpp409 uint32 seconds = timestamp / 1000000LL; local
410 timestamp -= seconds * 1000000LL;
413 B_PRId32, hours, minutes, seconds, centiseconds);
/haiku/headers/posix/
H A Dunistd.h426 extern unsigned int alarm(unsigned int seconds);
428 extern unsigned int sleep(unsigned int seconds);
/haiku/src/system/kernel/platform/atari_m68k/
H A Dplatform.cpp158 virtual void SetHardwareRTC(uint32 seconds);
620 M68KAtari::SetHardwareRTC(uint32 seconds) argument

Completed in 167 milliseconds

123