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

1 2 3 4 5 6 7 8 910

  /src/lib/libc/string/
memccpy.c 52 unsigned char *tp = t; local in function:memccpy
56 if ((*tp++ = *fp++) == uc)
57 return (tp);
  /src/bin/dd/
dd_swab.c 58 char *tp; local in function:dd_swab
65 tp = (char *)to;
66 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp
  /src/lib/libc/stdio/
fflush.c 95 ptrdiff_t tp = fp->_p - p; local in function:__sflush
96 _DIAGASSERT(__type_fit(ssize_t, tp));
97 n = (ssize_t)tp; /* write this much */
  /src/usr.bin/w/
pr_time.c 60 struct tm *tp; local in function:pr_attime
64 tp = localtime(started);
69 (void)strftime(buf, sizeof(buf), "%d%b%y", tp);
70 } else if (tp->tm_yday != tnow_yday) {
72 (void)strftime(buf, sizeof(buf), "%a%I%p", tp);
75 (void)strftime(buf, sizeof(buf), "%l:%M%p", tp);
  /src/libexec/talkd/
print.c 76 const char *tp; local in function:print_request
80 tp = tbuf;
82 tp = types[mp->type];
85 cp, tp, mp->id_num, mp->l_name, mp->r_name, mp->r_tty);
92 const char *tp, *ap; local in function:print_response
96 tp = tbuf;
98 tp = types[rp->type];
105 cp, tp, ap, ntohl(rp->id_num));
table.c 65 struct timeval tp; variable in typeref:struct:timeval
90 gettimeofday(&tp, NULL);
91 current_time = tp.tv_sec;
123 gettimeofday(&tp, NULL);
124 current_time = tp.tv_sec;
160 gettimeofday(&tp, NULL);
161 current_time = tp.tv_sec;
  /src/sys/arch/hppa/spmath/
divu.S 58 tp: .reg %r6 /* temp. reg. */ label
67 stws,ma tp,4(%sp) ; save registers on stack
74 addi -1,gr0,tp ; set V-bit to 1
75 ds 0,tp,0
153 ldws,mb -4(%sp),tp ; restore registers
159 hibit: ldo 32(0),tp ; initialize loop counter
168 addib,> -1,tp,loop ; inc. counter; finished?
  /src/usr.bin/chpass/
util.c 60 struct tm *tp = localtime(&tval); local in function:ttoa
62 (void) strftime(buf, len, "%B %d, %Y", tp);
  /src/games/mille/
save.c 64 time_t *tp; local in function:save
71 tp = &tme;
121 time(tp); /* get current time */
128 if ((p = ctime(tp)) == NULL)
  /src/lib/libc/inet/
inet_ntop.c 134 char *tp, *ep; local in function:inet_ntop6
179 tp = tmp;
186 *tp++ = ':';
191 if (tp + 1 >= ep)
193 *tp++ = ':';
200 if (!inet_ntop4(src + 12, tp, (socklen_t)(ep - tp)))
202 tp += strlen(tp);
205 advance = snprintf(tp, (size_t)(ep - tp), "%x", words[i])
    [all...]
inet_cidr_ntop.c 176 char *tp; local in function:inet_cidr_ntop_ipv6
222 tp = tmp;
228 *tp++ = ':';
233 *tp++ = ':';
246 n = decoct(src+12, n, tp, sizeof tmp - (tp - tmp));
251 tp += strlen(tp);
254 tp += SPRINTF((tp, "%x", words[i]))
    [all...]
  /src/sys/arch/ia64/disasm/
