Searched refs:tmptr (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | localtime.c | 681 mktime1(struct tm *tmptr, int usetz) in mktime1() argument 695 t = tmptr->tm_sec + SECSPERMIN * tmptr->tm_min + in mktime1() 696 SECSPERHOUR * tmptr->tm_hour + in mktime1() 697 SECSPERDAY * (tmptr->tm_mday - 1); in mktime1() 699 if (tmptr->tm_mon >= 12) { in mktime1() 700 tmptr->tm_year += tmptr->tm_mon / 12; in mktime1() 701 tmptr->tm_mon %= 12; in mktime1() 702 } else if (tmptr->tm_mon < 0) { in mktime1() 703 temp = -tmptr->tm_mon; in mktime1() 704 tmptr->tm_mon = 0; /* If tm_mon divides by 12. */ in mktime1() [all …]
|
/illumos-gate/usr/src/cmd/oamuser/lib/ |
H A D | dates.c | 43 struct tm *tmptr, *getdate(); local 51 if( !(tmptr = getdate( string )) ) 53 if ( (rtime = mktime( tmptr )) < 0)
|
/illumos-gate/usr/src/cmd/expr/ |
H A D | expr.c | 398 char *tmptr; in ematch() local 432 tmptr = tmptr1; in ematch() 434 tmptr = tempbuf; in ematch() 436 memcpy(tmptr, s, nmatch); in ematch() 437 *(tmptr + nmatch) = '\0'; in ematch() 438 if ((nmbchars = mbstowcs(NULL, tmptr, 0)) == -1) { in ematch()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/ |
H A D | shp.c | 1045 char *tmptr = (char *)(intp+1); in fixup_slotname() local 1051 DBG(2, ("curr slot-name: %s \n", tmptr)); in fixup_slotname() 1058 DBG(2, ("slot-name: %s \n", tmptr)); in fixup_slotname() 1061 tmptr); in fixup_slotname() 1063 while (*tmptr != '\0') { in fixup_slotname() 1064 tmptr++; in fixup_slotname() 1066 tmptr++; in fixup_slotname()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/ |
H A D | cfga.c | 1172 char *tmptr = (char *)(intp+1); in fixup_slotname() local 1178 DBG(2, ("curr slot-name: %s \n", tmptr)); in fixup_slotname() 1185 DBG(2, ("slot-name: %s \n", tmptr)); in fixup_slotname() 1188 tmptr); in fixup_slotname() 1190 while (*tmptr != '\0') { in fixup_slotname() 1191 tmptr++; in fixup_slotname() 1193 tmptr++; in fixup_slotname()
|