/haiku/src/system/boot/platform/openfirmware/ |
H A D | real_time_clock.cpp | 48 int second, minute, hour, day, month, year; local 50 &hour, &minute, &second) == OF_FAILED) 55 return (((days * 24 + hour) * 60ULL + minute) * 60ULL + second)
|
/haiku/src/preferences/time/ |
H A D | BaseView.cpp | 60 int32 hour; local 61 if (message->FindInt32("hour", &hour) != B_OK) 62 hour = time.Hour(); 72 time.SetTime(hour, minute, second); 107 fMessage.AddInt32("hour", time.Hour());
|
H A D | AnalogClock.cpp | 73 int32 hour = 0; local 76 if (message->FindInt32("hour", &hour) == B_OK 79 SetTime(hour, minute, second); 129 int32 hour, minute, second; local 130 GetTime(&hour, &minute, &second); 133 message.AddInt32("hour", hour); 199 TAnalogClock::SetTime(int32 hour, int32 minute, int32 second) argument 205 if (fHours == hour 237 GetTime(int32* hour, int32* minute, int32* second) argument [all...] |
H A D | AnalogClock.h | 36 void SetTime(int32 hour, int32 minute, int32 second); 40 void GetTime(int32* hour, int32* minute, int32* second);
|
H A D | DateTimeView.cpp | 231 int32 hour; local 234 if (message->FindInt32("hour", &hour) == B_OK 237 fClock->SetTime(hour, minute, second); 238 fTimeEdit->SetTime(hour, minute, second);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/ |
H A D | if_rtwn_fw.h | 44 uint8_t hour; member in struct:r92c_fw_hdr
|
H A D | if_rtwn_fw.c | 148 hdr->month, hdr->date, hdr->hour, hdr->minute);
|
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_real_time_clock.cpp | 23 uint8 hour; member in struct:__anon5330 65 && time1->hour == time2->hour 119 cmos->hour = cmos_read(0x04); 134 cmos_write(0x04, cmos->hour); 148 t.tm_hour = bcd_to_int(cmos->hour); 170 cmos->hour = int_to_bcd(t.tm_hour); 198 // problems that would occur if the clock is read during an update (e.g. if we read the hour 200 // be off by a whole hour)
|
/haiku/src/system/kernel/arch/m68k/ |
H A D | arch_real_time_clock.cpp | 21 uint8 hour; member in struct:__anon7 63 && time1->hour == time2->hour 105 cmos->hour = cmos_read(0x04); 120 cmos_write(0x04, cmos->hour); 134 t.tm_hour = bcd_to_int(cmos->hour); 156 cmos->hour = int_to_bcd(t.tm_hour);
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | Utils.cpp | 95 "month: %d, day: %d, hour: %d, minute: %d, second: %d)", timestamp.type_and_timezone(), 98 timestamp.month(), timestamp.day(), timestamp.hour(), timestamp.minute(), timestamp.second())); 110 int hour = timestamp.hour(); local 115 // to the nearest hour, since no one I know treats timezones 141 result = (result + hour) * MINSPERHOUR + timezone_offset;
|
H A D | UdfStructures.h | 113 uint8 hour() const { return _hour; } function in class:timestamp 138 void set_hour(uint8 hour) { _hour = hour; } argument
|
H A D | UdfStructures.cpp | 318 PRINT(("hour: %d\n", hour()));
|
/haiku/src/add-ons/kernel/file_systems/iso9660/ |
H A D | iso9660.h | 52 char hour[3]; member in struct:ISOVolDate 66 uint8 hour; member in struct:ISORecDate
|
H A D | iso9660.cpp | 1018 time = ((((days*24) + inDate->hour) * 60 + inDate->minute) * 60)
|
/haiku/headers/os/support/ |
H A D | DateTime.h | 36 BTime(int32 hour, int32 minute, int32 second, 45 static bool IsValid(int32 hour, int32 minute, int32 second, 52 bool SetTime(int32 hour, int32 minute, int32 second, 81 bool _SetTime(bigtime_t hour, bigtime_t minute,
|
/haiku/src/kits/support/ |
H A D | DateTime.cpp | 60 Constructs a BTime object with \c hour \c minute, \c second, \c microsecond. 62 \c hour must be between 0 and 23, \c minute and \c second must be between 66 BTime::BTime(int32 hour, int32 minute, int32 second, int32 microsecond) argument 70 _SetTime(hour, minute, second, microsecond); 136 BTime::IsValid(int32 hour, int32 minute, int32 second, int32 microsecond) argument 138 return BTime(hour, minute, second, microsecond).IsValid(); 194 Set the time to \c hour \c minute, \c second and \c microsecond. 196 \c hour must be between 0 and 23, \c minute and \c second must be between 202 BTime::SetTime(int32 hour, int32 minute, int32 second, int32 microsecond) argument 204 return _SetTime(hour, minut 434 _SetTime(bigtime_t hour, bigtime_t minute, bigtime_t second, bigtime_t microsecond) argument [all...] |
/haiku/headers/private/shared/ |
H A D | DateTimeEdit.h | 104 void SetTime(int32 hour, int32 minute, int32 second);
|
/haiku/src/kits/shared/ |
H A D | DateTimeEdit.cpp | 169 TimeEdit::SetTime(int32 hour, int32 minute, int32 second) argument 172 if (hour == 0 && minute == 0 && second == 0) 175 fTime.SetTime(BTime(hour, minute, second)); 233 message->AddInt32("hour", fTime.Time().Hour()); 306 // modify hour value to reflect change in am/ pm
|
/haiku/src/bin/network/ping/ |
H A D | ping.c | 1655 int hour, min, sec; local 1658 hour = sec / 60 / 60; 1662 (void)snprintf(buf, sizeof(buf), "%02d:%02d:%02d", hour, min, sec);
|