| /xnu-11215/tests/ |
| H A D | socket_v4mappedv6.c | 28 struct sockaddr_in6 local = {}; variable 33 local.sin6_family = AF_INET; 34 local.sin6_len = sizeof(local); 35 local.sin6_port = htons(port); 37 T_ASSERT_EQ(inet_pton(AF_INET6, "::ffff:c000:201", &local.sin6_addr), 1, NULL); 38 …T_EXPECT_POSIX_FAILURE((ret = bind(s6, (const struct sockaddr *)&local, sizeof(local))), EADDRNOTA…
|
| H A D | test_knote_use_after_free.c | 207 sync_knote_msg_local_t local; member 211 sync_knote_msg_local_t *local = &message.local; variable 214 local->header = (mach_msg_header_t){ 222 local->body.msgh_descriptor_count = KNOTE_PORT_COUNT; 224 local->port[i] = (mach_msg_port_descriptor_t){ 230 local->sequence = 0x6666666666666666; 231 kr = mach_msg(&local->header, MACH_SEND_MSG, sizeof(sync_knote_msg_local_t), 0, MACH_PORT_NULL,
|
| H A D | icmp_fragmented_payload.c | 181 icmp4_pcb_open(icmp4_pcb_t pcb, struct in_addr *local, struct in_addr *remote) in icmp4_pcb_open() argument 201 memcpy(&sin.sin_addr, local, sizeof(struct in_addr)); in icmp4_pcb_open() 208 memcpy(&(pcb->in4addr_local), local, sizeof(struct in_addr)); in icmp4_pcb_open()
|
| /xnu-11215/libkern/zlib/ |
| H A D | z_crc32.c | 59 #define local static macro 88 local unsigned long crc32_big OF((unsigned long, 102 local volatile int crc_table_empty = 1; 103 local unsigned long FAR crc_table[TBLS][256]; 104 local void make_crc_table OF((void)); 134 local void 212 local void 289 local unsigned long 327 local unsigned long 365 local unsigned long [all …]
|
| H A D | trees.c | 223 local void 267 local void 442 local void 489 local void 523 local void 616 local void 658 local void 749 local void 801 local void 856 local int [all …]
|
| H A D | trees.h | 30 local const ct_data static_ltree[L_CODES+2] = { 91 local const ct_data static_dtree[D_CODES] = { 145 local const int base_length[LENGTH_CODES] = { 150 local const int base_dist[D_CODES] = {
|
| H A D | deflate.c | 544 local void 557 local void 983 local int 1011 local void 1053 local uInt 1202 local uInt 1259 local void 1291 local void 1415 local block_state 1472 local block_state [all …]
|
| H A D | crc32.h | 32 local const unsigned long FAR crc_table[TBLS][256] =
|
| H A D | zutil.c | 224 local int next_ptr = 0; 231 local ptr_table table[MAX_PTR];
|
| H A D | zutil.h | 81 #ifndef local 82 # define local static macro
|
| /xnu-11215/tests/ipc/ |
| H A D | port_turnstile_stash.c | 61 sync_knote_msg_local_t local; member 65 sync_knote_msg_local_t *local = &message.local; variable 68 local->header = (mach_msg_header_t){ 76 local->body.msgh_descriptor_count = KNOTE_PORT_COUNT; 78 local->port[i] = (mach_msg_port_descriptor_t){ 84 local->sequence = 0x6666666666666666; 86 kr = mach_msg(&local->header, MACH_SEND_MSG, sizeof(sync_knote_msg_local_t), 0, MACH_PORT_NULL,
|
| /xnu-11215/bsd/kern/ |
| H A D | socket_flows.c | 227 inet_ntop(AF_INET6, addr, local, sizeof(local)); in soflow_entry_log() 233 inet_ntop(AF_INET, addr, local, sizeof(local)); in soflow_entry_log() 562 if (local != NULL) { in soflow_db_lookup_entry_internal() 734 if (local != NULL) { in soflow_db_add_entry() 899 if (local != NULL) { in soflow_entry_update_local() 999 &desc->local.v6, sizeof(desc->local.v6)); in soflow_nstat_provider_request_vals() 1028 addr = &desc->local.v6; in soflow_nstat_provider_request_vals() 1029 inet_ntop(AF_INET6, addr, local, sizeof(local)); in soflow_nstat_provider_request_vals() 1034 addr = &desc->local.v4.sin_addr; in soflow_nstat_provider_request_vals() 1035 inet_ntop(AF_INET, addr, local, sizeof(local)); in soflow_nstat_provider_request_vals() [all …]
|
| H A D | uipc_proto.c | 136 SYSCTL_NODE(_net, PF_LOCAL, local, CTLFLAG_RW | CTLFLAG_LOCKED,
|
| /xnu-11215/libsyscall/ |
| H A D | Libsyscall.xcconfig | 18 PRIVATE_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/local/include 21 OS_PRIVATE_HEADERS_FOLDER_PATH = $(SDK_INSTALL_HEADERS_ROOT)/usr/local/include/os 31 … $(BUILT_PRODUCTS_DIR)/internal_hdr/include $(BUILT_PRODUCTS_DIR)/mig_hdr/local/include $(BUILT_PR… 33 …ystem.framework/PrivateHeaders $(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/usr/local/include $(SDKROOT)… 36 …tem.framework/PrivateHeaders -I$(SDKROOT)/$(SDK_INSTALL_HEADERS_ROOT)/usr/local/include -I$(SDKROO…
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.rule | 68 # $(3) is the local temp directory for processing 104 # $(3) is the local temp directory for processing 315 # Machine-independent local (private) files 411 # Machine-dependent local (private) files 593 # in their local Makefiles. Those that do will use a "::" rule to augment this. 600 # in their local Makefiles. Those that do will use a "::" rule to augment this. 607 # in their local Makefiles. Those that do will use a "::" rule to augment this. 640 # in their local Makefiles. Those that do will use a "::" rule to augment this. 645 # in their local Makefiles. Those that do will use a "::" rule to augment this. 652 # in their local Makefiles. Those that do will use a "::" rule to augment this. [all …]
|
| /xnu-11215/bsd/net/ |
| H A D | kext_net.h | 62 const struct sockaddr *local, 64 extern int sflt_getsockname(struct socket *so, struct sockaddr **local);
|
| H A D | content_filter.c | 578 #define IS_DNS(local, remote) (check_port(local, 53) || check_port(remote, 53) || check_port(local,… argument 3060 if (local != NULL && (local->sa_len <= sizeof(union sockaddr_in_4_6))) { in cfil_sock_attach() 3061 SOCKADDR_COPY(local, SA(&so->so_cfil->cfi_so_attach_laddr), local->sa_len); in cfil_sock_attach() 3181 if (!NULLADDRESS(data.local)) { in cfil_dispatch_attach_event_sign() 3268 memcpy(&cfil_info->cfi_so_attach_laddr, &data.local, data.local.sa.sa_len); in cfil_dispatch_data_event_sign() 6052 local[0] = remote[0] = 0x0; in cfil_hash_entry_log() 6057 inet_ntop(AF_INET6, addr, local, sizeof(local)); in cfil_hash_entry_log() 6063 inet_ntop(AF_INET, addr, local, sizeof(local)); in cfil_hash_entry_log() 6112 local[0] = remote[0] = 0x0; in cfil_inp_log() 6116 inet_ntop(AF_INET6, addr, local, sizeof(local)); in cfil_inp_log() [all …]
|
| H A D | content_filter.h | 130 union sockaddr_in_4_6 local; member 550 struct sockaddr *local, struct sockaddr *remote, int dir); 570 extern cfil_sock_id_t cfil_sock_id_from_datagram_socket(struct socket *so, struct sockaddr *local, …
|
| /xnu-11215/san/coverage/ |
| H A D | kcov-blacklist-arm64 | 6 # These use a local variable to work out which stack we're on, but can end up with
|
| /xnu-11215/osfmk/mach/ |
| H A D | message.h | 167 #define MACH_MSGH_BITS(remote, local) /* legacy */ \ argument 168 ((remote) | ((local) << 8)) 169 #define MACH_MSGH_BITS_SET_PORTS(remote, local, voucher) \ argument 171 (((local) << 8) & MACH_MSGH_BITS_LOCAL_MASK) | \ 173 #define MACH_MSGH_BITS_SET(remote, local, voucher, other) \ argument 174 (MACH_MSGH_BITS_SET_PORTS((remote), (local), (voucher)) \
|
| /xnu-11215/osfmk/kern/ |
| H A D | exclaves.c | 1968 exclaves_clock_t local = { in exclaves_clocks_need_update() local 1972 if (local.u64.sent_offset != local.u64.latest_offset) { in exclaves_clocks_need_update() 1990 exclaves_clock_t local; in exclaves_clocks_update() local 1993 local.u128 = os_atomic_load(&clock->a_u128, relaxed); in exclaves_clocks_update() 1994 while (local.u64.sent_offset != local.u64.latest_offset) { in exclaves_clocks_update() 2001 local.u64.latest_offset); in exclaves_clocks_update() 2011 local.u64.sent_offset, local.u64.latest_offset, in exclaves_clocks_update() 2012 &local.u64.sent_offset, relaxed); in exclaves_clocks_update() 2017 local.u64.latest_offset = os_atomic_load( in exclaves_clocks_update()
|
| /xnu-11215/ |
| H A D | README.md | 65 local variables and arguments, but without all the extra check of the 208 d. $(DSTROOT)/usr/local/include/ 215 The `System.framework`, `/usr/include` and `/usr/local/include` are used by user level applications… 244 `$(DSTROOT)/usr/local/include` (`EXTRA_PRIVATE_DATAFILES`) 259 `$(DSTROOT)/usr/local/include` 303 $(DSTROOT)/usr/local/include 436 In the simple case, a subdirectory of `usr/include` or `usr/local/include` 440 `usr/local/include`; `module.private.modulemap` is not used. Caveat: in order 447 `usr/local/include/module.modulemap`. The naming convention for the `xnu` 452 `usr/local/include/a/b/c` would be `a_b_c_private.modulemap`.
|
| /xnu-11215/osfmk/arm/ |
| H A D | machine_routines_common.c | 1141 uintptr_t local = (uintptr_t) &local; in ml_stack_remaining() local 1149 if ((local < intstack_top_ptr) && (local > intstack_top_ptr - INTSTACK_SIZE)) { in ml_stack_remaining() 1150 return local - (getCpuDatap()->intstack_top - INTSTACK_SIZE); in ml_stack_remaining() 1152 return local - current_thread()->kernel_stack; in ml_stack_remaining()
|
| /xnu-11215/san/memory/ |
| H A D | kasan-blacklist-arm64 | 12 # These use a local variable to work out which stack we're on, but can end up with
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IODeviceTreeSupport.cpp | 793 OSData * local; in IODTMapInterruptsSharing() local 807 nw = (NULL == (local = OSDynamicCast( OSData, in IODTMapInterruptsSharing() 809 if (nw && (NULL == (local = OSDynamicCast( OSData, in IODTMapInterruptsSharing() 817 local = local2; in IODTMapInterruptsSharing() 822 localBits = (UInt32 *) local->getBytesNoCopy(); in IODTMapInterruptsSharing() 823 localEnd = localBits + (local->getLength() / sizeof(UInt32)); in IODTMapInterruptsSharing() 842 map = OSData::withData( local, mapped->getCount() * sizeof(UInt32), in IODTMapInterruptsSharing()
|