HomeSort by: relevance | last modified time | path
    Searched defs:tim (Results 1 - 25 of 42) sorted by relevancy

1 2

  /src/lib/libc/compat/sys/
compat_select.c 68 struct timespec tim, *timp; variable in typeref:struct:timespec
71 timespec50_to_timespec(tim50, timp = &tim);
81 struct timeval tim, *timp; local in function:select
84 timeval50_to_timeval(tim50, timp = &tim);
95 struct timespec tim, *timp; local in function:pselect
98 timespec50_to_timespec(tim50, timp = &tim);
compat_select.c 68 struct timespec tim, *timp; variable in typeref:struct:timespec
71 timespec50_to_timespec(tim50, timp = &tim);
81 struct timeval tim, *timp; local in function:select
84 timeval50_to_timeval(tim50, timp = &tim);
95 struct timespec tim, *timp; local in function:pselect
98 timespec50_to_timespec(tim50, timp = &tim);
compat_clock.c 63 struct timespec tim, *timp; variable in typeref:struct:timespec
67 timespec50_to_timespec(tim50, timp = &tim);
79 struct timespec tim, *timp = tim50 ? &tim : NULL; local in function:clock_gettime
91 struct timespec tim, *timp = tim50 ? &tim : NULL; local in function:clock_getres
compat_itimer.c 55 struct itimerval tim, *timp; variable in typeref:struct:itimerval
61 itimerval50_to_itimerval(tim50, timp = &tim);
75 struct itimerval tim, *timp = tim50 ? &tim : NULL; local in function:getitimer
compat_timer.c 56 struct itimerspec tim, *timp; variable in typeref:struct:itimerspec
62 itimerspec50_to_itimerspec(tim50, timp = &tim);
76 struct itimerspec tim, *timp = tim50 ? &tim : NULL; local in function:timer_gettime
compat_clock.c 63 struct timespec tim, *timp; variable in typeref:struct:timespec
67 timespec50_to_timespec(tim50, timp = &tim);
79 struct timespec tim, *timp = tim50 ? &tim : NULL; local in function:clock_gettime
91 struct timespec tim, *timp = tim50 ? &tim : NULL; local in function:clock_getres
compat_itimer.c 55 struct itimerval tim, *timp; variable in typeref:struct:itimerval
61 itimerval50_to_itimerval(tim50, timp = &tim);
75 struct itimerval tim, *timp = tim50 ? &tim : NULL; local in function:getitimer
compat_timer.c 56 struct itimerspec tim, *timp; variable in typeref:struct:itimerspec
62 itimerspec50_to_itimerspec(tim50, timp = &tim);
76 struct itimerspec tim, *timp = tim50 ? &tim : NULL; local in function:timer_gettime
  /src/lib/libresolv/
