Home
last modified time | relevance | path

Searched refs:tm (Results 51 – 75 of 311) sorted by relevance

12345678910>>...13

/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dldebug.c460 TMS tm; in getfuncname() local
478 case OP_EQ: tm = TM_EQ; break; in getfuncname()
479 case OP_ADD: tm = TM_ADD; break; in getfuncname()
480 case OP_SUB: tm = TM_SUB; break; in getfuncname()
481 case OP_MUL: tm = TM_MUL; break; in getfuncname()
482 case OP_DIV: tm = TM_DIV; break; in getfuncname()
483 case OP_MOD: tm = TM_MOD; break; in getfuncname()
484 case OP_POW: tm = TM_POW; break; in getfuncname()
487 case OP_LT: tm = TM_LT; break; in getfuncname()
488 case OP_LE: tm = TM_LE; break; in getfuncname()
[all …]
H A Dltm.c53 const TValue *tm = luaH_getstr(events, ename); in luaT_gettm() local
55 if (ttisnil(tm)) { /* no tag method? */ in luaT_gettm()
59 else return tm; in luaT_gettm()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dparms.c455 struct tm tm; in parse_ts() local
463 (void) memset(&tm, 0, sizeof (tm)); in parse_ts()
465 (unsigned *)&tm.tm_year, (unsigned *)&tm.tm_mon, in parse_ts()
466 (unsigned *)&tm.tm_mday, (unsigned *)&tm.tm_hour, in parse_ts()
468 tm.tm_mon < 1 || tm.tm_mon > 12 || in parse_ts()
469 tm.tm_mday < 1 || tm.tm_mday > 31) { in parse_ts()
473 tm.tm_mon--; in parse_ts()
475 if (tm.tm_year <= 37) in parse_ts()
476 tm.tm_year += 100; in parse_ts()
478 if (tm.tm_year >= 1900) in parse_ts()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c139 static size_t strftime (char *, size_t, const char *, const struct tm *);
145 struct tm *)
154 static char *strptime (const char *, const char *, struct tm *);
161 struct tm timebuf; in krb5_string_to_timestamp()
218 struct tm tmbuf; in krb5_timestamp_to_string()
236 struct tm *tmp; in krb5_timestamp_to_sfstring()
240 struct tm tmbuf; in krb5_timestamp_to_sfstring()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfpoll.c32 int sfpoll(Sfio_t** fa, reg int n, int tm) in sfpoll() argument
34 int sfpoll(fa, n, tm) in sfpoll()
37 int tm; /* time in millisecs for select/poll */
83 { if((m = (*f->disc->exceptf)(f,SF_DPOLL,&tm,f->disc)) < 0)
138 while((np = SFPOLL(fds,m,tm)) < 0 )
192 if(tm < 0)
196 tmb.tv_sec = tm/SECOND;
197 tmb.tv_usec = (tm%SECOND)*SECOND;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dctime.c107 __posix_asctime_r(const struct tm *t, char *cbuf) in __posix_asctime_r()
151 asctime_r(const struct tm *t, char *cbuf, int buflen) in asctime_r()
164 struct tm *p; in ctime()
175 asctime(const struct tm *t) in asctime()
H A Dmktemp.c129 struct timeval tm; in libc_mktemps() local
131 (void) gettimeofday(&tm, NULL); in libc_mktemps()
132 previous_try = (tm.tv_sec * 1000 + tm.tv_usec / 1000) & 0xfff; in libc_mktemps()
H A Dlocaltime.c313 static struct tm tm; /* For non-reentrant use */ variable
431 static struct tm *offtime_u(time_t, long, struct tm *);
481 struct tm *
499 struct tm *
502 struct tm *p_tm = tsdalloc(_T_STRUCT_TM, sizeof (struct tm), NULL); in gmtime()
622 struct tm *
626 struct tm *rt; in localtime_r()
665 struct tm *
683 struct tm _tm; in mktime1()
1257 struct tm gmttm; in posix_check_dst()
[all …]
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.h43 struct tm { struct
57 extern struct tm *gmtime(const time_t *);
58 extern struct tm *localtime(const time_t *);
H A Dtime.c89 struct tm *
92 static struct tm result; in gmtime()
93 struct tm *tmp; in gmtime()
145 struct tm *
164 asctime(const struct tm *t) in asctime()
/illumos-gate/usr/src/cmd/date/
H A Ddate.c83 static int setdate(struct tm *, char *);
90 struct tm *tp, tm; in main() local
210 (void) memcpy(&tm, tp, sizeof (struct tm)); in main()
211 (void) strftime(buf, BUFSIZ, fmtbuf, &tm); in main()
219 setdate(struct tm *current_date, char *date) in setdate()
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c1514 struct tm *tm, ref_tm, tmp, tmp1, tmp2; in tz_next_time() local
1537 tmp = *tm; in tz_next_time()
1559 (tm->tm_mday != tm_mday && tm->tm_wday != tm_wday) || in tz_next_time()
1564 if ((tm->tm_hour + 1) <= next_ge(tm->tm_hour, e->of.ct.hour)) { in tz_next_time()
1575 tm_setup(&tmp, tm->tm_year, tm->tm_mon, tm->tm_mday, in tz_next_time()
1675 day1 = next_ge((d1-1)%days_in_mon(tm->tm_mon, tm->tm_year) + 1, in tz_next_time()
1686 day2 = (d1 + daysahead-1)%days_in_mon(tm->tm_mon, tm->tm_year) + 1; in tz_next_time()
1704 yr = tm->tm_year; in tz_next_time()
1713 db = days_btwn(tm->tm_mon, tm->tm_mday, tm->tm_year, mon, in tz_next_time()
1730 mon = tm->tm_mon; in tz_next_time()
[all …]
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_vnops.c113 struct tmount *tm, in wrtmp() argument
232 tm->tm_mntpath); in wrtmp()
237 vfs_t *vfs = tm->tm_vfsp; in wrtmp()
406 (void) tmpnode_trunc(tm, tp, in wrtmp()
450 struct tmount *tm, in rdtmp() argument
464 tm = tm; in rdtmp()
842 struct tmount *tm; in tmp_lookup() local
878 tm = VTOTM(dvp); in tmp_lookup()
954 struct tmount *tm; in tmp_create() local
1313 mutex_exit(&tm->tm_renamelck); in tmp_rename()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb.c236 uint64_t tm; in smbfs_smb_setfattr() local
251 smb_time_local2NT(atime, &tm); in smbfs_smb_setfattr()
252 if (tm != 0 && (ssp->ss_flags & SMBS_FST_FAT) && in smbfs_smb_setfattr()
253 tm < NT1980) in smbfs_smb_setfattr()
254 tm = NT1980; in smbfs_smb_setfattr()
256 tm = 0; in smbfs_smb_setfattr()
259 smb_time_local2NT(mtime, &tm); in smbfs_smb_setfattr()
261 tm < NT1980) in smbfs_smb_setfattr()
262 tm = NT1980; in smbfs_smb_setfattr()
264 tm = 0; in smbfs_smb_setfattr()
[all …]
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dread.c423 struct tm tm; in ipp_read_attribute_group() local
428 (void) memset(&tm, 0, sizeof (tm)); in ipp_read_attribute_group()
434 tm.tm_year = (uint16_t)ntohs(s) - 1900; in ipp_read_attribute_group()
440 tm.tm_mon = c - 1; in ipp_read_attribute_group()
446 tm.tm_mday = c; in ipp_read_attribute_group()
452 tm.tm_hour = c; in ipp_read_attribute_group()
458 tm.tm_min = c; in ipp_read_attribute_group()
464 tm.tm_sec = c; in ipp_read_attribute_group()
490 v = mktime(&tm); in ipp_read_attribute_group()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrftime.c32 static char *_fmt(locale_t, const char *, const struct tm *, char *,
70 const char *_RESTRICT_KYWD format, const struct tm *_RESTRICT_KYWD t, in strftime_l()
85 const char *_RESTRICT_KYWD format, const struct tm *_RESTRICT_KYWD t) in strftime()
91 _fmt(locale_t loc, const char *format, const struct tm *t, char *pt, in _fmt()
251 struct tm tm; in _fmt() local
254 tm = *t; in _fmt()
255 (void) asprintf(&buf, "%ld", mktime(&tm)); in _fmt()
/illumos-gate/usr/src/cmd/backup/dump/
H A Dunctime.c39 static time_t emitl(struct tm *);
49 struct tm then;
89 struct tm *dp; in emitl()
/illumos-gate/usr/src/cmd/sendmail/db/xa/
H A Dxa_map.c192 DB_TXNMGR *tm; local
195 tm = env->tx_info;
196 td = (TXN_DETAIL *)((u_int8_t *)tm->region + off);
198 LOCK_TXNREGION(tm);
200 UNLOCK_TXNREGION(tm);
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_vss.c247 struct tm tm; in smbd_vss_map_gmttoken() local
250 strptime(gmttoken, smbd_vss_gmttoken_fmt, &tm) != NULL) { in smbd_vss_map_gmttoken()
251 toktime = timegm(&tm); in smbd_vss_map_gmttoken()
298 struct tm t; in smbd_vss_time2gmttoken()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c54 struct tm
58 smb_timegm(struct tm *tm);
60 struct tm { struct
1203 struct tm atm; in smb_time_dos_to_unix()
1223 struct tm atm; in smb_time_unix_to_dos()
1271 struct tm *
1343 smb_timegm(struct tm *tm) in smb_timegm() argument
1351 if (tm == 0) in smb_timegm()
1374 tsec += tm->tm_sec; in smb_timegm()
1378 tm->tm_isdst = 0; in smb_timegm()
[all …]
/illumos-gate/usr/src/cmd/cdrw/
H A Dutil.c182 time_t tm; variable
189 tm = time(NULL); in init_progress()
204 if (tm != time(NULL)) { in progress()
205 tm = time(NULL); in progress()
/illumos-gate/usr/src/lib/libcurses/screen/
H A D_timeout.c47 timeout(int tm) in timeout() argument
49 wtimeout(stdscr, tm); in timeout()
H A Dwtimeout.c46 wtimeout(WINDOW *win, int tm) in wtimeout() argument
48 win->_delay = tm; in wtimeout()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/
H A Dtmtime.c38 tmtime(register Tm_t* tm, int west) in tmtime() argument
40 return tmxsec(tmxtime(tm, west)); in tmtime()
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dmonitor.c60 smfi_set_max_exec_time(tm) in smfi_set_max_exec_time() argument
61 unsigned int tm; in smfi_set_max_exec_time()
63 Mon_exec_time = tm;

12345678910>>...13