/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/ |
H A D | sockmisc.c | 85 cmpsaddrwop(addr1, addr2) 86 const struct sockaddr_storage *addr1; 91 if (addr1 == 0 && addr2 == 0) 93 if (addr1 == 0 || addr2 == 0) 96 if (addr1->ss_len != addr2->ss_len 97 || addr1->ss_family != addr2->ss_family) 99 switch (addr1->ss_family) { 101 sa1 = (caddr_t)&((struct sockaddr_in *)addr1)->sin_addr; 108 sa1 = (caddr_t)&((struct sockaddr_in6 *)addr1)->sin6_addr; 112 if (((struct sockaddr_in6 *)addr1) 130 cmpsaddrwop_withprefix(const struct sockaddr_storage *addr1, const struct sockaddr_storage *addr2, int prefix) argument 247 cmpsaddrstrict(const struct sockaddr_storage *addr1, const struct sockaddr_storage *addr2) argument 300 cmpsaddrstrict_withprefix(const struct sockaddr_storage *addr1, const struct sockaddr_storage *addr2, int prefix) argument [all...] |
H A D | grabmyaddr.c | 158 char addr1[NI_MAXHOST]; local 230 addr1, sizeof(addr1), 233 strlcpy(addr1, "(invalid)", sizeof(addr1)); 236 addr1, ifap->ifa_name);
|
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/tests/ |
H A D | zonemgr_test.c | 155 isc_sockaddr_t addr1, addr2; local 182 isc_sockaddr_fromin(&addr1, &in, 2112); 185 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now)); 186 dns_zonemgr_unreachableadd(zonemgr, &addr1, &addr2, &now); 187 ATF_CHECK(dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now)); 191 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now)); 192 dns_zonemgr_unreachableadd(zonemgr, &addr1, &addr2, &now); 193 ATF_CHECK(dns_zonemgr_unreachable(zonemgr, &addr1, &addr2, &now)); 195 dns_zonemgr_unreachabledel(zonemgr, &addr1, &addr2); 196 ATF_CHECK(! dns_zonemgr_unreachable(zonemgr, &addr1, [all...] |
/macosx-10.9.5/ruby-104/ruby/test/webrick/ |
H A D | test_httpserver.rb | 93 addr1 = "192.168.100.1" 114 host2 = httpd(addr1, port1, name1, nil), 115 host3 = httpd(addr1, port1, name2, alias1), 116 host4 = httpd(addr1, port2, name1, nil), 117 host5 = httpd(addr1, port2, name2, alias1), 118 httpd(addr1, port2, name3, alias2), 127 # connect to addr1 128 assert_eql?(host2, host1.lookup_server(Req.new(addr1, port1, name1))) 129 assert_eql?(host3, host1.lookup_server(Req.new(addr1, port1, name2))) 130 assert_eql?(host3, host1.lookup_server(Req.new(addr1, port [all...] |
/macosx-10.9.5/cups-372.4/cups/cups/ |
H A D | http-addr.c | 65 httpAddrEqual(const http_addr_t *addr1, /* I - First address */ argument 68 if (!addr1 && !addr2) 71 if (!addr1 || !addr2) 74 if (addr1->addr.sa_family != addr2->addr.sa_family) 78 if (addr1->addr.sa_family == AF_LOCAL) 79 return (!strcmp(addr1->un.sun_path, addr2->un.sun_path)); 83 if (addr1->addr.sa_family == AF_INET6) 84 return (!memcmp(&(addr1->ipv6.sin6_addr), &(addr2->ipv6.sin6_addr), 16)); 87 return (addr1->ipv4.sin_addr.s_addr == addr2->ipv4.sin_addr.s_addr);
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/xnu_quick_test/ |
H A D | machvm_tests.c | 281 vm_address_t addr1, addr2; local 285 addr1 = 0; 287 kret = vm_allocate(mach_task_self(), &addr1, size, VM_FLAGS_ANYWHERE); 294 *(uint32_t *)(uintptr_t)addr1 = 'test'; 297 &size, addr1, VM_PROT_DEFAULT, 305 kret = vm_deallocate(mach_task_self(), addr1, size);
|
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/ |
H A D | addr_families.c | 642 const krb5_address *addr1, 649 if(addr1->addr_type == KRB5_ADDRESS_ARANGE) { 650 a = addr1->address.data; 655 a2 = addr1; 677 return sign * (addr1->addr_type - addr2->addr_type); 687 krb5_address addr1, addr2; local 700 krb5_ret_address(sp, &addr1); 717 ret = krb5_print_address(&addr1, str + size, len - size, &l); 1225 * krb5_address_order compares the addresses addr1 and addr2 so that 1230 * @param addr1 krb5_addres 641 arange_order_addr(krb5_context context, const krb5_address *addr1, const krb5_address *addr2) argument 1240 krb5_address_order(krb5_context context, const krb5_address *addr1, const krb5_address *addr2) argument 1289 krb5_address_compare(krb5_context context, const krb5_address *addr1, const krb5_address *addr2) argument [all...] |
/macosx-10.9.5/Libinfo-449.1.3/gen.subproj/ |
H A D | rthdr.c | 387 struct in6_addr addr_tmp, *addr1, *addr2; local 389 addr1 = (struct in6_addr *)(rth0_out + 1) + i; 392 addr_tmp = *addr1; 393 *addr1 = *addr2;
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/superpages/ |
H A D | testsp.c | 67 check_addr(mach_vm_address_t addr1, mach_vm_address_t addr2, char *fn) { argument 68 if (addr1 != addr2) { 69 sprintf(error, "%s() returned address %llx instead of %llx", fn, addr1, addr2); 504 mach_vm_address_t addr1 = 0; local 512 kr = mach_vm_allocate(mach_task_self(), &addr1, size, VM_FLAGS_ANYWHERE | VM_FLAGS_SUPERPAGE_SIZE_2MB); 525 if ((bytes = read(fd, (void*)(uintptr_t)addr1, SUPERPAGE_SIZE)) < SUPERPAGE_SIZE) { 538 if (memcmp((void*)(uintptr_t)addr1, (void*)(uintptr_t)addr2, bytes)) { 543 kr = mach_vm_deallocate(mach_task_self(), addr1, size);
|
/macosx-10.9.5/dcerpc-58/dcerpc/ncklib/ |
H A D | comnaf.c | 1406 ** addr1 The first RPC Address to be compared. 1431 rpc_addr_p_t addr1, 1439 if ((addr1 == NULL) || (addr2 == NULL)) 1442 if (addr1 == addr2) return true; 1449 if ((*rpc_g_naf_id[addr1->sa.family].epv->naf_addr_compare) 1450 (addr1, addr2, status)) 1408 rpc__naf_addr_compare( rpc_addr_p_t addr1, rpc_addr_p_t addr2, unsigned32 *status ) argument
|
H A D | ipnaf_linux.c | 708 unsigned32 addr1; 742 addr1 = ip_addr->sa.sin_addr.s_addr & local_ip_addr_vec->elt[i].netmask; 745 if (addr1 == addr2) 703 unsigned32 addr1; local
|
H A D | ipnaf_bsd.c | 1087 unsigned32 addr1; 1121 addr1 = ip_addr->sa.sin_addr.s_addr & local_ip_addr_vec->elt[i].netmask; 1124 if (addr1 == addr2)
|
H A D | comnaf.h | 195 rpc_addr_p_t addr1,
|
/macosx-10.9.5/xnu-2422.115.4/osfmk/ipc/ |
H A D | mach_port.c | 245 vm_offset_t addr1; /* allocated memory, for names */ local 266 kmem_free(ipc_kernel_map, addr1, size); 284 kmem_free(ipc_kernel_map, addr1, size); 289 kr = vm_allocate(ipc_kernel_map, &addr1, size, VM_FLAGS_ANYWHERE); 295 kmem_free(ipc_kernel_map, addr1, size); 303 vm_map_trunc_page(addr1, 305 vm_map_round_page(addr1 + size, 310 kmem_free(ipc_kernel_map, addr1, size); 324 kmem_free(ipc_kernel_map, addr1, size); 332 names = (mach_port_name_t *) addr1; [all...] |
/macosx-10.9.5/IOFireWireAVC-422.4.0/IOFireWireAVCLib/ |
H A D | IOFireWireAVCLibConsumer.h | 113 UInt64 addr1 = (((UInt64)address1.addressHi) << 32) | address1.addressLo; local 115 return (addr2 - addr1);
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/misc/libffi/src/powerpc/ |
H A D | ffi_darwin.c | 571 flush_range(char * addr1, int size) argument 576 flush_icache(addr1+i); 577 flush_icache(addr1+size-1);
|
H A D | ffi.c | 818 flush_icache (char *addr1, int size) argument 824 addr = addr1 + i; 828 addr = addr1 + size - 1;
|
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/network_io/unix/ |
H A D | sockaddr.c | 824 APR_DECLARE(int) apr_sockaddr_equal(const apr_sockaddr_t *addr1, argument 827 if (addr1->ipaddr_len == addr2->ipaddr_len && 828 !memcmp(addr1->ipaddr_ptr, addr2->ipaddr_ptr, addr1->ipaddr_len)) { 832 if (V4MAPPED_EQUAL(addr1, addr2)) { 835 if (V4MAPPED_EQUAL(addr2, addr1)) {
|
/macosx-10.9.5/apr-30/apr/apr/network_io/unix/ |
H A D | sockaddr.c | 792 APR_DECLARE(int) apr_sockaddr_equal(const apr_sockaddr_t *addr1, argument 795 if (addr1->ipaddr_len == addr2->ipaddr_len && 796 !memcmp(addr1->ipaddr_ptr, addr2->ipaddr_ptr, addr1->ipaddr_len)) { 800 if (V4MAPPED_EQUAL(addr1, addr2)) { 803 if (V4MAPPED_EQUAL(addr2, addr1)) {
|
/macosx-10.9.5/ppp-727.90.1/Drivers/L2TP/L2TP-extension/ |
H A D | l2tp_rfc.c | 139 int l2tp_rfc_compare_address(struct sockaddr* addr1, struct sockaddr* addr2); 1101 int l2tp_rfc_compare_address(struct sockaddr* addr1, struct sockaddr* addr2) argument 1105 if (addr1->sa_family != addr2->sa_family) 1108 switch (addr1->sa_family) { 1110 if (bcmp(&((struct sockaddr_in*)(void*)addr1)->sin_port, &((struct sockaddr_in*)(void*)addr2)->sin_port, sizeof(u_int16_t))) 1112 if (bcmp(&((struct sockaddr_in*)(void*)addr1)->sin_addr.s_addr, &((struct sockaddr_in*)(void*)addr2)->sin_addr.s_addr, sizeof(struct in_addr)))
|
/macosx-10.9.5/ruby-104/ruby/test/socket/ |
H A D | test_nonblock.rb | 144 af, port1, host, addr1 = s1.addr 151 s2.connect(addr1, port1)
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_apple_csp/open_ssl/openssl/ |
H A D | crypto.h | 350 void CRYPTO_dbg_realloc(void *addr1,void *addr2,int num,const char *file,int line,int before_p);
|
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/include/ |
H A D | apr_network_io.h | 707 * @param addr1 One of the APR socket addresses. 712 APR_DECLARE(int) apr_sockaddr_equal(const apr_sockaddr_t *addr1,
|
/macosx-10.9.5/apr-30/apr/apr/include/ |
H A D | apr_network_io.h | 707 * @param addr1 One of the APR socket addresses. 712 APR_DECLARE(int) apr_sockaddr_equal(const apr_sockaddr_t *addr1,
|
/macosx-10.9.5/ruby-104/ruby/ext/socket/ |
H A D | raddrinfo.c | 393 VALUE family, port, addr1, addr2; local 408 addr1 = Qnil; 413 addr1 = rb_str_new2(hbuf); 422 if (addr1 == Qnil) { 423 addr1 = addr2; 426 ary = rb_ary_new3(4, family, port, addr1, addr2);
|