Home
last modified time | relevance | path

Searched refs:hour (Results 1 – 4 of 4) sorted by relevance

/system/dev/rtc/intel-rtc/
A Dintel-rtc.c93 uint8_t hour = reg_is_binary ? data : from_bcd(data); in read_reg_hour() local
96 return hour; in read_reg_hour()
100 hour += 12; in read_reg_hour()
104 switch (hour) { in read_reg_hour()
110 return hour; in read_reg_hour()
114 static void write_reg_hour(uint8_t hour, bool reg_is_binary, bool reg_is_24_hour) { in write_reg_hour() argument
115 bool pm = hour > 11; in write_reg_hour()
119 hour -= 12; in write_reg_hour()
121 if (hour == 0) { in write_reg_hour()
122 hour = 12; in write_reg_hour()
[all …]
/system/ulib/zx/include/lib/zx/
A Dtime.h241 constexpr inline duration hour(int64_t n) { return duration(ZX_HOUR(n)); } in hour() function
/system/utest/libzx/
A Dzx-test.cpp284 ASSERT_EQ(zx::hour(10).get(), ZX_HOUR(10)); in time_test()
285 ASSERT_EQ(zx::hour(10).to_hours(), 10); in time_test()
/system/utest/async-testutils/
A Dtest_loop_tests.cpp172 loop.RunFor(zx::hour(1)); in NestedTasksAreDispatched()

Completed in 12 milliseconds