/freebsd-9.3-release/usr.sbin/fifolog/lib/ |
H A D | getdate.y | 664 const TABLE *tp; 692 for (tp = MonthDayTable; tp->name; tp++) { 694 if (strncmp(buff, tp->name, 3) == 0) { 695 yylval.Number = tp->value; 696 return tp->type; 699 else if (strcmp(buff, tp->name) == 0) { 700 yylval.Number = tp->value; 701 return tp [all...] |
/freebsd-9.3-release/contrib/nvi/ex/ |
H A D | ex_tag.c | 272 TAG *tp; local 280 if ((tp = tqp->current->q.cqe_next) == (void *)&tqp->tagq) { 284 if (ex_tag_nswitch(sp, tp, FL_ISSET(cmdp->iflags, E_C_FORCE))) 286 tqp->current = tp; 289 (void)cscope_search(sp, tqp, tp); 291 (void)ctag_search(sp, tp->search, tp->slen, tqp->tag); 307 TAG *tp; local 315 if ((tp = tqp->current->q.cqe_prev) == (void *)&tqp->tagq) { 319 if (ex_tag_nswitch(sp, tp, FL_ISSE 542 TAG *tp; local 596 TAG *tp; local 676 TAG *ap, *tp; local 774 TAG *tp; local 824 TAG *tp; local 1068 TAG *tp; local 1195 TAG *tp; local [all...] |
/freebsd-9.3-release/contrib/amd/amd/ |
H A D | info_file.c | 57 int file_init_or_mtime(mnt_map *m, char *map, time_t *tp); 59 int file_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 193 file_open(char *map, time_t *tp) argument 197 if (mapf && tp) { 200 *tp = clocktime(NULL); 202 *tp = stb.st_mtime; 209 file_init_or_mtime(mnt_map *m, char *map, time_t *tp) argument 211 FILE *mapf = file_open(map, tp); 236 file_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 243 if (*tp < [all...] |
H A D | info_passwd.c | 59 int passwd_init(mnt_map *m, char *map, time_t *tp); 60 int passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 67 passwd_init(mnt_map *m, char *map, time_t *tp) argument 69 *tp = 0; 95 passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
|
H A D | info_union.c | 61 int union_init(mnt_map *m, char *map, time_t *tp); 62 int union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 70 union_init(mnt_map *m, char *map, time_t *tp) argument 72 *tp = 0; 78 union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
|
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | refclock_pcf.c | 137 struct tm tm, *tp; local 186 tp = gmtime_r(&t, &tm); 188 tp = gmtime(&t); 190 if (!tp) { 197 pp->year = tp->tm_year + 1900; 198 pp->day = tp->tm_yday + 1; 199 pp->hour = tp->tm_hour; 200 pp->minute = tp->tm_min; 201 pp->second = tp->tm_sec; 209 unit, pp->year, tp [all...] |
/freebsd-9.3-release/lib/libc/inet/ |
H A D | inet_net_pton.c | 268 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 278 memset((tp = tmp), '\0', NS_IN6ADDRSZ); 279 endp = tp + NS_IN6ADDRSZ; 309 colonp = tp; 313 if (tp + NS_INT16SZ > endp) 315 *tp++ = (u_char) (val >> 8) & 0xff; 316 *tp++ = (u_char) val & 0xff; 322 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 323 getv4(curtok, tp, &bits) > 0) { 324 tp [all...] |
H A D | inet_cidr_pton.c | 157 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 163 memset((tp = tmp), '\0', NS_IN6ADDRSZ); 164 endp = tp + NS_IN6ADDRSZ; 192 colonp = tp; 197 if (tp + NS_INT16SZ > endp) 199 *tp++ = (u_char) (val >> 8) & 0xff; 200 *tp++ = (u_char) val & 0xff; 205 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) && 206 inet_cidr_pton_ipv4(curtok, tp, &bits, 1) == 0) { 207 tp [all...] |
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_trans_inode.c | 82 xfs_trans_t *tp, 96 if (tp == NULL) 108 if ((ip = xfs_inode_incore(tp->t_mountp, ino, tp)) != NULL) { 137 error = xfs_iget(tp->t_mountp, tp, ino, flags, lock_flags, &ip, 0); 149 (void) xfs_trans_add_item(tp, (xfs_log_item_t *)(iip)); 169 ip->i_transp = tp; 183 xfs_trans_t *tp, 202 (void) xfs_trans_add_item(tp, (xfs_log_item_ 80 xfs_trans_iget( xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, uint flags, uint lock_flags, xfs_inode_t **ipp) argument 182 xfs_trans_ijoin( xfs_trans_t *tp, xfs_inode_t *ip, uint lock_flags) argument 231 xfs_trans_ihold( xfs_trans_t *tp, xfs_inode_t *ip) argument 253 xfs_trans_log_inode( xfs_trans_t *tp, xfs_inode_t *ip, uint flags) argument [all...] |
H A D | xfs_quota.h | 333 #define XFS_DQTRXOP(mp, tp, op, args...) \ 335 ((mp)->m_qm_ops.xfs_dqtrxops->op)(tp, ## args) : 0) 337 #define XFS_DQTRXOP_VOID(mp, tp, op, args...) \ 339 ((mp)->m_qm_ops.xfs_dqtrxops->op)(tp, ## args) : (void)0) 343 #define XFS_TRANS_FREE_DQINFO(mp, tp) \ 344 XFS_DQTRXOP_VOID(mp, tp, qo_free_dqinfo) 345 #define XFS_TRANS_MOD_DQUOT_BYINO(mp, tp, ip, field, delta) \ 346 XFS_DQTRXOP_VOID(mp, tp, qo_mod_dquot_byino, ip, field, delta) 347 #define XFS_TRANS_APPLY_DQUOT_DELTAS(mp, tp) \ 348 XFS_DQTRXOP_VOID(mp, tp, qo_apply_dquot_delta [all...] |
H A D | xfs_bmap.h | 111 struct xfs_trans *tp; /* transaction pointer */ member in struct:xfs_bmalloca 203 struct xfs_trans **tp, /* transaction pointer addr */ 215 struct xfs_trans *tp, /* transaction pointer */ 229 struct xfs_trans *tp, /* transaction pointer */ 241 struct xfs_trans *tp, /* transaction pointer */ 263 struct xfs_trans *tp, /* transaction pointer */ 282 struct xfs_trans *tp, /* transaction pointer */ 305 struct xfs_trans *tp, /* transaction pointer */ 319 struct xfs_trans *tp, /* transaction pointer */ 358 xfs_trans_t *tp, [all...] |
/freebsd-9.3-release/sys/dev/nmdm/ |
H A D | nmdm.c | 101 struct tty *tp; local 120 tp = ns->ns_part1.np_tty = tty_alloc_mutex(&nmdm_class, &ns->ns_part1, 122 tty_makedev(tp, NULL, "nmdm%luA", unit); 124 tp = ns->ns_part2.np_tty = tty_alloc_mutex(&nmdm_class, &ns->ns_part2, 126 tty_makedev(tp, NULL, "nmdm%luB", unit); 184 struct tty *tp, *otp; local 188 tp = np->np_tty; 189 tty_lock(tp); 193 KASSERT(otp != tp, ("NULL otp == tp nmdmstar 241 nmdm_param(struct tty *tp, struct termios *t) argument 299 nmdm_modem(struct tty *tp, int sigon, int sigoff) argument 324 nmdm_inwakeup(struct tty *tp) argument 333 nmdm_outwakeup(struct tty *tp) argument [all...] |
/freebsd-9.3-release/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 150 struct tcpcb *tp = intotcpcb(inp); /* don't use if INP_DROPPED */ local 157 tcpstates[tp->t_state], 181 req->rsvd0 = htobe32(tp->snd_nxt); 204 assign_rxopt(struct tcpcb *tp, unsigned int opt) argument 206 struct toepcb *toep = tp->t_toe; 209 INP_LOCK_ASSERT(tp->t_inpcb); 211 tp->t_maxseg = tp->t_maxopd = sc->params.mtus[G_TCPOPT_MSS(opt)] - 40; 214 tp->t_flags |= TF_RCVD_TSTMP; /* timestamps ok */ 215 tp 248 struct tcpcb *tp = intotcpcb(inp); local 329 t4_rcvd(struct toedev *tod, struct tcpcb *tp) argument 538 struct tcpcb *tp = intotcpcb(inp); local 737 t4_tod_output(struct toedev *tod, struct tcpcb *tp) argument 756 t4_send_fin(struct toedev *tod, struct tcpcb *tp) argument 777 t4_send_rst(struct toedev *tod, struct tcpcb *tp) argument 810 struct tcpcb *tp = NULL; local 925 struct tcpcb *tp = NULL; local 1003 abort_status_to_errno(struct tcpcb *tp, unsigned int abort_reason) argument 1031 struct tcpcb *tp; local 1135 struct tcpcb *tp; local 1326 struct tcpcb *tp; local [all...] |
/freebsd-9.3-release/usr.sbin/config/ |
H A D | mkmakefile.c | 311 struct file_list *tp; local 364 tp = fl_lookup(this); 398 if (compile && tp == NULL) 536 tp = new_fent(); 537 tp->f_fn = this; 538 tp->f_type = filetype; 540 tp->f_flags |= NO_IMPLCT_RULE; 542 tp->f_flags |= NO_OBJ; 544 tp->f_flags |= BEFORE_DEPEND; 546 tp 598 struct file_list *tp; local 623 struct file_list *tp; local 652 struct file_list *tp; local 786 struct file_list *tp; local [all...] |
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | evutil_time.c | 207 struct timeval *tp) 209 return evutil_gettime_monotonic_(timer, tp); 266 struct timeval *tp) 271 if (evutil_gettimeofday(tp, NULL) < 0) 273 adjust_monotonic_time(base, tp); 279 tp->tv_sec = ts.tv_sec; 280 tp->tv_usec = ts.tv_nsec / 1000; 322 struct timeval *tp) 326 if (evutil_gettimeofday(tp, NULL) < 0) 328 adjust_monotonic_time(base, tp); 206 evutil_gettime_monotonic(struct evutil_monotonic_timer *timer, struct timeval *tp) argument 265 evutil_gettime_monotonic_(struct evutil_monotonic_timer *base, struct timeval *tp) argument 321 evutil_gettime_monotonic_(struct evutil_monotonic_timer *base, struct timeval *tp) argument 469 evutil_gettime_monotonic_(struct evutil_monotonic_timer *base, struct timeval *tp) argument 529 evutil_gettime_monotonic_(struct evutil_monotonic_timer *base, struct timeval *tp) argument [all...] |
/freebsd-9.3-release/bin/sh/ |
H A D | trap.c | 220 char *volatile *tp; local 222 for (tp = trap ; tp <= &trap[NSIG - 1] ; tp++) { 223 if (*tp && **tp) { /* trap not NULL or SIG_IGN */ 225 ckfree(*tp); 226 *tp = NULL; 227 if (tp != &trap[0]) 228 setsignal(tp 241 char *volatile *tp; local [all...] |
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/ |
H A D | init_keytry.c | 98 TERMTYPE *tp = &(sp->_term->type); local 99 for (n = STRCOUNT; n < NUM_STRINGS(tp); ++n) { 100 const char *name = ExtStrname(tp, n, strnames); 101 char *value = tp->Strings[n];
|
/freebsd-9.3-release/libexec/comsat/ |
H A D | comsat.c | 163 FILE *tp; local 193 if ((tp = fopen(tty, "w")) == NULL) { 197 (void)tcgetattr(fileno(tp), &tio); 202 (void)fprintf(tp, 207 jkfprintf(tp, utp->ut_user, file, offset); 210 (void)fprintf(tp, "\007"); 211 (void)fflush(tp); 213 (void)fprintf(tp, "\007"); 218 (void)fclose(tp); 223 jkfprintf(FILE *tp, cha argument [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | tty_info.c | 214 tty_info(struct tty *tp) argument 226 tty_lock_assert(tp, MA_OWNED); 228 if (tty_checkoutq(tp) == 0) 233 ttyprintf(tp, "%sload: %d.%02d ", tp->t_column == 0 ? "" : "\n", 236 if (tp->t_session == NULL) { 237 ttyprintf(tp, "not a controlling terminal\n"); 240 if (tp->t_pgrp == NULL) { 241 ttyprintf(tp, "no foreground process group\n"); 244 PGRP_LOCK(tp [all...] |
/freebsd-9.3-release/sys/dev/syscons/ |
H A D | scvesactl.c | 54 vesa_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 59 scp = SC_STAT(tp); 69 return sc_set_text_mode(scp, tp, cmd & 0xff, 0, 0, 0, 0); 80 return sc_set_text_mode(scp, tp, mode, 0, 0, 0, 0); 106 return sc_set_graphics_mode(scp, tp, mode); 117 return sc_set_graphics_mode(scp, tp, mode); 122 return (*prev_user_ioctl)(tp, cmd, data, td);
|
/freebsd-9.3-release/usr.bin/systat/ |
H A D | convtbl.c | 101 struct convtbl *tp; local 103 tp = get_tbl_ptr(size, scale); 104 return ((double)size * tp->mul / tp->scale); 111 struct convtbl *tp; local 113 tp = get_tbl_ptr(size, scale); 114 return (tp->str);
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | dolfptoa.c | 95 u_char *tp = cpend; local 98 for (dec = (int)(tp - cbuf); carry && dec > 0; dec--) { 99 *--tp += 1; 100 if (*tp == 10) 101 *tp = 0; 106 if (tp < cp) /* rounding from 999 to 1000 or similiar? */ 107 cp = tp;
|
/freebsd-9.3-release/contrib/nvi/vi/ |
H A D | v_replace.c | 52 TEXT *tp; local 178 if ((tp = text_init(sp, p, len, len)) == NULL) 182 if (v_txt_auto(sp, vp->m_start.lno, NULL, 0, tp)) 184 vp->m_stop.cno = tp->ai ? tp->ai - 1 : 0; 188 vp->m_stop.cno = tp->ai ? tp->ai - 1 : 0; 189 if (db_append(sp, 1, vp->m_start.lno, tp->lb, tp->len)) 192 text_free(tp); [all...] |
/freebsd-9.3-release/usr.bin/xlint/lint1/ |
H A D | emit1.c | 88 outtype(type_t *tp) argument 94 while (tp != NULL) { 95 if ((ts = tp->t_tspec) == INT && tp->t_isenum) 122 if (tp->t_const) 124 if (tp->t_volatile) 130 outint(tp->t_dim); 132 outtt(tp->t_enum->etag, tp->t_enum->etdef); 134 outtt(tp 158 ttos(type_t *tp) argument [all...] |
/freebsd-9.3-release/contrib/one-true-awk/ |
H A D | tran.c | 145 Cell **tp; local 148 tp = (Cell **) calloc(n, sizeof(Cell *)); 149 if (ap == NULL || tp == NULL) 153 ap->tab = tp; 160 Array *tp; local 165 tp = (Array *) ap->sval; 166 if (tp == NULL) 168 for (i = 0; i < tp->size; i++) { 169 for (cp = tp->tab[i]; cp != NULL; cp = temp) { 175 tp 187 Array *tp; local 208 setsymtab(const char *n, const char *s, Awkfloat f, unsigned t, Array *tp) argument 247 rehash(Array *tp) argument 269 lookup(const char *s, Array *tp) argument [all...] |