Home
last modified time | relevance | path

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

/dragonfly/lib/libc/stdtime/
H A Dlocaltime.c1360 struct tm *p_tm; in localtime() local
1368 p_tm = _pthread_getspecific(localtime_key); in localtime()
1369 if (p_tm == NULL) { in localtime()
1370 if ((p_tm = (struct tm *)malloc(sizeof(struct tm))) in localtime()
1373 _pthread_setspecific(localtime_key, p_tm); in localtime()
1377 localsub(timep, 0L, p_tm); in localtime()
1379 return(p_tm); in localtime()
1440 struct tm *p_tm; in gmtime() local
1453 if ((p_tm = (struct tm *)malloc(sizeof(struct tm))) in gmtime()
1457 _pthread_setspecific(gmtime_key, p_tm); in gmtime()
[all …]