| /src/external/bsd/libarchive/dist/cpio/test/ |
| test_option_u.c | 16 struct utimbuf times; local 39 memset(×, 0, sizeof(times)); 40 times.actime = 1; 41 times.modtime = 3; 42 assertEqualInt(0, utime("f", ×));
|
| test_option_a.c | 38 struct utimbuf times; local 54 memset(×, 0, sizeof(times)); 56 times.actime = 86400; 57 times.modtime = 86400; 59 times.actime = 1; 60 times.modtime = 3; 62 assertEqualInt(0, utime(files[i].name, ×));
|
| /src/lib/libc/gen/ |
| times.c | 1 /* $NetBSD: times.c,v 1.15 2009/01/11 02:46:27 christos Exp $ */ 35 static char sccsid[] = "@(#)times.c 8.1 (Berkeley) 6/4/93"; 37 __RCSID("$NetBSD: times.c,v 1.15 2009/01/11 02:46:27 christos Exp $"); 44 #include <sys/times.h> 66 times(struct tms *tp) function
|
| /src/tests/fs/vfs/ |
| t_unpriv.c | 123 times(const atf_tc_t *tc, const char *mp) function 221 ATF_TC_FSAPPLY(times, "time set checks"); 229 ATF_TP_FSAPPLY(times);
|
| /src/tests/lib/libutil/ |
| t_parsedate.c | 160 ATF_TC(times); variable 162 ATF_TC_HEAD(times, tc) 164 atf_tc_set_md_var(tc, "descr", "Test times" 168 ATF_TC_BODY(times, tc) 239 atf_tc_set_md_var(tc, "descr", "Test DST transition times" 317 * coverage of different times of day/week/month/year. 626 ATF_TP_ADD_TC(tp, times);
|
| /src/external/gpl3/binutils/dist/binutils/ |
| rename.c | 165 /* Set the times of the file DESTINATION to be the same as those in 173 struct timespec times[2]; local 174 times[0] = get_stat_atime (statbuf); 175 times[1] = get_stat_mtime (statbuf); 176 result = utimensat (AT_FDCWD, destination, times, 0);
|
| /src/external/gpl3/binutils.old/dist/binutils/ |
| rename.c | 165 /* Set the times of the file DESTINATION to be the same as those in 173 struct timespec times[2]; local 174 times[0] = get_stat_atime (statbuf); 175 times[1] = get_stat_mtime (statbuf); 176 result = utimensat (AT_FDCWD, destination, times, 0);
|
| /src/tests/usr.bin/xlint/lint1/ |
| init_braces.c | 75 struct times { struct 83 struct times times; member in struct:outer::__anon8028::__anon8029 91 .times = { 99 return var.times.t0.ns;
|
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/ |
| dh-ltm.c | 88 int codes, times = 0; local 94 while (times++ < DH_NUM_TRIES) { 138 if (times >= DH_NUM_TRIES) {
|
| dh-tfm.c | 88 int codes, times = 0; local 94 while (times++ < DH_NUM_TRIES) { 138 if (times >= DH_NUM_TRIES) {
|
| /src/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| test_keytab.c | 176 perf_add(krb5_context context, krb5_keytab id, int times) 181 perf_find(krb5_context context, krb5_keytab id, int times) 186 perf_delete(krb5_context context, krb5_keytab id, int forward, int times) 194 static int times = 1000; variable 199 {"times", 0, arg_integer, ×, 200 "number of times to run the perforamce test", "number" }, 255 perf_add(context, id, times); 256 perf_find(context, id, times); 257 perf_delete(context, id, 0, times); [all...] |
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| PRBTree.h | 86 Vector<Time_t> *times; member in class:PRBTree
|
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| PRBTree.h | 86 Vector<Time_t> *times; member in class:PRBTree
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| selftest_engine_heartbeat.c | 204 u32 times[5]; local 218 for (i = 0; i < ARRAY_SIZE(times); i++) { 246 times[i] = ktime_us_delta(t1, t0); 249 sort(times, ARRAY_SIZE(times), sizeof(times[0]), cmp_u32, NULL); 253 times[ARRAY_SIZE(times) / 2], 254 times[0], 255 times[ARRAY_SIZE(times) - 1]) [all...] |
| /src/external/bsd/nsd/dist/ |
| mini_event.h | 90 rbtree_type* times; member in struct:event_base
|
| /src/games/warp/ |
| term.c | 708 int times = 0; /* loop detector */ local 756 if (++times > 20) { /* loop? */
|
| /src/sys/dev/pci/qat/ |
| qat_hw17.c | 140 int times, received; local 154 for (times = 0; times < 50; times++) {
|
| /src/usr.bin/mail/ |
| cmd2.c | 458 int times; local 462 times = 1; 464 times = (atoi(argv[0]) + 511) / 512; 465 clob1(times);
|
| /src/usr.bin/systat/ |
| syscall.c | 61 uint64_t times[SYS_NSYSENT]; member in struct:Info 122 if (sysctlnametomib("kern.syscalls.times", times_mib, ×_mib_len)) 213 v = s.times[i] - s1.times[i]; 217 v = v ? (s.times[i] - s1.times[i]) / v : 0; 253 mvprintw(l, c, FMT, "TIMES", "times"); 282 memcpy(s1.times, s.times, sizeof s1.times) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/asn1/ |
| der_get.c | 539 char *times; local 545 times = malloc(len + 1); 546 if (times == NULL) 548 memcpy(times, p, len); 549 times[len] = '\0'; 550 e = generalizedtime2time(times, data); 551 free (times);
|
| /src/external/bsd/libevent/dist/test/ |
| regress_thread.c | 507 static struct timeval times[5]; variable in typeref:struct:timeval 513 if (arg == ×[4]) { 545 memset(times,0,sizeof(times)); 548 -1, 0, note_time_cb, ×[i]); 560 evutil_timersub(×[i], &starttime, &diff); 564 test_timeval_diff_eq(&starttime, ×[0], 100); 565 test_timeval_diff_eq(&starttime, ×[1], 200); 566 test_timeval_diff_eq(&starttime, ×[2], 400); 567 test_timeval_diff_eq(&starttime, ×[3], 450) [all...] |
| /src/external/bsd/ntp/dist/libntp/lib/isc/unix/ |
| file.c | 125 struct timeval times[2]; local 139 times[0].tv_sec = times[1].tv_sec = (long)isc_time_seconds(itime); 144 if ((times[0].tv_sec & 145 (1ULL << (sizeof(times[0].tv_sec) * CHAR_BIT - 1))) != 0) 154 times[0].tv_usec = times[1].tv_usec = 157 if (utimes(file, times) < 0)
|
| /src/external/bsd/ntp/dist/util/ |
| ntptime.c | 101 int times[20] = { 0 }; local 251 for (c = 0; c < COUNTOF(times); c++) { 257 times[c] = ntv.time.tv_frac_sec; 261 printf("[ us %06d:", times[0]); 262 for (c = 1; c < COUNTOF(times); c++) 263 printf(" %d", times[c] - times[c - 1]);
|
| /src/external/bsd/unbound/dist/util/ |
| mini_event.h | 105 rbtree_type* times; member in struct:event_base
|
| winsock_event.h | 135 rbtree_type* times; member in struct:event_base
|