Searched refs:gtime (Results 1 – 11 of 11) sorted by relevance
/titanic_41/usr/src/cmd/auditreduce/ |
H A D | time.c | 94 struct tm ltime, gtime; in local_to_gm() local 101 (void) memcpy((void *)>ime, (void *)gmtime(&secs), sizeof (gtime)); in local_to_gm() 108 gsecs = tm_to_secs(>ime); in local_to_gm() 475 struct tm gtime; in derive_str() local 477 (void) memcpy((void *) & gtime, (void *)gmtime(&clock), sizeof (gtime)); in derive_str() 479 (void) sprintf(buf, "%4d", gtime.tm_year + 1900); in derive_str() 480 (void) sprintf(buf + 4, "%.2d", gtime.tm_mon + 1); in derive_str() 481 (void) sprintf(buf + 6, "%.2d", gtime.tm_mday); in derive_str() 482 (void) sprintf(buf + 8, "%.2d", gtime.tm_hour); in derive_str() 483 (void) sprintf(buf + 10, "%.2d", gtime.tm_min); in derive_str() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/ |
H A D | asn1_encode.c | 226 struct tm *gtime, gtimebuf; in asn1_encode_generaltime() local 251 gtime = gmtime(&gmt_time); in asn1_encode_generaltime() 252 if (gtime == NULL) in asn1_encode_generaltime() 254 memcpy(>imebuf, gtime, sizeof(gtimebuf)); in asn1_encode_generaltime() 256 gtime = >imebuf; in asn1_encode_generaltime() 258 if (gtime->tm_year > 8099 || gtime->tm_mon > 11 || in asn1_encode_generaltime() 259 gtime->tm_mday > 31 || gtime->tm_hour > 23 || in asn1_encode_generaltime() 260 gtime->tm_min > 59 || gtime->tm_sec > 59) in asn1_encode_generaltime() 263 1900+gtime->tm_year, gtime->tm_mon+1, in asn1_encode_generaltime() 264 gtime->tm_mday, gtime->tm_hour, in asn1_encode_generaltime() [all …]
|
/titanic_41/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_nvm.c | 104 u64 gtime, timeout; in i40e_acquire_nvm() local 115 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm() 118 hw->nvm.hw_semaphore_timeout = I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm() 127 timeout = I40E_MS_TO_GTIME(I40E_MAX_NVM_TIMEOUT) + gtime; in i40e_acquire_nvm() 128 while ((gtime < timeout) && time_left) { in i40e_acquire_nvm() 130 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_acquire_nvm() 137 I40E_MS_TO_GTIME(time_left) + gtime; in i40e_acquire_nvm() 1219 u32 gtime; in i40e_nvmupd_state_writing() local 1221 gtime = rd32(hw, I40E_GLVFGEN_TIMER); in i40e_nvmupd_state_writing() 1222 if (gtime >= hw->nvm.hw_semaphore_timeout) { in i40e_nvmupd_state_writing() [all …]
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | time.c | 45 gtime(void) in gtime() function
|
H A D | SYSCALL.README | 108 gtime scalls.c common/syscall/time.c
|
/titanic_41/usr/src/ucbcmd/touch/ |
H A D | touch.c | 72 gtime() in gtime() function 168 if ((tp = gtime()) == NULL) { in main()
|
/titanic_41/usr/src/uts/intel/os/ |
H A D | name_to_sysnum | 12 gtime 13
|
/titanic_41/usr/src/uts/sparc/os/ |
H A D | name_to_sysnum | 12 gtime 13
|
/titanic_41/usr/src/cmd/cron/ |
H A D | at.c | 103 static time_t gtime(struct tm *); 337 when = gtime(&at); in main() 516 gtime(tptr) in gtime() function
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | tmplout.c | 66 static long gtime( struct tm *tm ); 960 gmttime = gtime( &t ); in time2text() 997 static long gtime ( struct tm *tm ) in gtime() function
|
/titanic_41/usr/src/uts/common/os/ |
H A D | sysent.c | 86 time_t gtime(); 453 /* 13 */ SYSENT_CL("time", gtime, 0), 834 /* 13 */ SYSENT_CI("time", gtime, 0),
|