Home
last modified time | relevance | path

Searched refs:destp (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/aarch64/
H A Dsme-libc-memcpy-memmove.c20 unsigned char *destp = (unsigned char *)dest; in __arm_sc_memcpy_fwd() local
24 destp[i] = srcp[i]; in __arm_sc_memcpy_fwd()
30 unsigned char *destp = (unsigned char *)dest; in __arm_sc_memcpy_rev() local
35 destp[n] = srcp[n]; in __arm_sc_memcpy_rev()
47 unsigned char *destp = (unsigned char *)dest; in __arm_sc_memmove() local
50 if ((srcp > (destp + n)) || (destp > (srcp + n))) in __arm_sc_memmove()
52 if (srcp > destp) in __arm_sc_memmove()
H A Dsme-libc-memset-memchr.c20 unsigned char *destp = (unsigned char *)dest; in __arm_sc_memset() local
23 destp[i] = c8; in __arm_sc_memset()
/freebsd/stand/libofw/
H A Dofw_copy.c47 void *destp, *addr; in ofw_mapmem() local
73 destp = (void *)(dest & ~PAGE_MASK); in ofw_mapmem()
85 if (OF_call_method("claim", memory, 3, 1, destp, dlen, 0, &addr) in ofw_mapmem()
95 if (OF_call_method("claim", mmu, 3, 1, destp, dlen, 0, &addr) in ofw_mapmem()
101 if (OF_call_method("map", mmu, 4, 0, destp, destp, dlen, 0) in ofw_mapmem()
107 last_dest = (vm_offset_t) destp; in ofw_mapmem()
/freebsd/sys/compat/linux/
H A Dlinux_elf.c332 uintptr_t destp, ustringp; in __linuxN() local
340 destp = PROC_PS_STRINGS(p); in __linuxN()
341 arginfo = imgp->ps_strings = (void *)destp; in __linuxN()
348 destp -= execpath_len; in __linuxN()
349 destp = rounddown2(destp, sizeof(void *)); in __linuxN()
350 imgp->execpathp = (void *)destp; in __linuxN()
360 destp -= sizeof(canary); in __linuxN()
361 imgp->canary = (void *)destp; in __linuxN()
370 destp -= ARG_MAX - imgp->args->stringspace; in __linuxN()
371 destp = rounddown2(destp, sizeof(void *)); in __linuxN()
[all …]
/freebsd/usr.sbin/lpr/common_source/
H A Dcommon.c461 char *destp; in lpd_gettime() local
493 destp = strrchr(tempstr, ':'); in lpd_gettime()
494 if (destp != NULL) { in lpd_gettime()
495 destp += 3; in lpd_gettime()
496 if ((*destp != '+') && (*destp != '-')) { in lpd_gettime()
502 strcpy(savday, destp + strlen(destp) - 4); in lpd_gettime()
503 snprintf(destp, (destp - tempstr), "%+03d%02d", in lpd_gettime()
505 strcat(destp, savday); in lpd_gettime()
522 register char *destp, *endp; in trstat_init() local
538 destp = &(pp->jobnum[0]); in trstat_init()
[all …]
/freebsd/lib/libc/db/hash/
H A Dhash.c912 swap_header_copy(HASHHDR *srcp, HASHHDR *destp) in swap_header_copy() argument
916 P_32_COPY(srcp->magic, destp->magic); in swap_header_copy()
917 P_32_COPY(srcp->version, destp->version); in swap_header_copy()
918 P_32_COPY(srcp->lorder, destp->lorder); in swap_header_copy()
919 P_32_COPY(srcp->bsize, destp->bsize); in swap_header_copy()
920 P_32_COPY(srcp->bshift, destp->bshift); in swap_header_copy()
921 P_32_COPY(srcp->dsize, destp->dsize); in swap_header_copy()
922 P_32_COPY(srcp->ssize, destp->ssize); in swap_header_copy()
923 P_32_COPY(srcp->sshift, destp->sshift); in swap_header_copy()
924 P_32_COPY(srcp->ovfl_point, destp->ovfl_point); in swap_header_copy()
[all …]
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/hash/
H A Dhash.c955 swap_header_copy(HASHHDR *srcp, HASHHDR *destp) in swap_header_copy() argument
959 P_32_COPY(srcp->magic, destp->magic); in swap_header_copy()
960 P_32_COPY(srcp->version, destp->version); in swap_header_copy()
961 P_32_COPY(srcp->lorder, destp->lorder); in swap_header_copy()
962 P_32_COPY(srcp->bsize, destp->bsize); in swap_header_copy()
963 P_32_COPY(srcp->bshift, destp->bshift); in swap_header_copy()
964 P_32_COPY(srcp->ovfl_point, destp->ovfl_point); in swap_header_copy()
965 P_32_COPY(srcp->last_freed, destp->last_freed); in swap_header_copy()
966 P_32_COPY(srcp->max_bucket, destp->max_bucket); in swap_header_copy()
967 P_32_COPY(srcp->high_mask, destp->high_mask); in swap_header_copy()
[all …]
/freebsd/sys/amd64/linux32/
H A Dlinux32_sysvec.c623 uintptr_t destp, ustringp; in linux_copyout_strings() local
629 destp = (uintptr_t)arginfo; in linux_copyout_strings()
633 destp -= execpath_len; in linux_copyout_strings()
634 destp = rounddown2(destp, sizeof(uint32_t)); in linux_copyout_strings()
635 imgp->execpathp = (void *)destp; in linux_copyout_strings()
643 destp -= roundup(sizeof(canary), sizeof(uint32_t)); in linux_copyout_strings()
644 imgp->canary = (void *)destp; in linux_copyout_strings()
650 destp -= ARG_MAX - imgp->args->stringspace; in linux_copyout_strings()
651 destp = rounddown2(destp, sizeof(uint32_t)); in linux_copyout_strings()
652 ustringp = destp; in linux_copyout_strings()
[all …]
/freebsd/sys/kern/
H A Dkern_exec.c1684 uintptr_t destp, ustringp; in exec_copyout_strings() local
1695 destp = PROC_PS_STRINGS(p); in exec_copyout_strings()
1696 arginfo = imgp->ps_strings = (void *)destp; in exec_copyout_strings()
1703 destp -= szsigcode; in exec_copyout_strings()
1704 destp = rounddown2(destp, sizeof(void *)); in exec_copyout_strings()
1705 error = copyout(sysent->sv_sigcode, (void *)destp, szsigcode); in exec_copyout_strings()
1715 destp -= execpath_len; in exec_copyout_strings()
1716 destp = rounddown2(destp, sizeof(void *)); in exec_copyout_strings()
1717 imgp->execpathp = (void *)destp; in exec_copyout_strings()
1727 destp -= sizeof(canary); in exec_copyout_strings()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/BlocksRuntime/
H A Druntime.c199 void **destp = (void **)dest; in _Block_memmove_gc_broken() local
202 _Block_assign_default(*srcp, destp); in _Block_memmove_gc_broken()
203 destp++; in _Block_memmove_gc_broken()
369 struct Block_byref **destp = (struct Block_byref **)dest; in _Block_byref_assign_copy() local
410 _Block_assign(src->forwarding, (void **)destp); in _Block_byref_assign_copy()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_proc.c127 __u16 destp; in sdp_seq_show() local
142 destp = ntohs(inet_sk(sk)->dport); in sdp_seq_show()
150 st->num, src, srcp, dest, destp, uid, inode, in sdp_seq_show()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c3642 uintptr_t destp, ustringp; in freebsd32_copyout_strings() local
3653 destp = (uintptr_t)arginfo; in freebsd32_copyout_strings()
3660 destp -= szsigcode; in freebsd32_copyout_strings()
3661 destp = rounddown2(destp, sizeof(uint32_t)); in freebsd32_copyout_strings()
3662 error = copyout(sysent->sv_sigcode, (void *)destp, in freebsd32_copyout_strings()
3673 destp -= execpath_len; in freebsd32_copyout_strings()
3674 imgp->execpathp = (void *)destp; in freebsd32_copyout_strings()
3684 destp -= sizeof(canary); in freebsd32_copyout_strings()
3685 imgp->canary = (void *)destp; in freebsd32_copyout_strings()
3696 destp -= sizeof(pagesizes32); in freebsd32_copyout_strings()
[all …]
/freebsd/sys/dev/sfxge/common/
H A Defx_bootcfg.c718 uint8_t *destp = (uint8_t *)DHCP_NEXT_TAG(hdrp) + in efx_dhcp_update_tag() local
723 memmove(destp, DHCP_NEXT_TAG(hdrp), count); in efx_dhcp_update_tag()
/freebsd/sys/netgraph/
H A Dng_base.c1728 ng_path2noderef(node_p here, const char *address, node_p *destp, in ng_path2noderef() argument
1736 if (destp == NULL) { in ng_path2noderef()
1740 *destp = NULL; in ng_path2noderef()
1775 *destp = node; in ng_path2noderef()
1844 *destp = node; in ng_path2noderef()
/freebsd/sys/netinet/
H A Dsctp_usrreq.c1494 #define SCTP_CHECK_AND_CAST(destp, srcp, type, size) {\ argument
1500 destp = (type *)srcp; \