/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/ |
H A D | in6_pcb.c | 157 struct inpcb *inp; local 160 inp = in6_pcblookup_local(pcbinfo, laddr, lport_arg, wild_okay); 163 if (inp != NULL && inp->inp_wantcnt == WNT_STOPUSING) { 164 struct socket *so = inp->inp_socket; 166 lck_mtx_lock(&inp->inpcb_mtx); 169 if (inp->inp_state != INPCB_STATE_DEAD) 170 in6_pcbdetach(inp); 171 in_pcbdispose(inp); /* will unlock & destroy */ 172 inp 186 in6_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct proc *p) argument 418 in6_pcbladdr(struct inpcb *inp, struct sockaddr *nam, struct in6_addr *plocal_addr6, struct ifnet **outif) argument 508 in6_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct proc *p) argument 572 in6_pcbdisconnect(struct inpcb *inp) argument 600 in6_pcbdetach(struct inpcb *inp) argument 718 struct inpcb *inp; local 737 struct inpcb *inp; local 761 struct inpcb *inp; local 780 struct inpcb *inp; local 804 struct inpcb *inp = sotoinpcb(so); local 823 struct inpcb *inp = sotoinpcb(so); local 854 struct inpcb *inp, *ninp; local 957 struct inpcb *inp; local 1080 in6_rtchange(struct inpcb *inp, int errno) argument 1099 struct inpcb *inp; local 1196 struct inpcb *inp; local 1326 in6p_route_copyout(struct inpcb *inp, struct route_in6 *dst) argument 1340 in6p_route_copyin(struct inpcb *inp, struct route_in6 *src) argument [all...] |
H A D | udp6_usrreq.c | 640 struct inpcb *inp; local 642 inp = sotoinpcb(so); 643 if (inp == NULL) { 644 panic("%s: so=%p null inp\n", __func__, so); 648 in6_pcbdetach(inp); 656 struct inpcb *inp; local 659 inp = sotoinpcb(so); 660 if (inp != NULL) 672 inp = (struct inpcb *)so->so_pcb; 673 inp 693 struct inpcb *inp; local 731 struct inpcb *inp; local 800 struct inpcb *inp; local 812 struct inpcb *inp; local 857 struct inpcb *inp; local [all...] |
/macosx-10.10.1/screen-22/screen/ |
H A D | input.c | 51 struct inpline inp; member in struct:inpdata 90 if (s != inpdata->inp.buf) 91 strncpy(inpdata->inp.buf, s, sizeof(inpdata->inp.buf) - 1); 92 inpdata->inp.buf[sizeof(inpdata->inp.buf) - 1] = 0; 93 inpdata->inp.pos = inpdata->inp.len = strlen(inpdata->inp.buf); 137 inpdata->inp [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/ |
H A D | in_pcb.c | 244 extern void tcp_remove_from_time_wait(struct inpcb *inp); 253 * Use this inp as a key to find an inp in the flowhash tree. 531 struct inpcb *inp; local 538 inp = (struct inpcb *)zalloc(pcbinfo->ipi_zone); 539 if (inp == NULL) 541 bzero((caddr_t)inp, sizeof (*inp)); 543 inp = (struct inpcb *)(void *)so->so_saved_pcb; 544 temp = inp 635 struct inpcb *inp; local 698 in_pcbbind(struct inpcb *inp, struct sockaddr *nam, struct proc *p) argument 996 in_pcbladdr(struct inpcb *inp, struct sockaddr *nam, struct in_addr *laddr, unsigned int ifscope, struct ifnet **outif) argument 1246 in_pcbconnect(struct inpcb *inp, struct sockaddr *nam, struct proc *p, unsigned int ifscope, struct ifnet **outif) argument 1319 in_pcbdisconnect(struct inpcb *inp) argument 1348 in_pcbdetach(struct inpcb *inp) argument 1403 in_pcbdispose(struct inpcb *inp) argument 1484 struct inpcb *inp; local 1512 struct inpcb *inp; local 1535 struct inpcb *inp; local 1563 struct inpcb *inp; local 1588 struct inpcb *inp; local 1617 in_losing(struct inpcb *inp) argument 1667 in_rtchange(struct inpcb *inp, int errno) argument 1699 struct inpcb *inp; local 1795 struct inpcb *inp; local 1918 struct inpcb *inp; local 2035 in_pcbinshash(struct inpcb *inp, int locked) argument 2128 in_pcbrehash(struct inpcb *inp) argument 2164 in_pcbremlists(struct inpcb *inp) argument 2332 inpcb_to_compat(struct inpcb *inp, struct inpcb_compat *inp_compat) argument 2357 inpcb_to_xinpcb64(struct inpcb *inp, struct xinpcb64 *xinp) argument 2403 inp_route_copyout(struct inpcb *inp, struct route *dst) argument 2420 inp_route_copyin(struct inpcb *inp, struct route *src) argument 2437 inp_bindif(struct inpcb *inp, unsigned int ifscope, struct ifnet **pifp) argument 2480 inp_set_nocellular(struct inpcb *inp) argument 2493 inp_clear_nocellular(struct inpcb *inp) argument 2511 inp_set_noexpensive(struct inpcb *inp) argument 2520 inp_set_awdl_unrestricted(struct inpcb *inp) argument 2529 inp_get_awdl_unrestricted(struct inpcb *inp) argument 2535 inp_clear_awdl_unrestricted(struct inpcb *inp) argument 2548 inp_set_want_app_policy(struct inpcb *inp) argument 2557 inp_clear_want_app_policy(struct inpcb *inp) argument 2569 inp_calc_flowhash(struct inpcb *inp) argument 2626 struct inpcb *inp; local 2648 struct inpcb *inp = NULL; local 2677 inp_fc_feedback(struct inpcb *inp) argument 2711 inp_reset_fc_state(struct inpcb *inp) argument 2730 inp_set_fc_state(struct inpcb *inp, int advcode) argument 2771 inp_flush(struct inpcb *inp, int optval) argument 2803 struct inpcb *inp = NULL; local 2814 inp_get_soprocinfo(struct inpcb *inp, struct so_procinfo *soprocinfo) argument 2837 struct inpcb *inp = NULL; local 2862 inp_update_cellular_policy(struct inpcb *inp, boolean_t set) argument 2907 inp_update_necp_want_app_policy(struct inpcb *inp, boolean_t set) argument 2951 inp_update_necp_policy(struct inpcb *inp, struct sockaddr *override_local_addr, struct sockaddr *override_remote_addr, u_int override_bound_interface) argument 2965 inp_update_policy(struct inpcb *inp) argument 3030 inp_restricted_recv(struct inpcb *inp, struct ifnet *ifp) argument 3070 inp_restricted_send(struct inpcb *inp, struct ifnet *ifp) argument [all...] |
H A D | in_pcblist.c | 170 inpcb_to_xinpcb_n(struct inpcb *inp, struct xinpcb_n *xinp) argument 174 xinp->xi_inpp = (uint64_t)VM_KERNEL_ADDRPERM(inp); 175 xinp->inp_fport = inp->inp_fport; 176 xinp->inp_lport = inp->inp_lport; 177 xinp->inp_ppcb = (uint64_t)VM_KERNEL_ADDRPERM(inp->inp_ppcb); 178 xinp->inp_gencnt = inp->inp_gencnt; 179 xinp->inp_flags = inp->inp_flags; 180 xinp->inp_flow = inp->inp_flow; 181 xinp->inp_vflag = inp->inp_vflag; 182 xinp->inp_ip_ttl = inp 260 struct inpcb *inp, **inp_list = NULL; local 400 struct inpcb *inp; local 454 struct inpcb *inp; local 502 struct inpcb *inp; local [all...] |
H A D | raw_ip.c | 205 struct inpcb *inp; local 216 LIST_FOREACH(inp, &ripcb, inp_list) { 218 if ((inp->inp_vflag & INP_IPV4) == 0) 221 if (inp->inp_ip_p && (inp->inp_ip_p != ip->ip_p)) 223 if (inp->inp_laddr.s_addr && 224 inp->inp_laddr.s_addr != ip->ip_dst.s_addr) 226 if (inp->inp_faddr.s_addr && 227 inp->inp_faddr.s_addr != ip->ip_src.s_addr) 229 if (inp_restricted_recv(inp, if 354 struct inpcb *inp = sotoinpcb(so); local 552 struct inpcb *inp = sotoinpcb(so); local 786 struct inpcb *inp; local 811 struct inpcb *inp; local 839 struct inpcb *inp = sotoinpcb(so); local 886 struct inpcb *inp = sotoinpcb(so); local 920 struct inpcb *inp = sotoinpcb(so); local 969 struct inpcb *inp = sotoinpcb(so); local 1011 struct inpcb *inp, **inp_list; variable in typeref:struct:inpcb 1115 struct inpcb *inp, **inp_list; variable in typeref:struct:inpcb [all...] |
H A D | udp_usrreq.c | 288 struct inpcb *inp; local 418 LIST_FOREACH(inp, &udb, inp_list) { 423 if (inp->inp_socket == NULL) 425 if (inp != sotoinpcb(inp->inp_socket)) { 426 panic("%s: bad so back ptr inp=%p\n", 427 __func__, inp); 431 if ((inp->inp_vflag & INP_IPV4) == 0) 434 if (inp_restricted_recv(inp, ifp)) 437 if ((inp 866 udp_notify(struct inpcb *inp, int errno) argument 879 struct inpcb *inp; local 918 struct inpcb *inp; local 984 struct inpcb *inp, **inp_list; variable in typeref:struct:inpcb 1090 struct inpcb *inp, **inp_list; variable in typeref:struct:inpcb 1295 udp_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr, struct mbuf *control, struct proc *p) argument 1748 struct inpcb *inp; local 1764 struct inpcb *inp; local 1789 struct inpcb *inp; local 1810 struct inpcb *inp; local 1839 struct inpcb *inp = sotoinpcb(so); local 1907 struct inpcb *inp; local 1932 struct inpcb *inp; local 1970 struct inpcb *inp; local 1991 struct inpcb *inp; local 2058 struct inpcb *inp = sotoinpcb(so); local 2076 struct inpcb *inp, *inpnxt; local [all...] |
H A D | tcp_usrreq.c | 175 struct inpcb *inp = sotoinpcb(so); local 180 if (inp) { 208 struct inpcb *inp = sotoinpcb(so); local 212 if (inp == 0 || (inp->inp_state == INPCB_STATE_DEAD)) { 216 tp = intotcpcb(inp); 233 if (inp == NULL || inp->inp_state == INPCB_STATE_DEAD) \ 235 if (necp_socket_should_use_flow_divert(inp)) \ 237 tp = intotcpcb(inp); \ 273 struct inpcb *inp = sotoinpcb(so); local 306 struct inpcb *inp = sotoinpcb(so); local 366 struct inpcb *inp = sotoinpcb(so); local 382 struct inpcb *inp = sotoinpcb(so); local 409 struct inpcb *inp = sotoinpcb(so); local 481 struct inpcb *inp = sotoinpcb(so); local 583 struct inpcb *inp = sotoinpcb(so); local 690 struct inpcb *inp = sotoinpcb(so); local 725 struct inpcb *inp = sotoinpcb(so); local 760 struct inpcb *inp = sotoinpcb(so); local 811 struct inpcb *inp = sotoinpcb(so); local 865 struct inpcb *inp = sotoinpcb(so); local 919 struct inpcb *inp = sotoinpcb(so); local 1090 struct inpcb *inp = sotoinpcb(so); local 1114 struct inpcb *inp = sotoinpcb(so); local 1213 struct inpcb *inp = tp->t_inpcb, *oinp; local 1340 struct inpcb *inp = tp->t_inpcb, *oinp; local 1458 struct inpcb *inp = tp->t_inpcb; local 1545 struct inpcb *inp = NULL; local 1674 struct inpcb *inp = (struct inpcb*)so->so_pcb; local 1722 struct inpcb *inp; local 2292 struct inpcb *inp; local [all...] |
H A D | ip_divert.c | 222 struct inpcb *inp; local 295 LIST_FOREACH(inp, &divcb, inp_list) { 296 if (inp->inp_lport == nport) 297 sa = inp->inp_socket; 327 struct inpcb *const inp = sotoinpcb(so); local 381 if (((ip->ip_hl != (sizeof (*ip) >> 2)) && inp->inp_options) || 395 inp_route_copyout(inp, &ro); 399 imo = inp->inp_moptions; 404 mac_mbuf_label_associate_inpcb(inp, m); 407 error = ip_output(m, inp 455 struct inpcb *inp; local 492 struct inpcb *inp; local 527 struct inpcb *inp; local 713 struct inpcb *inp = sotoinpcb(so); local [all...] |
H A D | tcp_subr.c | 280 struct inpcb inp; member in struct:inp_tp 518 struct inpcb *inp = tp->t_inpcb; local 522 if ((inp->inp_vflag & INP_IPV6) != 0) { 527 (inp->inp_flow & IPV6_FLOWINFO_MASK); 532 ip6->ip6_src = inp->in6p_laddr; 533 ip6->ip6_dst = inp->in6p_faddr; 534 tcp_hdr->th_sum = in6_pseudo(&inp->in6p_laddr, &inp->in6p_faddr, 549 ip->ip_src = inp->inp_laddr; 550 ip->ip_dst = inp 970 struct inpcb *inp = tp->t_inpcb; local 1030 struct inpcb *inp = tp->t_inpcb; local 1300 struct inpcb *inp; local 1465 struct inpcb *inp, **inp_list; variable in typeref:struct:inpcb 1649 struct inpcb *inp, **inp_list; variable in typeref:struct:inpcb 1807 struct inpcb *inp; local 2109 tcp_mtudisc( struct inpcb *inp, __unused int errno ) argument 2422 struct inpcb *inp; local 2580 struct inpcb *inp = sotoinpcb(so); local 2684 struct inpcb *inp; local 2800 struct inpcb *inp = sotoinpcb(so); local [all...] |
/macosx-10.10.1/file_cmds-242/dd/ |
H A D | conv.c | 64 u_char *inp; local 69 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp) 70 *inp = t[*inp]; 108 u_char *inp, *outp; local 121 for (inp = in.db, cnt = in.dbrcnt; cnt && *inp++ != '\n'; --cnt) 131 in.dbp = inp + cnt - 1; 139 for (inp 221 u_char *inp; local [all...] |
/macosx-10.10.1/patch_cmds-17/patch/ |
H A D | Makefile | 4 SRCS= patch.c pch.c inp.c util.c backupfile.c mkpath.c
|
/macosx-10.10.1/xnu-2782.1.97/security/ |
H A D | mac_inet.c | 101 mac_inpcb_label_init(struct inpcb *inp, int flag) argument 104 inp->inp_label = mac_inpcb_label_alloc(flag); 105 if (inp->inp_label == NULL) 148 mac_inpcb_label_destroy(struct inpcb *inp) argument 151 mac_inpcb_label_free(inp->inp_label); 152 inp->inp_label = NULL; 156 mac_inpcb_label_recycle(struct inpcb *inp) argument 159 MAC_PERFORM(inpcb_label_recycle, inp->inp_label); 179 mac_inpcb_label_associate(struct socket *so, struct inpcb *inp) argument 182 MAC_PERFORM(inpcb_label_associate, so, so->so_label, inp, 219 mac_mbuf_label_associate_inpcb(struct inpcb *inp, struct mbuf *m) argument 274 mac_inpcb_check_deliver(struct inpcb *inp, struct mbuf *m, int family, int type) argument 296 struct inpcb *inp; local [all...] |
/macosx-10.10.1/BerkeleyDB-21/db/db/ |
H A D | db_dup.c | 30 db_indx_t cnt, *inp, offset; local 58 inp = P_INP(dbp, pagep); 64 DB_ASSERT(dbp->env, inp[indx] >= HOFFSET(pagep)); 65 memmove(from + nbytes, from, inp[indx] - HOFFSET(pagep)); 69 offset = inp[indx]; 71 if (inp[cnt] < offset) 72 inp[cnt] += nbytes; 77 memmove(&inp[indx], &inp[indx + 1], 101 db_indx_t *inp; local [all...] |
/macosx-10.10.1/tidy-15.15/tidy/src/ |
H A D | fileio.c | 56 int TY_(initFileSource)( TidyInputSource* inp, FILE* fp ) argument 60 inp->getByte = filesrc_getByte; 61 inp->eof = filesrc_eof; 62 inp->ungetByte = filesrc_ungetByte; 67 inp->sourceData = fin; 71 void TY_(freeFileSource)( TidyInputSource* inp, Bool closeIt ) argument 73 FileSource* fin = (FileSource*) inp->sourceData;
|
H A D | mappedio.c | 51 int TY_(initFileSource)( TidyInputSource* inp, FILE* fp ) argument 73 inp->getByte = mapped_getByte; 74 inp->eof = mapped_eof; 75 inp->ungetByte = mapped_ungetByte; 76 inp->sourceData = fin; 81 void TY_(freeFileSource)( TidyInputSource* inp, Bool closeIt ) argument 83 MappedFileSource* fin = (MappedFileSource*) inp->sourceData; 174 static int initMappedFileSource( TidyInputSource* inp, HANDLE fp ) argument 178 inp->getByte = mapped_getByte; 179 inp 237 freeMappedFileSource( TidyInputSource* inp, Bool closeIt ) argument [all...] |
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/sfio/ |
H A D | sfvscanf.c | 63 int inp; /* last input character read */ member in struct:_scan_s 72 #define SCinit(sc,ds) ((sc)->inp = (sc)->error = -1, (sc)->f = f, \ 76 #define SCend(sc,ds) (inp = (sc)->inp, f = (sc)->f, \ 98 { sc->inp = -1; 113 { sc->inp = -1; 119 return (sc->inp = (int)(*sc->d++)); 308 reg int inp, shift, base, width; local 361 n_assign = n_input = 0; inp = -1; 381 { if(SFgetc(f,inp) < [all...] |
/macosx-10.10.1/xnu-2782.1.97/libkern/stdio/ |
H A D | scanf.c | 131 vsscanf(const char *inp, char const *fmt0, va_list ap) argument 152 inr = strlen(inp); 163 while (inr > 0 && isspace(*inp)) 164 nread++, inr--, inp++; 181 if (*inp != c) 183 inr--, inp++; 296 while (isspace(*inp)) { 299 inp++; 325 inp += n; 332 inp [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/ras/ |
H A D | tif2ras.c | 87 register u_char *inp, local 254 inp = buf; 260 *outp++ = *inp++; /* Blue */ 261 *outp++ = *inp++; /* Green */ 262 *outp++ = *inp++; /* Red */ 263 inp++; /* skip alpha channel */ 267 *outp++ = *inp++; /* Blue */ 268 *outp++ = *inp++; /* Green */ 269 *outp++ = *inp++; /* Red */ 277 *outp++ = *inp [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/ |
H A D | exp_inter.c | 150 struct input *inp) 156 Tcl_SetHashValue(entry,(ClientData)inp); 614 struct input *inp; local 624 for (inp = input_base;inp;inp=inp->next) { 629 if (inp->i_list->direct == EXP_INDIRECT) { 630 exp_i_update(interp,inp->i_list); 632 for (outp = inp 147 expCreateStateToInput( Tcl_HashTable *hash, ExpState *esPtr, struct input *inp) argument 770 struct input *inp; /* overused ptr to struct input */ local [all...] |
/macosx-10.10.1/network_cmds-457/netstat.tproj/ |
H A D | inet.c | 213 struct xinpcb_n *inp = NULL; local 296 inp = (struct xinpcb_n *)xgn; 319 if (inp->inp_gencnt > oxig->xig_gen) 322 if ((af == AF_INET && (inp->inp_vflag & INP_IPV4) == 0) 324 || (af == AF_INET6 && (inp->inp_vflag & INP_IPV6) == 0) 326 || (af == AF_UNSPEC && ((inp->inp_vflag & INP_IPV4) == 0 328 && (inp->inp_vflag & 387 printf("%16lx ", (u_long)inp->inp_ppcb); 389 printf("%8lx ", (u_long)inp->inp_ppcb); 398 printf("%8x ", inp 1187 inetname(struct in_addr *inp) argument [all...] |
/macosx-10.10.1/xnu-2782.1.97/bsd/net/ |
H A D | ntstat.c | 828 struct inpcb *inp; member in struct:nstat_tucookie 846 struct inpcb *inp, 857 if (ref && in_pcb_checkstate(inp, WNT_ACQUIRE, locked) == WNT_STOPUSING) 863 cookie->inp = inp; 864 proc_name(inp->inp_socket->last_pid, cookie->pname, 870 if (SOCK_PROTO(inp->inp_socket) == IPPROTO_UDP) 871 OSIncrementAtomic(&inp->inp_nstat_refcnt); 878 struct inpcb *inp) 880 return nstat_tucookie_alloc_internal(inp, fals 845 nstat_tucookie_alloc_internal( struct inpcb *inp, bool ref, bool locked) argument 877 nstat_tucookie_alloc( struct inpcb *inp) argument 884 nstat_tucookie_alloc_ref( struct inpcb *inp) argument 891 nstat_tucookie_alloc_ref_locked( struct inpcb *inp) argument 932 struct inpcb *inp = NULL; local 1020 struct inpcb *inp; local 1036 struct inpcb *inp; local 1096 struct inpcb *inp; local 1124 nstat_tcp_new_pcb( struct inpcb *inp) argument 1158 nstat_pcb_detach(struct inpcb *inp) argument 1220 nstat_pcb_cache(struct inpcb *inp) argument 1273 nstat_pcb_invalidate_cache(struct inpcb *inp) argument 1317 struct inpcb *inp = tucookie->inp; local 1427 struct inpcb *inp; local 1451 struct inpcb *inp = tucookie->inp; local 1482 struct inpcb *inp; local 1515 nstat_udp_new_pcb( struct inpcb *inp) argument 1565 struct inpcb *inp = tucookie->inp; local [all...] |
/macosx-10.10.1/ppp-786.1.1/Helpers/pppd/ |
H A D | upap.c | 349 u_char *inp; local 357 inp = inpacket; 362 GETCHAR(code, inp); 363 GETCHAR(id, inp); 364 GETSHORT(len, inp); 380 upap_rauthreq(u, inp, id, len); 384 upap_rauthack(u, inp, id, len); 388 upap_rauthnak(u, inp, id, len); 401 upap_rauthreq(u, inp, id, len) 403 u_char *inp; [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/src/ |
H A D | TokenBuffer.cpp | 30 TokenBuffer::TokenBuffer( TokenStream& inp ) 31 : input(inp)
|
/macosx-10.10.1/OpenSSL098-52/src/crypto/rc4/asm/ |
H A D | rc4-x86_64.pl | 72 $inp="%rdx"; # arg3 127 xor ($inp),%rax 128 add \$8,$inp 156 xorb ($inp),$TY#b 157 inc $inp 176 mov ($inp),%eax 177 mov 4($inp),%ebx 221 lea 8($inp),$inp 245 xorb ($inp), [all...] |