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

123456

/freebsd-10.1-release/lib/libc/gen/
H A Dutime.c41 utime(path, times)
43 const struct utimbuf *times;
47 if (times) {
48 tv[0].tv_sec = times->actime;
49 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-10.1-release/cddl/contrib/dtracetoolkit/Bin/
H A Dcswstat.d48 times = 0;
63 times += timestamp - start[cpu];
70 printf("%20Y %8d %12d %12d\n", walltimestamp, num, times/1000,
71 num == 0 ? 0 : times/(1000 * num));
72 times = 0;
/freebsd-10.1-release/cddl/contrib/dtracetoolkit/Kernel/
H A Dcswstat.d48 times = 0;
63 times += timestamp - start[cpu];
70 printf("%20Y %8d %12d %12d\n", walltimestamp, num, times/1000,
71 num == 0 ? 0 : times/(1000 * num));
72 times = 0;
/freebsd-10.1-release/contrib/libarchive/cpio/test/
H A Dtest_option_u.c35 struct utimbuf times; local
57 memset(&times, 0, sizeof(times));
58 times.actime = 1;
59 times.modtime = 3;
60 assertEqualInt(0, utime("f", &times));
H A Dtest_option_a.c57 struct utimbuf times; local
73 memset(&times, 0, sizeof(times));
74 times.actime = 1;
75 times.modtime = 3;
76 assertEqualInt(0, utime(files[i].name, &times));
/freebsd-10.1-release/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-10.1-release/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-10.1-release/sys/sys/
H A Dtimes.h34 * @(#)times.h 8.4 (Berkeley) 1/21/94
59 clock_t times(struct tms *);
/freebsd-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/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-10.1-release/contrib/unbound/util/
H A Dmini_event.c101 base->times = rbtree_create(mini_ev_cmp);
102 if(!base->times) {
150 while((rbnode_t*)(p = (struct event*)rbtree_first(base->times))
169 /* event times out, remove it */
170 (void)rbtree_delete(base->times, p);
264 if(base->times)
265 free(base->times);
324 (void)rbtree_insert(ev->ev_base->times, &ev->node);
336 (void)rbtree_delete(ev->ev_base->times, &ev->node);
/freebsd-10.1-release/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-10.1-release/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-10.1-release/contrib/ntp/util/
H A Dntptime.c94 int times[20] = { 0 }; local
245 for (c = 0; c < COUNTOF(times); c++) {
251 times[c] = ntv.time.tv_frac_sec;
257 printf("[ us %06d:", times[0]);
258 for (c = 1; c < COUNTOF(times); c++)
259 printf(" %d", times[c] - times[c - 1]);
/freebsd-10.1-release/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() */
/freebsd-10.1-release/crypto/openssl/crypto/rc5/
H A Drc5speed.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 RC5_32_set_key %ld times\n", ca);
224 printf("Doing RC5_32_encrypt %ld times\n", cb);
244 printf("Doing RC5_32_cbc_encrypt %ld times on %ld byte blocks\n", cc,
/freebsd-10.1-release/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-10.1-release/crypto/openssl/crypto/cast/
H A Dcast_spd.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 CAST_set_key %ld times\n", ca);
224 printf("Doing CAST_encrypt %ld times\n", cb);
244 printf("Doing CAST_cbc_encrypt %ld times on %ld byte blocks\n", cc,

Completed in 231 milliseconds

123456