/netbsd-current/external/bsd/elftoolchain/dist/libelf/ |
H A D | libelf_xlate.c | 56 _libelf_xlate(Elf_Data *dst, const Elf_Data *src, unsigned int encoding, argument 68 dst == NULL || src == NULL || dst == src) { 76 if (dst->d_version != src->d_version) { 81 if (src->d_buf == NULL || dst->d_buf == NULL) { 116 if (dst->d_size < dsz) { 123 db = (uintptr_t) dst->d_buf; 124 de = db + (size_t) dst->d_size; 141 dst->d_type = src->d_type; 142 dst [all...] |
/netbsd-current/external/gpl2/lvm2/dist/autoconf/ |
H A D | install-sh | 83 dst= 231 dst=$src 232 dstdir=$dst 250 dst=$dstarg 252 case $dst in 253 -*) dst=./$dst ;; 258 if test -d "$dst"; then 263 dstdir=$dst 264 dst [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | mail_copy.c | 11 /* int mail_copy(sender, orig_to, delivered, src, dst, flags, eol, why) 16 /* VSTREAM *dst; 32 /* .IP dst 139 VSTREAM *src, VSTREAM *dst, 177 if ((orig_length = vstream_fseek(dst, (off_t) 0, SEEK_END)) < 0) 178 msg_fatal("seek file %s: %m", VSTREAM_PATH(dst)); 191 vstream_fprintf(dst, "From %s %.24s%s", *sender == 0 ? 196 vstream_fprintf(dst, "Return-Path: <%s>%s", 210 vstream_fprintf(dst, "X-Original-To: %s%s", vstring_str(buf), eol); 217 vstream_fprintf(dst, "Delivere 136 mail_copy(const char *sender, const char *orig_rcpt, const char *delivered, VSTREAM *src, VSTREAM *dst, int flags, const char *eol, DSN_BUF *why) argument [all...] |
/netbsd-current/common/lib/libc/string/ |
H A D | strlcat.c | 49 * Appends src to string dst of size siz (unlike strncat, siz is the 50 * full size of dst, not space left). At most siz-1 characters 51 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 52 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 56 strlcat(char *dst, const char *src, size_t siz) 59 char *d = dst; 64 _DIAGASSERT(dst != NULL); 67 /* Find the end of dst and adjust bytes left but don't go past end */ 70 dlen = d - dst; 86 _DIAGASSERT(dst ! [all...] |
H A D | memset.c | 107 u_char *dst; local 109 dst = dst0; 118 * dst dst+length-1 125 *dst++ = VAL; 143 if ((t = (size_t)((u_long)dst & wmask)) != 0) { 147 *dst++ = VAL; 154 *(u_int *)(void *)dst = WIDEVAL; 155 dst += wsize; 162 *dst 171 u_char *dst = dstv; local 179 u_char *dst = dstv; local [all...] |
/netbsd-current/lib/libcompat/regexp/ |
H A D | regsub.c | 48 char *dst; local 64 dst = dest; 75 *dst++ = c; 78 (void) strncpy(dst, prog->startp[no], (size_t)len); 79 dst += len; 80 if (len != 0 && *(dst-1) == '\0') { /* strncpy hit NUL. */ 86 *dst++ = '\0';
|
/netbsd-current/usr.sbin/mrouted/ |
H A D | igmp.c | 126 u_int32_t src, dst, group; local 139 dst = ip->ip_dst.s_addr; 147 if (src == 0 || dst == 0) 150 add_table_entry(src, dst); 175 inet_fmt(src), inet_fmt(dst)); 180 accept_membership_query(src, dst, group, igmp->igmp_code); 185 accept_group_report(src, dst, group, igmp->igmp_type); 189 accept_leave_message(src, dst, group); 197 accept_probe(src, dst, 202 accept_report(src, dst, 302 send_igmp(u_int32_t src, u_int32_t dst, int type, int code, u_int32_t group, int datalen) argument [all...] |
/netbsd-current/lib/libc/net/ |
H A D | hostent.h | 79 #define HENT_ARRAY(dst, anum, ptr, len) \ 81 size_t _len = (anum + 1) * sizeof(*dst); \ 84 dst = (void *)ptr; \ 89 #define HENT_COPY(dst, src, slen, ptr, len) \ 94 dst = ptr; \ 99 #define HENT_SCOPY(dst, src, ptr, len) \ 102 HENT_COPY(dst, src, _len, ptr, len); \
|
/netbsd-current/external/mit/libuv/dist/test/ |
H A D | test-fs-copyfile.c | 37 static const char dst[] = "test_file_dst"; variable 60 r = uv_fs_stat(NULL, &stat_req, dst, NULL); 107 r = uv_fs_copyfile(NULL, &req, src, dst, -1, NULL); 113 unlink(dst); 114 r = uv_fs_copyfile(NULL, &req, src, dst, 0, NULL); 119 r = uv_fs_stat(NULL, &req, dst, NULL); 123 /* Succeeds if src and dst files are identical. */ 136 unlink(dst); 137 r = uv_fs_copyfile(NULL, &req, fixture, dst, 0, NULL); 142 unlink(dst); [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/bfd/ |
H A D | verilog.c | 169 char *dst = buffer; local 173 *dst++ = '@'; 174 TOHEX (dst, (address >> 24)); 175 dst += 2; 176 TOHEX (dst, (address >> 16)); 177 dst += 2; 178 TOHEX (dst, (address >> 8)); 179 dst += 2; 180 TOHEX (dst, (address)); 181 dst 200 char *dst = buffer; local [all...] |
/netbsd-current/external/lgpl3/gmp/dist/mpq/ |
H A D | md_2exp.c | 65 /* need INCR when src==dst */ 93 mpq_mul_2exp (mpq_ptr dst, mpq_srcptr src, mp_bitcnt_t n) argument 95 mord_2exp (NUM(dst), DEN(dst), NUM(src), DEN(src), n); 99 mpq_div_2exp (mpq_ptr dst, mpq_srcptr src, mp_bitcnt_t n) argument 103 SIZ(NUM(dst)) = 0; 104 SIZ(DEN(dst)) = 1; 105 MPZ_NEWALLOC (DEN(dst), 1)[0] = 1; 109 mord_2exp (DEN(dst), NUM(dst), DE [all...] |
/netbsd-current/external/gpl3/gdb/dist/bfd/ |
H A D | verilog.c | 173 char *dst = buffer; local 177 *dst++ = '@'; 181 TOHEX (dst, (address >> 56)); 182 dst += 2; 183 TOHEX (dst, (address >> 48)); 184 dst += 2; 185 TOHEX (dst, (address >> 40)); 186 dst += 2; 187 TOHEX (dst, (address >> 32)); 188 dst 217 char *dst = buffer; local [all...] |
/netbsd-current/external/bsd/am-utils/dist/ |
H A D | install-sh | 95 dst= 249 dst=$src 250 dstdir=$dst 267 dst=$dst_arg 271 if test -d "$dst"; then 276 dstdir=$dst 277 dst=$dstdir/`basename "$src"` 282 (dirname "$dst") 2>/dev/null || 283 expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 284 X"$dst" [all...] |
/netbsd-current/external/bsd/am-utils/dist/libamu/ |
H A D | strlcat.c | 53 * Appends src to string dst of size siz (unlike strncat, siz is the 54 * full size of dst, not space left). At most siz-1 characters 55 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 56 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 60 strlcat(char *dst, const char *src, size_t siz) argument 62 char *d = dst; 67 /* Find the end of dst and adjust bytes left but don't go past end */ 70 dlen = d - dst;
|
/netbsd-current/lib/libc/string/ |
H A D | wcslcpy.c | 41 * Copy src to string dst of size siz. At most siz-1 characters 46 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) argument 48 wchar_t *d = dst; 52 _DIAGASSERT(dst != NULL); 63 /* Not enough room in dst, add NUL and traverse rest of src */ 66 *d = '\0'; /* NUL-terminate dst */
|
/netbsd-current/external/gpl3/autoconf/dist/build-aux/ |
H A D | install-sh | 95 dst= 249 dst=$src 250 dstdir=$dst 267 dst=$dst_arg 271 if test -d "$dst"; then 276 dstdir=$dst 277 dst=$dstdir/`basename "$src"` 282 (dirname "$dst") 2>/dev/null || 283 expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 284 X"$dst" [all...] |
/netbsd-current/external/bsd/unbound/dist/compat/ |
H A D | inet_pton.c | 30 static int inet_pton4 (const char *src, uint8_t *dst); 31 static int inet_pton6 (const char *src, uint8_t *dst); 51 * inet_pton(af, src, dst) 56 * 0 if the address wasn't valid (`dst' is untouched in this case) 57 * -1 if some other error occurred (`dst' is untouched in this case, too) 62 inet_pton(af, src, dst) 65 void *dst; 69 return (inet_pton4(src, dst)); 71 return (inet_pton6(src, dst)); 84 * inet_pton4(src, dst) [all...] |
H A D | strlcat.c | 39 * Appends src to string dst of size siz (unlike strncat, siz is the 40 * full size of dst, not space left). At most siz-1 characters 41 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 42 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 46 strlcat(char *dst, const char *src, size_t siz) argument 48 char *d = dst; 53 /* Find the end of dst and adjust bytes left but don't go past end */ 56 dlen = d - dst;
|
/netbsd-current/external/bsd/nsd/dist/compat/ |
H A D | inet_pton.c | 30 static int inet_pton4 (const char *src, uint8_t *dst); 31 static int inet_pton6 (const char *src, uint8_t *dst); 51 * inet_pton(af, src, dst) 56 * 0 if the address wasn't valid (`dst' is untouched in this case) 57 * -1 if some other error occurred (`dst' is untouched in this case, too) 62 inet_pton(af, src, dst) 65 void *dst; 69 return (inet_pton4(src, dst)); 71 return (inet_pton6(src, dst)); 80 * inet_pton4(src, dst) [all...] |
H A D | strlcat.c | 39 * Appends src to string dst of size siz (unlike strncat, siz is the 40 * full size of dst, not space left). At most siz-1 characters 41 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 42 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 46 strlcat(char *dst, const char *src, size_t siz) argument 48 char *d = dst; 53 /* Find the end of dst and adjust bytes left but don't go past end */ 56 dlen = d - dst;
|
/netbsd-current/external/mpl/dhcp/dist/ |
H A D | install-sh | 95 dst= 249 dst=$src 250 dstdir=$dst 267 dst=$dst_arg 271 if test -d "$dst"; then 276 dstdir=$dst 277 dst=$dstdir/`basename "$src"` 282 (dirname "$dst") 2>/dev/null || 283 expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 284 X"$dst" [all...] |
/netbsd-current/sys/external/bsd/sljit/dist/sljit_src/ |
H A D | sljitNativeMIPS_64.c | 131 FAIL_IF(push_inst(compiler, op_imm | S(src1) | T(dst) | IMM(src2), DR(dst))); \ 137 FAIL_IF(push_inst(compiler, op_norm | S(src1) | T(src2) | D(dst), DR(dst))); \ 152 FAIL_IF(push_inst(compiler, ins | T(src1) | D(dst) | SH_IMM(src2), DR(dst))); \ 159 FAIL_IF(push_inst(compiler, ins | S(src2) | T(src1) | D(dst), DR(dst))); \ 163 sljit_s32 dst, sljit_s32 src1, sljit_sw src2) 172 if (dst ! 162 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, sljit_s32 dst, sljit_s32 src1, sljit_sw src2) argument 511 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw init_value) argument [all...] |
/netbsd-current/lib/librumpuser/build-aux/ |
H A D | install-sh | 95 dst= 249 dst=$src 250 dstdir=$dst 267 dst=$dst_arg 271 if test -d "$dst"; then 276 dstdir=$dst 277 dst=$dstdir/`basename "$src"` 282 (dirname "$dst") 2>/dev/null || 283 expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 284 X"$dst" [all...] |
/netbsd-current/external/bsd/mdocml/dist/ |
H A D | compat_strlcat.c | 31 * Appends src to string dst of size siz (unlike strncat, siz is the 32 * full size of dst, not space left). At most siz-1 characters 33 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 34 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 38 strlcat(char *dst, const char *src, size_t siz) argument 40 char *d = dst; 45 /* Find the end of dst and adjust bytes left but don't go past end */ 48 dlen = d - dst;
|
/netbsd-current/external/bsd/libfido2/dist/openbsd-compat/ |
H A D | strlcat.c | 29 * Appends src to string dst of size siz (unlike strncat, siz is the 30 * full size of dst, not space left). At most siz-1 characters 31 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 32 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 36 strlcat(char *dst, const char *src, size_t siz) argument 38 char *d = dst; 43 /* Find the end of dst and adjust bytes left but don't go past end */ 46 dlen = d - dst;
|