Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dlocaltime.c482 gmtime_r(const time_t *timep, struct tm *p_tm) in gmtime_r() argument
484 return (offtime_u((time_t)*timep, 0L, p_tm)); in gmtime_r()
504 if (p_tm == NULL) /* memory allocation failure */ in gmtime()
505 p_tm = &tm; /* use static buffer and hope for the best */ in gmtime()
506 return (gmtime_r(timep, p_tm)); in gmtime()
623 localtime_r(const time_t *timep, struct tm *p_tm) in localtime_r() argument
636 return (offtime_u(*timep, 0L, p_tm)); in localtime_r()
643 rt = offtime_u(*timep, offset, p_tm); in localtime_r()
644 p_tm->tm_isdst = my_is_in_dst; in localtime_r()
670 if (p_tm == NULL) /* memory allocation failure */ in localtime()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/libtopo/
H A Ddigraph-test.c52 struct tm *p_tm; in get_timestamp() local
55 p_tm = localtime(&utc_time); in get_timestamp()
57 (void) strftime(buf, bufsize, "%FT%TZ", p_tm); in get_timestamp()
/illumos-gate/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c48 struct tm *p_tm; in get_timestamp() local
51 p_tm = localtime(&utc_time); in get_timestamp()
53 (void) strftime(buf, bufsize, "%b %d %H:%M:%S", p_tm); in get_timestamp()
/illumos-gate/usr/src/test/os-tests/tests/ddi_ufm/
H A Dufm-test.c94 struct tm *p_tm; in get_timestamp() local
97 p_tm = localtime(&utc_time); in get_timestamp()
99 (void) strftime(buf, bufsize, "%FT%TZ", p_tm); in get_timestamp()