Lines Matching refs:p_tm
1522 struct tm *p_tm;
1536 p_tm = _pthread_getspecific(localtime_key);
1537 if (p_tm == NULL) {
1538 if ((p_tm = (struct tm *)malloc(sizeof(struct tm)))
1541 _pthread_setspecific(localtime_key, p_tm);
1546 p_tm = localsub(timep, 0L, p_tm);
1548 localsub(timep, 0L, p_tm);
1551 return(p_tm);
1660 struct tm *p_tm;
1678 if ((p_tm = _pthread_getspecific(gmtime_key)) == NULL) {
1679 if ((p_tm = (struct tm *)malloc(sizeof(struct tm)))
1683 _pthread_setspecific(gmtime_key, p_tm);
1686 return gmtsub(timep, 0L, p_tm);
1688 gmtsub(timep, 0L, p_tm);
1689 return(p_tm);