/haiku/src/system/kernel/arch/sparc/ |
H A D | arch_platform.cpp | 61 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 D | arch_real_time_clock.cpp | 157 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 D | BigtimeChartAxisLegendSource.cpp | 63 decomposed.hours, decomposed.minutes, decomposed.seconds, 65 // TODO: Drop superfluous micro seconds digits, or even microseconds and seconds
|
H A D | NanotimeChartAxisLegendSource.cpp | 64 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 D | arch_real_time_clock.cpp | 143 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 D | arch_platform.h | 53 virtual void SetHardwareRTC(uint32 seconds) = 0;
|
/haiku/src/bin/network/ppp_up/ |
H A D | PPPStatusView.cpp | 149 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 D | Screenshot.cpp | 86 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 D | InquiryPanel.cpp | 137 "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 D | timezone.c | 26 * 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 D | cl_view.cpp | 207 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 D | CodyCam.h | 57 time_t seconds; member in struct:capture_rate 63 {"Every 15 seconds", 15 }, 64 {"Every 30 seconds", 30 },
|
H A D | CodyCam.cpp | 90 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 D | WidgetAttributeText.cpp | 1795 // TODO: ignores micro seconds for now 1796 int32 seconds = time / 1000000LL; local 1798 bool negative = seconds < 0; 1800 seconds = -seconds; 1802 int32 hours = seconds / 3600; 1803 seconds -= hours * 3600; 1804 int32 minutes = seconds / 60; 1805 seconds = seconds [all...] |
/haiku/headers/os/support/ |
H A D | DateTime.h | 57 BTime& AddSeconds(int32 seconds); 198 void SetTime_t(time_t seconds);
|
/haiku/src/tests/add-ons/kernel/file_systems/random_file_actions/ |
H A D | random_file_actions.cpp | 130 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 D | launch_speedup.cpp | 96 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 D | gears.c | 6 * -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 D | CopyEngine.cpp | 577 double seconds = (double)fTimeWritten / 1000000; local 578 if (seconds > 0) { 580 megaBytes / seconds);
|
/haiku/src/kits/support/ |
H A D | DateTime.cpp | 233 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 D | res_send.c | 868 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 D | btrfs.h | 94 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 D | TrackSlider.cpp | 409 uint32 seconds = timestamp / 1000000LL; local 410 timestamp -= seconds * 1000000LL; 413 B_PRId32, hours, minutes, seconds, centiseconds);
|
/haiku/headers/posix/ |
H A D | unistd.h | 426 extern unsigned int alarm(unsigned int seconds); 428 extern unsigned int sleep(unsigned int seconds);
|
/haiku/src/system/kernel/platform/atari_m68k/ |
H A D | platform.cpp | 158 virtual void SetHardwareRTC(uint32 seconds); 620 M68KAtari::SetHardwareRTC(uint32 seconds) argument
|