Searched refs:dst (Results 151 - 175 of 1509) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_overlay.c46 overlap(const WINDOW *const src, WINDOW *const dst, int const flag) argument
55 T((T_CALLED("overlap(%p,%p,%d)"), (const void *) src, (void *) dst, flag));
57 if (src != 0 && dst != 0) {
65 T(("dst : begy %ld, begx %ld, maxy %ld, maxx %ld",
66 (long) dst->_begy,
67 (long) dst->_begx,
68 (long) dst->_maxy,
69 (long) dst->_maxx));
76 dx1 = dst->_begx;
77 dy1 = dst
135 copywin(const WINDOW *src, WINDOW *dst, int sminrow, int smincol, int dminrow, int dmincol, int dmaxrow, int dmaxcol, int over) argument
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod.c34 * Uncompress the buffer 'src' into the buffer 'dst'. The caller must store
40 z_uncompress(void *dst, size_t *dstlen, const void *src, size_t srclen) argument
48 zs.next_out = dst;
69 z_compress_level(void *dst, size_t *dstlen, const void *src, size_t srclen, argument
79 zs.next_out = dst;
95 z_compress(void *dst, size_t *dstlen, const void *src, size_t srclen) argument
97 return (z_compress_level(dst, dstlen, src, srclen,
/freebsd-11-stable/lib/libc/gen/
H A Dtimezone.c56 timezone(int zone, int dst) argument
63 if (dst)
73 return(_tztab(zone,dst)); /* default: table or created zone */
107 _tztab(int zone, int dst) argument
114 if (dst && zp->dlzone)
116 if (!dst && zp->stdzone)
/freebsd-11-stable/sys/netinet6/
H A Dip6_fastfwd.c58 ip6_findroute(struct nhop6_basic *pnh, const struct sockaddr_in6 *dst, argument
62 if (fib6_lookup_nh_basic(M_GETFIB(m), &dst->sin6_addr,
63 dst->sin6_scope_id, 0, dst->sin6_flowinfo, pnh) != 0) {
88 struct sockaddr_in6 dst; local
151 bzero(&dst, sizeof(dst));
152 dst.sin6_family = AF_INET6;
153 dst.sin6_len = sizeof(dst);
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp36 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) { argument
38 if (::symlink(dst.GetCString(), src.GetCString()) == -1)
43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { argument
51 dst.SetFile(buf, FileSpec::Style::native);
56 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) { argument
69 dst = FileSpec(real_path);
/freebsd-11-stable/lib/libc/inet/
H A Dinet_cidr_ntop.c46 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size);
48 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size);
52 * inet_cidr_ntop(af, src, bits, dst, size)
56 * pointer to dst, or NULL if an error occurred (check errno).
65 inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) { argument
68 return (inet_cidr_ntop_ipv4(src, bits, dst, size));
70 return (inet_cidr_ntop_ipv6(src, bits, dst, size));
78 decoct(const u_char *src, int bytes, char *dst, size_t size) { argument
79 char *odst = dst;
86 t = dst;
111 inet_cidr_ntop_ipv4(const u_char *src, int bits, char *dst, size_t size) argument
155 inet_cidr_ntop_ipv6(const u_char *src, int bits, char *dst, size_t size) argument
[all...]
H A Dinet_net_pton.c49 * inet_net_pton_ipv4(src, dst, size)
52 * "size" is in bytes and describes "dst".
64 inet_net_pton_ipv4(const char *src, u_char *dst, size_t size) { argument
68 const u_char *odst = dst;
91 *dst++ = (u_char) tmp;
98 *dst++ = (u_char) (tmp << 4);
115 *dst++ = (u_char) tmp;
129 isdigit((unsigned char)(src[0])) && dst > odst) {
150 if (dst == odst)
165 if (bits < ((dst
222 getv4(const char *src, u_char *dst, int *bitsp) argument
265 inet_net_pton_ipv6(const char *src, u_char *dst, size_t size) argument
397 inet_net_pton(int af, const char *src, void *dst, size_t size) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_poisoning.cpp42 void CopyOrigin(const void *dst, const void *src, uptr size, argument
44 if (!MEM_IS_APP(dst) || !MEM_IS_APP(src)) return;
46 uptr d = (uptr)dst;
79 u32 *dst = (u32 *)MEM_TO_ORIGIN(beg); local
82 for (; src < src_end; ++src, ++src_s, ++dst) {
88 *dst = dst_o;
97 void MoveShadowAndOrigin(const void *dst, const void *src, uptr size, argument
99 if (!MEM_IS_APP(dst)) return;
101 if (src == dst) return;
102 REAL(memmove)((void *)MEM_TO_SHADOW((uptr)dst),
107 CopyShadowAndOrigin(const void *dst, const void *src, uptr size, StackTrace *stack) argument
116 CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack) argument
147 SetOrigin(const void *dst, uptr size, u32 origin) argument
165 PoisonMemory(const void *dst, uptr size, StackTrace *stack) argument
[all...]
/freebsd-11-stable/lib/libc/nameser/
H A Dns_ttl.c54 ns_format_ttl(u_long src, char *dst, size_t dstlen) { argument
55 char *odst = dst;
67 T(fmt1(weeks, 'W', &dst, &dstlen));
71 T(fmt1(days, 'D', &dst, &dstlen));
75 T(fmt1(hours, 'H', &dst, &dstlen));
79 T(fmt1(mins, 'M', &dst, &dstlen));
83 T(fmt1(secs, 'S', &dst, &dstlen));
95 return (dst - odst);
99 ns_parse_ttl(const char *src, u_long *dst) { argument
140 *dst
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dinet_pton.c44 static int inet_pton4(const char *src, unsigned char *dst);
45 static int inet_pton6(const char *src, unsigned char *dst);
46 int isc_net_pton(int af, const char *src, void *dst);
53 * 0 if the address wasn't valid (`dst' is untouched in this case)
54 * -1 if some other error occurred (`dst' is untouched in this case, too)
59 isc_net_pton(int af, const char *src, void *dst) { argument
62 return (inet_pton4(src, dst));
64 return (inet_pton6(src, dst));
72 /*!\fn static int inet_pton4(const char *src, unsigned char *dst)
78 * does not touch `dst' unles
83 inet_pton4(const char *src, unsigned char *dst) argument
135 inet_pton6(const char *src, unsigned char *dst) argument
[all...]
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_udp.c65 static void wpas_ctrl_iface_free_dst(struct wpa_ctrl_dst *dst) argument
69 while (dst) {
70 prev = dst;
71 dst = dst->next;
85 struct wpa_ctrl_dst *dst; local
90 dst = os_zalloc(sizeof(*dst));
91 if (dst == NULL)
93 os_memcpy(&dst
118 struct wpa_ctrl_dst *dst, *prev = NULL; local
163 struct wpa_ctrl_dst *dst; local
505 struct wpa_ctrl_dst *dst, *next; local
[all...]
/freebsd-11-stable/lib/libc/tests/string/
H A Dstpncpy_test.c59 char *src, *dst; local
69 dst = makebuf(bufsize, j);
70 memset(dst, 'X', bufsize);
72 assert(stpncpy(dst, src, bufsize) == dst+len);
73 assert(memcmp(src, dst, len) == 0);
75 assert(dst[x] == '\0');
/freebsd-11-stable/lib/libc/locale/
H A Dwcsftime.c62 char *dst, *sformat; local
69 sformat = dst = NULL;
96 if ((dst = malloc(maxsize * MB_CUR_MAX)) == NULL)
98 if (strftime_l(dst, maxsize, sformat, timeptr, locale) == 0)
100 dstp = dst;
107 free(dst);
113 free(dst);
/freebsd-11-stable/usr.bin/find/
H A Dmisc.c63 char *dst; local
79 dst = *store;
81 memcpy(dst, p, q - p);
82 dst += q - p;
83 memcpy(dst, path, plen);
84 dst += plen;
86 memcpy(dst, p, pastorigend - p);
/freebsd-11-stable/contrib/sqlite3/
H A Dinstall-sh80 dst=
254 dst=$src
255 dstdir=$dst
272 dst=$dst_arg
276 if test -d "$dst"; then
281 dstdir=$dst
282 dst=$dstdir/`basename "$src"`
285 dstdir=`dirname "$dst"`
430 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
431 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; }
[all...]
/freebsd-11-stable/contrib/openpam/
H A Dinstall-sh80 dst=
254 dst=$src
255 dstdir=$dst
272 dst=$dst_arg
276 if test -d "$dst"; then
281 dstdir=$dst
282 dst=$dstdir/`basename "$src"`
285 dstdir=`dirname "$dst"`
423 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
424 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; }
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/build-aux/
H A Dinstall-sh80 dst=
254 dst=$src
255 dstdir=$dst
272 dst=$dst_arg
276 if test -d "$dst"; then
281 dstdir=$dst
282 dst=$dstdir/`basename "$src"`
285 dstdir=`dirname "$dst"`
423 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
424 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; }
[all...]
/freebsd-11-stable/contrib/unbound/
H A Dinstall-sh80 dst=
254 dst=$src
255 dstdir=$dst
272 dst=$dst_arg
276 if test -d "$dst"; then
281 dstdir=$dst
282 dst=$dstdir/`basename "$src"`
285 dstdir=`dirname "$dst"`
423 { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
424 { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; }
[all...]
/freebsd-11-stable/contrib/ldns/
H A Dutil.c489 char* dst, size_t dst_sz,
509 dst[ret_sz] = '\0';
514 dst[0] = b32[(src[0] ) >> 3];
517 dst[1] = b32[(src[0] & 0x07) << 2 | src[1] >> 6];
520 dst[2] = b32[(src[1] & 0x3e) >> 1];
523 dst[3] = b32[(src[1] & 0x01) << 4 | src[2] >> 4];
526 dst[4] = b32[(src[2] & 0x0f) << 1 | src[3] >> 7];
529 dst[5] = b32[(src[3] & 0x7c) >> 2];
532 dst[6] = b32[(src[3] & 0x03) << 3 | src[4] >> 5];
535 dst[
488 ldns_b32_ntop_base(const uint8_t* src, size_t src_sz, char* dst, size_t dst_sz, bool extended_hex, bool add_padding) argument
582 ldns_b32_ntop(const uint8_t* src, size_t src_sz, char* dst, size_t dst_sz) argument
588 ldns_b32_ntop_extended_hex(const uint8_t* src, size_t src_sz, char* dst, size_t dst_sz) argument
597 b32_ntop(const uint8_t* src, size_t src_sz, char* dst, size_t dst_sz) argument
603 b32_ntop_extended_hex(const uint8_t* src, size_t src_sz, char* dst, size_t dst_sz) argument
612 ldns_b32_pton_base(const char* src, size_t src_sz, uint8_t* dst, size_t dst_sz, bool extended_hex, bool check_padding) argument
745 ldns_b32_pton(const char* src, size_t src_sz, uint8_t* dst, size_t dst_sz) argument
751 ldns_b32_pton_extended_hex(const char* src, size_t src_sz, uint8_t* dst, size_t dst_sz) argument
760 b32_pton(const char* src, size_t src_sz, uint8_t* dst, size_t dst_sz) argument
766 b32_pton_extended_hex(const char* src, size_t src_sz, uint8_t* dst, size_t dst_sz) argument
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/sparc/
H A Ddt_isadep.c179 int32_t dst = text[i] << 2; local
181 dst += i * 4;
183 if ((uintptr_t)dst >= (uintptr_t)symp->st_size)
193 int32_t dst; local
198 dst = text[i] & 0x7ffff;
199 dst <<= 13;
200 dst >>= 11;
205 dst = text[i] & 0x3fffff;
206 dst <<= 10;
207 dst >>
[all...]
/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dinet_pton.c62 static int inet_pton4 __P((const char *src, unsigned char *dst));
64 static int inet_pton6 __P((const char *src, unsigned char *dst));
68 * inet_pton(af, src, dst)
73 * 0 if the address wasn't valid (`dst' is untouched in this case)
74 * -1 if some other error occurred (`dst' is untouched in this case, too)
79 apr_inet_pton(int af, const char *src, void *dst) argument
83 return (inet_pton4(src, dst));
86 return (inet_pton6(src, dst));
96 * inet_pton4(src, dst)
101 * does not touch `dst' unles
106 inet_pton4(const char *src, unsigned char *dst) argument
159 inet_pton6(const char *src, unsigned char *dst) argument
[all...]
/freebsd-11-stable/sys/libkern/
H A Dinet_pton.c39 static int inet_pton4(const char *src, u_char *dst);
40 static int inet_pton6(const char *src, u_char *dst);
43 * inet_pton(af, src, dst)
48 * 0 if the address wasn't valid (`dst' is untouched in this case)
49 * -1 if some other error occurred (`dst' is untouched in this case, too)
54 inet_pton(int af, const char *src, void *dst) argument
58 return (inet_pton4(src, dst));
60 return (inet_pton6(src, dst));
68 * inet_pton4(src, dst)
73 * does not touch `dst' unles
78 inet_pton4(const char *src, u_char *dst) argument
132 inet_pton6(const char *src, u_char *dst) argument
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dinet_pton.c41 inet_pton(int af, const char *csrc, void *dst) argument
63 memcpy(dst, &si4.sin_addr, sizeof(si4.sin_addr));
81 memcpy(dst, &si6.sin6_addr, sizeof(si6.sin6_addr));
107 inet_pton(int af, const char *src, void *dst) argument
113 return inet_aton (src, dst);
/freebsd-11-stable/tests/sys/geom/class/mirror/
H A D3_test.sh13 dst=`mktemp $base.XXXXXX` || exit 1
26 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
27 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then
34 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
35 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then
42 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
43 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then
50 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
51 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then
64 rm -f ${src} ${dst}
[all...]
H A D4_test.sh13 dst=`mktemp $base.XXXXXX` || exit 1
26 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
27 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then
34 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
35 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then
42 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
43 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then
50 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
51 if [ `md5 -q ${src}` != `md5 -q ${dst}` ]; then
66 rm -f ${src} ${dst}
[all...]

Completed in 181 milliseconds

1234567891011>>