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

1234

/freebsd-10.0-release/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-10.0-release/sys/dev/speaker/
H A Dspeaker.h21 int duration; /* in 1/100ths of a second */ member in struct:__anon9499
H A Dspkr.c43 * frequency and duration from the ISA console speaker.
199 * Play tone of proper duration for current rhythm signature
501 rest(tp->duration);
503 tone(tp->frequency, tp->duration);
515 if (ttp.duration == 0)
519 rest(ttp.duration);
521 tone(ttp.frequency, ttp.duration);
/freebsd-10.0-release/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...]
H A Dldns.h103 #include <ldns/duration.h>
/freebsd-10.0-release/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);
H A Dwmm.c166 int medium_time, pps, duration; local
202 duration = (le_to_host16(tspec->nominal_msdu_size) & 0x7fff) * 8 /
204 50 /* FIX: proper SIFS + ACK duration */;
215 medium_time = surplus * pps * duration / 0x2000;
/freebsd-10.0-release/games/morse/
H A Dmorse.c396 dot_clock = 1 / dot_clock; /* duration of a dot */
402 cdot_clock = 1 / cdot_clock; /* duration of a dot */
506 sound.duration = dot_clock;
510 sound.duration = dot_clock * DASH_LEN;
514 sound.duration = cdot_clock * WORD_SPACE;
517 sound.duration = 0;
519 if (sound.duration) {
526 sound.duration = dot_clock;
533 sound.duration = cdot_clock * CHAR_SPACE;
542 int duration, o local
[all...]
/freebsd-10.0-release/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-10.0-release/lib/libstdthreads/
H A Dthrd.c116 thrd_sleep(const struct timespec *duration, struct timespec *remaining) argument
119 return (nanosleep(duration, remaining));
/freebsd-10.0-release/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
H A Dusb_control_ep_test.c239 usb_port_reset_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
289 if ((res_tv.tv_sec < 0) || (res_tv.tv_sec >= (int)duration))
309 usb_set_config_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
368 usb_get_descriptor_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
381 usb_suspend_resume_test(uint16_t vid, uint16_t pid, uint32_t duration) argument
448 if ((res_tv.tv_sec < 0) || (res_tv.tv_sec >= (int)duration))
/freebsd-10.0-release/contrib/tcpdump/
H A Dieee802_11.h130 u_int16_t duration; member in struct:mgmt_header_t
253 u_int16_t duration; member in struct:ctrl_rts_t
264 u_int16_t duration; member in struct:ctrl_cts_t
273 u_int16_t duration; member in struct:ctrl_ack_t
293 u_int16_t duration; member in struct:ctrl_end_t
304 u_int16_t duration; member in struct:ctrl_end_ack_t
315 u_int16_t duration; member in struct:ctrl_ba_t
H A Dprint-mpcp.c78 u_int8_t duration[MPCP_TIMESTAMP_DURATION_LEN]; member in struct:mpcp_grant_t
187 printf("\n\tGrant #%u, Start-Time %u ticks, duration %u ticks",
190 EXTRACT_16BITS(mpcp.grant->duration));
/freebsd-10.0-release/contrib/wpa/wpa_supplicant/
H A Doffchannel.h25 unsigned int freq, unsigned int duration);
/freebsd-10.0-release/sys/teken/
H A Dteken_subr_compat.h83 unsigned int duration)
87 (duration & 0xffff));
82 teken_subr_cons25_set_bell_pitch_duration(teken_t *t, unsigned int pitch, unsigned int duration) argument
/freebsd-10.0-release/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...]
/freebsd-10.0-release/crypto/openssl/crypto/rand/
H A Drand_unix.c164 long duration; local
168 long long duration; local
199 duration = 1;
200 s$sleep (&duration, &code);
204 duration = 1;
205 s$sleep2 (&duration, &code);
/freebsd-10.0-release/lib/libldns/
H A DMakefile14 dnssec_zone.c duration.c error.c higher.c host2str.c host2wire.c \
/freebsd-10.0-release/contrib/libc++/src/
H A Dchrono.cpp107 return time_point(duration(fp()));
/freebsd-10.0-release/sys/net80211/
H A Dieee80211_scan.c60 u_int ss_duration; /* duration for next scan */
379 struct ieee80211vap *vap, int flags, u_int duration,
393 "%s: %s scan, duration %u mindwell %u maxdwell %u, desired mode %s, %s%s%s%s%s%s\n"
396 , duration, mindwell, maxdwell
424 SCAN_PRIVATE(ss)->ss_duration = duration;
451 u_int duration, u_int mindwell, u_int maxdwell,
468 result = start_scan_locked(scan, vap, flags, duration,
481 u_int duration, u_int mindwell, u_int maxdwell,
557 result = start_scan_locked(scan, vap, flags, duration,
599 u_int duration; local
378 start_scan_locked(const struct ieee80211_scanner *scan, struct ieee80211vap *vap, int flags, u_int duration, u_int mindwell, u_int maxdwell, u_int nssid, const struct ieee80211_scan_ssid ssids[]) argument
450 ieee80211_start_scan(struct ieee80211vap *vap, int flags, u_int duration, u_int mindwell, u_int maxdwell, u_int nssid, const struct ieee80211_scan_ssid ssids[]) argument
480 ieee80211_check_scan(struct ieee80211vap *vap, int flags, u_int duration, u_int mindwell, u_int maxdwell, u_int nssid, const struct ieee80211_scan_ssid ssids[]) argument
[all...]
/freebsd-10.0-release/sys/dev/usb/
H A Dusbdi_util.h78 uint8_t iface_index, uint8_t duration, uint8_t id);

Completed in 228 milliseconds

1234