/haiku/src/apps/mediaplayer/support/ |
H A D | DurationToString.cpp | 13 duration_to_string(int32 seconds, char* string, size_t stringSize) argument 15 bool negative = seconds < 0; 17 seconds = -seconds; 19 int32 hours = seconds / 3600; 20 seconds -= hours * 3600; 21 int32 minutes = seconds / 60; 22 seconds = seconds % 60; 26 B_PRId32, negative ? "-" : "", hours, minutes, seconds); [all...] |
H A D | DurationToString.h | 12 void duration_to_string(int32 seconds, char* string, size_t stringSize);
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | sleep.c | 14 sleep(unsigned seconds) argument 23 usecs *= (bigtime_t) seconds; 30 return seconds - (unsigned)((system_time() - start) / 1000000);
|
/haiku/src/apps/debuganalyzer/util/ |
H A D | TimeUtils.h | 15 int seconds; member in struct:decomposed_bigtime 23 int seconds; member in struct:decomposed_nanotime 35 decomposed.seconds = time % 60; 52 decomposed.seconds = time % 60; 69 decomposed.hours, decomposed.minutes, decomposed.seconds, 91 decomposed.hours, decomposed.minutes, decomposed.seconds,
|
/haiku/headers/os/media/ |
H A D | TimeCode.h | 41 int* seconds, int* frames, const timecode_info* code = NULL); 43 status_t timecode_to_us(int hours, int minutes, int seconds, int frames, 47 int* seconds, int* frames, const timecode_info* code = NULL); 49 status_t timecode_to_frames(int hours, int minutes, int seconds, int frames, 64 BTimeCode(int hours, int minutes, int seconds, 69 void SetData(int hours, int minutes, int seconds,
|
/haiku/headers/os/package/hpkg/ |
H A D | PackageEntry.h | 47 void SetAccessTime(uint32 seconds) argument 48 { fAccessTime.tv_sec = seconds; } 51 void SetModifiedTime(uint32 seconds) argument 52 { fModifiedTime.tv_sec = seconds; } 55 void SetCreationTime(uint32 seconds) argument 56 { fCreationTime.tv_sec = seconds; }
|
/haiku/headers/os/package/hpkg/v1/ |
H A D | PackageEntry.h | 49 void SetAccessTime(uint32 seconds) argument 50 { fAccessTime.tv_sec = seconds; } 53 void SetModifiedTime(uint32 seconds) argument 54 { fModifiedTime.tv_sec = seconds; } 57 void SetCreationTime(uint32 seconds) argument 58 { fCreationTime.tv_sec = seconds; }
|
/haiku/src/add-ons/kernel/partitioning_systems/session/ |
H A D | scsi-mmc.h | 78 - Each msf minute corresponds to 60 msf seconds 84 uint8 seconds; member in struct:__anon10 96 make_msf_address(uint8 minutes, uint8 seconds, uint8 frames) argument 101 result.seconds = seconds; 114 + (CDROM_FRAMES_PER_SECOND * msf.seconds) 149 uint8 seconds; member in struct:__anon13
|
/haiku/headers/private/kernel/arch/ |
H A D | real_time_clock.h | 23 void arch_rtc_set_hw_time(uint32 seconds); 24 // Set HW clock to 'seconds' since 1/1/1970 26 // Returns number of seconds since 1/1/1970 as stored in HW
|
/haiku/src/system/kernel/arch/sparc/ |
H A D | arch_real_time_clock.cpp | 22 arch_rtc_set_hw_time(uint32 seconds) argument
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | arch_real_time_clock.cpp | 27 arch_rtc_set_hw_time(uint32 seconds) argument
|
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_real_time_clock.cpp | 33 arch_rtc_set_hw_time(uint32 seconds) argument
|
/haiku/src/kits/media/ |
H A D | TimeCode.cpp | 10 status_t us_to_timecode(bigtime_t micros, int * hours, int * minutes, int * seconds, int * frames, const timecode_info * code) argument 35 return frames_to_timecode(l_frames, hours, minutes, seconds, frames, code); 38 status_t timecode_to_us(int hours, int minutes, int seconds, int frames, bigtime_t * micros, const timecode_info * code) argument 44 if (timecode_to_frames(hours, minutes, seconds, frames, &l_frames, code) == B_OK) { 70 status_t frames_to_timecode(int32 l_frames, int * hours, int * minutes, int * seconds, int * frames, const timecode_info * code) argument 128 // convert frames to seconds leaving the remainder as frames 129 *seconds = l_frames / fps_div; // DIV 133 *minutes = *seconds / 60; 134 *seconds = *seconds 142 timecode_to_frames(int hours, int minutes, int seconds, int frames, int32 * l_frames, const timecode_info * code) argument 275 BTimeCode(int hours, int minutes, int seconds, int frames, timecode_type type) argument 295 SetData(int hours, int minutes, int seconds, int frames) argument [all...] |
/haiku/src/system/kernel/ |
H A D | real_time_clock.cpp | 56 uint32 seconds; local 58 seconds = (arch_rtc_get_system_time_offset(sRealTimeData) + system_time() 61 arch_rtc_set_hw_time(seconds); 175 /*! Converts the \a tm data to seconds. Note that the base year is not 200 rtc_secs_to_tm(uint32 seconds, struct tm *t) argument 206 l = seconds / 86400 + 68569 + RTC_EPOCH_JULIAN_DAY; 221 seconds = seconds % RTC_SECONDS_DAY; 222 t->tm_hour = seconds / 3600; 224 seconds [all...] |
/haiku/headers/private/kernel/ |
H A D | real_time_clock.h | 34 void rtc_secs_to_tm(uint32 seconds, struct tm *t);
|
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_real_time_clock.cpp | 52 arch_rtc_set_hw_time(uint32 seconds) argument 54 PPCPlatform::Default()->SetHardwareRTC(seconds);
|
H A D | arch_platform.cpp | 60 virtual void SetHardwareRTC(uint32 seconds); 186 PPCOpenFirmware::SetHardwareRTC(uint32 seconds) argument 189 rtc_secs_to_tm(seconds, &t); 249 virtual void SetHardwareRTC(uint32 seconds); 334 PPCUBoot::SetHardwareRTC(uint32 seconds) argument
|
/haiku/src/apps/mediaplayer/supplier/ |
H A D | SubTitlesSRT.cpp | 83 int seconds; local 86 &seconds, &milliSeconds) != 4) { 93 + (bigtime_t)seconds * 1000000LL 99 &seconds, &milliSeconds) != 4) { 106 + (bigtime_t)seconds * 1000000LL
|
/haiku/src/apps/cortex/InfoView/ |
H A D | FileNodeInfoView.cpp | 141 int hours, minutes, seconds, frames; local 142 us_to_timecode(duration, &hours, &minutes, &seconds, &frames); 144 sprintf(buffer, "%02d:%02d:%02d:%02d", hours, minutes, seconds, frames);
|
/haiku/headers/private/kernel/arch/mipsel/ |
H A D | arch_platform.h | 38 virtual void SetHardwareRTC(uint32 seconds) = 0;
|
/haiku/headers/private/kernel/arch/ppc/ |
H A D | arch_platform.h | 37 virtual void SetHardwareRTC(uint32 seconds) = 0;
|
/haiku/headers/private/kernel/arch/sparc/ |
H A D | arch_platform.h | 36 virtual void SetHardwareRTC(uint32 seconds) = 0;
|
/haiku/src/system/kernel/arch/riscv64/ |
H A D | arch_real_time_clock.cpp | 36 arch_rtc_set_hw_time(uint32 seconds) argument
|
/haiku/src/apps/clock/ |
H A D | cl_wind.cpp | 46 bool seconds = fOnScreenView->ReturnSeconds(); local 47 write(ref, (char *)&seconds, sizeof(bool));
|
/haiku/src/system/libroot/add-ons/icu/ |
H A D | ICUTimeConversion.cpp | 82 int seconds = 0; local 84 &seconds); 87 seconds = min_c(59, max_c(0, seconds)); 90 * (hours * 3600 + minutes * 60 + seconds); 131 // we want seconds, not the ms that ICU gives us
|