/darwin-on-arm/xnu/bsd/dev/arm/ |
H A D | memmove.c | 46 void *memcpy(void *dst, const void *src, unsigned int ulen) 48 bcopy(src, dst, ulen); 49 return dst; 54 void *memmove(void *dst, const void *src, size_t ulen) argument 56 bcopy(src, dst, ulen); 57 return dst;
|
H A D | stubs.c | 53 int copywithin(void *src, void *dst, size_t count) argument 55 bcopy(src, dst, count);
|
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | memmove.c | 46 void *memcpy(void *dst, const void *src, unsigned int ulen) 48 bcopy(src, dst, ulen); 49 return dst; 54 memmove(void *dst, const void *src, size_t ulen) argument 56 bcopy(src, dst, ulen); 57 return dst;
|
/darwin-on-arm/xnu/libsyscall/wrappers/ |
H A D | memcpy.c | 53 char *dst = dst0; local 57 if (length == 0 || dst == src) /* nothing to do */ 66 if ((unsigned long)dst < (unsigned long)src) { 71 if ((t | (uintptr_t)dst) & wmask) { 76 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) 81 TLOOP1(*dst++ = *src++); 87 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize); 89 TLOOP(*dst++ = *src++); 97 dst [all...] |
/darwin-on-arm/xnu/osfmk/arm64/ |
H A D | memset.s | 58 #define dst x8 define 70 mov dst, dstin /* Preserve return value. */ 87 add dst, dst, tmp1 91 stp A_l, A_l, [dst, #-48] 93 stp A_l, A_l, [dst, #-32] 95 stp A_l, A_l, [dst, #-16] 99 add dst, dst, count 100 stp A_l, A_l, [dst, # [all...] |
H A D | memmove.s | 44 #define dst x6 define 66 mov dst, dstin 79 add dst, dst, tmp1 85 stp A_l, A_h, [dst, #-48] 88 stp A_l, A_h, [dst, #-32] 91 stp A_l, A_h, [dst, #-16] 98 add dst, dst, count 99 stp A_l, A_h, [dst, # [all...] |
/darwin-on-arm/xnu/SETUP/ |
H A D | setup.csh | 3 setenv DSTROOT $SRCROOT/BUILD/dst
|
H A D | setup.sh | 3 export DSTROOT=$SRCROOT/BUILD/dst
|
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | phys.c | 130 pmap_paddr_t src, dst; local 138 dst = i386_ptob(pdst); 140 assert((((uintptr_t)dst & PAGE_MASK) + dst_offset + len) <= PAGE_SIZE); 144 (addr64_t)dst + (dst_offset & INTEL_OFFMASK), 189 __unused vm_offset_t dst, 206 memcpy((void *) dst, (void *) (map->prv_CADDR + (src_offset & INTEL_OFFMASK)), len); 236 void *src, *dst; local 245 dst = (void *) ((uintptr_t)dst_map->prv_CADDR | ((uint32_t)dst64 & INTEL_OFFMASK)); 256 dst = PHYSMAP_PTOV(dst64); 260 dst 186 pmap_copy_part_rpage( __unused ppnum_t psrc, __unused vm_offset_t src_offset, __unused vm_offset_t dst, __unused vm_size_t len) argument [all...] |
H A D | rtclock_protos.h | 48 pal_rtc_nanotime_t *dst);
|
H A D | hibernate_restore.c | 37 // dst is a physical 4k page aligned ptr, len is one 4K page 38 // src & dst will not overlap 41 hibernate_restore_phys_page(uint64_t src, uint64_t dst, uint32_t len, uint32_t procFlags) argument 49 return (uintptr_t)dst; 51 d = (uint64_t *)pal_hib_map(DEST_COPY_AREA, dst);
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeNodeOps.c | 501 void *dst; local 519 dst = ((Ptr) src) + recSize; 522 MoveRecordsRight (src, dst, bytesToMove); 532 dst = ((Ptr) node) + indexOffset; 533 MoveRecordsLeft (recPtr, dst, recSize); 573 u_int8_t * dst; local 605 dst = ((u_int8_t *) src) + keySize + recSize; 608 MoveRecordsRight (src, dst, bytesToMove); 618 dst = ((u_int8_t *) node) + indexOffset; 622 *((u_int16_t *)dst) 674 void *dst; local 1020 u_int16_t *src, *dst; local 1053 u_int16_t *src, *dst; local [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | route.c | 404 * route; dst typically comes from rt_key(rt) but may be coming from 408 rt_primary_default(struct rtentry *rt, struct sockaddr *dst) argument 410 return (SA_DEFAULT(dst) && !(rt->rt_flags & RTF_IFSCOPE)); 502 * Copy a sockaddr_{in,in6} src to a dst storage and set scope ID into dst. 511 sa_copy(struct sockaddr *src, struct sockaddr_storage *dst, argument 519 bzero(dst, sizeof (*dst)); 522 bcopy(src, dst, sizeof (struct sockaddr_in)); 524 sin_set_ifscope(SA(dst), ifscop 563 ma_copy(int af, struct sockaddr *src, struct sockaddr_storage *dst, unsigned int ifscope) argument 843 rtalloc1_locked(struct sockaddr *dst, int report, uint32_t ignflags) argument 849 rtalloc1_scoped_locked(struct sockaddr *dst, int report, uint32_t ignflags, unsigned int ifscope) argument 860 rtalloc1_common_locked(struct sockaddr *dst, int report, uint32_t ignflags, unsigned int ifscope) argument 941 rtalloc1(struct sockaddr *dst, int report, uint32_t ignflags) argument 952 rtalloc1_scoped(struct sockaddr *dst, int report, uint32_t ignflags, unsigned int ifscope) argument 1229 rtredirect(struct ifnet *ifp, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src, struct rtentry **rtp) argument 1392 ifa_ifwithroute( int flags, const struct sockaddr *dst, const struct sockaddr *gateway) argument 1407 ifa_ifwithroute_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway) argument 1415 ifa_ifwithroute_scoped_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gateway, unsigned int ifscope) argument 1427 ifa_ifwithroute_common_locked(int flags, const struct sockaddr *dst, const struct sockaddr *gw, unsigned int ifscope) argument 1560 rtrequest_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument 1568 rtrequest_scoped_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument 1606 struct sockaddr *ndst, *dst = dst0; local 2066 rtrequest(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument 2078 rtrequest_scoped(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument 2228 rt_setgate(struct rtentry *rt, struct sockaddr *dst, struct sockaddr *gate) argument 2482 rt_set_gwroute(struct rtentry *rt, struct sockaddr *dst, struct rtentry *gwrt) argument 2536 rt_maskedcopy(struct sockaddr *src, struct sockaddr *dst, struct sockaddr *netmask) argument 2560 node_lookup(struct sockaddr *dst, struct sockaddr *netmask, unsigned int ifscope) argument 2635 rt_lookup(boolean_t lookup_only, struct sockaddr *dst, struct sockaddr *netmask, struct radix_node_head *rnh, unsigned int ifscope) argument 2838 struct sockaddr *dst; local 3271 route_copyout( struct route *dst, const struct route *src, size_t length) argument 3285 route_copyin( struct route *src, struct route *dst, size_t length) argument [all...] |
H A D | if_gif.c | 585 struct sockaddr *dst = NULL, *src = NULL; local 628 dst = (struct sockaddr *) 638 dst = (struct sockaddr *)&ifra_32->ifra_dstaddr; 647 dst = (struct sockaddr *)&ifra_64->ifra_dstaddr; 654 dst = (struct sockaddr *) 659 if (src->sa_family != dst->sa_family) 679 switch (dst->sa_family) { 682 if (dst->sa_len != sizeof(struct sockaddr_in)) 688 if (dst->sa_len != sizeof(struct sockaddr_in6)) 723 if (sc2->gif_pdst->sa_family != dst [all...] |
H A D | pf.c | 356 pd->dst = (struct pf_addr *)&h->ip_dst; 364 pd->dst = (struct pf_addr *)&h->ip6_dst; 1082 pf_addrcpy(struct pf_addr *dst, struct pf_addr *src, sa_family_t af) argument 1087 dst->addr32[0] = src->addr32[0]; 1091 dst->addr32[0] = src->addr32[0]; 1092 dst->addr32[1] = src->addr32[1]; 1093 dst->addr32[2] = src->addr32[2]; 1094 dst->addr32[3] = src->addr32[3]; 1285 st->src.state = st->dst.state = 1299 (*state)->src.state = (*state)->dst 2291 pf_modulate_sack(struct mbuf *m, int off, struct pf_pdesc *pd, struct tcphdr *th, struct pf_state_peer *dst) argument 3349 struct pf_rule_addr *src = NULL, *dst = NULL; local 3832 struct sockaddr_in *dst; local 5802 struct pf_state_peer *src, *dst; local 6318 struct pf_state_peer *src, *dst; local 6716 struct pf_state_peer *src, *dst; local 7129 struct pf_state_peer *dst; local 7231 struct pf_state_peer *dst; local 7387 struct pf_state_peer *src, *dst; local 7525 struct sockaddr_in *dst; local 7571 struct sockaddr_in *dst; local 7618 struct sockaddr_in *dst; local 7833 struct sockaddr_in6 *dst; local [all...] |
/darwin-on-arm/xnu/bsd/netat/ |
H A D | drv_dep.c | 148 struct sockaddr dst; local 160 dst.sa_family = AF_APPLETALK; 161 dst.sa_len = 2 + sizeof(struct etalk_addr); 162 bcopy (dst_addr, &dst.sa_data[0], sizeof(struct etalk_addr)); 191 dlil_output(patp->aa_ifp, PF_APPLETALK, m, NULL, &dst, 0, NULL); 259 if ((enet_header->dst[0] & 1) && 286 enet_header->dst[0], enet_header->dst[1], 287 enet_header->dst[2], enet_header->dst[ [all...] |
H A D | at_pat.h | 49 unsigned char dst[6]; member in struct:__anon336
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_encap.h | 71 struct sockaddr_storage dst; /* remote addr */ member in struct:encaptab
|
H A D | in_gif.c | 108 struct sockaddr_in *dst = (struct sockaddr_in *)(void *)&sc->gif_ro.ro_dst; local 192 if (dst->sin_family != sin_dst->sin_family || 193 dst->sin_addr.s_addr != sin_dst->sin_addr.s_addr || 198 dst->sin_family = sin_dst->sin_family; 199 dst->sin_len = sizeof(struct sockaddr_in); 200 dst->sin_addr = sin_dst->sin_addr; 340 struct sockaddr_in *src, *dst; local 347 dst = (struct sockaddr_in *)(void *)sc->gif_pdst; 355 if (dst->sin_addr.s_addr == ip.ip_src.s_addr)
|
/darwin-on-arm/xnu/libkern/ |
H A D | mkext.c | 121 decompress_lzss(u_int8_t *dst, u_int32_t dstlen, u_int8_t *src, u_int32_t srclen) argument 125 u_int8_t *dststart = dst; 126 u_int8_t *dstend = dst + dstlen; 131 dst = dststart; 144 *dst++ = c; 145 if (dst >= dstend) { 157 *dst++ = c; 158 if (dst >= dstend) { 167 return dst - dststart;
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_gif.c | 117 struct sockaddr_in6 *dst = (struct sockaddr_in6 *)&sc->gif_ro6.ro_dst; local 200 if (dst->sin6_family != sin6_dst->sin6_family || 201 !IN6_ARE_ADDR_EQUAL(&dst->sin6_addr, &sin6_dst->sin6_addr) || 206 bzero(dst, sizeof(*dst)); 207 dst->sin6_family = sin6_dst->sin6_family; 208 dst->sin6_len = sizeof(struct sockaddr_in6); 209 dst->sin6_addr = sin6_dst->sin6_addr; 332 struct sockaddr_in6 *src, *dst; local 335 dst [all...] |
/darwin-on-arm/xnu/bsd/libkern/ |
H A D | inet_ntop.c | 89 inet_ntop6(const struct in6_addr *addr, char *dst, socklen_t size) argument 113 bcopy(tmp, dst, len + 1); 114 return dst; 202 bcopy(tmp, dst, len); 203 return dst;
|
/darwin-on-arm/xnu/osfmk/console/ |
H A D | panic_dialog.c | 582 volatile unsigned char * dst; local 592 dst = (volatile unsigned char *) (vinfo.v_baseaddr + 612 *(dst + col) = data; 620 dst = (volatile unsigned char *) (((uintptr_t)dst) + vinfo.v_rowbytes); 636 volatile unsigned short * dst; local 641 dst = (volatile unsigned short *) (vinfo.v_baseaddr + 662 *(dst + col) = data; 670 dst = (volatile unsigned short *) (((uintptr_t)dst) 685 volatile unsigned int * dst; local 735 volatile unsigned int * dst; local [all...] |
/darwin-on-arm/xnu/osfmk/device/ |
H A D | subrs.c | 458 * Appends src to string dst of size siz (unlike strncat, siz is the 459 * full size of dst, not space left). At most siz-1 characters 460 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 461 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 465 strlcat(char *dst, const char *src, size_t siz) argument 467 char *d = dst; 472 /* Find the end of dst and adjust bytes left but don't go past end */ 475 dlen = d - dst; 493 * Copy src to string dst of size siz. At most siz-1 characters 500 strlcpy(char *dst, cons argument [all...] |
/darwin-on-arm/xnu/libkern/kxld/ |
H A D | kxld_reloc.c | 567 struct relocation_info *dst = NULL; local 584 start = dst = (struct relocation_info *) ((void *) (buf + *data_offset)); 586 rval = export_macho_for_array(relocator, locrelocs, &dst); 589 rval = export_macho_for_array(relocator, extrelocs, &dst); 592 count = dst - start; 1012 struct relocation_info *dst = NULL; local 1016 dst = *dstp; 1020 scatdst = (struct scattered_relocation_info *) dst; 1036 dst->r_address = reloc->address; 1037 dst [all...] |