Searched refs:remsecs (Results 1 – 5 of 5) sorted by relevance
/third_party/musl/porting/uniproton/kernel/src/time/ |
D | __secs_to_tm.c | 14 int remdays, remsecs, remyears; in __secs_to_tm() local 26 remsecs = secs % 86400; in __secs_to_tm() 27 if (remsecs < 0) { in __secs_to_tm() 28 remsecs += 86400; in __secs_to_tm() 77 tm->tm_hour = remsecs / 3600; in __secs_to_tm() 78 tm->tm_min = remsecs / 60 % 60; in __secs_to_tm() 79 tm->tm_sec = remsecs % 60; in __secs_to_tm()
|
/third_party/musl/src/time/ |
D | __secs_to_tm.c | 14 int remdays, remsecs, remyears; in __secs_to_tm() local 26 remsecs = secs % 86400; in __secs_to_tm() 27 if (remsecs < 0) { in __secs_to_tm() 28 remsecs += 86400; in __secs_to_tm() 77 tm->tm_hour = remsecs / 3600; in __secs_to_tm() 78 tm->tm_min = remsecs / 60 % 60; in __secs_to_tm() 79 tm->tm_sec = remsecs % 60; in __secs_to_tm()
|
/third_party/musl/porting/liteos_m/kernel/src/time/ |
D | __secs_to_tm.c | 14 int remdays, remsecs, remyears; in __secs_to_tm() local 26 remsecs = secs % 86400; in __secs_to_tm() 27 if (remsecs < 0) { in __secs_to_tm() 28 remsecs += 86400; in __secs_to_tm() 77 tm->tm_hour = remsecs / 3600; in __secs_to_tm() 78 tm->tm_min = remsecs / 60 % 60; in __secs_to_tm() 79 tm->tm_sec = remsecs % 60; in __secs_to_tm()
|
/third_party/musl/porting/liteos_a/kernel/src/time/ |
D | __secs_to_tm.c | 14 int remdays, remsecs, remyears; in __secs_to_tm() local 26 remsecs = secs % 86400; in __secs_to_tm() 27 if (remsecs < 0) { in __secs_to_tm() 28 remsecs += 86400; in __secs_to_tm() 77 tm->tm_hour = remsecs / 3600; in __secs_to_tm() 78 tm->tm_min = remsecs / 60 % 60; in __secs_to_tm() 79 tm->tm_sec = remsecs % 60; in __secs_to_tm()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/fmt/time/ |
D | datetime.rs | 274 let mut remsecs: i32 = (t % 86_400) as i32; in from() localVariable 275 if remsecs < 0i32 { in from() 276 remsecs += 86_400; in from() 325 hour: (remsecs / 3600) as u8, in from() 326 minute: (remsecs / 60 % 60) as u8, in from() 327 second: (remsecs % 60) as u8, in from()
|