Searched refs:period (Results 1 - 25 of 142) sorted by relevance

123456

/freebsd-9.3-release/lib/libpam/libpam/
H A Dpam_debug_log.c48 char *fmtbuf, *modname, *period; local
52 period = strchr(modname, '.');
53 if (period == NULL)
54 period = strchr(modname, '\0');
56 asprintf(&fmtbuf, "%.*s: %s: %s\n", (int)(period - modname),
/freebsd-9.3-release/sys/boot/pc98/libpc98/
H A Dtime.c84 * Use the BIOS Wait function to pause for (period) microseconds.
90 delay(int period) argument
94 period = (period + 500) / 1000;
95 for( ; period != 0 ; period--)
/freebsd-9.3-release/usr.bin/indent/
H A Dindent_codes.h70 #define period 32 macro
/freebsd-9.3-release/sys/kern/
H A Dkern_et.c159 * period - period of subsequent periodic ticks.
163 struct bintime *first, struct bintime *period)
168 if (first == NULL && period == NULL)
171 period != NULL)
174 period == NULL)
186 if (period != NULL) {
187 if (period->sec < et->et_min_period.sec ||
188 (period->sec == et->et_min_period.sec &&
189 period
162 et_start(struct eventtimer *et, struct bintime *first, struct bintime *period) argument
[all...]
/freebsd-9.3-release/sys/boot/i386/libi386/
H A Dtime.c93 * Use the BIOS Wait function to pause for (period) microseconds.
99 delay(int period) argument
104 v86.ecx = period >> 16;
105 v86.edx = period & 0xffff;
/freebsd-9.3-release/tools/regression/netinet/ip_id_period/
H A Dip_id_period.py55 period = count - id_lastseen[id] variable
56 if id not in id_minperiod or period < id_minperiod[id]:
57 id_minperiod[id] = period
68 print("id: %d period: %d" % (id_tuple[1], id_tuple[0]))
75 print("id: %d period: %d" % (id_tuple[1], id_tuple[0]))
/freebsd-9.3-release/sys/powerpc/aim/
H A Dclock.c88 struct bintime *first, struct bintime *period);
215 struct bintime *first, struct bintime *period)
220 if (period != NULL) {
222 s->div = (decr_et.et_frequency * (period->frac >> 32)) >> 32;
223 if (period->sec != 0)
224 s->div += decr_et.et_frequency * period->sec;
214 decr_et_start(struct eventtimer *et, struct bintime *first, struct bintime *period) argument
/freebsd-9.3-release/sys/sys/
H A Dtimeet.h48 struct bintime *first, struct bintime *period);
97 struct bintime *first, struct bintime *period);
/freebsd-9.3-release/sys/ia64/ia64/
H A Dclock.c109 struct bintime *period)
114 if (period != NULL) {
116 load = (et->et_frequency * (period->frac >> 32)) >> 32;
117 if (period->sec > 0)
118 load += et->et_frequency * period->sec;
108 ia64_clock_start(struct eventtimer *et, struct bintime *first, struct bintime *period) argument
/freebsd-9.3-release/contrib/ntp/adjtimed/
H A Dadjtimed.c280 struct itimerval period, remains; local
293 * Apply a slew rate of slew_rate over a period of dt/slew_rate seconds.
301 period.it_value.tv_sec = dt / slew_rate;
302 period.it_value.tv_usec = (dt % slew_rate) * (MILLION / slew_rate);
304 * Note: we assume the kernel will convert the specified period into ticks
312 period.it_value.tv_sec, period.it_value.tv_usec);
315 period.it_value.tv_sec, period.it_value.tv_usec);
327 * (do this after changing the rate because the period ha
[all...]
/freebsd-9.3-release/sys/dev/sound/pci/
H A Dhdspe-pcm.c45 uint32_t period; member in struct:hdspe_latency
268 for (i = 0; i < sc->period * 2 /* fragments */; i++) {
445 long long period; local
476 period = HDSPE_FREQ_AIO;
495 period /= speed;
496 hdspe_write_4(sc, HDSPE_FREQ_REG, period);
528 for (i = 0; latency_map[i].period != 0; i++) {
529 if (latency_map[i].period == blocksize) {
536 for (i = 0; latency_map[i].period != 0; i++) {
538 threshold = hl->period
[all...]
/freebsd-9.3-release/usr.bin/calendar/
H A Dpom.c184 double period = FSECSPERDAY / 2.0; local
191 p1 = onday + (period / SECSPERDAY);
192 period /= 2;
194 while (period > 30) { /* half a minute */
195 // printf("period:%g - p1:%g - ", period, p1);
202 p1 += (period / SECSPERDAY);
204 p1 -= (period / SECSPERDAY);
205 period /= 2;
206 // printf("newdir:%d - p1:%10.10f - period
[all...]
/freebsd-9.3-release/release/picobsd/tinyware/passwd/
H A Dlocal_passwd.c126 time_t period; local
132 period = login_getcaptime(lc, "passwordtime", 0, 0);
133 if (period > (time_t)0) {
134 pw->pw_change = time(NULL) + period;
/freebsd-9.3-release/sys/x86/isa/
H A Dclock.c123 uint32_t period; member in struct:attimer_softc
138 static void set_i8254_freq(int mode, uint32_t period);
145 if (i8254_timecounter && sc->period != 0) {
405 set_i8254_freq(int mode, uint32_t period) argument
417 new_count = min(((uint64_t)i8254_freq * period +
451 set_i8254_freq(attimer_sc->mode, attimer_sc->period);
519 set_i8254_freq(attimer_sc->mode, attimer_sc->period);
541 if (sc->period == 0)
573 struct bintime *first, struct bintime *period)
578 if (period !
572 attimer_start(struct eventtimer *et, struct bintime *first, struct bintime *period) argument
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dadjtime.c256 * 1 second period until the desired delta is achieved.
273 * execution period (1s). If slightly less than 1s (0.95-0.99), then olddelta
274 * residual error (introduced by execution period jitter) will be reduced.
299 struct _clockperiod period; local
315 * Get the current clock period (nanoseconds)
317 if (ClockPeriod (CLOCK_REALTIME, 0, &period, 0) < 0)
323 count = 1e9 * ADJUST_PERIOD / period.nsec;
335 increment_limit = CORR_SLEW_LIMIT * period.nsec;
/freebsd-9.3-release/contrib/dialog/
H A Dtimebox.c53 int period; member in struct:_box
97 int period, int value,
107 data->period = period;
108 data->value = value % period;
369 obj->value += obj->period;
370 obj->value %= obj->period;
380 if (value < obj->period) {
93 init_object(BOX * data, WINDOW *parent, int x, int y, int width, int height, int period, int value, int code) argument
/freebsd-9.3-release/sys/powerpc/booke/
H A Dclock.c91 struct bintime *first, struct bintime *period);
213 struct bintime *first, struct bintime *period)
218 if (period != NULL) {
220 s->div = (decr_et.et_frequency * (period->frac >> 32)) >> 32;
221 if (period->sec != 0)
222 s->div += decr_et.et_frequency * period->sec;
212 decr_et_start(struct eventtimer *et, struct bintime *first, struct bintime *period) argument
/freebsd-9.3-release/sys/arm/mv/
H A Dtimer.c90 struct bintime *first, struct bintime *period);
371 struct bintime *first, struct bintime *period)
378 if (period != NULL) {
379 val = (sc->et.et_frequency * (period->frac >> 32)) >> 32;
380 if (period->sec != 0)
381 val += sc->et.et_frequency * period->sec;
396 if (period != NULL)
370 mv_timer_start(struct eventtimer *et, struct bintime *first, struct bintime *period) argument
/freebsd-9.3-release/sys/dev/advansys/
H A Dadvlib.c354 tinfo->current.period,
374 /*period*/0,
710 tid_no, /*period*/0, /*offset*/0,
712 if (tinfo->current.period != tinfo->goal.period) {
713 adv_msgout_sdtr(adv, tinfo->goal.period,
965 tid_no, /*period*/0, /*offset*/0,
970 tid_no, /*period*/0, /*offset*/0,
988 tid_no, /*period*/0, /*offset*/0,
990 if (tinfo->current.period !
1079 adv_sdtr_to_period_offset(struct adv_softc *adv, u_int8_t sync_data, u_int8_t *period, u_int8_t *offset, int tid) argument
1093 adv_set_syncrate(struct adv_softc *adv, struct cam_path *path, u_int tid, u_int period, u_int offset, u_int type) argument
1174 adv_period_offset_to_sdtr(struct adv_softc *adv, u_int *period, u_int *offset, int tid) argument
1919 u_int period; local
[all...]
/freebsd-9.3-release/usr.sbin/mfiutil/
H A Dmfi_bbu.c41 /* The autolearn period is given in seconds. */
43 mfi_autolearn_period(uint32_t period, char *buf, size_t sz) argument
48 d = period / (24 * 3600);
49 h = (period % (24 * 3600)) / 3600;
/freebsd-9.3-release/sys/sparc64/sparc64/
H A Dtick.c97 struct bintime *period);
359 struct bintime *period)
364 if (period != NULL) {
365 div = (tick_et.et_frequency * (period->frac >> 32)) >> 32;
366 if (period->sec != 0)
367 div += tick_et.et_frequency * period->sec;
358 tick_et_start(struct eventtimer *et, struct bintime *first, struct bintime *period) argument
/freebsd-9.3-release/sys/i386/xen/
H A Dclock.c312 int64_t period; member in struct:xen_et_state
335 state->next += state->period;
772 struct bintime *first, struct bintime *period)
780 if (period != NULL) {
782 state->period = (1000000000LL *
783 (uint32_t)(period->frac >> 32)) >> 32;
784 if (period->sec != 0)
785 state->period += 1000000000LL * period->sec;
788 state->period
771 xen_et_start(struct eventtimer *et, struct bintime *first, struct bintime *period) argument
[all...]
/freebsd-9.3-release/sys/i386/ibcs2/
H A Dibcs2_xenix.c137 long period; local
140 period = (long)uap->millisec / (1000/hz);
141 if (period)
142 pause("nap", period);
/freebsd-9.3-release/sys/xen/interface/io/
H A Dfbif.h86 * Framebuffer refresh period advice
87 * Backend sends it to advise the frontend their preferred period of
100 uint32_t period; /* period of refresh, in ms, member in struct:xenfb_refresh_period
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseInit.cpp32 case tok::period: // designator: '.' identifier
183 while (Tok.is(tok::period) || Tok.is(tok::l_square)) {
184 if (Tok.is(tok::period)) {
234 NextToken().isNot(tok::period) &&
276 NextToken().is(tok::period),

Completed in 151 milliseconds

123456