/freebsd-11-stable/contrib/ldns/ |
H A D | duration.c | 2 * $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 D | speaker.h | 21 int duration; /* in 1/100ths of a second */ member in struct:__anon11720
|
/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm_time_event.h | 111 uint32_t duration, uint32_t max_delay);
|
H A D | if_iwm_time_event.c | 175 "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 D | duration.h | 2 * $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 D | p2p_hostapd.c | 34 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 D | p2p_hostapd.h | 17 int duration);
|
/freebsd-11-stable/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Timeout.h | 19 // basically an llvm::Optional<std::chrono::duration<int64_t, Ratio>>, but we 28 class Timeout : public llvm::Optional<std::chrono::duration<int64_t, Ratio>> { 30 template <typename Ratio2> using Dur = std::chrono::duration<int64_t, Ratio2>; 33 std::is_convertible<std::chrono::duration<Rep2, Ratio2>, 34 std::chrono::duration<int64_t, Ratio>>::value>; 49 Timeout(const std::chrono::duration<Rep2, Ratio2> &other)
|
H A D | Timer.h | 59 void ChildDuration(TimePoint::duration dur) { m_child_duration += dur; } 63 TimePoint::duration m_child_duration{0};
|
/freebsd-11-stable/usr.bin/morse/ |
H A D | morse.c | 399 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 D | netblast.c | 47 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/llvm-project/libcxx/src/filesystem/ |
H A D | filesystem_common.h | 197 using chrono::duration; 207 using fs_duration = typename FileTimeT::duration; 208 using fs_seconds = duration<rep>; 209 using fs_nanoseconds = duration<rep, nano>; 210 using fs_microseconds = duration<rep, micro>; 213 duration_cast<fs_seconds>(FileTimeT::duration::max()).count(); 216 duration_cast<fs_nanoseconds>(FileTimeT::duration::max() - 221 duration_cast<fs_seconds>(FileTimeT::duration::min()).count(); 225 (FileTimeT::duration::min() - fs_seconds(min_seconds)) + 238 FileTimeT::duration [all...] |
/freebsd-11-stable/sys/dev/ioat/ |
H A D | ioat_test.h | 67 * If non-zero, duration is time in ms; 70 uint32_t duration; member in struct:ioat_test
|
/freebsd-11-stable/lib/libstdthreads/ |
H A D | thrd.c | 117 thrd_sleep(const struct timespec *duration, struct timespec *remaining) argument 120 return (nanosleep(duration, remaining));
|
/freebsd-11-stable/sys/teken/ |
H A D | teken_subr_compat.h | 76 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 D | usb_modem_test.c | 59 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 D | usbtest.c | 689 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 D | usb_msc_test.h | 95 uint32_t duration; member in struct:usb_msc_params
|
/freebsd-11-stable/contrib/wpa/wpa_supplicant/ |
H A D | offchannel.h | 25 unsigned int freq, unsigned int duration);
|
H A D | mesh.h | 23 int duration);
|
H A D | mesh_mpm.h | 23 int duration);
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Chrono.h | 39 time_point_cast<system_clock::time_point::duration>(TP)); 75 /// Implementation of format_provider<T> for duration types. 77 /// The options string of a duration type has the grammar: 95 /// If the unit of the duration type is not one of the units specified above, 112 struct format_provider<std::chrono::duration<Rep, Period>> { 114 typedef std::chrono::duration<Rep, Period> Dur; 121 return duration_cast<duration<InternalRep, AsPeriod>>(D).count(); 149 assert(0 && "Unrecognised duration format");
|
/freebsd-11-stable/contrib/llvm-project/libcxx/src/ |
H A D | chrono.cpp | 59 _VSTD::chrono::duration<__int64, 79 return time_point(duration_cast<duration>(d - nt_to_unix_epoch)); 178 return time_point(duration(fp())); 204 return time_point(duration(counter.QuadPart * nano::den / freq.QuadPart));
|
/freebsd-11-stable/tools/tools/netrate/netsend/ |
H A D | netsend.c | 52 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-11-stable/crypto/openssl/crypto/rand/ |
H A D | rand_unix.c | 167 long duration; local 171 long long duration; local 205 duration = 1; 206 s$sleep(&duration, &code); 210 duration = 1; 211 s$sleep2(&duration, &code);
|