| /freebsd-13.1/contrib/kyua/utils/ |
| H A D | datetime_test.cpp | 267 const datetime::timestamp ts1 = datetime::timestamp::from_values( 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() 334 const datetime::timestamp second = datetime::timestamp::now(); in ATF_TEST_CASE_BODY() 342 const datetime::timestamp ts1 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() 347 const datetime::timestamp ts2 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() 356 const datetime::timestamp ts1 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() 360 const datetime::timestamp ts2= datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() 369 const datetime::timestamp ts1 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() 378 const datetime::timestamp ts1 = datetime::timestamp::from_values( in ATF_TEST_CASE_BODY() [all …]
|
| H A D | datetime.cpp | 281 datetime::timestamp::timestamp(std::shared_ptr< impl > pimpl_) : in timestamp() function in datetime::timestamp 292 datetime::timestamp 315 datetime::timestamp 362 datetime::timestamp 486 datetime::timestamp::operator<(const datetime::timestamp& other) const in operator <() 511 datetime::timestamp::operator>(const datetime::timestamp& other) const in operator >() 535 datetime::timestamp 548 datetime::timestamp& 561 datetime::timestamp 574 datetime::timestamp& [all …]
|
| H A D | datetime.hpp | 94 class timestamp { class 100 timestamp(std::shared_ptr< impl >); 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; 122 timestamp& operator+=(const delta&); 124 timestamp& operator-=(const delta&); [all …]
|
| /freebsd-13.1/contrib/apr-util/crypto/ |
| H A D | getuuid.c | 146 static void get_current_time(apr_uint64_t *timestamp) in get_current_time() argument 172 *timestamp = time_now + fudge; in get_current_time() 177 apr_uint64_t timestamp; in apr_uuid_get() local 189 get_current_time(×tamp); in apr_uuid_get() 192 d[3] = (unsigned char)timestamp; in apr_uuid_get() 193 d[2] = (unsigned char)(timestamp >> 8); in apr_uuid_get() 194 d[1] = (unsigned char)(timestamp >> 16); in apr_uuid_get() 195 d[0] = (unsigned char)(timestamp >> 24); in apr_uuid_get() 197 d[5] = (unsigned char)(timestamp >> 32); in apr_uuid_get() 198 d[4] = (unsigned char)(timestamp >> 40); in apr_uuid_get() [all …]
|
| /freebsd-13.1/contrib/kyua/utils/signals/ |
| H A D | timer.cpp | 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() 332 fire(const datetime::timestamp& now) in fire() 360 globals->fire(datetime::timestamp::now()); in sigalrm_handler() 389 datetime::timestamp when; 403 impl(const datetime::timestamp& when_) : in impl() 425 const datetime::timestamp now = datetime::timestamp::now(); in timer() 454 const datetime::timestamp now = datetime::timestamp::now(); in ~timer() 466 const datetime::timestamp& [all …]
|
| /freebsd-13.1/tools/sched/ |
| H A D | schedgraph.d | 73 …up:\"load\", id:\"global load\", counter:\"%d\", attributes: \"none\"\n", cpu, timestamp, args[1]); 79 …ad\", id:\"CPU %d load\", counter:\"%d\", attributes: \"none\"\n", cpu, timestamp, args[0], args[1… 85 … id:\"%s/%s tid %d\", state:\"proc exit\", attributes: prio:td\n", cpu, timestamp, curthread->td_p… 90 …ad\", id:\"%s/%s tid %d\", state:\"exit\", attributes: prio:td\n", cpu, timestamp, curthread->td_p… 100 …", attributes: prio:%d, new prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, curthread->td_p… 105 …e:\"runq add\", attributes: prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, args[0]->td_pro… 106 … %d\", point:\"wokeup\", attributes: linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, curthread->td_p… 111 …e:\"runq rem\", attributes: prio:%d, linkedto:\"%s/%s tid %d\"\n", cpu, timestamp, args[0]->td_pro… 116 … tid %d\", point:\"statclock\", attributes: prio:%d, stathz:%d\n", cpu, timestamp, args[0]->td_pro… 122 …ad\", id:\"%s/%s tid %d\", state:\"idle\", attributes: prio:%d\n", cpu, timestamp, curthread->td_p… [all …]
|
| /freebsd-13.1/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()
|
| /freebsd-13.1/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()
|
| /freebsd-13.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-tra.h | 391 uint64_t timestamp : 8; member 393 uint64_t timestamp : 8; 415 uint64_t timestamp : 8; member 417 uint64_t timestamp : 8; 440 uint64_t timestamp : 8; member 442 uint64_t timestamp : 8; 465 uint64_t timestamp : 8; member 467 uint64_t timestamp : 8; 490 uint64_t timestamp : 8; member 492 uint64_t timestamp : 8; [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | vtoc.h | 115 time_t timestamp[V_NUMPAR]; /* partition timestamp (unsupported) */ member 161 v.timestamp[i] = (time_t)extv.timestamp[i]; \ 186 extv.timestamp[i] = (uint64_t)v.timestamp[i]; \ 234 v.timestamp[i] = (time_t)v32.timestamp[i]; \ 257 extv.timestamp[i] = (time_t)v32.timestamp[i]; \ 284 if (v.timestamp[i] > TIME32_MAX) \ 285 v32.timestamp[i] = TIME32_MAX; \ 287 v32.timestamp[i] = (time32_t)v.timestamp[i]; \ 313 if (extv.timestamp[i] > TIME32_MAX) \ 314 v32.timestamp[i] = TIME32_MAX; \ [all …]
|
| /freebsd-13.1/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,
|
| /freebsd-13.1/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()
|
| /freebsd-13.1/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);
|
| /freebsd-13.1/crypto/openssl/doc/man1/ |
| H A D | ts.pod | 56 [-attime timestamp] 117 a timestamp request to the TSA and one for sending the timestamp response 119 creating a timestamp request based on a data file, 221 otherwise it is a timestamp token (ContentInfo). 285 Specifies a previously created timestamp response or timestamp token 307 The output is a timestamp token (ContentInfo) instead of timestamp 327 timestamp token is valid and matches a particular timestamp request or 571 To create a timestamp response for a request: 584 To create a timestamp token instead of timestamp response: 592 To extract the timestamp token from a response: [all …]
|
| H A D | tsget.pod | 27 The B<tsget> command can be used for sending a timestamp request, as 28 specified in B<RFC 3161>, to a timestamp server over HTTP or HTTPS and storing 29 the timestamp response in a file. This tool cannot be used for creating the 35 The tool sends the following HTTP request for each timestamp request: 41 Content-Type: application/timestamp-query 42 Accept: application/timestamp-reply 47 B<tsget> expects a response of type application/timestamp-reply, which is 56 The URL of the HTTP/HTTPS server listening for timestamp requests. 146 Get a timestamp response for file1.tsq over HTTP, output is written to 151 Get a timestamp response for file1.tsq and file2.tsq over HTTP showing [all …]
|
| /freebsd-13.1/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/
|
| /freebsd-13.1/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()
|
| /freebsd-13.1/lib/libc/rpc/ |
| H A D | svc_auth_des.c | 127 struct timeval timestamp; in _svcauth_des() local 230 timestamp.tv_sec = IXDR_GET_LONG(ixdr); in _svcauth_des() 231 timestamp.tv_usec = IXDR_GET_LONG(ixdr); in _svcauth_des() 252 ×tamp); in _svcauth_des() 263 if ((u_long)timestamp.tv_usec >= USEC_PER_SEC) { in _svcauth_des() 268 if (nick && BEFORE(×tamp, in _svcauth_des() 275 if (!BEFORE(¤t, ×tamp)) { in _svcauth_des() 291 IXDR_PUT_LONG(ixdr, timestamp.tv_sec - 1); in _svcauth_des() 292 IXDR_PUT_LONG(ixdr, timestamp.tv_usec); in _svcauth_des() 323 entry->laststamp = timestamp; in _svcauth_des() [all …]
|
| /freebsd-13.1/usr.bin/tip/tip/ |
| H A D | log.c | 56 char *user, *timestamp; in logent() local 73 timestamp = ctime(&t); in logent() 74 timestamp[24] = '\0'; in logent() 76 user, timestamp, group, in logent()
|
| /freebsd-13.1/contrib/unbound/cachedb/ |
| H A D | cachedb.c | 381 uint64_t timestamp, expiry; in prep_data() local 412 timestamp = (uint64_t)*qstate->env->now; in prep_data() 414 timestamp = htobe64(timestamp); in prep_data() 417 if(oldlim + sizeof(timestamp)+sizeof(expiry) >= in prep_data() 421 sldns_buffer_write_at(buf, oldlim, ×tamp, sizeof(timestamp)); in prep_data() 496 uint64_t timestamp, expiry; in parse_data() local 499 if(lim < LDNS_HEADER_SIZE+sizeof(timestamp)+sizeof(expiry)) in parse_data() 505 ×tamp, sizeof(timestamp)); in parse_data() 507 timestamp = be64toh(timestamp); in parse_data() 536 if(*qstate->env->now <= (time_t)timestamp) { in parse_data() [all …]
|
| /freebsd-13.1/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()
|
| /freebsd-13.1/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/raise/ |
| H A D | tst.raise2.d | 43 timeout = timestamp + 1000000000; 54 timeout = timestamp + 500000000; 64 /timestamp > timeout/
|
| H A D | tst.raise1.d | 43 timeout = timestamp + 1000000000; 54 timeout = timestamp + 500000000; 64 /timestamp > timeout/
|