Searched defs:dest (Results 1 - 25 of 447) sorted by relevance

1234567891011>>

/freebsd-head/contrib/ipfilter/lib/
H A Dload_dstlist.c24 ippool_dst_t dest; local
36 op.iplo_size = sizeof(dest);
37 op.iplo_struct = &dest;
38 bzero((char *)&dest, sizeof(dest));
39 dest.ipld_unit = dst->ipld_unit;
40 dest.ipld_policy = dst->ipld_policy;
41 dest.ipld_flags = dst->ipld_flags;
42 strncpy(dest.ipld_name, dst->ipld_name, sizeof(dest
[all...]
/freebsd-head/contrib/binutils/libiberty/
H A Dmemset.c19 memset (PTR dest, register int val, register size_t len) argument
21 register unsigned char *ptr = (unsigned char*)dest;
24 return dest;
H A Dbcopy.c15 bcopy (const void *src, void *dest, size_t len) argument
17 if (dest < src)
20 char *firstd = (char *) dest;
27 char *lastd = (char *)dest + (len-1);
/freebsd-head/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_utils.h25 Dest dest; local
26 memcpy(&dest, &source, sizeof(dest));
27 return dest;
/freebsd-head/crypto/heimdal/lib/gssapi/krb5/
H A Dduplicate_name.c44 krb5_principal dest; local
49 kret = krb5_copy_principal (context, src, &dest);
54 *dest_name = (gss_name_t)dest;
/freebsd-head/contrib/ldns/compat/
H A Dmemmove.c12 void *memmove(void *dest, const void *src, size_t n);
14 void *memmove(void *dest, const void *src, size_t n) argument
17 uint8_t* to = (uint8_t*) dest;
20 return dest;
29 return dest;
39 return dest;
41 memcpy(dest, src, n);
42 return dest;
/freebsd-head/contrib/unbound/compat/
H A Dmemmove.c12 void *memmove(void *dest, const void *src, size_t n);
14 void *memmove(void *dest, const void *src, size_t n) argument
17 uint8_t* to = (uint8_t*) dest;
20 return dest;
29 return dest;
39 return dest;
41 memcpy(dest, src, n);
42 return dest;
/freebsd-head/contrib/ofed/libmlx5/
H A Ddoorbell.h50 static inline void mlx5_write64(uint32_t val[2], void *dest, struct mlx5_spinlock *lock) argument
52 *(volatile uint64_t *)dest = MLX5_PAIR_TO_64(val);
57 static inline void mlx5_write64(uint32_t val[2], void *dest, struct mlx5_spinlock *lock) argument
60 *(volatile uint32_t *)dest = val[0];
61 *(volatile uint32_t *)(dest + 4) = val[1];
/freebsd-head/stand/libsa/
H A Dwrite.c70 write(int fd, const void *dest, size_t bcount) argument
82 btodb(f->f_offset), bcount, __DECONST(void *, dest),
90 if ((errno = (f->f_ops->fo_write)(f, dest, bcount, &resid)))
H A Dread.c70 read(int fd, void *dest, size_t bcount) argument
82 btodb(f->f_offset), bcount, dest, &resid);
101 bcopy(f->f_rabuf + f->f_raoffset, dest, ccount);
107 dest = (char *)dest + ccount;
116 errno = (f->f_ops->fo_read)(f, dest, resid, &cresid);
/freebsd-head/stand/efi/loader/arch/i386/
H A Di386_copy.c41 i386_copyin(const void *src, vm_offset_t dest, const size_t len) argument
43 bcopy(src, PTOV(dest), len);
48 i386_copyout(const vm_offset_t src, void *dest, const size_t len) argument
50 bcopy(PTOV(src), dest, len); local
55 i386_readin(readin_handle_t fd, vm_offset_t dest, const size_t len) argument
57 return (VECTX_READ(fd, PTOV(dest), len));
/freebsd-head/stand/i386/libi386/
H A Di386_copy.c41 i386_copyin(const void *src, vm_offset_t dest, const size_t len) argument
43 if (dest + len >= memtop) {
48 bcopy(src, PTOV(dest), len);
53 i386_copyout(const vm_offset_t src, void *dest, const size_t len) argument
60 bcopy(PTOV(src), dest, len); local
66 i386_readin(readin_handle_t fd, vm_offset_t dest, const size_t len) argument
69 if (dest + len >= memtop_copyin) {
74 return (VECTX_READ(fd, PTOV(dest), len));
/freebsd-head/lib/libc/string/
H A Dstrxfrm.c46 strxfrm_l(char * __restrict dest, const char * __restrict src, size_t len, locale_t loc);
48 strxfrm(char * __restrict dest, const char * __restrict src, size_t len) argument
50 return strxfrm_l(dest, src, len, __get_locale());
54 strxfrm_l(char * __restrict dest, const char * __restrict src, size_t len, locale_t locale) argument
66 *dest = '\0';
86 if ((xlen = _collate_sxfrm(table, wcs, dest, len)) == (size_t)-1)
92 dest[xlen] = 0;
94 dest[len-1] = 0;
102 strlcpy(dest, src, len);
H A Dwcsxfrm.c45 wcsxfrm_l(wchar_t * __restrict dest, const wchar_t * __restrict src, size_t len, locale_t locale) argument
54 *dest = L'\0';
59 ((slen = _collate_wxfrm(table, src, dest, len)) == (size_t)-1)) {
65 dest[slen] = 0;
67 dest[len-1] = 0;
75 (void) wcscpy(dest, src);
77 (void) wcsncpy(dest, src, len - 1);
78 dest[len - 1] = L'\0';
84 wcsxfrm(wchar_t * __restrict dest, const wchar_t * __restrict src, size_t len) argument
86 return wcsxfrm_l(dest, sr
[all...]
/freebsd-head/usr.sbin/kldxref/
H A Def_nop.c38 Elf_Off dataoff, size_t len, void *dest)
37 ef_reloc(struct elf_file *ef, const void *reldata, int reltype, Elf_Off relbase, Elf_Off dataoff, size_t len, void *dest) argument
H A Def_i386.c43 * relocation address of the data in `dest'.
53 char *dest = _dest; local
58 where = (Elf_Addr *)(dest + relbase + rel->r_offset - dataoff);
65 where = (Elf_Addr *)(dest + relbase + rela->r_offset - dataoff);
74 if ((char *)where < (char *)dest || (char *)where >= (char *)dest + len)
H A Def_aarch64.c42 * that is to be relocated, and has been copied to *dest
46 Elf_Off dataoff, size_t len, void *dest)
56 where = (Elf_Addr *) ((Elf_Off)dest - dataoff + rela->r_offset);
60 if ((char *)where < (char *)dest || (char *)where >= (char *)dest + len)
45 ef_reloc(struct elf_file *ef, const void *reldata, int reltype, Elf_Off relbase, Elf_Off dataoff, size_t len, void *dest) argument
/freebsd-head/contrib/lib9p/
H A Dlog.c44 const char *dest = NULL; local
49 dest = getenv("LIB9P_LOGGING");
50 if (dest == NULL)
52 else if (!strcmp(dest, "stderr"))
55 stream = fopen(dest, "a");
/freebsd-head/contrib/subversion/subversion/svnserve/
H A Dlog-escape.c75 apr_size_t escape_errorlog_item(char *dest, const char *source, argument
85 d = (unsigned char *)dest;
142 return (d - (unsigned char *)dest);
/freebsd-head/contrib/netbsd-tests/lib/libc/net/
H A Dt_ether_aton.c59 int ether_aton_r(u_char *dest, size_t len, const char *str);
90 u_char dest[ETHER_ADDR_LEN]; local
92 struct ether_addr dest;
107 if (ether_aton_r(dest, sizeof(dest), s) != e)
109 if (memcmp(dest, tests[t].res, sizeof(dest)) != 0)
112 if (ether_aton_r(s, &dest) == NULL && e == 0)
114 if (memcmp(&dest, tests[t].res, sizeof(dest)) !
[all...]
/freebsd-head/tools/regression/netinet/arphold/
H A Darphold.c67 struct sockaddr_in dest; local
90 bzero(&dest, sizeof(dest));
91 if (inet_pton(AF_INET, argv[1], &dest.sin_addr.s_addr) != 1) {
95 dest.sin_len = sizeof(dest);
96 dest.sin_family = AF_INET;
97 dest.sin_port = htons(PORT);
117 (struct sockaddr *)&dest, sizeof(dest)) <
[all...]
/freebsd-head/sys/dev/mlx4/
H A Ddoorbell.h55 static inline void mlx4_write64(__be32 val[2], void __iomem *dest, argument
58 __raw_writeq(*(u64 *) val, dest);
73 static inline void mlx4_write64(__be32 val[2], void __iomem *dest, argument
79 __raw_writel((__force u32) val[0], dest);
80 __raw_writel((__force u32) val[1], (u8 *)dest + 4);
/freebsd-head/contrib/xz/src/liblzma/simple/
H A Dsparc.c36 uint32_t dest; local
38 dest = now_pos + (uint32_t)(i) + src;
40 dest = src - (now_pos + (uint32_t)(i));
42 dest >>= 2;
44 dest = (((0 - ((dest >> 22) & 1)) << 22) & 0x3FFFFFFF)
45 | (dest & 0x3FFFFF)
48 buffer[i + 0] = (uint8_t)(dest >> 24);
49 buffer[i + 1] = (uint8_t)(dest >> 16);
50 buffer[i + 2] = (uint8_t)(dest >>
[all...]
/freebsd-head/contrib/ofed/libibmad/
H A Dgs.c50 uint8_t *pma_query_via(void *rcvbuf, ib_portid_t * dest, int port, argument
56 int lid = dest->lid;
77 if (!dest->qp)
78 dest->qp = 1;
79 if (!dest->qkey)
80 dest->qkey = IB_DEFAULT_QP1_QKEY;
82 p_ret = mad_rpc(srcport, rpcold, dest, rcvbuf, rcvbuf);
87 uint8_t *performance_reset_via(void *rcvbuf, ib_portid_t * dest, argument
94 int lid = dest->lid;
125 if (!dest
[all...]
/freebsd-head/stand/mips/beri/loader/
H A Dexec.c61 beri_elf64_loadfile(char *filename, uint64_t dest, argument
69 return (__elfN(loadfile)(filename, dest, result));

Completed in 212 milliseconds

1234567891011>>