disasm_decode.c 2524 const char *tp; local in function:asm_decode
2535 tp = b->b_templ;
2538 while (ok && *tp != 0) {
2539 switch (*tp++) {
  /src/sys/compat/common/
clockctl_50.c 102 struct timespec tp; local in function:compat50_clockctlioctl
105 error = copyin(args->tp, &tp50, sizeof(tp50));
108 timespec50_to_timespec(&tp50, &tp);
109 error = clock_settime1(l->l_proc, args->clock_id, &tp, true);
  /src/sys/compat/sys/
clockctl.h 58 const struct timespec50 *tp; member in struct:clockctl50_clock_settime
64 struct timex *tp; member in struct:clockctl50_ntp_adjtime
  /src/sys/external/isc/libsodium/dist/test/default/
cmptest.h 47 struct timeval tp; local in function:now
50 if (gettimeofday(&tp, NULL) != 0) {
53 now = ((unsigned long long) tp.tv_sec * 1000000ULL) +
54 (unsigned long long) tp.tv_usec;
  /src/sys/sys/
clockctl.h 58 const struct timespec *tp; member in struct:clockctl_clock_settime
64 struct timex *tp; member in struct:clockctl_ntp_adjtime
  /src/usr.bin/man/
manconf.c 102 TAG *tp; local in function:config
135 tp = gettag(p, 1);
136 if (!tp)
172 if (addentry(tp, t, 0) == -1)
178 if (addentry(tp, p, 0) == -1)
190 type = (char)((TAILQ_FIRST(&tp->entrylist) != NULL) ?
191 *(TAILQ_FIRST(&tp->entrylist)->s) : '\0');
202 tp->s, p);
206 if (addentry(tp, p, 0) == -1)
226 TAG *tp; local in function:gettag
    [all...]
  /src/sys/dev/sun/
sunkbd.c 134 struct tty *tp = args->kmta_tp; local in function:sunkbd_attach
142 ttyldisc_release(tp->t_linesw);
143 tp->t_linesw = ttyldisc_lookup(sunkbd_disc.l_name);
144 KASSERT(tp->t_linesw == &sunkbd_disc);
145 tp->t_oflag &= ~OPOST;
146 tp->t_dev = args->kmta_dev;
147 SET(tp->t_state, TS_KERN_ONLY);
150 k->k_priv = tp;
151 tp->t_sc = k;
215 struct tty *tp = k->k_priv local in function:sunkbdiopen
302 struct tty *tp = k->k_priv; local in function:sunkbd_write_data
    [all...]
sunms.c 144 struct tty *tp = args->kmta_tp; local in function:sunms_attach
150 tp->t_sc = ms;
151 tp->t_dev = args->kmta_dev;
152 ms->ms_priv = tp;
161 ttyldisc_release(tp->t_linesw);
162 tp->t_linesw = ttyldisc_lookup(sunms_disc.l_name);
163 KASSERT(tp->t_linesw == &sunms_disc);
164 tp->t_oflag &= ~OPOST;
165 SET(tp->t_state, TS_KERN_ONLY);
190 struct tty *tp = ms->ms_priv local in function:sunmsiopen
    [all...]
  /src/games/monop/
prop.c 66 OWN *tp, *last_tp; local in function:add_list
75 for (tp = *head; tp && value(tp->sqr) < val; tp = tp->next)
76 if (val == value(tp->sqr)) {
81 last_tp = tp;
82 op->next = tp;
  /src/sys/dev/hpc/
biconsdev.c 117 struct tty *tp = &biconsdev_tty[0]; local in function:biconsdevattach
124 clalloc(&tp->t_rawq, 1024, 1);
125 clalloc(&tp->t_canq, 1024, 1);
127 clalloc(&tp->t_outq, 1024, 0);
129 tp->t_linesw = ttyldisc_default();
132 tp->t_dev = makedev(maj, 0);
133 tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED;
134 tp->t_param = (int (*)(struct tty *, struct termios *))nullop;
135 tp->t_winsize.ws_row = bicons_height
173 struct tty *tp = &biconsdev_tty[0]; local in function:biconsdevopen
201 struct tty *tp = &biconsdev_tty[0]; local in function:biconsdevclose
213 struct tty *tp = &biconsdev_tty[0]; local in function:biconsdevread
222 struct tty *tp = &biconsdev_tty[0]; local in function:biconsdevwrite
231 struct tty *tp = &biconsdev_tty[0]; local in function:biconsdevpoll
240 struct tty *tp = &biconsdev_tty[0]; local in function:biconsdevtty
248 struct tty *tp = &biconsdev_tty[0]; local in function:biconsdevioctl
    [all...]
  /src/sys/miscfs/procfs/
procfs_status.c 95 struct tty *tp; local in function:procfs_status_netbsd
147 if ((p->p_lflag & PL_CONTROLT) && (tp = sess->s_ttyp))
149 (unsigned long long)major(tp->t_dev),
150 (unsigned long long)minor(tp->t_dev));
  /src/tests/lib/semaphore/
sem.c 217 struct timespec tp; local in function:ATF_TC_BODY
221 clock_gettime(CLOCK_REALTIME, &tp);
222 tp.tv_nsec += 50000000;
223 tp.tv_sec += tp.tv_nsec / 1000000000;
224 tp.tv_nsec %= 1000000000;
227 ATF_REQUIRE_ERRNO(ETIMEDOUT, sem_timedwait(&semid, &tp) == -1);
  /src/usr.bin/tip/
value.c 76 char *tp; local in function:vinit
81 if ((tp = strrchr(file, '\n')) != NULL)
82 *tp = '\0';
  /src/usr.sbin/sysinst/
wskbd.c 135 const char *tp = target_prefix(); local in function:save_kb_encoding
152 kbd_name, kbd_name, kbd_name, tp, tp);

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 910