Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 1365) sorted by path

12345678910>>...55

/netbsd/bin/cp/
H A Dutils.c69 struct timespec ts[2]; in set_utimes() local
71 ts[0] = fs->st_atimespec; in set_utimes()
72 ts[1] = fs->st_mtimespec; in set_utimes()
74 if (lutimens(file, ts)) { in set_utimes()
/netbsd/bin/ed/
H A Ded.h128 char *ts; \
130 if ((ts = (char *) realloc((b), ti += max((i), MINBUFSZ))) == NULL) { \
137 (b) = ts; \
H A Dglbl.c159 line_t **ts; in set_active_node() local
161 if ((ts = (line_t **) realloc(active_list, in set_active_node()
169 active_list = ts; in set_active_node()
/netbsd/bin/ksh/
H A Dc_ksh.c1033 struct tstate ts; local
1035 for (ksh_twalk(&ts, t); (ap = tnext(&ts)); ) {
H A Dedit.c938 struct tstate ts; local
941 for (ksh_twalk(&ts, tp); (te = tnext(&ts)); ) {
H A Deval.c1216 XString ts; local
1220 Xinit(ts, tp, 16, ATEMP);
1225 Xcheck(ts, tp);
1230 r = (p[0] == EOS || p[0] == CHAR || p[0] == CSUBST) ? tilde(Xstring(ts, tp)) : (char *) 0;
1231 Xfree(ts, tp);
H A Dexec.c1000 struct tstate ts; local
1002 for (ksh_twalk(&ts, &taliases); (tp = tnext(&ts)) != NULL; )
H A Dtable.c154 ksh_twalk(ts, tp) in ksh_twalk() argument
155 struct tstate *ts; in ksh_twalk()
158 ts->left = tp->size;
159 ts->next = tp->tbls;
163 tnext(ts) in tnext() argument
164 struct tstate *ts; in tnext()
166 while (--ts->left >= 0) {
167 struct tbl *p = *ts->next++;
215 struct tstate ts; local
219 ksh_twalk(&ts, tp);
[all …]
H A Dtty.c17 get_tty(fd, ts) in get_tty() argument
19 TTY_state *ts;
24 ret = tcgetattr(fd, ts);
27 ret = ioctl(fd, TCGETA, ts);
29 ret = ioctl(fd, TIOCGETP, &ts->sgttyb);
31 if (ioctl(fd, TIOCGATC, &ts->lchars) < 0)
47 set_tty(fd, ts, flags) in set_tty() argument
49 TTY_state *ts;
55 ret = tcsetattr(fd, TCSADRAIN, ts);
70 if (ioctl(tty_fd, TCSETA, ts) < 0)
[all …]
H A Dtty.h100 extern int get_tty ARGS((int fd, TTY_state *ts));
101 extern int set_tty ARGS((int fd, TTY_state *ts, int flags));
/netbsd/bin/mv/
H A Dmv.c272 struct timespec ts[2]; in fastcopy() local
329 ts[0] = sbp->st_atimespec; in fastcopy()
330 ts[1] = sbp->st_mtimespec; in fastcopy()
345 if (futimens(to_fd, ts)) in fastcopy()
/netbsd/bin/sh/
H A Dparser.c1304 struct tokenstate *os, *ts; in bump_state_level() local
1317 ts = currentstate(stack); in bump_state_level()
1319 ts->ts_parenlevel = 0; /* parens inside never match outside */ in bump_state_level()
1321 ts->ts_quoted = os->ts_quoted & QF; /* these are default settings */ in bump_state_level()
1322 ts->ts_varnest = os->ts_varnest; in bump_state_level()
1323 ts->ts_arinest = os->ts_arinest; /* when appropriate */ in bump_state_level()
1324 ts->ts_syntax = os->ts_syntax; /* they will be altered */ in bump_state_level()
1325 ts->ts_magicq = os->ts_magicq; in bump_state_level()
/netbsd/crypto/dist/ipsec-tools/src/racoon/
H A Ddump.c77 struct pcap_timeval ts; /* time stamp */ member
164 sf_hdr.ts.tv_sec = tv.tv_sec;
165 sf_hdr.ts.tv_usec = tv.tv_usec;
H A Dlogger.c185 char ts[256]; local
198 strftime(ts, sizeof(ts), "%B %d %T", tm);
199 fprintf(fp, "%s: %s\n", ts, p->buf[j]);
H A Dschedule.c68 struct timespec ts; local
70 clock_gettime(CLOCK_MONOTONIC, &ts);
71 tv->tv_sec = ts.tv_sec;
72 tv->tv_usec = ts.tv_nsec / 1000;
/netbsd/crypto/external/bsd/heimdal/
H A DMakefile.rules.inc33 ${src:.asn1=.ts}
41 ${src:.asn1=.ts}
44 ${src:.asn1=.ts}: ${src} ${src:.asn1=.opt} ${TOOL_ASN1_COMPILE}
57 ${src:.asn1=.ts}: ${src} ${TOOL_ASN1_COMPILE}
/netbsd/crypto/external/bsd/heimdal/dist/
H A DChangeLog.200315 * lib/krb5/init_creds_pw.c: try handle ts preauth better, still
/netbsd/crypto/external/bsd/heimdal/dist/kadmin/
H A Dtest_util.c44 } ts[] = { variable
55 for (i = 0; i < sizeof(ts)/sizeof(ts[0]); i++) { in test_time()
59 ret = str2time_t (ts[i].str, &t); in test_time()
60 if (ret != ts[i].ret) { in test_time()
64 else if (t != ts[i].t) { in test_time()
/netbsd/crypto/external/bsd/heimdal/dist/lib/asn1/
H A Dgen_copy.c106 char *ts; in copy_type() local
122 if (asprintf (&ts, "%s(%s)->%s%s", in copy_type()
126 if (ts == NULL) in copy_type()
130 fprintf(codefile, "%s = malloc(sizeof(*%s));\n", ts, ts); in copy_type()
131 fprintf(codefile, "if(%s == NULL) goto fail;\n", ts); in copy_type()
134 copy_type (fs, ts, m->type, FALSE); in copy_type()
137 fprintf(codefile, "%s = NULL;\n", ts); in copy_type()
140 free (ts); in copy_type()
/netbsd/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/
H A Dinit_sec_context.c239 krb5_timestamp ts; in gsskrb5_get_creds() local
241 krb5_timeofday (context, &ts); in gsskrb5_get_creds()
242 this_cred.times.endtime = ts + time_req; in gsskrb5_get_creds()
/netbsd/crypto/external/bsd/heimdal/dist/lib/ipc/
H A DMakefile.am30 noinst_PROGRAMS = tc ts ts-http
H A DMakefile.in98 noinst_PROGRAMS = tc$(EXEEXT) ts$(EXEEXT) ts-http$(EXEEXT)
180 ts_SOURCES = ts.c
181 ts_OBJECTS = ts.$(OBJEXT)
183 ts_http_SOURCES = ts-http.c
206 ./$(DEPDIR)/tc.Po ./$(DEPDIR)/ts-http.Po ./$(DEPDIR)/ts.Po
229 $(nodist_libheim_ipcs_la_SOURCES) tc.c ts.c ts-http.c
231 $(dist_libheim_ipcs_la_SOURCES) tc.c ts.c ts-http.c
827 @rm -f ts$(EXEEXT)
831 @rm -f ts-http$(EXEEXT)
1207 -rm -f ./$(DEPDIR)/ts.Po
[all …]
H A Dcommon.c148 struct timespec ts; in heim_ipc_semaphore_wait()
149 ts.tv_sec = t; in heim_ipc_semaphore_wait()
150 ts.tv_nsec = 0; in heim_ipc_semaphore_wait()
151 ret = pthread_cond_timedwait(&s->cond, &s->mutex, &ts); in heim_ipc_semaphore_wait()
/netbsd/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dget_window_size.c82 struct ttysize ts; in get_window_size() local
84 ret = ioctl(fd, TIOCGSIZE, &ts); in get_window_size()
87 *lines = ts.ws_lines; in get_window_size()
89 *columns = ts.ts_cols; in get_window_size()
/netbsd/crypto/external/bsd/heimdal/dist/lib/wind/
H A Dcombining.c54 struct translation ts = {code_point, 0}; in _wind_combining_class() local
55 void *s = bsearch(&ts, _wind_combining_table, _wind_combining_table_size, in _wind_combining_class()

12345678910>>...55