Searched refs:duration (Results 1 - 25 of 123) sorted by relevance

12345

/freebsd-11-stable/contrib/ldns/
H A Dduration.c2 * $Id: duration.c 4518 2011-02-24 15:39:09Z matthijs $
41 #include <ldns/duration.h>
50 * Create a new 'instant' duration.
56 ldns_duration_type* duration; local
58 duration = malloc(sizeof(ldns_duration_type));
59 if (!duration) {
62 duration->years = 0;
63 duration->months = 0;
64 duration->weeks = 0;
65 duration
120 ldns_duration_type* duration = ldns_duration_create(); local
198 digits_in_number(time_t duration) argument
216 ldns_duration2string(ldns_duration_type* duration) argument
319 ldns_duration2time(ldns_duration_type* duration) argument
347 ldns_duration_cleanup(ldns_duration_type* duration) argument
[all...]
/freebsd-11-stable/sys/dev/speaker/
H A Dspeaker.h21 int duration; /* in 1/100ths of a second */ member in struct:__anon11720
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_time_event.h111 uint32_t duration, uint32_t max_delay);
H A Dif_iwm_time_event.c175 "Add new TE, duration %d TU\n", le32toh(te_cmd->duration));
190 uint32_t duration, uint32_t max_delay)
205 time_cmd.duration = htole32(duration);
189 iwm_mvm_protect_session(struct iwm_softc *sc, struct iwm_vap *ivp, uint32_t duration, uint32_t max_delay) argument
/freebsd-11-stable/contrib/ldns/ldns/
H A Dduration.h2 * $Id: duration.h 4341 2011-01-31 15:21:09Z matthijs $
63 * Create a new 'instant' duration.
64 * \return ldns_duration_type* created duration
71 * \param[in] d1 one duration
72 * \param[in] d2 another duration
79 * Create a duration from string.
80 * \param[in] str string-format duration
81 * \return ldns_duration_type* created duration
87 * Convert a duration to a string.
88 * \param[in] duration duratio
[all...]
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dp2p_hostapd.c34 int duration)
37 "duration=%d", count, start, duration);
48 return hostapd_driver_set_noa(hapd, count, start, duration);
53 hapd->noa_duration = duration;
58 return hostapd_driver_set_noa(hapd, count, start, duration);
33 hostapd_p2p_set_noa(struct hostapd_data *hapd, u8 count, int start, int duration) argument
H A Dp2p_hostapd.h17 int duration);
/freebsd-11-stable/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DTimeout.h20 // basically an llvm::Optional<std::chrono::duration<int64_t, Ratio>>, but we
29 class Timeout : public llvm::Optional<std::chrono::duration<int64_t, Ratio>> {
31 template <typename Ratio2> using Dur = std::chrono::duration<int64_t, Ratio2>;
34 std::is_convertible<std::chrono::duration<Rep2, Ratio2>,
35 std::chrono::duration<int64_t, Ratio>>::value>;
50 Timeout(const std::chrono::duration<Rep2, Ratio2> &other)
H A DTimer.h64 void ChildDuration(TimePoint::duration dur) { m_child_duration += dur; }
68 TimePoint::duration m_child_duration{0};
/freebsd-11-stable/usr.bin/morse/
H A Dmorse.c399 dot_clock = 1 / dot_clock; /* duration of a dot */
405 cdot_clock = 1 / cdot_clock; /* duration of a dot */
529 sound.duration = dot_clock;
533 sound.duration = dot_clock * DASH_LEN;
537 sound.duration = cdot_clock * WORD_SPACE;
540 sound.duration = 0;
542 if (sound.duration) {
548 sound.duration = dot_clock;
554 sound.duration = cdot_clock * CHAR_SPACE;
563 int duration, o local
[all...]
/freebsd-11-stable/tools/tools/netrate/netblast/
H A Dnetblast.c47 fprintf(stderr, "netblast [ip] [port] [payloadsize] [duration]\n");
64 * some overhead to the signal and timer setup, so the smaller the duration,
68 blast_loop(int s, long duration, u_char *packet, u_int packet_len) argument
92 it.it_value.tv_sec = duration;
135 duration);
144 long payloadsize, duration; local
173 duration = strtoul(argv[4], &dummy, 10);
174 if (duration < 0 || *dummy != '\0') {
175 fprintf(stderr, "Invalid duration time: %s\n", argv[4]);
219 return (blast_loop(s, duration, packe
[all...]
/freebsd-11-stable/contrib/libc++/src/filesystem/
H A Dfilesystem_common.h198 using chrono::duration;
208 using fs_duration = typename FileTimeT::duration;
209 using fs_seconds = duration<rep>;
210 using fs_nanoseconds = duration<rep, nano>;
211 using fs_microseconds = duration<rep, micro>;
214 duration_cast<fs_seconds>(FileTimeT::duration::max()).count();
217 duration_cast<fs_nanoseconds>(FileTimeT::duration::max() -
222 duration_cast<fs_seconds>(FileTimeT::duration::min()).count();
226 (FileTimeT::duration::min() - fs_seconds(min_seconds)) +
239 FileTimeT::duration
[all...]
/freebsd-11-stable/tools/tools/ioat/
H A Dioatcontrol.c53 "[<chain-len> [duration]]]\n", getprogname());
169 t.duration = 0;
210 t.duration = atoi(argv[4]);
211 if (t.duration < 1) {
256 if (t->duration) {
258 (int64_t)1000 * bytes / t->duration, "B/s", HN_AUTOSCALE,
261 (unsigned)t->duration, bps);
/freebsd-11-stable/sys/dev/ioat/
H A Dioat_test.h64 * If non-zero, duration is time in ms;
67 uint32_t duration; member in struct:ioat_test
/freebsd-11-stable/lib/libstdthreads/
H A Dthrd.c117 thrd_sleep(const struct timespec *duration, struct timespec *remaining) argument
120 return (nanosleep(duration, remaining));
/freebsd-11-stable/sys/teken/
H A Dteken_subr_compat.h76 unsigned int duration)
80 (duration & 0xffff));
75 teken_subr_cons25_set_bell_pitch_duration(teken_t *t, unsigned int pitch, unsigned int duration) argument
/freebsd-11-stable/tools/tools/usbtest/
H A Dusb_modem_test.c59 uint32_t duration; member in struct:modem
80 p->duration = 60; /* seconds */
172 usb_modem_control_ep_test(struct modem *p, uint32_t duration, uint8_t flag) argument
218 if ((res_tv.tv_sec < 0) || (res_tv.tv_sec >= (int)duration))
269 usb_modem_data_stress_test(struct modem *p, uint32_t duration) argument
336 if ((res_tv.tv_sec < 0) || (res_tv.tv_sec >= (int)duration))
501 (p->duration + ntest - 1) / ntest, x);
506 (p->duration + ntest - 1) / ntest);
516 show_host_modem_test(uint8_t level, uint16_t vid, uint16_t pid, uint32_t duration) argument
522 modem.duration
[all...]
H A Dusbtest.c689 uint32_t duration = 60; local
722 (int)duration);
738 show_host_msc_test(level + 1, dev_vid, dev_pid, duration);
741 show_host_modem_test(level + 1, dev_vid, dev_pid, duration);
747 usb_port_reset_test(dev_vid, dev_pid, duration);
750 usb_set_config_test(dev_vid, dev_pid, duration);
753 usb_get_descriptor_test(dev_vid, dev_pid, duration);
756 usb_suspend_resume_test(dev_vid, dev_pid, duration);
768 duration = get_integer();
H A Dusb_msc_test.h95 uint32_t duration; member in struct:usb_msc_params
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Doffchannel.h25 unsigned int freq, unsigned int duration);
H A Dmesh.h23 int duration);
H A Dmesh_mpm.h23 int duration);
/freebsd-11-stable/contrib/llvm/include/llvm/Support/
H A DChrono.h40 time_point_cast<system_clock::time_point::duration>(TP));
76 /// Implementation of format_provider<T> for duration types.
78 /// The options string of a duration type has the grammar:
96 /// If the unit of the duration type is not one of the units specified above,
113 struct format_provider<std::chrono::duration<Rep, Period>> {
115 typedef std::chrono::duration<Rep, Period> Dur;
122 return duration_cast<duration<InternalRep, AsPeriod>>(D).count();
150 assert(0 && "Unrecognised duration format");
/freebsd-11-stable/contrib/libc++/src/
H A Dchrono.cpp56 _VSTD::chrono::duration<__int64,
76 return time_point(duration_cast<duration>(d - nt_to_unix_epoch));
175 return time_point(duration(fp()));
191 return time_point(duration(counter.QuadPart * nano::den / freq.QuadPart));
/freebsd-11-stable/tools/tools/netrate/netsend/
H A Dnetsend.c52 long duration; member in struct:_a
64 "netsend [ip] [port[-port_max]] [payloadsize] [packet_rate] [duration]\n");
133 * into the socket. If we hit our duration limit, bail.
185 finishtime = starttime.tv_sec + a->duration;
247 if (a->duration != 0 && tmptime.tv_sec >= finishtime)
265 a->duration);
275 printf("approx waits/sec: %lld\n", (long long)(waited / a->duration));
359 a.duration = strtoul(argv[5], &dummy, 10);
360 if (a.duration < 0 || *dummy != '\0')
382 a.interval.tv_nsec, a.duration);
[all...]

Completed in 238 milliseconds

12345