/dragonfly/contrib/grep/lib/ |
H A D | str-two-way.h | 109 size_t *period) in critical_factorization() argument 122 *period = 1; in critical_factorization() 168 *period = p; in critical_factorization() 220 *period = p; in critical_factorization() 275 j += period; in two_way_short_needle() 276 memory = needle_len - period; in two_way_short_needle() 307 j += period; in two_way_short_needle() 369 if (memory && shift < period) in two_way_long_needle() 397 j += period; in two_way_long_needle() 398 memory = needle_len - period; in two_way_long_needle() [all …]
|
/dragonfly/contrib/gdb-7/gdb/gnulib/import/ |
H A D | str-two-way.h | 109 size_t *period) in critical_factorization() argument 122 *period = 1; in critical_factorization() 168 *period = p; in critical_factorization() 220 *period = p; in critical_factorization() 275 j += period; in two_way_short_needle() 276 memory = needle_len - period; in two_way_short_needle() 307 j += period; in two_way_short_needle() 369 if (memory && shift < period) in two_way_long_needle() 397 j += period; in two_way_long_needle() 398 memory = needle_len - period; in two_way_long_needle() [all …]
|
/dragonfly/sys/kern/ |
H A D | kern_wdog.c | 64 wd->period = WDOG_DEFAULT_PERIOD; in wdog_register() 71 wd->name, wd->period_max, wd->period); in wdog_register() 87 return (wd->period = wd->wdog_fn(wd->arg, wd->period)); in wdog_reset() 94 int period, min_period = INT_MAX; in wdog_reset_all() local 100 period = wdog_reset(wd); in wdog_reset_all() 101 if (period < min_period) in wdog_reset_all() 102 min_period = period; in wdog_reset_all() 115 wdog_set_period(int period) in wdog_set_period() argument 122 wd->period = period; in wdog_set_period() 183 SYSCTL_PROC(_kern_watchdog, OID_AUTO, period, CTLTYPE_INT | CTLFLAG_RW,
|
H A D | kern_sensors.c | 50 int period; member 232 sensor_task_register(void *arg, void (*func)(void *), int period) in sensor_task_register() argument 234 sensor_task_register2(arg, func, period, -1); in sensor_task_register() 270 sensor_task_register2(void *arg, void (*func)(void *), int period, int cpu) in sensor_task_register2() argument 285 st->period = period; in sensor_task_register2() 351 st->nextrun = time_uptime + st->period; in sensor_task_schedule()
|
/dragonfly/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 61 u_int interval = 0, period = 30, nperiod; in main() local 80 period = (u_int)strtonum(optarg, 2LL, 86400LL, &errstr); in main() 97 if (interval == 0 && (interval = period / 3) == 0) in main() 100 if (period <= interval) in main() 106 if (sysctlbyname("kern.watchdog.period", &speriod, &len, &period, sizeof(period)) == -1) { in main() 127 if (nperiod != period && !quiet) in main() 159 if (ioctl(fd, WDIOCRESET, &period, sizeof(period)) == -1) in main()
|
/dragonfly/contrib/ldns/ |
H A D | duration.c | 248 time_t period = 0; in ldns_duration2time() local 251 period += (duration->seconds); in ldns_duration2time() 252 period += (duration->minutes)*60; in ldns_duration2time() 253 period += (duration->hours)*3600; in ldns_duration2time() 254 period += (duration->days)*86400; in ldns_duration2time() 255 period += (duration->weeks)*86400*7; in ldns_duration2time() 256 period += (duration->months)*86400*31; in ldns_duration2time() 257 period += (duration->years)*86400*365; in ldns_duration2time() 265 return period; in ldns_duration2time()
|
/dragonfly/lib/libpam/libpam/ |
H A D | pam_debug_log.c | 48 char *fmtbuf, *tmpbuf, *modname, *period; in _pam_verbose_error() local 53 period = strchr(modname, '.'); in _pam_verbose_error() 54 if (period == NULL) in _pam_verbose_error() 55 period = strchr(modname, '\0'); in _pam_verbose_error() 57 asprintf(&fmtbuf, "%.*s: %s: %s\n", (int)(period - modname), in _pam_verbose_error()
|
/dragonfly/sys/dev/sound/pci/ |
H A D | hdspe-pcm.c | 45 uint32_t period; member 447 long long period; in hdspechan_setspeed() local 478 period = HDSPE_FREQ_AIO; in hdspechan_setspeed() 497 period /= speed; in hdspechan_setspeed() 498 hdspe_write_4(sc, HDSPE_FREQ_REG, period); in hdspechan_setspeed() 530 for (i = 0; latency_map[i].period != 0; i++) { in hdspechan_setblocksize() 531 if (latency_map[i].period == blocksize) { in hdspechan_setblocksize() 540 threshold = hl->period + ((latency_map[i + 1].period != 0) ? in hdspechan_setblocksize() 541 ((latency_map[i + 1].period - hl->period) >> 1) : 0); in hdspechan_setblocksize() 551 sc->period = hl->period; in hdspechan_setblocksize() [all …]
|
H A D | hdspe.c | 244 long long period; in hdspe_init() local 250 sc->period = 32; in hdspe_init() 262 period = HDSPE_FREQ_AIO; in hdspe_init() 269 period /= sc->speed; in hdspe_init() 270 hdspe_write_4(sc, HDSPE_FREQ_REG, period); in hdspe_init()
|
/dragonfly/sys/dev/disk/advansys/ |
H A D | advlib.c | 702 if (tinfo->current.period != tinfo->goal.period) { in adv_execute_scsi_queue() 977 if (tinfo->current.period != tinfo->goal.period) { in adv_isr_chip_halted() 1071 *period = *offset = 0; in adv_sdtr_to_period_offset() 1122 tinfo->current.period = period; in adv_set_syncrate() 1152 tinfo->goal.period = period; in adv_set_syncrate() 1157 tinfo->user.period = period; in adv_set_syncrate() 1175 if (period == NULL) { in adv_period_offset_to_sdtr() 1177 period = &dummy_period; in adv_period_offset_to_sdtr() 1203 *period = 0; in adv_period_offset_to_sdtr() 1806 if ((tinfo->current.period != tinfo->goal.period) in adv_put_ready_queue() [all …]
|
H A D | adwlib.c | 801 adw_find_sdtr(struct adw_softc *adw, u_int period) in adw_find_sdtr() argument 810 if (period == 0) in adw_find_sdtr() 814 if (period <= adw_syncrates[i].period) in adw_find_sdtr() 829 return (adw_syncrates[i].period); in adw_find_period()
|
/dragonfly/etc/defaults/ |
H A D | periodic.conf | 337 periodvar=${var%enable}period 366 case "$period" in 372 case "$period" in 378 case "$period" in 385 case "$period" in
|
/dragonfly/sys/dev/disk/amd/ |
H A D | amd.c | 796 tinfo->current.period = period; in amdsetsync() 823 spi->sync_period = period; in amdsetsync() 833 tinfo->goal.period = period; in amdsetsync() 838 tinfo->user.period = period; in amdsetsync() 945 if (targ_info->current.period != targ_info->goal.period in amdstart() 1257 u_int period; in amdparsemsg() local 1288 period = amd->msgin_buf[3]; in amdparsemsg() 1295 period = 0; in amdparsemsg() 1381 *period = *table_entry; in amdfindclockrate() 1389 *period = 0; in amdfindclockrate() [all …]
|
/dragonfly/contrib/dialog/ |
H A D | timebox.c | 49 int period; member 93 int period, int value, in init_object() argument 103 data->period = period; in init_object() 104 data->value = value % period; in init_object() 381 obj->value += obj->period; in dialog_timebox() 382 obj->value %= obj->period; in dialog_timebox() 392 if (value < obj->period) { in dialog_timebox()
|
/dragonfly/stand/boot/pc32/libi386/ |
H A D | time.c | 102 delay(int period) in delay() argument 107 v86.ecx = period >> 16; in delay() 108 v86.edx = period & 0xffff; in delay()
|
/dragonfly/contrib/gcc-8.0/libstdc++-v3/src/c++11/ |
H A D | compatibility-chrono.cc | 55 typedef duration::period period; typedef
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | sumo_smc.c | 147 u32 period, unit, timer_value; in sumo_enable_boost_timer() local 153 period = 100 * (xclk / 100 / sumo_power_of_4(unit)); in sumo_enable_boost_timer() 155 timer_value = (period << 16) | (unit << 4); in sumo_enable_boost_timer()
|
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/std/ |
H A D | chrono | 175 typedef typename _ToDur::period __to_period; 224 typedef _Period period; 228 "period must be a specialization of ratio"); 229 static_assert(_Period::num > 0, "period must be positive"); 245 || (ratio_divide<_Period2, period>::type::den == 1 528 typedef typename duration::period period; 679 typedef duration::period period; 714 typedef duration::period period;
|
/dragonfly/usr.sbin/ppp/ |
H A D | throughput.c | 48 throughput_init(struct pppThroughput *t, int period) in throughput_init() argument 51 t->SamplePeriod = period; in throughput_init() 53 calloc(period, sizeof *t->in.SampleOctets); in throughput_init() 56 calloc(period, sizeof *t->out.SampleOctets); in throughput_init()
|
/dragonfly/sys/dev/disk/sym/ |
H A D | sym_hipd.c | 1061 u8 period; member 2503 u32 period; in sym_prepare_setting() local 2570 np->maxsync = period > 2540 ? 254 : period / 10; in sym_prepare_setting() 2861 else if (tp->tinfo.current.period != tp->tinfo.goal.period || in sym_prepare_nego() 3536 tp->tinfo.goal.period = tp->tinfo.current.period = per; in sym_setsync() 3558 tp->tinfo.goal.period = tp->tinfo.current.period = per; in sym_setpprot() 7600 tp->tinfo.current.period != tp->tinfo.goal.period || 8237 tp->tinfo.current.period = tp->tinfo.goal.period = 0; 8280 if (tip->period < SYM_SETUP_MIN_SYNC) tip->period = SYM_SETUP_MIN_SYNC; 8309 tip->period = np->minsync; [all …]
|
/dragonfly/sys/net/altq/ |
H A D | altq_hfsc.h | 95 u_int period; member 216 u_int period; member
|
/dragonfly/sys/dev/disk/ncr/ |
H A D | ncr.c | 519 u_int8_t period; member 1282 u_char period); 3359 u_long period; local 3515 np->maxsync = period > 2540 ? 254 : period / 10; 3651 tp->tinfo.user.period = usrsync; 3930 != tp->tinfo.goal.period) 4475 tp->tinfo.goal.period = 0; 4802 tp->tinfo.current.period = 0; 4948 tp->tinfo.goal.period = period; 4950 tp->tinfo.current.period = period; [all …]
|
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/std/ |
H A D | chrono | 195 typedef typename _ToDur::period __to_period; 316 typedef _Period period; 320 "period must be a specialization of ratio"); 321 static_assert(_Period::num > 0, "period must be positive"); 621 typedef typename duration::period period; 822 typedef duration::period period; 861 typedef duration::period period; 874 * This is the clock "with the shortest tick period." Alias to
|
/dragonfly/usr.sbin/edquota/ |
H A D | edquota.c | 729 cvtatos(time_t period, char *units, time_t *seconds) in cvtatos() argument 733 *seconds = period; in cvtatos() 735 *seconds = period * 60; in cvtatos() 737 *seconds = period * 60 * 60; in cvtatos() 739 *seconds = period * 24 * 60 * 60; in cvtatos()
|
/dragonfly/usr.sbin/lpr/common_source/ |
H A D | matchjobs.c | 210 char *atsign, *colon, *lhside, *numstr, *period, *rhside; in parse_jobspec() local 273 period = strchr(lhside, '.'); in parse_jobspec() 274 if ((atsign == NULL) && (period != NULL)) in parse_jobspec()
|