Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dnl_cxtime.c46 nl_ascxtime(tmptr, fmt) in nl_ascxtime() argument
47 struct tm *tmptr; in nl_ascxtime()
50 return (strftime (_tbuf, TBUFSIZE, fmt ? fmt : "%H:%M:%S", tmptr) ?
51 _tbuf : asctime(tmptr));
/titanic_41/usr/src/lib/libc/port/gen/
H A Dlocaltime.c681 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 …]
/titanic_41/usr/src/cmd/oamuser/lib/
H A Ddates.c45 struct tm *tmptr, *getdate(); local
53 if( !(tmptr = getdate( string )) )
55 if ( (rtime = mktime( tmptr )) < 0)
/titanic_41/usr/src/cmd/expr/
H A Dexpr.c404 char *tmptr; in ematch() local
438 tmptr = tmptr1; in ematch()
440 tmptr = tempbuf; in ematch()
442 memcpy(tmptr, s, nmatch); in ematch()
443 *(tmptr + nmatch) = '\0'; in ematch()
444 if ((nmbchars = mbstowcs(NULL, tmptr, NULL)) == -1) { in ematch()
/titanic_41/usr/src/cmd/mdb/sun4u/modules/opl/oplhwd/
H A Doplhwd.c36 static uintptr_t tmptr; variable
323 tmptr + (bd * sizeof (opl_board_cfg_t))) == -1) { in dumpahwd()
325 (tmptr + (bd * sizeof (opl_board_cfg_t)))); in dumpahwd()
604 tmptr = (uintptr_t)tmsym.st_value; in oplhwd()
605 mdb_printf("Board %d:\tboardcfg \t%8llx\n", 0, tmptr); in oplhwd()
/titanic_41/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c1042 char *tmptr = (char *)(intp+1); in fixup_slotname() local
1048 DBG(2, ("curr slot-name: %s \n", tmptr)); in fixup_slotname()
1055 DBG(2, ("slot-name: %s \n", tmptr)); in fixup_slotname()
1058 tmptr); in fixup_slotname()
1060 while (*tmptr != '\0') { in fixup_slotname()
1061 tmptr++; in fixup_slotname()
1063 tmptr++; in fixup_slotname()
/titanic_41/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c1178 char *tmptr = (char *)(intp+1); in fixup_slotname() local
1184 DBG(2, ("curr slot-name: %s \n", tmptr)); in fixup_slotname()
1191 DBG(2, ("slot-name: %s \n", tmptr)); in fixup_slotname()
1194 tmptr); in fixup_slotname()
1196 while (*tmptr != '\0') { in fixup_slotname()
1197 tmptr++; in fixup_slotname()
1199 tmptr++; in fixup_slotname()