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

1234567

/freebsd-current/tools/build/
H A Dfutimens.c40 futimens(int fd, const struct timespec times[2]) argument
46 if (times == NULL || (times[0].tv_nsec == UTIME_NOW &&
47 times[1].tv_nsec == UTIME_NOW))
49 else if (times[0].tv_nsec == UTIME_OMIT &&
50 times[1].tv_nsec == UTIME_OMIT)
53 if ((times[0].tv_nsec < 0 || times[0].tv_nsec > 999999999) &&
54 times[0].tv_nsec != UTIME_NOW &&
55 times[
[all...]
H A Dutimensat.c40 utimensat(int fd, const char *path, const struct timespec times[2], int flag) argument
50 if (times == NULL || (times[0].tv_nsec == UTIME_NOW &&
51 times[1].tv_nsec == UTIME_NOW))
53 else if (times[0].tv_nsec == UTIME_OMIT &&
54 times[1].tv_nsec == UTIME_OMIT)
57 if ((times[0].tv_nsec < 0 || times[0].tv_nsec > 999999999) &&
58 times[0].tv_nsec != UTIME_NOW &&
59 times[
[all...]
/freebsd-current/lib/libc/gen/
H A Dutime.c37 utime(const char *path, const struct utimbuf *times) argument
41 if (times) {
42 tv[0].tv_sec = times->actime;
43 tv[1].tv_sec = times->modtime;
H A Dtimes.c34 #include <sys/times.h>
44 times(struct tms *tp) function
/freebsd-current/contrib/libarchive/cpio/test/
H A Dtest_option_u.c34 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.c56 struct utimbuf times; local
72 memset(&times, 0, sizeof(times));
74 times.actime = 86400;
75 times.modtime = 86400;
77 times.actime = 1;
78 times.modtime = 3;
80 assertEqualInt(0, utime(files[i].name, &times));
/freebsd-current/contrib/one-true-awk/testdir/
H A Dtime.c5 #include <sys/times.h>
15 times(&before);
25 times(&after);
/freebsd-current/sys/sys/
H A Dtimes.h58 clock_t times(struct tms *);
/freebsd-current/tools/test/stress2/tools/
H A Dflip.c88 int fd, i, times; local
91 times = 1;
96 times = atoi(optarg);
128 for (i = 0; i < times; i++) {
H A Dfstool.c162 int c, i, levels, leave, times; local
171 times = 1;
201 times = atoi(optarg);
216 printf(" -t: Number of times to repeat\n");
220 if (times != 1)
229 for (i = 0; i < times; i++) {
/freebsd-current/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-current/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-current/contrib/bmake/unit-tests/
H A Dcounter.mk3 # Demonstrates how to let make count the number of times a variable
7 # 4 words, even though the NEXT variable was only accessed 3 times.
H A Dcounter-append.mk3 # Demonstrates how to let make count the number of times a variable
7 # 6 words, even though the NEXT variable was only accessed 3 times.
/freebsd-current/tests/sys/fs/fusefs/
H A Dutils.hh121 * given inode, offset, length, and mode, exactly times times and
125 uint32_t mode, int error, int times=1);
128 * Create an expectation that FUSE_FLUSH will be called times times for
131 void expect_flush(uint64_t ino, int times, ProcessMockerT r);
142 * inode any number of times. It will respond with a few basic
155 * path exactly times times and cache validity period. It will respond
159 uint64_t size, int times, uint64_
[all...]
/freebsd-current/contrib/bc/scripts/
H A Dkaratsuba.py38 print("\n num_iterations is the number of times to run each karatsuba number; default is 4")
95 times = [] variable
229 times.append(avg)
231 print(", Time: {}".format(times[i - mn]))
235 # want to report the best run, so we make sure to grab the times here before
238 times = times[0:i] variable
244 opt = nums[times.index(min(times))]
/freebsd-current/tools/tools/net80211/wesside/udps/
H A Dudps.c47 int times = 10; local
70 times = poll_rate*pps;
71 // times *= dont_sleep;
78 // printf("times=%d delay=%d\n", times, delay);
84 for(i = 0; i < times; i++) {
/freebsd-current/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-current/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-current/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-current/crypto/openssh/openbsd-compat/
H A Dbsd-misc.c128 utimensat(int fd, const char *path, const struct timespec times[2], argument
136 tv[0].tv_sec = times[0].tv_sec;
137 tv[0].tv_usec = times[0].tv_nsec / 1000;
138 tv[1].tv_sec = times[1].tv_sec;
139 tv[1].tv_usec = times[1].tv_nsec / 1000;
/freebsd-current/contrib/netbsd-tests/fs/vfs/
H A Dt_unpriv.c125 times(const atf_tc_t *tc, const char *mp) function
227 ATF_TC_FSAPPLY(times, "time set checks");
235 ATF_TP_FSAPPLY(times);
/freebsd-current/contrib/ofed/librdmacm/examples/
H A Dcmtime.c81 struct timeval times[STEP_CNT][2]; member in struct:node
103 static struct timeval times[STEP_CNT][2]; variable in typeref:struct:timeval
110 #define start_perf(n, s) gettimeofday(&((n)->times[s][0]), NULL)
111 #define end_perf(n, s) gettimeofday(&((n)->times[s][1]), NULL)
112 #define start_time(s) gettimeofday(&times[s][0], NULL)
113 #define end_time(s) gettimeofday(&times[s][1], NULL)
171 if (!zero_time(&nodes[c].times[i][0]) &&
172 !zero_time(&nodes[c].times[i][1])) {
173 us = diff_us(&nodes[c].times[i][1], &nodes[c].times[
[all...]

Completed in 287 milliseconds

1234567