Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 423) sorted by relevance

12345678910>>...17

/openbsd-src/usr.sbin/syslogd/
H A Dparsemsg.c86 parsemsg_timestamp_bsd(const char *msg, char *timestamp) in parsemsg_timestamp_bsd() argument
90 timestamp[0] = '\0'; in parsemsg_timestamp_bsd()
100 strlcpy(timestamp, msg, 16); in parsemsg_timestamp_bsd()
108 parsemsg_timestamp_v1(const char *msgstr, char *timestamp) in parsemsg_timestamp_v1() argument
119 timestamp[0] = '\0'; in parsemsg_timestamp_v1()
131 strlcpy(timestamp, msg, 33); in parsemsg_timestamp_v1()
148 timestamp[20+i] = '\0'; in parsemsg_timestamp_v1()
157 timestamp[25+i] = '\0'; in parsemsg_timestamp_v1()
161 timestamp[0] = '\0'; in parsemsg_timestamp_v1()
/openbsd-src/usr.sbin/smtpd/
H A Dsrs.c88 uint16_t timestamp; in srs0_encode() local
92 timestamp = (time(NULL) / (60 * 60 * 24)) % 1024; in srs0_encode()
100 base32[(timestamp>>5) & 0x1F], in srs0_encode()
101 base32[timestamp & 0x1F], in srs0_encode()
209 uint16_t timestamp, srs_timestamp; in srs0_decode() local
245 timestamp = (time(NULL) / (60 * 60 * 24)) % 1024; in srs0_decode()
248 if (timestamp != srs_timestamp) in srs0_decode()
249 if (! timestamp_check_range(timestamp, srs_timestamp)) in srs0_decode()
277 uint16_t timestamp, srs_timestamp; in srs1_decode() local
337 timestamp = (time(NULL) / (60 * 60 * 24)) % 1024; in srs1_decode()
[all …]
H A Dstat_backend.c83 stat_timestamp(time_t timestamp) in stat_timestamp() argument
88 value.u.timestamp = timestamp; in stat_timestamp()
H A Dscheduler.c56 time_t timestamp; in scheduler_imsg() local
194 timestamp = si.creation + env->sc_bounce_warn[i]; in scheduler_imsg()
195 if (si.nexttry >= timestamp && in scheduler_imsg()
196 si.lastbounce < timestamp) { in scheduler_imsg()
198 req.timestamp = timestamp; in scheduler_imsg()
/openbsd-src/sbin/unwind/libunbound/util/
H A Dedns.c144 uint32_t timestamp) in edns_cookie_server_write() argument
151 sldns_write_uint32(buf + 12, timestamp); in edns_cookie_server_write()
162 uint32_t timestamp; in edns_cookie_server_validate() local
171 timestamp = sldns_read_uint32(cookie + 12); in edns_cookie_server_validate()
172 if((comp_1982 = compare_1982(now, timestamp)) > 0 in edns_cookie_server_validate()
173 && (subt_1982 = subtract_1982(timestamp, now)) > 3600) in edns_cookie_server_validate()
176 if(comp_1982 <= 0 && subtract_1982(now, timestamp) > 300) in edns_cookie_server_validate()
/openbsd-src/usr.sbin/unbound/util/
H A Dedns.c144 uint32_t timestamp) in edns_cookie_server_write() argument
151 sldns_write_uint32(buf + 12, timestamp); in edns_cookie_server_write()
162 uint32_t timestamp; in edns_cookie_server_validate() local
171 timestamp = sldns_read_uint32(cookie + 12); in edns_cookie_server_validate()
172 if((comp_1982 = compare_1982(now, timestamp)) > 0 in edns_cookie_server_validate()
173 && (subt_1982 = subtract_1982(timestamp, now)) > 3600) in edns_cookie_server_validate()
176 if(comp_1982 <= 0 && subtract_1982(now, timestamp) > 300) in edns_cookie_server_validate()
/openbsd-src/sys/isofs/udf/
H A Decma167-udf.h220 struct timestamp { struct
324 struct timestamp time;
585 struct timestamp time;
602 struct timestamp time;
683 struct timestamp times[1]; /* in order of ascending bits */
690 #define UDF_FILETIMES_ATTR_SIZE(no) (20 + (no)*sizeof(struct timestamp))
726 struct timestamp atime;
727 struct timestamp mtime;
728 struct timestamp attrtime;
757 struct timestamp atime;
[all …]
/openbsd-src/usr.sbin/unbound/cachedb/
H A Dcachedb.c381 uint64_t timestamp, expiry; in prep_data() local
429 timestamp = (uint64_t)*qstate->env->now; in prep_data()
430 expiry = timestamp + (uint64_t)qstate->return_msg->rep->ttl; in prep_data()
431 timestamp = htobe64(timestamp); in prep_data()
434 if(oldlim + sizeof(timestamp)+sizeof(expiry) >= in prep_data()
437 sldns_buffer_set_limit(buf, oldlim + sizeof(timestamp)+sizeof(expiry)); in prep_data()
438 sldns_buffer_write_at(buf, oldlim, &timestamp, sizeof(timestamp)); in prep_data()
439 sldns_buffer_write_at(buf, oldlim+sizeof(timestamp), in prep_data()
543 uint64_t timestamp, expiry; parse_data() local
[all...]
/openbsd-src/gnu/usr.bin/cvs/src/
H A Dvers_ts.c84 if (strcmp (entdata->timestamp, "D") != 0)
88 vers_ts->ts_rcs = xstrdup (entdata->timestamp);
286 else if (entdata->timestamp
287 && entdata->timestamp[0] == '=')
289 else if (entdata->timestamp != NULL
290 && (entdata->timestamp[0] == 'M'
291 || entdata->timestamp[0] == 'D')
292 && entdata->timestamp[1] == '\0')
/openbsd-src/gnu/usr.bin/perl/cpan/HTTP-Tiny/t/
H A D110_mirror.t23 my %timestamp = (
51 if ( my $mtime = $timestamp{$url_basename} ) {
58 $timestamp{$url_basename} = (stat $tempfile)[9];
89 is( (stat($tempfile))[9], $timestamp{$url_basename},
/openbsd-src/share/zoneinfo/
H A Dziguard.awk53 function round_to_second(timestamp, \
56 dot_dddd = timestamp
58 return timestamp
59 hh = mm = ss = timestamp
66 return sprintf("%s%d:%.2d:%.2d", timestamp ~ /^-/ ? "-" : "", \
/openbsd-src/lib/libcrypto/ct/
H A Dct_prn.c111 timestamp_print(uint64_t timestamp, BIO *out) in timestamp_print() argument
118 ASN1_GENERALIZEDTIME_adj(gen, (time_t)0, (int)(timestamp / 86400000), in timestamp_print()
119 (timestamp % 86400000) / 1000); in timestamp_print()
181 timestamp_print(sct->timestamp, out); in SCT_print()
H A Dct_oct.c142 uint64_t timestamp; in o2i_SCT_internal() local
152 if (!CBS_get_u64(cbs, &timestamp)) in o2i_SCT_internal()
160 sct->timestamp = timestamp; in o2i_SCT_internal()
301 l2n8(sct->timestamp, p); in i2o_SCT()
H A Dct_sct.c188 SCT_set_timestamp(SCT *sct, uint64_t timestamp) in SCT_set_timestamp() argument
190 sct->timestamp = timestamp; in SCT_set_timestamp()
303 return sct->timestamp; in SCT_get_timestamp()
H A Dct_b64.c120 ct_log_entry_type_t entry_type, uint64_t timestamp, in SCT_new_from_base64() argument
171 SCT_set_timestamp(sct, timestamp); in SCT_new_from_base64()
H A Dct_vfy.c104 if (!CBB_add_u64(&cbb, sct->timestamp)) in sct_ctx_update()
172 if (sct->timestamp > sctx->epoch_time_in_ms) { in SCT_CTX_verify()
/openbsd-src/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_gmc.c367 * @timestamp: timestamp of the fault
375 uint16_t pasid, uint64_t timestamp) in amdgpu_gmc_filter_faults() argument
382 /* Stale retry fault if timestamp goes backward */ in amdgpu_gmc_filter_faults()
383 if (amdgpu_ih_ts_after(timestamp, ih->processed_timestamp)) in amdgpu_gmc_filter_faults()
387 stamp = max(timestamp, AMDGPU_GMC_FAULT_TIMEOUT + 1) - in amdgpu_gmc_filter_faults()
389 if (gmc->fault_ring[gmc->last_fault].timestamp >= stamp) in amdgpu_gmc_filter_faults()
395 while (fault->timestamp >= stamp) { in amdgpu_gmc_filter_faults()
401 * the fault_ring and the timestamp of in amdgpu_gmc_filter_faults()
402 * the fault is after the expired timestamp, in amdgpu_gmc_filter_faults()
[all...]
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DGenealogy.cpp125 bc.timestamp = breadcrumb->timestamp; in GetActivities()
154 msg.timestamp = trace_msg->timestamp; in GetActivities()
212 msg.timestamp = trace_msg->timestamp; in GetActivities()
H A DGenealogySPI.h22 uint64_t timestamp; member
31 uint64_t timestamp; member
H A DGenealogy.h33 uint64_t timestamp; member
46 uint64_t timestamp; member
/openbsd-src/usr.sbin/unbound/testcode/
H A Dunitmain.c539 uint32_t timestamp = 1559734385; in edns_cookie_invalid_version() local
554 /* copy client cookie|version|reserved|timestamp */ in edns_cookie_invalid_version()
560 buf, timestamp) == COOKIE_STATUS_INVALID); in edns_cookie_invalid_version()
561 edns_cookie_server_write(buf, server_secret, 1, timestamp); in edns_cookie_invalid_version()
569 uint32_t timestamp = 0; in edns_cookie_invalid_hash() local
584 /* copy client cookie|version|reserved|timestamp */ in edns_cookie_invalid_hash()
590 buf, timestamp) == COOKIE_STATUS_INVALID); in edns_cookie_invalid_hash()
591 edns_cookie_server_write(buf, server_secret, 1, timestamp); in edns_cookie_invalid_hash()
602 uint32_t timestamp = 1800 + 1; in edns_cookie_rfc9018_a3_better() local
617 /* copy client cookie|version|reserved|timestamp */ in edns_cookie_rfc9018_a3_better()
633 uint32_t timestamp = 1559734700; edns_cookie_rfc9018_a3() local
664 uint32_t timestamp = 1559734385; edns_cookie_rfc9018_a2() local
694 uint32_t timestamp = 1559731985; edns_cookie_rfc9018_a1() local
[all...]
/openbsd-src/regress/lib/libcrypto/ct/
H A Dcttest.c109 uint64_t timestamp; member
125 .timestamp = 1637344157551LL,
139 .timestamp = 1637344157755LL,
226 if (SCT_get_timestamp(sct) != sdt->timestamp) { in ct_compare_test_scts()
230 (unsigned long long)sdt->timestamp); in ct_compare_test_scts()
/openbsd-src/sys/dev/pci/drm/i915/gt/
H A Dintel_breadcrumbs.c133 __dma_fence_signal__timestamp(struct dma_fence *fence, ktime_t timestamp) in __dma_fence_signal__timestamp() argument
135 fence->timestamp = timestamp; in __dma_fence_signal__timestamp()
170 const ktime_t timestamp = ktime_get(); in signal_irq_work() local
256 __dma_fence_signal__timestamp(&rq->fence, timestamp); in signal_irq_work()
/openbsd-src/gnu/llvm/llvm/docs/
H A DXRayFDRFormat.rst69 | constant_tsc | ``1`` | Whether the platform's timestamp |
144 | tsc_delta | ``32`` | The number of ticks of the timestamp counter |
247 of reference for the durations recorded by timestamp counter deltas.
269 Typically, this is done with readtscp, which reads the timestamp counter at the
282 | absolute_tsc | ``8`` | The absolute value of the timestamp counter. |
292 of the timestamp counter since the last reference, it is possible for this value
296 timestamp counter record is written in the form of a TSCWrap record.
347 | absolute_tsc | ``8`` | A timestamp counter of the event. |
/openbsd-src/gnu/usr.bin/binutils-2.17/opcodes/
H A Dstamp-h.in1 timestamp

12345678910>>...17