/macosx-10.10.1/tcpdump-61/tcpdump/ |
H A D | print-tftp.c | 77 register const struct tftphdr *tp; local 83 tp = (const struct tftphdr *)bp; 89 TCHECK(tp->th_opcode); 90 opcode = EXTRACT_16BITS(&tp->th_opcode); 102 p = (u_char *)tp->th_stuff; 113 if (length <= (u_int)(p - (const u_char *)&tp->th_block)) 128 TCHECK(tp->th_block); 129 printf(" block %d", EXTRACT_16BITS(&tp->th_block)); 134 TCHECK(tp->th_code); 136 EXTRACT_16BITS(&tp [all...] |
H A D | print-atalk.c | 384 register const struct atNBPtuple *tp = local 402 if ((const u_char *)tp > ep) { 412 if ((const u_char *)(tp + 1) > ep) { 416 (void)nbp_name_print(tp, ep); 424 if (tp->enumerator) 425 (void)printf(" [enum=%d]", tp->enumerator); 426 if (EXTRACT_16BITS(&tp->net) != snet || 427 tp->node != snode || tp->skt != skt) 429 ataddr_string(EXTRACT_16BITS(&tp 476 nbp_tuple_print(register const struct atNBPtuple *tp, register const u_char *ep, register u_short snet, register u_char snode, register u_char skt) argument 506 nbp_name_print(const struct atNBPtuple *tp, register const u_char *ep) argument 541 register struct hnamemem *tp, *tp2; local [all...] |
/macosx-10.10.1/BerkeleyDB-21/db/os_windows/ |
H A D | os_clock.c | 18 __os_gettime(env, tp, monotonic) 20 db_timespec *tp; 44 tp->tv_sec = base_seconds + (u_int32_t)(ticks / 1000); 45 tp->tv_nsec = (u_int32_t)((ticks % 1000) * NS_PER_MS); 69 tp->tv_sec = (time_t)(ns_since_epoch / NS100_PER_SEC); 70 tp->tv_nsec = (long)(ns_since_epoch % NS100_PER_SEC); 75 tp->tv_sec = now.time; 76 tp->tv_nsec = now.millitm * NS_PER_MS;
|
/macosx-10.10.1/remote_cmds-47/talkd.tproj/ |
H A D | print.c | 67 const char *tp; local 72 tp = tbuf; 74 tp = types[mp->type]; 76 cp, tp, (long)mp->id_num, mp->l_name, mp->r_name, mp->r_tty); 82 const char *tp, *ap; local 87 tp = tbuf; 89 tp = types[rp->type]; 95 syslog(LOG_DEBUG, "%s: %s: %s, id %d", cp, tp, ap, ntohl(rp->id_num));
|
/macosx-10.10.1/rsync-45/rsync/lib/ |
H A D | inet_ntop.c | 107 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; local 146 tp = tmp; 152 *tp++ = ':'; 157 *tp++ = ':'; 161 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) 163 tp += strlen(tp); 166 inc = snprintf(tp, 5, "%x", words[i]); 168 tp [all...] |
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/ |
H A D | inet_ntop.c | 118 char *tp, *ep; local 158 tp = tmp; 160 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { 165 if (tp + 1 >= ep) 167 *tp++ = ':'; 173 if (tp + 1 >= ep) 175 *tp++ = ':'; 180 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp))) 182 tp [all...] |
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/bootstrap/ |
H A D | h_tp_basic_c.c | 75 ATF_TP_ADD_TCS(tp) 77 ATF_TP_ADD_TC(tp, pass); 78 ATF_TP_ADD_TC(tp, fail); 79 ATF_TP_ADD_TC(tp, skip); 80 ATF_TP_ADD_TC(tp, default);
|
/macosx-10.10.1/ncurses-44/ncurses/ncurses/tinfo/ |
H A D | alloc_ttype.c | 151 _nc_first_ext_name(TERMTYPE *tp, int token_type) argument 160 first = tp->ext_Booleans; 163 first = tp->ext_Booleans + tp->ext_Numbers; 176 _nc_last_ext_name(TERMTYPE *tp, int token_type) argument 182 last = tp->ext_Booleans; 185 last = tp->ext_Booleans + tp->ext_Numbers; 189 last = NUM_EXT_NAMES(tp); 199 _nc_find_ext_name(TERMTYPE *tp, cha argument 218 _nc_ext_data_index(TERMTYPE *tp, int n, int token_type) argument 241 _nc_del_ext_name(TERMTYPE *tp, char *name, int token_type) argument 285 _nc_ins_ext_name(TERMTYPE *tp, char *name, int token_type) argument [all...] |
H A D | MKfallback.sh | 109 const TERMTYPE *tp; 111 for (tp = fallbacks; 112 tp < fallbacks + sizeof(fallbacks)/sizeof(TERMTYPE); 113 tp++) 114 if (_nc_name_match(tp->term_names, name, "|")) 115 return(tp);
|
/macosx-10.10.1/ntp-92/ntpd/ |
H A D | refclock_tpro.c | 143 struct tproval *tp; local 152 tp = &up->tprodata; 153 if (read(pp->io.fd, (char *)tp, sizeof(struct tproval)) < 0) { 175 tp->day100, tp->day10, tp->day1, tp->hour10, tp->hour1, 176 tp->min10, tp [all...] |
H A D | refclock_tt560.c | 163 time_freeze_reg_t *tp; local 176 tp = &up->tt560rawt; 178 p_time_t = (unsigned int *)tp; 202 tp->hun_day, tp->tens_day, tp->unit_day, 203 tp->tens_hour, tp->unit_hour, 204 tp->tens_min, tp [all...] |
/macosx-10.10.1/tcsh-65/tcsh/ |
H A D | tc.sched.c | 65 struct sched_event *tp, **pp; local 88 for (count = 1, tp = sched_ptr; tp; count++, tp = tp->t_next) { 91 buf = blkexpand(tp->t_lex); 93 str = tprintf(FMT_SCHED, fmt, short2str(buf), tp->t_when, &count); 113 tp = sched_ptr; 115 if (tp->t_next == 0) 118 pp = &tp 191 struct sched_event *tp; local [all...] |
/macosx-10.10.1/ksh-23/ksh/src/lib/libcmd/ |
H A D | tee.c | 94 tee_cleanup(register Tee_t* tp) argument 99 if (tp) 102 if (tp->line >= 0) 103 sfset(sfstdout, SF_LINE, tp->line); 104 for (hp = tp->fd; (n = *hp) >= 0; hp++) 112 register Tee_t* tp = 0; local 120 if (context && (tp = (Tee_t*)sh_context(context)->data)) 123 tee_cleanup(tp); 170 if (tp = (Tee_t*)stakalloc(sizeof(Tee_t) + argc * sizeof(int))) 172 memset(&tp [all...] |
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/ |
H A D | inet_ntop.c | 120 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local 159 tp = tmp; 165 *tp++ = ':'; 170 *tp++ = ':'; 175 if (!inet_ntop4(src+12, tp, 176 sizeof(tmp) - (tp - tmp))) 178 tp += strlen(tp); 181 tp += sprintf(tp, " [all...] |
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/ |
H A D | lwinetntop.c | 117 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local 158 tp = tmp; 164 *tp++ = ':'; 169 *tp++ = ':'; 173 if (!inet_ntop4(src+12, tp, 174 sizeof(tmp) - (tp - tmp))) 176 tp += strlen(tp); 179 tp += sprintf(tp, " [all...] |
/macosx-10.10.1/curl-83.1.2/curl/lib/ |
H A D | inet_ntop.c | 89 char *tp; local 128 tp = tmp; 133 *tp++ = ':'; 140 *tp++ = ':'; 146 if(!inet_ntop4(src+12, tp, sizeof(tmp) - (tp - tmp))) { 150 tp += strlen(tp); 153 tp += snprintf(tp, [all...] |
/macosx-10.10.1/ntp-92/lib/isc/ |
H A D | inet_ntop.c | 124 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local 163 tp = tmp; 169 *tp++ = ':'; 174 *tp++ = ':'; 178 if (!inet_ntop4(src+12, tp, 179 sizeof(tmp) - (tp - tmp))) 181 tp += strlen(tp); 184 tp += SPRINTF((tp, " [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/ |
H A D | tcp_usrreq.c | 144 extern void tcp_sbrcv_trim(struct tcpcb *tp, struct sockbuf *sb); 148 #define TCPDEBUG1() ostate = tp ? tp->t_state : 0 149 #define TCPDEBUG2(req) if (tp && (so->so_options & SO_DEBUG)) \ 150 tcp_trace(TA_USER, ostate, tp, 0, 0, req) 176 struct tcpcb *tp = 0; local 191 tp = sototcpcb(so); 209 struct tcpcb *tp; local 216 tp = intotcpcb(inp); 218 if (tp 274 struct tcpcb *tp; local 307 struct tcpcb *tp; local 367 struct tcpcb *tp; local 383 struct tcpcb *tp; local 410 struct tcpcb *tp; local 584 struct tcpcb *tp; local 691 struct tcpcb *tp; local 726 struct tcpcb *tp = NULL; local 761 struct tcpcb *tp = NULL; local 812 struct tcpcb *tp; local 866 struct tcpcb *tp; local 920 struct tcpcb *tp; local 1091 struct tcpcb *tp; local 1115 struct tcpcb *tp; local 1456 tcp_fill_info(struct tcpcb *tp, struct tcp_info *ti) argument 1547 struct tcpcb *tp; local 1723 struct tcpcb *tp; local 2291 register struct tcpcb *tp; local [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/ |
H A D | tty_compat.c | 88 static int ttcompatgetflags(struct tty *tp); 89 static void ttcompatsetflags(struct tty *tp, struct termios *t); 90 static void ttcompatsetlflags(struct tty *tp, struct termios *t); 179 * Parameters struct tty *tp The tty on which the operation is 196 * Notes: This function may modify the contents of the tp->t_flags 200 * All other tp fields will remain unmodifed, since the struct 211 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term) argument 232 else if (speed != ttcompatspeedtab(tp->t_ispeed, compatspeeds)) 235 term->c_ispeed = tp->t_ispeed; 238 else if (speed != ttcompatspeedtab(tp 361 ttcompat(struct tty *tp, u_long com, caddr_t data, int flag, struct proc *p) argument 518 ttcompatgetflags(struct tty *tp) argument 590 ttcompatsetflags(struct tty *tp, struct termios *t) argument 681 ttcompatsetlflags(struct tty *tp, struct termios *t) argument [all...] |
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/ |
H A D | mktime.c | 115 my_localtime_r (t, tp) 117 struct tm *tp; 122 *tp = *l; 123 return tp; 133 ydhms_tm_diff (year, yday, hour, min, sec, tp) 135 const struct tm *tp; 143 int b4 = (tp->tm_year >> 2) + (TM_YEAR_BASE >> 2) - ! (tp->tm_year & 3); 149 time_t years = year - (time_t) tp->tm_year; 151 + (yday - tp [all...] |
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/test-programs/ |
H A D | c_helpers.c | 512 ATF_TP_ADD_TCS(tp) 515 ATF_TP_ADD_TC(tp, cleanup_pass); 516 ATF_TP_ADD_TC(tp, cleanup_fail); 517 ATF_TP_ADD_TC(tp, cleanup_skip); 518 ATF_TP_ADD_TC(tp, cleanup_curdir); 519 ATF_TP_ADD_TC(tp, cleanup_sigterm); 520 ATF_TP_ADD_TC(tp, cleanup_fork); 523 ATF_TP_ADD_TC(tp, config_unset); 524 ATF_TP_ADD_TC(tp, config_empty); 525 ATF_TP_ADD_TC(tp, config_valu [all...] |
/macosx-10.10.1/lukemftp-14/tnftp/libnetbsd/ |
H A D | inet_ntop.c | 117 char *tp, *ep; local 159 tp = tmp; 166 *tp++ = ':'; 171 if (tp + 1 >= ep) 173 *tp++ = ':'; 180 if (!inet_ntop4(src+12, tp, (socklen_t)(ep - tp))) 182 tp += strlen(tp); 185 advance = snprintf(tp, (size_ [all...] |
/macosx-10.10.1/Heimdal-398.1.2/lib/kadm5/ |
H A D | free.c | 69 krb5_tl_data *tp; local 70 tp = princ->tl_data; 71 princ->tl_data = tp->tl_data_next; 73 memset(tp->tl_data_contents, 0, tp->tl_data_length); 74 free(tp->tl_data_contents); 75 free(tp);
|
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-c/ |
H A D | tp_test.c | 83 HEADER_TC(include, "atf-c/tp.h"); 89 ATF_TP_ADD_TCS(tp) 91 ATF_TP_ADD_TC(tp, getopt); 94 ATF_TP_ADD_TC(tp, include);
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/comp/ |
H A D | getsubopt.c | 42 getsubopt(register char** op, char* const* tp, char** vp) 76 for (op = (char**)tp; *op; op++) 78 return op - (char**)tp;
|