/macosx-10.10/postfix-255/postfix/src/util/ |
H A D | percentm.c | 55 const unsigned char *ip = (const unsigned char *) str; local 61 while (*ip) { 62 switch (*ip) { 64 VSTRING_ADDCH(vp, *ip++); 67 switch (ip[1]) { 69 VSTRING_ADDCH(vp, *ip++); 72 VSTRING_ADDCH(vp, *ip++); 76 ip += 2;
|
H A D | cidr_match.c | 135 VSTRING *cidr_match_parse(CIDR_MATCH *ip, char *pattern, VSTRING *why) argument 171 ip->addr_family = CIDR_MATCH_ADDR_FAMILY(pattern); 172 ip->addr_bit_count = CIDR_MATCH_ADDR_BIT_COUNT(ip->addr_family); 173 ip->addr_byte_count = CIDR_MATCH_ADDR_BYTE_COUNT(ip->addr_family); 175 || (ip->mask_shift = atoi(mask)) > ip->addr_bit_count 176 || inet_pton(ip->addr_family, pattern, ip [all...] |
H A D | inet_trigger.c | 74 struct inet_trigger *ip = (struct inet_trigger *) context; local 81 msg_warn("%s: read timeout for service %s", myname, ip->service); 82 event_disable_readwrite(ip->fd); 84 if (close(ip->fd) < 0) 85 msg_warn("%s: close %s: %m", myname, ip->service); 86 myfree(ip->service); 87 myfree((char *) ip); 96 struct inet_trigger *ip; local 111 ip = (struct inet_trigger *) mymalloc(sizeof(*ip)); [all...] |
H A D | myaddrinfo.c | 234 struct ipv4addrinfo *ip; local 236 ip = (struct ipv4addrinfo *) mymalloc(sizeof(*ip)); 237 *ip = *tp; 238 ip->info.ai_addr = (struct sockaddr *) & (ip->sin); 239 return (ip); 244 static void init_ipv4addrinfo(struct ipv4addrinfo * ip, int socktype) argument 251 memset((char *) ip, 0, sizeof(*ip)); 305 struct ipv4addrinfo *ip; local 472 struct ipv4addrinfo *ip; local 806 struct addrinfo *ip; local [all...] |
/macosx-10.10/adv_cmds-158/stty/ |
H A D | key.c | 110 ksearch(char ***argvp, struct info *ip) argument 117 ip->off = 1; 120 ip->off = 0; 126 if (!(kp->flags & F_OFFOK) && ip->off) { 130 if (kp->flags & F_NEEDARG && !(ip->arg = *++*argvp)) { 134 kp->f(ip); 139 f_all(struct info *ip) argument 141 print(&ip->t, &ip->win, ip 145 f_cbreak(struct info *ip) argument 160 f_columns(struct info *ip) argument 168 f_dec(struct info *ip) argument 181 f_ek(struct info *ip) argument 190 f_everything(struct info *ip) argument 197 f_extproc(struct info *ip) argument 210 f_ispeed(struct info *ip) argument 218 f_nl(struct info *ip) argument 232 f_ospeed(struct info *ip) argument 240 f_raw(struct info *ip) argument 254 f_rows(struct info *ip) argument 262 f_sane(struct info *ip) argument 276 f_size(struct info *ip) argument 283 f_speed(struct info *ip) argument 290 f_tty(struct info *ip) argument [all...] |
/macosx-10.10/dtrace-147/libdtrace/ |
H A D | dt_inttab.c | 38 dt_inttab_t *ip; local 42 if ((ip = dt_zalloc(dtp, sizeof (dt_inttab_t))) == NULL || 43 (ip->int_hash = dt_zalloc(dtp, sizeof (void *) * len)) == NULL) { 44 dt_free(dtp, ip); 48 ip->int_hdl = dtp; 49 ip->int_hashlen = len; 51 return (ip); 55 dt_inttab_destroy(dt_inttab_t *ip) argument 59 for (hp = ip->int_head; hp != NULL; hp = np) { 61 dt_free(ip 69 dt_inttab_insert(dt_inttab_t *ip, uint64_t value, uint_t flags) argument 103 dt_inttab_size(const dt_inttab_t *ip) argument 109 dt_inttab_write(const dt_inttab_t *ip, uint64_t *dst) argument [all...] |
/macosx-10.10/text_cmds-88/lam/ |
H A D | lam.c | 85 struct openfile *ip; local 94 for (ip = input; ip->fp != NULL; ip++) 95 linep = gatherline(ip); 99 fputs(ip->sepstring, stdout); 108 struct openfile *ip = input; local 120 ip->fp = stdin; 121 else if ((ip->fp = fopen(p, "r")) == NULL) { 124 ip 182 pad(struct openfile *ip) argument 196 gatherline(struct openfile *ip) argument [all...] |
/macosx-10.10/network_cmds-457/natd.tproj/ |
H A D | icmp.c | 53 #include <netinet/ip.h> 60 int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu) 63 struct ip* ip; local 85 ip = (struct ip*) icmpBuf; 86 icmp = (struct icmp*) (icmpBuf + sizeof (struct ip)); 115 memcpy (ip, failedDgram, sizeof (struct ip)); 117 ip [all...] |
H A D | natd.h | 44 extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu);
|
H A D | natd.test | 10 ipfw add divert 32000 ip from any to any via $1 11 ipfw add pass ip from any to any
|
/macosx-10.10/libclosure-65/objectTests/ |
H A D | cast.c | 25 int *ip; local 29 ip = (int *)aBlock; 32 aBlock = (void (^)(void))ip;
|
/macosx-10.10/ruby-106/ruby/ext/tk/sample/tcltklib/ |
H A D | sample1.rb | 22 ip = TclTkInterpreter.new() 24 c = ip.commands() 41 print ip.info("command", "r*"), "\n" 51 v1 = TclTkVariable.new(ip, "20") 70 root = ip.rootwidget() 76 l1 = TclTkWidget.new(ip, root, label, "-text {type `x' to print}") 81 l2 = TclTkWidget.new(ip, root, "label") 89 c1 = TclTkCallback.new(ip, proc{sample(ip, root)}) 91 b1 = TclTkWidget.new(ip, roo [all...] |
H A D | lines1.rb | 37 # $ip.commands()["destroy"].e($root) 40 $ip = TclTkInterpreter.new() 41 $root = $ip.rootwidget() 42 $a = TclTkWidget.new($ip, $root, "canvas", "-height 500 -width 500") 43 $c = TclTkCallback.new($ip, proc{drawlines()}) 44 $b = TclTkWidget.new($ip, $root, "button", "-text draw -command", $c) 46 $ip.commands()["pack"].e($a, $b, "-side left")
|
/macosx-10.10/xnu-2782.1.97/bsd/dev/dtrace/scripts/ |
H A D | ip.d | 26 #pragma D depends_on provider ip 72 * The ip vhl byte is the first byte in struct ip. The type names are 75 * version and header length info from the ip structure. 78 translator ipinfo_t < struct ip * ip > { 79 ip_ver = (ip != NULL) ? ((*(uint8_t *) ip) & 0xf0) >> 4 : 0; 80 ip_plength = (ip != NULL) ? 81 (ntohs(ip [all...] |
/macosx-10.10/BerkeleyDB-21/db/env/ |
H A D | env_failchk.c | 35 DB_THREAD_INFO *ip; local 56 ENV_ENTER(env, ip); 80 err: ENV_LEAVE(env, ip); 164 DB_THREAD_INFO *ip, *np; local 178 ip = SH_TAILQ_FIRST(&htab[i], __db_thread_info); 179 for (; ip != NULL; ip = np) { 180 np = SH_TAILQ_NEXT(ip, 182 __env_alloc_free(infop, ip); 204 DB_THREAD_INFO *ip; local 264 DB_THREAD_INFO *ip; local 291 DB_THREAD_INFO *ip; local [all...] |
/macosx-10.10/tcpdump-61/tcpdump/ |
H A D | print-sl.c | 40 #include "ip.h" 48 static void sliplink_print(const u_char *, const struct ip *, u_int); 49 static void compressed_sl_print(const u_char *, const struct ip *, u_int, int); 56 register const struct ip *ip; local 65 ip = (struct ip *)(p + SLIP_HDRLEN); 68 sliplink_print(p, ip, length); 70 switch (IP_V(ip)) { 72 ip_print(gndo, (u_char *)ip, lengt 91 register const struct ip *ip; local 113 sliplink_print(register const u_char *p, register const struct ip *ip, register u_int length) argument 191 compressed_sl_print(const u_char *chdr, const struct ip *ip, u_int length, int dir) argument [all...] |
/macosx-10.10/BerkeleyDB-21/db/db/ |
H A D | db_setlsn.c | 30 DB_THREAD_INFO *ip; local 46 ENV_ENTER(env, ip); 48 (__env_lsn_reset(env, ip, name, LF_ISSET(DB_ENCRYPT) ? 1 : 0)), 50 ENV_LEAVE(env, ip); 59 __env_lsn_reset(env, ip, name, encrypted) 61 DB_THREAD_INFO *ip; 86 if ((ret = __db_open(dbp, ip, NULL, 96 &pgno, ip, NULL, DB_MPOOL_DIRTY, &pagep)) == 0; 100 ip, pagep, DB_PRIORITY_UNCHANGED)) != 0)
|
/macosx-10.10/apache-793/httpd/docs/conf/extra/ |
H A D | httpd-info.conf.in | 17 Require ip 127 35 Require ip 127
|
/macosx-10.10/apache-793/httpd/support/ |
H A D | logresolve.pl.in | 128 my (@buffer, $child, $ip, $rest, $hostname, $response); 137 ($ip, $rest) = split(/ /, $_, 2); # separate IP form rest 139 unless ($hash{$ip}) { # resolve if unseen IP 140 $CHILDSOCK{$child}->print("$ip\n"); # pass IP to next child 141 $hash{$ip} = $ip; # don't look it up again. 153 ($ip, $hostname) = split(/\|/, $response, 2); 154 $hash{$ip} = $hostname; 160 ($ip, $rest) = split(/ /, $buffer[$line], 2); 162 printf STDOUT ("%s %s", $hash{$ip}, [all...] |
/macosx-10.10/ruby-106/ruby/ext/tk/sample/ |
H A D | remote-ip_sample.rb | 12 unless (wish = TkWinfo.interps.find{|ip| ip =~ /^wish/}) 18 ip = RemoteTkIp.new(wish) 19 ip.eval_proc{TkButton.new(:command=>proc{puts 'This procesure is on the controller-ip (Ruby/Tk)'}, :text=>'print on Ruby/Tk (controller-ip)').pack(:fill=>:x)} 20 ip.eval_proc{TkButton.new(:command=>'puts {This procesure is on the remote-ip (wish)}', :text=>'print on wish (remote-ip)').pack(:fill=>:x)} 22 # If your remote-ip i [all...] |
/macosx-10.10/file_cmds-242/mtree/ |
H A D | spec.c | 167 set(char *t, NODE *ip) argument 178 ip->flags |= type = parsekey(kw, &value); 183 ip->cksum = strtoul(val, &ep, 10); 189 ip->md5digest = strdup(val); 190 if(!ip->md5digest) 194 ip->sha1digest = strdup(val); 195 if(!ip->sha1digest) 199 ip->sha256digest = strdup(val); 200 if(!ip->sha256digest) 204 ip 312 unset(char *t, NODE *ip) argument [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/i386/ |
H A D | startup64.c | 92 uint32_t *ip = (uint32_t *) sp; local 98 i++, ip++) 99 kprintf("%p: 0x%08x\n", ip, *ip); 127 uint64_t *ip = (uint64_t *) sp; local 133 i++, ip++) 134 kprintf("%p: 0x%016llx\n", ip, *ip); 171 uint32_t *ip = (uint32_t *) gdtp; local 174 for (i = 0; i < GDTSZ; i++, ip 184 uint32_t *ip = (uint32_t *) ldtp; local 197 uint32_t *ip = (uint32_t *) idtp; local 212 uint32_t *ip = (uint32_t *) tssp; local [all...] |
/macosx-10.10/ksh-23/ksh/src/lib/libast/string/ |
H A D | fmtgid.c | 62 register Id_t* ip; local 76 else if (ip = (Id_t*)dtmatch(dict, &gid)) 77 return ip->name; 93 if (dict && (ip = newof(0, Id_t, 1, strlen(name)))) 95 ip->id = gid; 96 strcpy(ip->name, name); 97 dtinsert(dict, ip); 98 return ip->name;
|
H A D | fmtuid.c | 62 register Id_t* ip; local 76 else if (ip = (Id_t*)dtmatch(dict, &uid)) 77 return ip->name; 93 if (dict && (ip = newof(0, Id_t, 1, strlen(name)))) 95 ip->id = uid; 96 strcpy(ip->name, name); 97 dtinsert(dict, ip); 98 return ip->name;
|
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/dns/ |
H A D | ip.tcl | 0 # ip.tcl - Copyright (C) 2004 Pat Thoyts <patthoyts@users.sourceforge.net> 12 # $Id: ip.tcl,v 1.14 2010/08/16 17:35:18 andreas_kupries Exp $ 18 namespace eval ip { 20 variable rcsid {$Id: ip.tcl,v 1.14 2010/08/16 17:35:18 andreas_kupries Exp $} 53 proc ::ip::is {class ip} { 54 foreach {ip mask} [split $ip /] break 57 return [IPv4? $ip] 60 return [IPv6? $ip] [all...] |