Lines Matching refs:tm
66 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r() argument
68 if (asctime_r(tm, buf) == buf) in php_asctime_r()
82 PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm) in php_localtime_r()
96 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r() argument
98 if (asctime_r(tm, buf, 26) != -1) in php_asctime_r()
103 PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm) in php_gmtime_r()
114 PHPAPI struct tm *php_localtime_r(const time_t *const timep, struct tm *p_tm) in php_localtime_r()
116 struct tm *tmp; in php_localtime_r()
122 memcpy(p_tm, tmp, sizeof(struct tm)); in php_localtime_r()
156 PHPAPI char *php_asctime_r(const struct tm *tm, char *buf) in php_asctime_r() argument
162 tmp = asctime(tm); in php_asctime_r()
177 PHPAPI struct tm *php_gmtime_r(const time_t *const timep, struct tm *p_tm) in php_gmtime_r()
179 struct tm *tmp; in php_gmtime_r()
185 memcpy(p_tm, tmp, sizeof(struct tm)); in php_gmtime_r()