/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_getdate.c | 40 time_t now = time(NULL); in DEFINE_TEST() 42 assertEqualInt(get_date(now, "Jan 1, 1970 UTC"), 0); in DEFINE_TEST() 43 assertEqualInt(get_date(now, "7:12:18-0530 4 May 1983"), 420900138); in DEFINE_TEST() 44 assertEqualInt(get_date(now, "2004/01/29 513 mest"), 1075345980); in DEFINE_TEST() 45 assertEqualInt(get_date(now, "99/02/17 7pm utc"), 919278000); in DEFINE_TEST() 46 assertEqualInt(get_date(now, "02/17/99 7:11am est"), 919253460); in DEFINE_TEST() 47 assertEqualInt(get_date(now, "now - 2 hours"), in DEFINE_TEST() 48 get_date(now, "2 hours ago")); in DEFINE_TEST() 49 assertEqualInt(get_date(now, " in DEFINE_TEST() 41 time_t now = time(NULL); DEFINE_TEST() local [all...] |
/freebsd/sys/contrib/libsodium/ |
H A D | ChangeLog | 3 - Signatures computations and verifications are now way faster on 12 `crypto_sign_edwards25519sha512batch_open` now reject public keys in 16 - Webassembly: `crypto_pwhash_*()` functions are now included in 21 - The Salsa20-based PRNG example is now thread-safe on platforms with 28 - The default password hashing algorithm is now Argon2id. The 39 module now returns a `.ready` promise that will resolve after the 45 - iOS binaries should now be compatible with WatchOS and TVOS. 46 - WebAssembly is now officially supported. Special thanks to 50 Now, a custom handler *that doesn't return* can be set with the 62 - crypto_sign_ed25519_pk_to_curve25519() now rejects points that are [all …]
|
/freebsd/contrib/flex/ |
H A D | NEWS | 7 *** The indent target now knows about flex's new (as of 2.6.0) 11 *** The files included in the flex distribution are now built by the 20 we now check for how to call libtoolize and use what we find in 49 *** All scripts in the test suite are now run by $(SHELL) and the 55 *** Tests that depend on platform dependent features now properly skip 58 *** When running "make check", you can now pas V=0 to silence more of 87 *** It is now possible to build flex without building the accompanying 109 *** flex should now handle quoting when mixed with m4 processing correctly 121 *** input filenames on MSWindows are now calculated correctly 123 *** general code cleanups in a number of tests now make the test suite compile much more cleanly [all …]
|
H A D | ONEWS | 22 - The default main() in libfl.a now repeatedly calls yylex() until 30 - The --prefix configuration option now works. 39 now contain only the digits 0-7. 41 - You can now use "--" on the flex command line to mark the 44 - You can now specify the filename '-' as a synonym for stdin. 53 - "%option nounput" now correctly omits the unput() routine 56 - "make clean" now removes config.log, config.cache, and the 69 now does not have a default for the first argument, to disambiguate 85 - An OS/2 Makefile and config.h for flex 2.5 is now available in 270 - flex now supports POSIX character class expressions. These [all …]
|
/freebsd/sys/kern/ |
H A D | kern_clocksource.c | 61 static void loadtimer(sbintime_t now, int first); 69 static int handleevents(sbintime_t now, int fake); 116 sbintime_t now; /* Last tick time. */ member 137 sbintime_t now; in hardclockintr() local 144 now = state->now; in hardclockintr() 145 CTR2(KTR_SPARE2, "ipi: now %d.%08x", in hardclockintr() 146 (int)(now >> 32), (u_int)(now & 0xffffffff)); in hardclockintr() 147 done = handleevents(now, 0); in hardclockintr() 155 handleevents(sbintime_t now, int fake) in handleevents() argument 163 CTR2(KTR_SPARE2, "handle: now %d.%08x", in handleevents() [all …]
|
H A D | subr_filter.c | 56 * to the filter. You also provide a time (now). The filter will 57 * age out entries based on the time now and your time limit 136 check_update_times(struct time_filter *tf, uint64_t value, uint32_t now) in check_update_times() argument 142 tim = now - tf->entries[i].time_up; in check_update_times() 157 tf->entries[i].time_up = now; in check_update_times() 162 tim = now - tf->entries[i].time_up; in check_update_times() 166 tf->entries[i].time_up = now; in check_update_times() 171 check_update_times_small(struct time_filter_small *tf, uint32_t value, uint32_t now) in check_update_times_small() argument 177 tim = now - tf->entries[i].time_up; in check_update_times_small() 192 tf->entries[i].time_up = now; in check_update_times_small() [all …]
|
/freebsd/usr.sbin/fifolog/lib/ |
H A D | fifolog_write_poll.c | 45 static int fifolog_write_gzip(struct fifolog_writer *f, time_t now); 104 time_t now; in fifolog_write_close() local 110 time(&now); in fifolog_write_close() 111 fifolog_write_gzip(f, now); in fifolog_write_close() 123 time_t now; in fifolog_write_open() local 172 time(&now); in fifolog_write_open() 173 f->starttime = now; in fifolog_write_open() 174 f->lastsync = now; in fifolog_write_open() 175 f->lastwrite = now; in fifolog_write_open() 187 fifolog_write_output(struct fifolog_writer *f, int fl, time_t now) in fifolog_write_output() argument [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | whatsnew-2.1.txt | 52 We now provide an --enable-gcc-hardening configure option to turn on 60 using that option now is to turn warnings into errors. 62 For IDE users, files that are not supposed to be built are now 66 There is now an alternative cmake-based build process; cmake users 75 checking for new high-priority events. You can now use the 80 When configuring an event base, you can now choose whether you want 82 on Linux for now.) Timers are efficient by default: to select more 93 singletons but provided no means to free them. There is now a 127 that it added was never actually triggered. Now, its memory is 136 By analogy to event_base_loopbreak(), there is now an [all …]
|
H A D | whatsnew-2.0.txt | 16 There is now a book-in-progress that explains how to use Libevent and its 66 Functionality that once was located in event.h is now more subdivided. 67 The core event logic is now in event2/event.h. The "evbuffer" functions 82 to no longer build with another. The problems with now-deprecated APIs 92 are now deprecated but still available (see 2.1). There are new 101 nightmares. All structures of this kind are now isolated in 160 There is now an API to choose backends, either by name or by feature. 182 2.5. Socket is now an abstract type 184 All APIs that formerly accepted int as a socket type now accept 194 triggering of the event to re-set the timeout. So now, if you set [all …]
|
/freebsd/contrib/libevent/ |
H A D | whatsnew-2.1.txt | 52 We now provide an --enable-gcc-hardening configure option to turn on 60 using that option now is to turn warnings into errors. 62 For IDE users, files that are not supposed to be built are now 66 There is now an alternative cmake-based build process; cmake users 75 checking for new high-priority events. You can now use the 80 When configuring an event base, you can now choose whether you want 82 on Linux for now.) Timers are efficient by default: to select more 93 singletons but provided no means to free them. There is now a 127 that it added was never actually triggered. Now, its memory is 136 By analogy to event_base_loopbreak(), there is now an [all …]
|
H A D | whatsnew-2.0.txt | 16 There is now a book-in-progress that explains how to use Libevent and its 66 Functionality that once was located in event.h is now more subdivided. 67 The core event logic is now in event2/event.h. The "evbuffer" functions 82 to no longer build with another. The problems with now-deprecated APIs 92 are now deprecated but still available (see 2.1). There are new 101 nightmares. All structures of this kind are now isolated in 160 There is now an API to choose backends, either by name or by feature. 182 2.5. Socket is now an abstract type 184 All APIs that formerly accepted int as a socket type now accept 194 triggering of the event to re-set the timeout. So now, if you set [all …]
|
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | trace_zio.h | 42 TP_PROTO(zio_t *zio, hrtime_t now), 43 TP_ARGS(zio, now), 46 __field(hrtime_t, now) 50 __entry->now = now; 52 TP_printk("now %llu " ZIO_TP_PRINTK_FMT, __entry->now, 57 TP_PROTO(zio_t *zio, hrtime_t now, hrtime_t diff), 58 TP_ARGS(zio, now, diff), 61 __field(hrtime_t, now) 66 __entry->now = now; 69 TP_printk("now %llu diff %llu " ZIO_TP_PRINTK_FMT, __entry->now,
|
/freebsd/contrib/diff/ |
H A D | NEWS | 8 that 'patch' creates to indicate nonexistent backups) are now 12 cmp now uses the maximal value instead of the last one. 14 * diff now omits the ".000000000" on hosts that do not support 21 * Diff now simply prints "Files A and B differ" instead of "Binary 36 --ignore-blank-lines now considers lines to be empty if they contain 38 * More platforms now handle multibyte characters correctly when 48 * cmp and diff now conform to POSIX 1003.1-2001 (IEEE Std 1003.1-2001) 52 * cmp now supports trailing operands SKIP1 and SKIP2, like BSD cmp. 53 * cmp -i or --ignore-initial now accepts SKIP1:SKIP2 option value. 57 * cmp now outputs "byte" rather than "char" outside the POSIX locale. [all …]
|
/freebsd/contrib/kyua/utils/signals/ |
H A D | timer.cpp | 103 /// sequentially to find either expired or expiring-now timers. 154 /// \param now The current timestamp. 164 const datetime::timestamp& now, in compute_timers_to_run_and_prune_old() argument 170 while (iter != _all_timers.end() && (*iter).first <= now) { in compute_timers_to_run_and_prune_old() 187 /// \param now The current timestamp. 192 const datetime::timestamp& now, in reprogram_system_timer() argument 211 while (next < now) { in reprogram_system_timer() 222 if (next < _timer_activation || now > _timer_activation) { in reprogram_system_timer() 223 INV(next >= now); in reprogram_system_timer() 224 const datetime::delta delta = next - now; in reprogram_system_timer() [all …]
|
/freebsd/contrib/unbound/services/cache/ |
H A D | dns.c | 61 * @param now: current time. 72 * earlier than the time in now. The time is used to determine if RRsets 78 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, in store_rrsets() argument 91 LDNS_RR_TYPE_NS && !pside)?qstarttime:now) + leeway)) { in store_rrsets() 103 rep->ref[i].key, region, now); in store_rrsets() 172 reply_info_set_ttls(rep, *env->now); in dns_cache_store_msg() 173 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region, in dns_cache_store_msg() 209 uint16_t qclass, time_t now, uint16_t searchtype, int stripfront, in find_closest_of_type() argument 225 qnamelen, searchtype, qclass, 0, now, 0))) { in find_closest_of_type() 244 &qnamelen, searchtype, qclass, now, expiretop, in find_closest_of_type() [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_util.c | 368 l_fp now; in stats_config() 539 get_systime(&now); in stats_config() 546 leapsec_expired(now.l_ui, NULL) in stats_config() 556 check_leap_expiration(TRUE, now.l_ui, &ttnow); in stats_config() 590 l_fp now; in record_peer_stats() local 596 get_systime(&now); in record_peer_stats() 597 filegen_setup(&peerstats, now.l_ui); in record_peer_stats() 601 day = now.l_ui / 86400 + MJD_1900; in record_peer_stats() 602 now.l_ui %= 86400; in record_peer_stats() 605 ulfptoa(&now, in record_peer_stats() 363 l_fp now; stats_config() local 631 l_fp now; record_loop_stats() local 665 l_fp now; record_clock_stats() local 740 l_fp now; record_raw_stats() local 801 l_fp now; record_sys_stats() local 838 l_fp now; record_proto_stats() local 872 l_fp now; record_crypto_stats() local 910 l_fp now; record_timing_stats() local [all...] |
/freebsd/contrib/sendmail/libsm/ |
H A D | clock.c | 95 auto struct timeval now, nowi, ival; local 98 auto time_t now, nowi; local 110 (void) gettimeofday(&now, NULL); 111 nowi = now; 112 timeradd(&now, &ival, &nowi); 114 now = time(NULL); 115 nowi = now + (time_t)(intvl / 1000); 166 timersub(&SmEventQueue->ev_time, &now, &itime.it_value); 175 intvl = SmEventQueue->ev_time - now; 218 /* now remove it */ [all …]
|
/freebsd/contrib/netbsd-tests/lib/libutil/ |
H A D | t_parsedate.c | 239 time_t now; in ATF_TC_BODY() local 241 #define REL_CHECK(s, now, tm) do { \ in ATF_TC_BODY() argument 244 p = parsedate(s, &now, NULL); \ in ATF_TC_BODY() 248 (uintmax_t)now, ctime_r(&now, nb), \ in ATF_TC_BODY() 269 for (now = 0x00FFFFFF; now < 0xFF000000; now += 3777779) { in ATF_TC_BODY() 270 ATF_CHECK(localtime_r(&now, &tm) != NULL); in ATF_TC_BODY() 274 REL_CHECK("yesterday", now, tm); in ATF_TC_BODY() 276 ATF_CHECK(localtime_r(&now, &tm) != NULL); in ATF_TC_BODY() 280 REL_CHECK("tomorrow", now, tm); in ATF_TC_BODY() 282 ATF_CHECK(localtime_r(&now, &tm) != NULL); in ATF_TC_BODY() [all …]
|
/freebsd/contrib/tzdata/ |
H A D | NEWS | 8 Etc/Unknown is now reserved. 13 transition on 2024-10-06, so it is now permanently at -03. 35 strftime %s now generates the correct numeric string even when the 42 strftime now outputs an invalid conversion specifier as-is, 45 An invalid TZ now generates the time zone abbreviation "-00", not 54 string's time zone abbreviation, now defaults to 254 not 255. 59 arbitrary limits, you can now specify TZNAME_MAXIMUM values up to 68 'zdump -' now reads TZif data from /dev/stdin. 73 The name Etc/Unknown is now reserved: it will not be used by TZDB. 85 System V names are now obsolescen [all...] |
/freebsd/contrib/tzcode/ |
H A D | NEWS | 7 System V names are now obsolescent. 8 The main data form now uses %z. 9 The code now conforms to RFC 8536 for early timestamps. 12 SUPPORT_C89 now defaults to 1. 16 Asia/Choibalsan is now an alias for Asia/Ulaanbaatar rather than 45 The period from 1966-04-03 through 1966-10-02 in Portugal is now 55 Names moved to 'backward' are now links to geographical names. 58 some pre-1996 timestamps. Also, TZ='MET' now behaves like 64 The main source files' time zone abbreviations now use %z, 66 since release 2022b. For example, America/Sao_Paulo now contain [all...] |
/freebsd/contrib/llvm-project/lld/docs/ |
H A D | ReleaseNotes.rst | 29 * Experimental CREL relocations with explicit addends are now supported using the 35 * ``EI_OSABI`` in the output is now inferred from input object files. 41 * The default compression level for zlib is now independent of linker 45 ``R_AARCH64_AUTH_RELATIVE`` relocations are now supported. 47 * ``--no-allow-shlib-undefined`` now rejects non-exported definitions in the 66 * ``--build-id`` now defaults to generating a 20-byte digest ("sha1") instead 72 * ``--lto-emit-asm`` is now added as the canonical spelling of ``--plugin-opt=emit-llvm``. 73 * ``--lto-emit-llvm`` now uses the pre-codegen module. 75 * When AArch64 PAuth is enabled, ``-z pack-relative-relocs`` now encodes ``R_AARCH64_AUTH_RELATIVE`… 77 * ``-z gcs`` and ``-z gcs-report`` are now supported for AArch64 Guarded Control Stack extension. [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | README.changes | 30 to answer any `this used to work, why doesn't it now?' 48 o pppd-deflate is now called deflate24. 70 o Filters are now called `allow', `dial', `in' and `out'. `set 81 o `set loopback' is now `enable/disable loopback'. 86 o A signal 15 (TERM) will now shut down the link gracefully. 88 o Signal 30 (USR1) is now ignored. 92 o Timer based DEBUG messages are now logged in the new TIMER log. 104 o Random dial timeouts are now between 1 and 30 seconds inclusive rather 106 o Ppp now accepts M$CHAP (as well as normal CHAP) by default. If this 108 o The ``set device'' command now expects each device to be specified as an [all …]
|
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/ |
H A D | Changes | 62 - Minimum perl version is now 5.8.0 96 memory leaks in long-running applications. This should be fixed now, and 102 - The ->new method now fails immediately and sets $Text::Template::ERROR if 111 - Taint-related tests are now more comprehensive. 115 - Tests now work correctly on Windows systems and possibly on other 125 It now looks like: 130 program fragment began; it now reports the line number at which the error 138 It now looks like: 143 program fragment began; it now reports the line number at which the error 151 - You may now use a glob ref when passing a filehandle to the ->new [all …]
|
/freebsd/sys/netpfil/ipfw/ |
H A D | dn_sched_fq_codel_helper.h | 51 fqc_dodequeue(struct fq_codel_flow *q, aqm_time_t now, uint16_t *ok_to_drop, in fqc_dodequeue() argument 80 sojourn_time = now - pkt_ts; in fqc_dodequeue() 88 q->cst.first_above_time = now + schk->cfg.ccfg.interval; in fqc_dodequeue() 89 } else if (now >= q->cst.first_above_time) { in fqc_dodequeue() 103 aqm_time_t now; in fqc_codel_dequeue() local 110 now = AQM_UNOW; in fqc_codel_dequeue() 111 m = fqc_dodequeue(q, now, &ok_to_drop, si); in fqc_codel_dequeue() 123 * happen now, hence the 'while' loop. in fqc_codel_dequeue() 125 while (now >= cst->drop_next_time && cst->dropping) { in fqc_codel_dequeue() 137 m = fqc_dodequeue(q, now, &ok_to_drop, si); in fqc_codel_dequeue() [all …]
|
H A D | dn_aqm_codel.h | 79 codel_dodequeue(struct dn_queue *q, aqm_time_t now, uint16_t *ok_to_drop) in codel_dodequeue() argument 112 sojourn_time = now - pkt_ts; in codel_dodequeue() 120 cst->first_above_time = now + cprms->interval; in codel_dodequeue() 121 } else if (now >= cst->first_above_time) { in codel_dodequeue() 137 aqm_time_t now; in codel_dequeue() local 142 now = AQM_UNOW; in codel_dequeue() 144 m = codel_dodequeue(q, now, &ok_to_drop); in codel_dequeue() 155 * happen now, hence the 'while' loop. in codel_dequeue() 157 while (now >= cst->drop_next_time && cst->dropping) { in codel_dequeue() 170 m = codel_dodequeue(q, now, &ok_to_drop); in codel_dequeue() [all …]
|