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

12345678910

/barrelfish-2018-10-04/lib/libc/string/
H A Dstpncpy.c33 stpncpy(char * __restrict dst, const char * __restrict src, size_t n) argument
36 for (; n--; dst++, src++) {
37 if (!(*dst = *src)) {
38 char *ret = dst;
40 *++dst = '\0';
44 return (dst);
H A Dwcpncpy.c33 wcpncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) argument
36 for (; n--; dst++, src++) {
37 if (!(*dst = *src)) {
38 wchar_t *ret = dst;
40 *++dst = L'\0';
44 return (dst);
H A Dstrlcat.c26 * Appends src to string dst of size dsize (unlike strncat, dsize is the
27 * full size of dst, not space left). At most dsize-1 characters
28 * will be copied. Always NUL terminates (unless dsize <= strlen(dst)).
29 * Returns strlen(src) + MIN(dsize, strlen(initial dst)).
33 strlcat(char * __restrict dst, const char * __restrict src, size_t dsize) argument
35 const char *odst = dst;
40 /* Find the end of dst and adjust bytes left but don't go past end. */
41 while (n-- != 0 && *dst != '\0')
42 dst++;
43 dlen = dst
[all...]
H A Dbcopy.c72 char *dst = dst0; local
76 if (length == 0 || dst == src) /* nothing to do */
85 if ((unsigned long)dst < (unsigned long)src) {
90 if ((t | (uintptr_t)dst) & wmask) {
95 if ((t ^ (uintptr_t)dst) & wmask || length < wsize)
100 TLOOP1(*dst++ = *src++);
106 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize);
108 TLOOP(*dst++ = *src++);
116 dst
[all...]
H A Dstrlcpy.c26 * Copy string src to buffer dst of size dsize. At most dsize-1
31 strlcpy(char * __restrict dst, const char * __restrict src, size_t dsize) argument
39 if ((*dst++ = *src++) == '\0')
44 /* Not enough room in dst, add NUL and traverse rest of src. */
47 *dst = '\0'; /* NUL-terminate dst */
H A Dstrncat.c42 * Concatenate src on the end of dst. At most strlen(dst)+n+1 bytes
43 * are written at dst (at most n+1 bytes being appended). Return dst.
46 strncat(char * __restrict dst, const char * __restrict src, size_t n) argument
49 char *d = dst;
61 return (dst);
H A Dstrncpy.c42 * Copy src to dst, truncating or null-padding to always copy n bytes.
43 * Return dst.
46 strncpy(char * __restrict dst, const char * __restrict src, size_t n) argument
49 char *d = dst;
61 return (dst);
H A Dwcsncpy.c44 * Copy src to dst, truncating or null-padding to always copy n bytes.
45 * Return dst.
48 wcsncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) argument
51 wchar_t *d = dst;
63 return (dst);
H A Dmemset.c70 u_char *dst; local
72 dst = dst0;
81 * dst dst+length-1
88 *dst++ = VAL;
106 if ((t = (long)dst & wmask) != 0) {
110 *dst++ = VAL;
117 *(u_int *)dst = WIDEVAL;
118 dst += wsize;
125 *dst
[all...]
/barrelfish-2018-10-04/lib/libc/nameser/
H A Dns_netint.c36 u_int dst; local
38 NS_GET16(dst, src);
39 return (dst);
44 u_long dst; local
46 NS_GET32(dst, src);
47 return (dst);
51 ns_put16(u_int src, u_char *dst) { argument
52 NS_PUT16(src, dst);
56 ns_put32(u_long src, u_char *dst) { argument
57 NS_PUT32(src, dst);
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/core/
H A Duverbs_marshall.c35 void ib_copy_ah_attr_to_user(struct ib_uverbs_ah_attr *dst, argument
38 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid);
39 dst->grh.flow_label = src->grh.flow_label;
40 dst->grh.sgid_index = src->grh.sgid_index;
41 dst->grh.hop_limit = src->grh.hop_limit;
42 dst->grh.traffic_class = src->grh.traffic_class;
43 dst->dlid = src->dlid;
44 dst->sl = src->sl;
45 dst->src_path_bits = src->src_path_bits;
46 dst
52 ib_copy_qp_attr_to_user(struct ib_uverbs_qp_attr *dst, struct ib_qp_attr *src) argument
89 ib_copy_path_rec_to_user(struct ib_user_path_rec *dst, struct ib_sa_path_rec *src) argument
115 ib_copy_path_rec_from_user(struct ib_sa_path_rec *dst, struct ib_user_path_rec *src) argument
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/scripts/
H A Dmkcpio25 dst=${src#$SRCDIR/}
26 dst=${dst/icparc_solvers/lib}
27 dst=${dst/Kernel/}
28 dst=skb/$dst
31 mkdir -p $TMPDIR/$(dirname $dst)
34 cp $src $TMPDIR/$dst
35 echo $dst >>
[all...]
/barrelfish-2018-10-04/lib/libc/locale/
H A Dfix_grouping.c46 char *src, *dst; local
53 for (src = (char*)str, dst = (char*)str; *src != '\0'; src++) {
60 *dst++ = CHAR_MAX;
78 *dst = n;
80 if (*dst == '\0')
81 return (dst == (char*)str) ? nogrouping : str;
82 dst++;
84 *dst = '\0';
/barrelfish-2018-10-04/tools/usbboot/libc/
H A Dmemcpy.c3 unsigned char *dst = _dst; local
6 *dst++ = *src++;
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/
H A Dstring.h45 void *dst; local
47 dst = kmalloc(len, gfp);
48 if (dst)
49 memcpy(dst, src, len);
50 return (dst);
H A Dio.h115 uint64_t *dst; local
118 for (i = 0, src = from, dst = to; i < count; i++, src++, dst++)
119 __raw_writeq(*src, dst);
122 uint32_t *dst;
126 for (i = 0, src = from, dst = to; i < count; i++, src++, dst++)
127 __raw_writel(*src, dst);
/barrelfish-2018-10-04/lib/openssl-1.0.0d/util/
H A Dinstall.sh35 dst=""
66 dst=$1
79 if [ x"$dst" = x ]
89 if [ -d $dst ]
91 dst="$dst"/`basename $src`
97 $doit $rmcmd $dst
98 $doit $instcmd $src $dst
103 if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; fi
104 if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; f
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/icparc_solvers/rxspencer/fake/
H A Dmemmove.c9 memmove(dst, src, count)
10 char *dst;
18 if (dst > src)
19 for (d = dst+count, s = src+count, n = count; n > 0; n--)
22 for (d = dst, s = src, n = count; n > 0; n--)
25 return(dst);
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/rdma/
H A Dib_marshall.h41 void ib_copy_qp_attr_to_user(struct ib_uverbs_qp_attr *dst,
44 void ib_copy_ah_attr_to_user(struct ib_uverbs_ah_attr *dst,
47 void ib_copy_path_rec_to_user(struct ib_user_path_rec *dst,
50 void ib_copy_path_rec_from_user(struct ib_sa_path_rec *dst,
/barrelfish-2018-10-04/lib/libc/inet/
H A Dinet_net_ntop.c44 static char * inet_net_ntop_ipv4(const u_char *src, int bits, char *dst,
46 static char * inet_net_ntop_ipv6(const u_char *src, int bits, char *dst,
51 * inet_net_ntop(af, src, bits, dst, size)
55 * pointer to dst, or NULL if an error occurred (check errno).
60 inet_net_ntop(int af, const void *src, int bits, char *dst, size_t size) argument
64 return (inet_net_ntop_ipv4(src, bits, dst, size));
66 return (inet_net_ntop_ipv6(src, bits, dst, size));
75 * inet_net_ntop_ipv4(src, bits, dst, size)
79 * pointer to dst, or NULL if an error occurred (check errno).
87 inet_net_ntop_ipv4(const u_char *src, int bits, char *dst, size_ argument
162 inet_net_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument
[all...]
H A Dinet_neta.c45 * inet_neta(src, dst, size)
48 * pointer to dst, or NULL if an error occurred (check errno).
55 inet_neta(in_addr_t src, char *dst, size_t size) argument
57 char *odst = dst;
67 tp = dst;
68 dst += SPRINTF((dst, "%u", b));
70 *dst++ = '.';
71 *dst = '\0';
73 size -= (size_t)(dst
[all...]
/barrelfish-2018-10-04/usr/eclipseclp/config/
H A Dinstall-sh71 dst=
142 dst=$1
160 dst=$src
163 if test -d "$dst"; then
178 if test -z "$dst"; then
184 case $dst in
185 -*) dst=./$dst ;;
190 if test -d "$dst"; then
191 dst
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/infiniband/
H A Dmarshall.h51 void ibv_copy_qp_attr_from_kern(struct ibv_qp_attr *dst,
54 void ibv_copy_ah_attr_from_kern(struct ibv_ah_attr *dst,
57 void ibv_copy_path_rec_from_kern(struct ibv_sa_path_rec *dst,
60 void ibv_copy_path_rec_to_kern(struct ibv_kern_path_rec *dst,
/barrelfish-2018-10-04/usr/slideshow/
H A Dzlib_load.h13 int zlib_load(void *dst, size_t dstsize, size_t *size, void *src,
/barrelfish-2018-10-04/include/dma/ioat/
H A Dioat_dma_descriptors.h43 * \param dst destination address of the transfer
52 lpaddr_t dst,
60 * \param dst destination address of the transfer
69 lpaddr_t dst,

Completed in 100 milliseconds

12345678910