Searched refs:dst (Results 1 - 25 of 1701) sorted by relevance

1234567891011>>

/freebsd-head/contrib/tcpdump/
H A Dstrtoaddr.h20 int strtoaddr(const char *src, void *dst);
21 int strtoaddr6(const char *src, void *dst);
H A Daddrtostr.h41 extern const char *addrtostr(const void *src, char *dst, size_t size);
42 extern const char *addrtostr6(const void *src, char *dst, size_t size);
/freebsd-head/contrib/amd/conf/fh_dref/
H A Dfh_dref_freebsd22.h2 #define NFS_FH_DREF(dst, src) (dst) = (u_char *) (src)
/freebsd-head/contrib/amd/conf/sa_dref/
H A Dsa_dref_bsd44.h2 #define NFS_SA_DREF(dst, src) { \
3 (dst)->addr = (struct sockaddr *) (src); \
4 (dst)->addrlen = sizeof(*src); \
/freebsd-head/crypto/openssh/openbsd-compat/
H A Dvis.c62 vis(char *dst, int c, int flag, int nextc) argument
67 *dst++ = '\\';
68 *dst++ = c;
69 *dst = '\0';
70 return (dst);
76 *dst++ = '\\';
77 *dst++ = 'n';
80 *dst++ = '\\';
81 *dst++ = 'r';
84 *dst
161 strvis(char *dst, const char *src, int flag) argument
174 strnvis(char *dst, const char *src, size_t siz, int flag) argument
236 strvisx(char *dst, const char *src, size_t len, int flag) argument
[all...]
/freebsd-head/sys/mips/atheros/
H A Dar71xx_macaddr.c48 * Initialise a MAC address 'dst' from a MAC address 'src'.
53 * 'is_local' is whether this 'dst' should be made a local MAC address.
58 ar71xx_mac_addr_init(unsigned char *dst, const unsigned char *src, argument
63 if (dst == NULL || src == NULL)
75 dst[0] = src[0];
76 dst[1] = src[1];
77 dst[2] = src[2];
78 dst[3] = (t >> 16) & 0xff;
79 dst[4] = (t >> 8) & 0xff;
80 dst[
96 ar71xx_mac_addr_random_init(unsigned char *dst) argument
[all...]
H A Dar71xx_macaddr.h35 extern int ar71xx_mac_addr_init(unsigned char *dst, const unsigned char *src,
37 extern int ar71xx_mac_addr_random_init(unsigned char *dst);
/freebsd-head/lib/libc/string/
H A Dstpncpy.c35 stpncpy(char * __restrict dst, const char * __restrict src, size_t n) argument
38 for (; n--; dst++, src++) {
39 if (!(*dst = *src)) {
40 char *ret = dst;
42 *++dst = '\0';
46 return (dst);
H A Dwcpncpy.c35 wcpncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) argument
38 for (; n--; dst++, src++) {
39 if (!(*dst = *src)) {
40 wchar_t *ret = dst;
42 *++dst = L'\0';
46 return (dst);
/freebsd-head/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_marshall.c40 void ib_copy_ah_attr_to_user(struct ib_uverbs_ah_attr *dst, argument
43 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid);
44 dst->grh.flow_label = src->grh.flow_label;
45 dst->grh.sgid_index = src->grh.sgid_index;
46 dst->grh.hop_limit = src->grh.hop_limit;
47 dst->grh.traffic_class = src->grh.traffic_class;
48 memset(&dst->grh.reserved, 0, sizeof(dst->grh.reserved));
49 dst->dlid = src->dlid;
50 dst
59 ib_copy_qp_attr_to_user(struct ib_uverbs_qp_attr *dst, struct ib_qp_attr *src) argument
98 ib_copy_path_rec_to_user(struct ib_user_path_rec *dst, struct ib_sa_path_rec *src) argument
124 ib_copy_path_rec_from_user(struct ib_sa_path_rec *dst, struct ib_user_path_rec *src) argument
[all...]
/freebsd-head/lib/libc/nameser/
H A Dns_netint.c38 u_int dst; local
40 NS_GET16(dst, src);
41 return (dst);
46 u_long dst; local
48 NS_GET32(dst, src);
49 return (dst);
53 ns_put16(u_int src, u_char *dst) { argument
54 NS_PUT16(src, dst);
58 ns_put32(u_long src, u_char *dst) { argument
59 NS_PUT32(src, dst);
[all...]
/freebsd-head/contrib/ncurses/ncurses/tinfo/
H A Dstrings.c70 _nc_str_init(string_desc * dst, char *src, size_t len) argument
72 if (dst != 0) {
73 dst->s_head = src;
74 dst->s_tail = src;
75 dst->s_size = len - 1;
76 dst->s_init = dst->s_size;
80 return dst;
87 _nc_str_null(string_desc * dst, size_t len) argument
89 return _nc_str_init(dst,
96 _nc_str_copy(string_desc * dst, string_desc * src) argument
[all...]
/freebsd-head/usr.sbin/amd/include/
H A Daux_conf.h43 #define NFS_FH_DREF(dst, src) (dst) = (u_char *) (src)
54 #define NFS_SA_DREF(dst, src) { \
55 (dst)->addr = (struct sockaddr *) (src); \
56 (dst)->addrlen = sizeof(*src); \
69 #define NFS_HN_DREF(dst, src) (dst) = (src)
/freebsd-head/sys/contrib/ngatm/netnatm/sig/
H A Dunimsgcpy.h8 copy_msg_alerting(struct uni_alerting *src, struct uni_alerting *dst);
12 copy_msg_call_proc(struct uni_call_proc *src, struct uni_call_proc *dst);
16 copy_msg_connect(struct uni_connect *src, struct uni_connect *dst);
20 copy_msg_connect_ack(struct uni_connect_ack *src, struct uni_connect_ack *dst);
24 copy_msg_release(struct uni_release *src, struct uni_release *dst);
28 copy_msg_release_compl(struct uni_release_compl *src, struct uni_release_compl *dst);
32 copy_msg_setup(struct uni_setup *src, struct uni_setup *dst);
36 copy_msg_status(struct uni_status *src, struct uni_status *dst);
40 copy_msg_status_enq(struct uni_status_enq *src, struct uni_status_enq *dst);
44 copy_msg_notify(struct uni_notify *src, struct uni_notify *dst);
[all...]
/freebsd-head/contrib/ofed/libibverbs/
H A Dmarshall.c39 void ibv_copy_ah_attr_from_kern(struct ibv_ah_attr *dst, argument
42 memcpy(dst->grh.dgid.raw, src->grh.dgid, sizeof dst->grh.dgid);
43 dst->grh.flow_label = src->grh.flow_label;
44 dst->grh.sgid_index = src->grh.sgid_index;
45 dst->grh.hop_limit = src->grh.hop_limit;
46 dst->grh.traffic_class = src->grh.traffic_class;
48 dst->dlid = src->dlid;
49 dst->sl = src->sl;
50 dst
56 ibv_copy_qp_attr_from_kern(struct ibv_qp_attr *dst, struct ibv_kern_qp_attr *src) argument
92 ibv_copy_path_rec_from_kern(struct ibv_sa_path_rec *dst, struct ib_user_path_rec *src) argument
117 ibv_copy_path_rec_to_kern(struct ib_user_path_rec *dst, struct ibv_sa_path_rec *src) argument
[all...]
/freebsd-head/contrib/openpam/lib/libpam/
H A Dopenpam_strlcat.c44 openpam_strlcat(char *dst, const char *src, size_t size) argument
48 for (len = 0; *dst && size > 1; ++len, --size)
49 dst++;
51 *dst++ = *src++;
52 *dst = '\0';
/freebsd-head/crypto/heimdal/lib/roken/
H A Dvis.c153 do_hvis(char *dst, int c, int flag, int nextc, const char *extra) argument
156 *dst++ = '%';
157 *dst++ = xtoa(((unsigned int)c >> 4) & 0xf);
158 *dst++ = xtoa((unsigned int)c & 0xf);
160 dst = do_svis(dst, c, flag, nextc, extra);
162 return dst;
167 * dst: Pointer to the destination buffer
175 do_svis(char *dst, int c, int flag, int nextc, const char *extra) argument
181 *dst
253 rk_svis(char *dst, int c, int flag, int nextc, const char *extra) argument
291 rk_strsvis(char *dst, const char *csrc, int flag, const char *extra) argument
320 rk_strsvisx(char *dst, const char *csrc, size_t len, int flag, const char *extra) argument
358 rk_vis(char *dst, int c, int flag, int nextc) argument
391 rk_strvis(char *dst, const char *src, int flag) argument
408 rk_strvisx(char *dst, const char *src, size_t len, int flag) argument
[all...]
/freebsd-head/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_named_pipe.c87 static void ctrl_close_pipe(struct wpa_ctrl_dst *dst);
93 static void global_close_pipe(struct wpa_global_dst *dst);
116 struct wpa_ctrl_dst *dst, *next; local
118 dst = priv->ctrl_dst;
120 while (dst) {
121 next = dst->next;
122 if (ctrl_broken_pipe(dst->pipe, dst->used)) {
124 dst);
125 ctrl_close_pipe(dst);
134 struct wpa_ctrl_dst *dst; local
222 ctrl_close_pipe(struct wpa_ctrl_dst *dst) argument
257 struct wpa_ctrl_dst *dst = (struct wpa_ctrl_dst *) overlap; local
279 wpa_supplicant_ctrl_iface_rx(struct wpa_ctrl_dst *dst, size_t len) argument
348 struct wpa_ctrl_dst *dst = (struct wpa_ctrl_dst *) overlap; local
358 struct wpa_ctrl_dst *dst = eloop_data; local
479 struct wpa_ctrl_dst *dst, *next; local
558 struct wpa_global_dst *dst, *next; local
576 struct wpa_global_dst *dst; local
653 global_close_pipe(struct wpa_global_dst *dst) argument
688 struct wpa_global_dst *dst = (struct wpa_global_dst *) overlap; local
713 wpa_supplicant_global_iface_rx(struct wpa_global_dst *dst, size_t len) argument
764 struct wpa_global_dst *dst = (struct wpa_global_dst *) overlap; local
775 struct wpa_global_dst *dst = eloop_data; local
[all...]
/freebsd-head/contrib/file/src/
H A Dasctime_r.c12 asctime_r(const struct tm *t, char *dst) argument
17 memcpy(dst, p, 26);
18 return dst;
H A Dctime_r.c12 ctime_r(const time_t *t, char *dst) argument
17 memcpy(dst, p, 26);
18 return dst;
/freebsd-head/sys/cddl/boot/zfs/
H A Dzle.c38 unsigned char *dst = d_start; local
40 unsigned char *d_end = dst + d_len;
42 while (src < s_end && dst < d_end) {
46 *dst++ = *src++;
50 *dst++ = 0;
53 return (dst == d_end ? 0 : -1);
/freebsd-head/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dosprey_reg_map_macro.h92 #define MAC_DMA_CR__RXE_LP__SET(dst) \
93 (dst) = ((dst) &\
95 #define MAC_DMA_CR__RXE_LP__CLR(dst) \
96 (dst) = ((dst) &\
104 #define MAC_DMA_CR__RXE_HP__SET(dst) \
105 (dst) = ((dst) &\
107 #define MAC_DMA_CR__RXE_HP__CLR(dst) \
[all...]
/freebsd-head/lib/libc/locale/
H A Dfix_grouping.c48 char *src, *dst; local
55 for (src = (char*)str, dst = (char*)str; *src != '\0'; src++) {
62 *dst++ = CHAR_MAX;
80 *dst = n;
82 if (*dst == '\0')
83 return (dst == (char*)str) ? nogrouping : str;
84 dst++;
86 *dst = '\0';
/freebsd-head/contrib/bearssl/src/codec/
H A Denc16be.c29 br_range_enc16be(void *dst, const uint16_t *v, size_t num) argument
33 buf = dst;
H A Denc16le.c29 br_range_enc16le(void *dst, const uint16_t *v, size_t num) argument
33 buf = dst;

Completed in 868 milliseconds

1234567891011>>