ns_date.c 55 struct tm tim; local in function:ns_datetosecs
67 memset(&tim, 0, sizeof tim);
68 tim.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900;
69 tim.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1;
70 tim.tm_mday = datepart(cp + 6, 2, 01, 31, errp);
71 tim.tm_hour = datepart(cp + 8, 2, 00, 23, errp);
72 tim.tm_min = datepart(cp + 10, 2, 00, 59, errp);
73 tim.tm_sec = datepart(cp + 12, 2, 00, 59, errp);
85 result = tim.tm_sec; /*%< Seconds *
    [all...]
ns_date.c 55 struct tm tim; local in function:ns_datetosecs
67 memset(&tim, 0, sizeof tim);
68 tim.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900;
69 tim.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1;
70 tim.tm_mday = datepart(cp + 6, 2, 01, 31, errp);
71 tim.tm_hour = datepart(cp + 8, 2, 00, 23, errp);
72 tim.tm_min = datepart(cp + 10, 2, 00, 59, errp);
73 tim.tm_sec = datepart(cp + 12, 2, 00, 59, errp);
85 result = tim.tm_sec; /*%< Seconds *
    [all...]
  /src/sys/dev/pci/
iteide.c 172 pcireg_t tim; local in function:ite_setup_channel
176 tim = pci_conf_read(sc->sc_pc, sc->sc_tag, IT_TIM(channel));
177 ATADEBUG_PRINT(("%s:%d: tim=0x%x\n",
179 channel, tim), DEBUG_PROBE);
214 tim |= IT_TIM_UDMA5(drive);
216 tim &= ~IT_TIM_UDMA5(drive);
251 ATADEBUG_PRINT(("%s: tim=0x%x\n",
252 device_xname(sc->sc_wdcdev.sc_atac.atac_dev), tim), DEBUG_PROBE);
256 pci_conf_write(sc->sc_pc, sc->sc_tag, IT_TIM(channel), tim);
schide.c 173 u_int32_t tim, timaddr, idedma_ctl; local in function:sch_setup_channel
192 tim = pci_conf_read(sc->sc_pc, sc->sc_tag, timaddr);
193 tim &= ~SCH_TIM_MASK;
203 tim |= (drvp->UDMA_mode << 16) | SCH_TIM_SYNCDMA;
209 tim &= ~SCH_TIM_SYNCDMA;
215 tim |= (drvp->DMA_mode << 8) | (drvp->PIO_mode);
216 pci_conf_write(sc->sc_pc, sc->sc_tag, timaddr, tim);
iteide.c 172 pcireg_t tim; local in function:ite_setup_channel
176 tim = pci_conf_read(sc->sc_pc, sc->sc_tag, IT_TIM(channel));
177 ATADEBUG_PRINT(("%s:%d: tim=0x%x\n",
179 channel, tim), DEBUG_PROBE);
214 tim |= IT_TIM_UDMA5(drive);
216 tim &= ~IT_TIM_UDMA5(drive);
251 ATADEBUG_PRINT(("%s: tim=0x%x\n",
252 device_xname(sc->sc_wdcdev.sc_atac.atac_dev), tim), DEBUG_PROBE);
256 pci_conf_write(sc->sc_pc, sc->sc_tag, IT_TIM(channel), tim);
schide.c 173 u_int32_t tim, timaddr, idedma_ctl; local in function:sch_setup_channel
192 tim = pci_conf_read(sc->sc_pc, sc->sc_tag, timaddr);
193 tim &= ~SCH_TIM_MASK;
203 tim |= (drvp->UDMA_mode << 16) | SCH_TIM_SYNCDMA;
209 tim &= ~SCH_TIM_SYNCDMA;
215 tim |= (drvp->DMA_mode << 8) | (drvp->PIO_mode);
216 pci_conf_write(sc->sc_pc, sc->sc_tag, timaddr, tim);
nside.c 163 uint8_t tim; local in function:natsemi_setup_channel
176 tim = natsemi_pio_pulse[drvp->PIO_mode] |
189 tim = natsemi_dma_pulse[drvp->DMA_mode] |
195 NATSEMI_RTREG(chp->ch_channel, drive), tim);
197 NATSEMI_WTREG(chp->ch_channel, drive), tim);
nside.c 163 uint8_t tim; local in function:natsemi_setup_channel
176 tim = natsemi_pio_pulse[drvp->PIO_mode] |
189 tim = natsemi_dma_pulse[drvp->DMA_mode] |
195 NATSEMI_RTREG(chp->ch_channel, drive), tim);
197 NATSEMI_WTREG(chp->ch_channel, drive), tim);
  /src/usr.sbin/rdate/
rdate.c 77 time_t tim; local in function:main
150 tim = ntohl(data) - DIFFERENCE;
156 tv.tv_sec = tim;
165 adjustment = tv.tv_sec = tim - tv_current.tv_sec;
173 (void) fputs(ctime(&tim), stdout);
rdate.c 77 time_t tim; local in function:main
150 tim = ntohl(data) - DIFFERENCE;
156 tv.tv_sec = tim;
165 adjustment = tv.tv_sec = tim - tv_current.tv_sec;
173 (void) fputs(ctime(&tim), stdout);
  /src/usr.sbin/rpc.lockd/
test.c 335 struct timeval tim; local in function:main
347 clnt_control(cli, CLGET_TIMEOUT, (void *)&tim);
349 (long long)tim.tv_sec, tim.tv_usec);
350 tim.tv_usec = -1;
351 tim.tv_sec = -1;
352 clnt_control(cli, CLSET_TIMEOUT, (void *)&tim);
353 clnt_control(cli, CLGET_TIMEOUT, (void *)&tim);
354 printf("timeout now %lld.%u\n", (long long)tim.tv_sec, tim.tv_usec)
    [all...]
test.c 335 struct timeval tim; local in function:main
347 clnt_control(cli, CLGET_TIMEOUT, (void *)&tim);
349 (long long)tim.tv_sec, tim.tv_usec);
350 tim.tv_usec = -1;
351 tim.tv_sec = -1;
352 clnt_control(cli, CLSET_TIMEOUT, (void *)&tim);
353 clnt_control(cli, CLGET_TIMEOUT, (void *)&tim);
354 printf("timeout now %lld.%u\n", (long long)tim.tv_sec, tim.tv_usec)
    [all...]
  /src/usr.bin/timeout/
timeout.c 172 struct itimerval tim; local in function:set_interval
174 memset(&tim, 0, sizeof(tim));
175 tim.it_value.tv_sec = (time_t)iv;
176 iv -= (double)tim.it_value.tv_sec;
177 tim.it_value.tv_usec = (suseconds_t)(iv * 1000000UL);
179 if (setitimer(ITIMER_REAL, &tim, NULL) == -1)
timeout.c 172 struct itimerval tim; local in function:set_interval
174 memset(&tim, 0, sizeof(tim));
175 tim.it_value.tv_sec = (time_t)iv;
176 iv -= (double)tim.it_value.tv_sec;
177 tim.it_value.tv_usec = (suseconds_t)(iv * 1000000UL);
179 if (setitimer(ITIMER_REAL, &tim, NULL) == -1)
  /src/tests/lib/libc/sys/
t_timer_create.c 66 struct itimerspec tim, rtim, otim; local in function:timer_signal_create
77 (void)memset(&tim, 0, sizeof(struct itimerspec));
112 tim.it_value.tv_sec = -1;
115 tim.it_value.tv_sec = 1;
118 tim.it_value.tv_sec = 5;
121 tim.it_value.tv_nsec = 0;
127 rtim = tim;
130 timespecadd(&t0, &tim.it_value, &tim.it_value);
135 (long long)tim.it_value.tv_sec, (int)tim.it_value.tv_nsec)
    [all...]
t_timer_create.c 66 struct itimerspec tim, rtim, otim; local in function:timer_signal_create
77 (void)memset(&tim, 0, sizeof(struct itimerspec));
112 tim.it_value.tv_sec = -1;
115 tim.it_value.tv_sec = 1;
118 tim.it_value.tv_sec = 5;
121 tim.it_value.tv_nsec = 0;
127 rtim = tim;
130 timespecadd(&t0, &tim.it_value, &tim.it_value);
135 (long long)tim.it_value.tv_sec, (int)tim.it_value.tv_nsec)
    [all...]
  /src/lib/libc/gmon/
gmon.c 530 struct itimerspec tim; local in function:hertz
534 tim.it_interval.tv_sec = 0;
535 tim.it_interval.tv_nsec = 1;
536 tim.it_value.tv_sec = 0;
537 tim.it_value.tv_nsec = 0;
542 if (timer_settime(t, 0, &tim, NULL) == -1)
545 if (timer_gettime(t, &tim) == -1)
548 if (tim.it_interval.tv_nsec < 2)
551 rv = (int)(1000000000LL / tim.it_interval.tv_nsec);

Completed in 30 milliseconds

1 2