/freebsd-10-stable/contrib/ncurses/ncurses/base/ |
H A D | lib_overlay.c | 46 overlap(const WINDOW *const src, WINDOW *const dst, int const flag) argument 55 T((T_CALLED("overlap(%p,%p,%d)"), src, 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-10-stable/lib/libc/gen/ |
H A D | timezone.c | 56 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-10-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | zmod.c | 34 * 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-10-stable/sys/compat/linux/ |
H A D | linux_timer.h | 81 #define TS_CP(src,dst,fld) do { \ 82 CP((src).fld,(dst).fld,tv_sec); \ 83 CP((src).fld,(dst).fld,tv_nsec); \ 86 #define ITS_CP(src, dst) do { \ 87 TS_CP((src), (dst), it_interval); \ 88 TS_CP((src), (dst), it_value); \
|
/freebsd-10-stable/lib/libc/inet/ |
H A D | inet_cidr_ntop.c | 46 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 D | inet_net_pton.c | 49 * 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-10-stable/lib/libc/nameser/ |
H A D | ns_ttl.c | 54 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-10-stable/sys/boot/common/ |
H A D | util.c | 28 memcpy(void *dst, const void *src, int len) argument 31 char *d = dst; 77 strcpy(char *dst, const char *src) argument 81 *dst++ = *src++; 82 *dst = '\0'; 86 strcat(char *dst, const char *src) argument 89 while (*dst != '\0') 90 dst++; 92 *dst++ = *src++; 93 *dst [all...] |
/freebsd-10-stable/contrib/ntp/lib/isc/ |
H A D | inet_pton.c | 44 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-10-stable/sys/dev/acpica/ |
H A D | acpi_package.c | 48 acpi_PkgInt(ACPI_OBJECT *res, int idx, UINT64 *dst) argument 55 *dst = obj->Integer.Value; 61 acpi_PkgInt32(ACPI_OBJECT *res, int idx, uint32_t *dst) argument 68 *dst = (uint32_t)tmp; 74 acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size) argument 83 bzero(dst, sizeof(dst)); 102 strlcpy(dst, ptr, length); 108 struct resource **dst, u_int flags) 120 return (acpi_bus_alloc_gas(dev, type, rid, &gas, dst, flag 107 acpi_PkgGas(device_t dev, ACPI_OBJECT *res, int idx, int *type, int *rid, struct resource **dst, u_int flags) argument [all...] |
/freebsd-10-stable/contrib/llvm/lib/Support/ |
H A D | DataExtractor.cpp | 33 static T *getUs(uint32_t *offset_ptr, T *dst, uint32_t count, argument 37 if (count > 0 && de->isValidOffsetForDataOfSize(offset, sizeof(*dst)*count)) { 38 for (T *value_ptr = dst, *end = dst + count; value_ptr != end; 39 ++value_ptr, offset += sizeof(*dst)) 45 return dst; 55 DataExtractor::getU8(uint32_t *offset_ptr, uint8_t *dst, uint32_t count) const { argument 56 return getUs<uint8_t>(offset_ptr, dst, count, this, IsLittleEndian, 65 uint16_t *DataExtractor::getU16(uint32_t *offset_ptr, uint16_t *dst, argument 67 return getUs<uint16_t>(offset_ptr, dst, coun 75 getU32(uint32_t *offset_ptr, uint32_t *dst, uint32_t count) const argument 85 getU64(uint32_t *offset_ptr, uint64_t *dst, uint32_t count) const argument [all...] |
/freebsd-10-stable/lib/libc/locale/ |
H A D | wcsftime.c | 62 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-10-stable/usr.bin/find/ |
H A D | misc.c | 63 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-10-stable/lib/libc/tests/string/ |
H A D | stpncpy_test.c | 59 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-10-stable/contrib/ntp/sntp/libevent/build-aux/ |
H A D | install-sh | 80 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-10-stable/contrib/ldns/ |
H A D | util.c | 489 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-10-stable/cddl/contrib/opensolaris/lib/libdtrace/sparc/ |
H A D | dt_isadep.c | 179 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-10-stable/contrib/apr/network_io/unix/ |
H A D | inet_pton.c | 62 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-10-stable/sys/libkern/ |
H A D | inet_pton.c | 39 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-10-stable/crypto/heimdal/lib/roken/ |
H A D | inet_pton.c | 41 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-10-stable/tests/sys/geom/class/mirror/ |
H A D | 3_test.sh | 13 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 D | 4_test.sh | 13 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...] |
H A D | 5_test.sh | 13 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 D | 7_test.sh | 13 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...] |
/freebsd-10-stable/crypto/openssh/ |
H A D | cipher-bf1.c | 42 swap_bytes(const u_char *src, u_char *dst, int n) argument 53 *dst++ = c[0]; 54 *dst++ = c[1]; 55 *dst++ = c[2]; 56 *dst++ = c[3];
|