Home
last modified time | relevance | path

Searched refs:local (Results 1 – 25 of 62) sorted by relevance

123

/xnu-11215/tests/
H A Dsocket_v4mappedv6.c28 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 Dtest_knote_use_after_free.c207 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 Dicmp_fragmented_payload.c181 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 Dz_crc32.c59 #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 Dtrees.c223 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 Dtrees.h30 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 Ddeflate.c544 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 Dcrc32.h32 local const unsigned long FAR crc_table[TBLS][256] =
H A Dzutil.c224 local int next_ptr = 0;
231 local ptr_table table[MAX_PTR];
H A Dzutil.h81 #ifndef local
82 # define local static macro
/xnu-11215/tests/ipc/
H A Dport_turnstile_stash.c61 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 Dsocket_flows.c227 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 Duipc_proto.c136 SYSCTL_NODE(_net, PF_LOCAL, local, CTLFLAG_RW | CTLFLAG_LOCKED,
/xnu-11215/libsyscall/
H A DLibsyscall.xcconfig18 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 DMakeInc.rule68 # $(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 Dkext_net.h62 const struct sockaddr *local,
64 extern int sflt_getsockname(struct socket *so, struct sockaddr **local);
H A Dcontent_filter.c578 #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 Dcontent_filter.h130 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 Dkcov-blacklist-arm646 # These use a local variable to work out which stack we're on, but can end up with
/xnu-11215/osfmk/mach/
H A Dmessage.h167 #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 Dexclaves.c1968 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 DREADME.md65 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 Dmachine_routines_common.c1141 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 Dkasan-blacklist-arm6412 # These use a local variable to work out which stack we're on, but can end up with
/xnu-11215/iokit/Kernel/
H A DIODeviceTreeSupport.cpp793 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()

123