Searched refs:times (Results 1 - 25 of 162) sorted by relevance

1234567

/freebsd-11-stable/lib/libc/sys/
H A Dfutimens.c41 futimens(int fd, const struct timespec times[2]) argument
50 return (__sys_futimens(fd, times));
52 if (times == NULL || (times[0].tv_nsec == UTIME_NOW &&
53 times[1].tv_nsec == UTIME_NOW))
55 else if (times[0].tv_nsec == UTIME_OMIT &&
56 times[1].tv_nsec == UTIME_OMIT)
59 if ((times[0].tv_nsec < 0 || times[0].tv_nsec > 999999999) &&
60 times[
[all...]
H A Dutimensat.c41 utimensat(int fd, const char *path, const struct timespec times[2], int flag) argument
50 return (__sys_utimensat(fd, path, times, flag));
56 if (times == NULL || (times[0].tv_nsec == UTIME_NOW &&
57 times[1].tv_nsec == UTIME_NOW))
59 else if (times[0].tv_nsec == UTIME_OMIT &&
60 times[1].tv_nsec == UTIME_OMIT)
63 if ((times[0].tv_nsec < 0 || times[0].tv_nsec > 999999999) &&
64 times[
[all...]
/freebsd-11-stable/tools/build/
H A Dfutimens.c42 futimens(int fd, const struct timespec times[2]) argument
48 if (times == NULL || (times[0].tv_nsec == UTIME_NOW &&
49 times[1].tv_nsec == UTIME_NOW))
51 else if (times[0].tv_nsec == UTIME_OMIT &&
52 times[1].tv_nsec == UTIME_OMIT)
55 if ((times[0].tv_nsec < 0 || times[0].tv_nsec > 999999999) &&
56 times[0].tv_nsec != UTIME_NOW &&
57 times[
[all...]
H A Dutimensat.c42 utimensat(int fd, const char *path, const struct timespec times[2], int flag) argument
52 if (times == NULL || (times[0].tv_nsec == UTIME_NOW &&
53 times[1].tv_nsec == UTIME_NOW))
55 else if (times[0].tv_nsec == UTIME_OMIT &&
56 times[1].tv_nsec == UTIME_OMIT)
59 if ((times[0].tv_nsec < 0 || times[0].tv_nsec > 999999999) &&
60 times[0].tv_nsec != UTIME_NOW &&
61 times[
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dutime.c41 utime(const char *path, const struct utimbuf *times) argument
45 if (times) {
46 tv[0].tv_sec = times->actime;
47 tv[1].tv_sec = times->modtime;
H A Dtimes.c31 static char sccsid[] = "@(#)times.c 8.1 (Berkeley) 6/4/93";
38 #include <sys/times.h>
48 times(tp) function
/freebsd-11-stable/contrib/libarchive/cpio/test/
H A Dtest_option_u.c35 struct utimbuf times; local
58 memset(&times, 0, sizeof(times));
59 times.actime = 1;
60 times.modtime = 3;
61 assertEqualInt(0, utime("f", &times));
H A Dtest_option_a.c57 struct utimbuf times; local
73 memset(&times, 0, sizeof(times));
75 times.actime = 86400;
76 times.modtime = 86400;
78 times.actime = 1;
79 times.modtime = 3;
81 assertEqualInt(0, utime(files[i].name, &times));
/freebsd-11-stable/contrib/gcclibs/libiberty/
H A Dclock.c48 #include <sys/times.h>
82 times (&tms);
94 times (&vms_times);
H A Dgetruntime.c54 #include <sys/times.h>
105 times (&tms);
/freebsd-11-stable/contrib/binutils/libiberty/
H A Dclock.c48 #include <sys/times.h>
82 times (&tms);
94 times (&vms_times);
H A Dgetruntime.c54 #include <sys/times.h>
105 times (&tms);
/freebsd-11-stable/sys/sys/
H A Dtimes.h34 * @(#)times.h 8.4 (Berkeley) 1/21/94
59 clock_t times(struct tms *);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dtest_keytab.c174 perf_add(krb5_context context, krb5_keytab id, int times) argument
179 perf_find(krb5_context context, krb5_keytab id, int times) argument
184 perf_delete(krb5_context context, krb5_keytab id, int forward, int times) argument
192 static int times = 1000; variable
197 {"times", 0, arg_integer, &times,
198 "number of times to run the perforamce test", "number" },
253 perf_add(context, id, times);
254 perf_find(context, id, times);
255 perf_delete(context, id, 0, times);
[all...]
H A Dcreds.c94 c->times = incred->times;
192 * - KRB5_TC_MATCH_TIMES_EXACT Compares the ticket times exactly.
193 * - KRB5_TC_MATCH_TIMES Compares only the expiration times of the creds.
242 match = krb5_times_equal(&mcreds->times, &creds->times);
245 /* compare only expiration times */
246 match = (mcreds->times.renew_till <= creds->times.renew_till) &&
247 (mcreds->times
[all...]
/freebsd-11-stable/crypto/heimdal/appl/ftp/ftpd/
H A Dklist.c47 if(cred->times.starttime)
48 krb5_format_time(context, cred->times.starttime, t1, sizeof(t1), 1);
50 krb5_format_time(context, cred->times.authtime, t1, sizeof(t1), 1);
52 if(cred->times.endtime > sec)
53 krb5_format_time(context, cred->times.endtime, t2, sizeof(t2), 1);
/freebsd-11-stable/usr.sbin/ctm/ctm/
H A Dctm_pass3.c21 settime(const char *name, const struct timeval *times) argument
24 if (utimes(name,times)) {
43 struct timeval times[2]; local
98 times[0].tv_sec = times[1].tv_sec = mktime(&tm);
99 if (times[0].tv_sec == -1) WRONGDATE
100 times[0].tv_usec = times[1].tv_usec = 0;
194 if (settime(name,times)) WRONG
218 if (settime(name,times)) WRON
[all...]
/freebsd-11-stable/tools/tools/net80211/wesside/udps/
H A Dudps.c49 int times = 10; local
72 times = poll_rate*pps;
73 // times *= dont_sleep;
80 // printf("times=%d delay=%d\n", times, delay);
86 for(i = 0; i < times; i++) {
/freebsd-11-stable/crypto/heimdal/kcm/
H A Drenew.c85 in.times.endtime = time(NULL) + ccache->tkt_life;
87 in.times.renew_till = time(NULL) + ccache->renew_life;
/freebsd-11-stable/crypto/heimdal/kuser/
H A Dkimpersonate.c93 et.authtime = cred->times.authtime;
95 et.endtime = cred->times.endtime;
176 cred.times.authtime = time(NULL);
177 cred.times.starttime = time(NULL);
178 cred.times.endtime = time(NULL) + expiration_time;
179 cred.times.renew_till = 0;
H A Dklist.c86 if(cred->times.starttime)
88 printable_time(cred->times.starttime));
91 printable_time(cred->times.authtime));
93 if(cred->times.endtime > sec)
95 printable_time(cred->times.endtime));
185 printable_time_long(cred->times.authtime));
186 if(cred->times.authtime != cred->times.starttime)
188 printable_time_long(cred->times.starttime));
190 printable_time_long(cred->times
[all...]
/freebsd-11-stable/contrib/unbound/util/
H A Dmini_event.c101 base->times = rbtree_create(mini_ev_cmp);
102 if(!base->times) {
150 while((rbnode_type*)(p = (struct event*)rbtree_first(base->times))
169 /* event times out, remove it */
170 (void)rbtree_delete(base->times, p);
264 free(base->times);
321 (void)rbtree_insert(ev->ev_base->times, &ev->node);
333 (void)rbtree_delete(ev->ev_base->times, &ev->node);
/freebsd-11-stable/contrib/ntp/util/
H A Dntptime.c99 int times[20] = { 0 }; local
249 for (c = 0; c < COUNTOF(times); c++) {
255 times[c] = ntv.time.tv_frac_sec;
259 printf("[ us %06d:", times[0]);
260 for (c = 1; c < COUNTOF(times); c++)
261 printf(" %d", times[c] - times[c - 1]);
/freebsd-11-stable/crypto/openssl/crypto/bf/
H A Dbfspeed.c79 # include <sys/times.h>
99 /* The following if from times(3) man page. It may need to be changed */
139 times(&tstart);
142 times(&tend);
146 #else /* !times() */
198 printf("Doing BF_set_key %ld times\n", ca);
224 printf("Doing BF_encrypt %ld times\n", cb);
244 printf("Doing BF_cbc_encrypt %ld times on %ld byte blocks\n", cc,
/freebsd-11-stable/crypto/openssl/crypto/bn/
H A Dbnspeed.c83 # include <sys/times.h>
109 /* The following if from times(3) man page. It may need to be changed */
137 times(&tstart);
140 times(&tend);
144 #else /* !times() */

Completed in 384 milliseconds

1234567