| /src/contrib/kyua/utils/ |
| H A D | datetime_test.cpp | 267 const datetime::timestamp ts1 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() 270 const datetime::timestamp ts2 = ts1; in ATF_TEST_CASE_BODY() 271 const datetime::timestamp ts3 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() 284 const datetime::timestamp ts = datetime::timestamp::from_microseconds( in ATF_TEST_CASE_BODY() 297 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 299 datetime::set_mock_now(datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() 302 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 304 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 317 const datetime::timestamp now = datetime::timestamp::now(); in ATF_TEST_CASE_BODY() 332 const datetime::timestamp first = datetime::timestamp::now(); in ATF_TEST_CASE_BODY() [all …]
|
| H A D | datetime.cpp | 54 static optional< datetime::timestamp > mock_now = none; 261 struct timestamp::impl : utils::noncopyable { 281 datetime::timestamp::timestamp(std::shared_ptr< impl > pimpl_) : in timestamp() function in datetime::timestamp 292 datetime::timestamp 293 datetime::timestamp::from_microseconds(const int64_t value) in from_microseconds() 299 return timestamp(std::shared_ptr< impl >(new impl(data))); in from_microseconds() 315 datetime::timestamp 316 datetime::timestamp::from_values(const int year, const int month, in from_values() 355 return timestamp(std::shared_ptr< impl >(new impl(data))); in from_values() 362 datetime::timestamp [all …]
|
| H A D | datetime.hpp | 94 class timestamp { class 100 timestamp(std::shared_ptr< impl >); 103 static timestamp from_microseconds(const int64_t); 104 static timestamp from_values(const int, const int, const int, 107 static timestamp now(void); 114 bool operator==(const timestamp&) const; 115 bool operator!=(const timestamp&) const; 116 bool operator<(const timestamp&) const; 117 bool operator<=(const timestamp&) const; 118 bool operator>(const timestamp&) const; [all …]
|
| /src/sys/contrib/dev/athk/ath12k/ |
| H A D | trace.h | 79 __entry->info = ar->pdev->timestamp.info; 80 __entry->sync_tstmp_lo_us = ar->pdev->timestamp.sync_timestamp_hi_us; 81 __entry->sync_tstmp_hi_us = ar->pdev->timestamp.sync_timestamp_lo_us; 82 __entry->mlo_offset_lo = ar->pdev->timestamp.mlo_offset_lo; 83 __entry->mlo_offset_hi = ar->pdev->timestamp.mlo_offset_hi; 84 __entry->mlo_offset_clks = ar->pdev->timestamp.mlo_offset_clks; 85 __entry->mlo_comp_clks = ar->pdev->timestamp.mlo_comp_clks; 86 __entry->mlo_comp_timer = ar->pdev->timestamp.mlo_comp_timer; 124 __entry->info = ar->pdev->timestamp.info; 125 __entry->sync_tstmp_lo_us = ar->pdev->timestamp.sync_timestamp_hi_us; [all …]
|
| /src/contrib/kyua/utils/signals/ |
| H A D | timer.cpp | 104 typedef std::map< datetime::timestamp, timers_set > timers_by_timestamp_map; 113 datetime::timestamp _timer_activation; 164 const datetime::timestamp& now, in compute_timers_to_run_and_prune_old() 192 const datetime::timestamp& now, in reprogram_system_timer() 210 datetime::timestamp next = (*iter).first; in reprogram_system_timer() 242 global_state(signals::timer* timer, const datetime::timestamp& now) : in global_state() 293 program_new(signals::timer* timer, const datetime::timestamp& now) in program_new() 321 reprogram_system_timer(datetime::timestamp::now(), inhibiter); in unprogram() 332 fire(const datetime::timestamp& now) in fire() 360 globals->fire(datetime::timestamp::now()); in sigalrm_handler() [all …]
|
| /src/tools/sched/ |
| H A D | schedgraph.d | 71 …up:\"load\", id:\"global load\", counter:\"%d\", attributes: \"none\"\n", cpu, timestamp, args[1]); 77 …ad\", id:\"CPU %d load\", counter:\"%d\", attributes: \"none\"\n", cpu, timestamp, args[0], args[1… 83 … id:\"%s/%s tid %d\", state:\"proc exit\", attributes: prio:td\n", cpu, timestamp, curthread->td_p… 88 …ad\", id:\"%s/%s tid %d\", state:\"exit\", attributes: prio:td\n", cpu, timestamp, curthread->td_p… 93 …", attributes: prio:%d, new prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, args[0]->td_pro… 98 …", attributes: prio:%d, new prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, curthread->td_p… 103 …e:\"runq add\", attributes: prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, args[0]->td_pro… 104 … %d\", point:\"wokeup\", attributes: linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, curthread->td_p… 109 …e:\"runq rem\", attributes: prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, args[0]->td_pro… 114 … tid %d\", point:\"statclock\", attributes: prio:%d, stathz:%d\n", cpu, timestamp, args[0]->td_pro… [all …]
|
| /src/usr.sbin/makefs/tests/ |
| H A D | makefs_msdos_tests.sh | 50 timestamp=1742574908 # Even value, timestamp precision is 2s. 55 $MAKEFS -T $timestamp -s 1m $TEST_IMAGE $TEST_INPUTS_DIR 61 atf_check_equal $st_mtime $timestamp 62 atf_check_equal $st_ctime $timestamp 99 timestamp=1742574908 # Even value, timestamp precision is 2s. 105 $MAKEFS -T $timestamp -s 1m $TEST_IMAGE $TEST_SPEC_FILE 111 atf_check_equal $st_mtime $timestamp 112 atf_check_equal $st_ctime $timestamp
|
| H A D | makefs_ffs_tests.sh | 236 timestamp=1742574909 241 $MAKEFS -M 1m -T $timestamp $TEST_IMAGE $TEST_INPUTS_DIR 245 atf_check_equal $st_atime $timestamp 246 atf_check_equal $st_mtime $timestamp 247 atf_check_equal $st_ctime $timestamp 283 timestamp=1742574909 289 $MAKEFS -M 1m -T $timestamp $TEST_IMAGE $TEST_SPEC_FILE 293 atf_check_equal $st_atime $timestamp 294 atf_check_equal $st_mtime $timestamp 295 atf_check_equal $st_ctime $timestamp
|
| H A D | makefs_cd9660_tests.sh | 339 timestamp=1742574909 343 atf_check $MAKEFS -T $timestamp -o rockridge $TEST_IMAGE $TEST_INPUTS_DIR 347 atf_check_equal $st_atime $timestamp 348 atf_check_equal $st_mtime $timestamp 349 atf_check_equal $st_ctime $timestamp 385 timestamp=1742574909 390 atf_check $MAKEFS -T $timestamp -o rockridge $TEST_IMAGE $TEST_SPEC_FILE 394 atf_check_equal $st_atime $timestamp 395 atf_check_equal $st_mtime $timestamp 396 atf_check_equal $st_ctime $timestamp
|
| /src/contrib/ntp/sntp/tests/ |
| H A D | kodFile.c | 54 TEST_ASSERT_EQUAL(0x12345678, res->timestamp); in test_ReadCorrectFile() 59 TEST_ASSERT_EQUAL(0xfff, res->timestamp); in test_ReadCorrectFile() 74 TEST_ASSERT_EQUAL(0x12345678, res->timestamp); in test_ReadFileWithBlankLines() 79 TEST_ASSERT_EQUAL(0xfff, res->timestamp); in test_ReadFileWithBlankLines() 84 TEST_ASSERT_EQUAL(0xabcd, res->timestamp); in test_ReadFileWithBlankLines() 111 kod_db[0]->timestamp = 1; in test_WriteFileWithSingleEntry() 139 kod_db[0]->timestamp = 0xabcd; in test_WriteFileWithMultipleEntries() 140 kod_db[1]->timestamp = 0xabcd; in test_WriteFileWithMultipleEntries() 141 kod_db[2]->timestamp = 0xabcd; in test_WriteFileWithMultipleEntries()
|
| /src/contrib/kyua/utils/process/ |
| H A D | deadline_killer_test.cpp | 72 datetime::timestamp start = datetime::timestamp::now(); in ATF_TEST_CASE_BODY() 76 datetime::timestamp end = datetime::timestamp::now(); in ATF_TEST_CASE_BODY() 91 datetime::timestamp start = datetime::timestamp::now(); in ATF_TEST_CASE_BODY() 95 datetime::timestamp end = datetime::timestamp::now(); in ATF_TEST_CASE_BODY()
|
| /src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/misc/ |
| H A D | tst.roch.d | 49 printf(" %u 0x%llX %d %d comm:%s csathr:%lld", timestamp, 59 printf(" %u 0x%llX %d %d comm:%s csathr:%lld", timestamp, 67 printf(" %u 0x%llX %d %d ", timestamp, 73 printf(" %u 0x%llX %d %d tag:%d off:%d ", timestamp, 79 printf(" %u 0x%llX %d %d lock:0x%llX", timestamp, 85 printf(" %u 0x%llX %d %d lock:0x%llX", timestamp,
|
| /src/crypto/heimdal/admin/ |
| H A D | purge.c | 45 time_t timestamp; member 61 add_entry (krb5_principal princ, int vno, time_t timestamp, struct e **head) in add_entry() argument 70 e->timestamp = timestamp; in add_entry() 81 e->timestamp = timestamp; in add_entry() 129 add_entry (entry.principal, entry.vno, entry.timestamp, &head); in kt_purge() 151 && judgement_day - e->timestamp > age) { in kt_purge()
|
| /src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/ |
| H A D | tst.multiaggs1.d | 39 time_1 = timestamp; 46 time_2 = timestamp; 54 @g[timestamp] = max(new_time); 55 @h[timestamp] = quantize(new_time); 56 @i[timestamp] = lquantize(new_time, 0, 10000, 1000);
|
| /src/sys/contrib/dev/iwlwifi/mld/ |
| H A D | low_latency.c | 20 unsigned long timestamp) in iwl_mld_calc_low_latency() argument 37 time_after(timestamp, ll->window_start[mac_id] + in iwl_mld_calc_low_latency() 41 ll->window_start[mac_id] = timestamp; in iwl_mld_calc_low_latency() 94 unsigned long timestamp = jiffies; in iwl_mld_low_latency_wk() local 104 low_latency_active = iwl_mld_calc_low_latency(mld, timestamp); in iwl_mld_low_latency_wk() 107 mld->low_latency.timestamp = timestamp; in iwl_mld_low_latency_wk() 144 ll->timestamp = ts; in iwl_mld_low_latency_init() 165 ll->timestamp = jiffies; in iwl_mld_low_latency_restart_cleanup() 295 if (time_is_before_jiffies(mld->low_latency.timestamp + MLD_LL_PERIOD)) in iwl_mld_low_latency_update_counters() 317 ll->timestamp = ts; in iwl_mld_low_latency_restart()
|
| /src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/stop/ |
| H A D | tst.stop2.d | 43 timeout = timestamp + 1000000000; 63 timeout = timestamp + 1000000000 / 4; 67 /timestamp > timeout && stopped == 1/ 74 /timestamp > timeout/
|
| H A D | tst.stop1.d | 43 timeout = timestamp + 1000000000; 63 timeout = timestamp + 1000000000 / 4; 67 /timestamp > timeout && stopped == 1/ 74 /timestamp > timeout/
|
| /src/crypto/openssl/doc/man1/ |
| H A D | openssl-ts.pod.in | 80 signs them and sends the timestamp token back to the client. By 86 The TSA client receives the timestamp token and verifies the 93 timestamp request to the TSA and one for sending the timestamp response 95 creating a timestamp request based on a data file, 96 creating a timestamp response based on a request, verifying if a 127 The B<-query> command can be used for creating and printing a timestamp 140 The data file for which the timestamp request needs to be 161 timestamp token. Either the dotted OID notation or OID names defined 179 This option specifies a previously created timestamp request in DER 200 A timestamp response (TimeStampResp) consists of a response status [all …]
|
| H A D | tsget.pod | 26 This command can be used for sending a timestamp request, as specified 27 in RFC 3161, to a timestamp server over HTTP or HTTPS and storing the 28 timestamp response in a file. It cannot be used for creating the requests 33 This command sends the following HTTP request for each timestamp request: 39 Content-Type: application/timestamp-query 40 Accept: application/timestamp-reply 45 It expects a response of type application/timestamp-reply, which is 54 The URL of the HTTP/HTTPS server listening for timestamp requests. 65 server. The timestamp response will be written to the given output file. '-' 66 means standard output. In case of multiple timestamp requests or the absence [all …]
|
| /src/crypto/heimdal/lib/krb5/ |
| H A D | mk_safe.c | 71 krb5_us_timeofday (context, &rdata.timestamp, &rdata.usec); in krb5_mk_safe() 74 s.safe_body.timestamp = &rdata.timestamp; in krb5_mk_safe() 77 s.safe_body.timestamp = NULL; in krb5_mk_safe() 82 outdata->timestamp = rdata.timestamp; in krb5_mk_safe()
|
| H A D | mk_priv.c | 69 krb5_us_timeofday (context, &rdata.timestamp, &rdata.usec); in krb5_mk_priv() 72 part.timestamp = &rdata.timestamp; in krb5_mk_priv() 75 part.timestamp = NULL; in krb5_mk_priv() 80 outdata->timestamp = rdata.timestamp; in krb5_mk_priv()
|
| /src/lib/libc/rpc/ |
| H A D | svc_auth_des.c | 121 struct timeval timestamp; in _svcauth_des() local 224 timestamp.tv_sec = IXDR_GET_LONG(ixdr); in _svcauth_des() 225 timestamp.tv_usec = IXDR_GET_LONG(ixdr); in _svcauth_des() 246 ×tamp); in _svcauth_des() 257 if ((u_long)timestamp.tv_usec >= USEC_PER_SEC) { in _svcauth_des() 262 if (nick && BEFORE(×tamp, in _svcauth_des() 269 if (!BEFORE(¤t, ×tamp)) { in _svcauth_des() 285 IXDR_PUT_LONG(ixdr, timestamp.tv_sec - 1); in _svcauth_des() 286 IXDR_PUT_LONG(ixdr, timestamp.tv_usec); in _svcauth_des() 317 entry->laststamp = timestamp; in _svcauth_des() [all …]
|
| /src/usr.bin/tip/tip/ |
| H A D | log.c | 46 char *user, *timestamp; in logent() local 63 timestamp = ctime(&t); in logent() 64 timestamp[24] = '\0'; in logent() 66 user, timestamp, group, in logent()
|
| /src/crypto/openssl/crypto/ct/ |
| H A D | ct_prn.c | 29 static void timestamp_print(uint64_t timestamp, BIO *out) in timestamp_print() argument 37 (int)(timestamp / 86400000), in timestamp_print() 38 (timestamp % 86400000) / 1000); in timestamp_print() 44 ASN1_STRING_get0_data(gen), (unsigned int)(timestamp % 1000)); in timestamp_print() 100 timestamp_print(sct->timestamp, out); in SCT_print()
|
| /src/crypto/krb5/src/lib/krb5/rcache/ |
| H A D | t_rcfile2.c | 58 test_store(const char *filename, uint8_t *tag, krb5_timestamp timestamp, in test_store() argument 64 (void)krb5_set_debugging_time(ctx, timestamp, 0); in test_store() 76 uint32_t timestamp; in expiry_test() local 82 for (i = 0, timestamp = start; i < reps; i++, timestamp += clockskew * 2) { in expiry_test() 87 ret = test_store(filename, tag, timestamp, clockskew); in expiry_test()
|