/netbsd-current/lib/libc/string/ |
H A D | wmempcpy.c | 36 wmempcpy(wchar_t *__restrict dst, const wchar_t *__restrict src, size_t len) argument 38 return wmemcpy(dst, src, len) + len;
|
/netbsd-current/external/bsd/file/dist/src/ |
H A D | strlcpy.c | 35 * Copy src to string dst of size siz. At most siz-1 characters 40 strlcpy(char *dst, const char *src, size_t siz) argument 42 char *d = dst; 54 /* Not enough room in dst, add NUL and traverse rest of src */ 57 *d = '\0'; /* NUL-terminate dst */
|
/netbsd-current/external/bsd/tcpdump/dist/missing/ |
H A D | strlcpy.c | 42 * Copy src to string dst of size siz. At most siz-1 characters 47 strlcpy(char *dst, const char *src, size_t siz) argument 49 char *d = dst; 61 /* Not enough room in dst, add NUL and traverse rest of src */ 64 *d = '\0'; /* NUL-terminate dst */
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/include/ |
H A D | Makefile.in | 16 SUBDIRS = dns dst
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/dns/include/dst/ |
H A D | Makefile.in | 18 HEADERS = dst.h gssapi.h result.h 26 $(SHELL) ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir}/dst 30 ${INSTALL_DATA} ${srcdir}/$$i ${DESTDIR}${includedir}/dst || exit 1; \ 35 rm -f ${DESTDIR}${includedir}/dst/$$i || exit 1; \
|
/netbsd-current/sys/sys/ |
H A D | ipc.h | 126 #define SYSCTL_FILL_PERM(src, dst) do { \ 127 (dst)._key = (src)._key; \ 128 (dst).uid = (src).uid; \ 129 (dst).gid = (src).gid; \ 130 (dst).cuid = (src).cuid; \ 131 (dst).cgid = (src).cgid; \ 132 (dst).mode = (src).mode; \ 133 (dst)._seq = (src)._seq; \
|
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/ |
H A D | stpncpy.c | 23 @deftypefn Supplemental char* stpncpy (char *@var{dst}, const char *@var{src}, @ 26 Copies the string @var{src} into @var{dst}, copying exactly @var{len} 28 then return @var{dst} + @var{len}, otherwise returns @var{dst} + 42 stpncpy (char *dst, const char *src, size_t len) argument 47 return strncpy (dst, src, len) + n;
|
/netbsd-current/sys/external/bsd/drm2/include/linux/ |
H A D | string.h | 58 void *dst; local 60 dst = kmalloc(len, gfp); 61 if (dst == NULL) 64 (void)memcpy(dst, src, len); 65 return dst; 71 char *dst; local 78 dst = kmalloc(len + 1, gfp); 79 if (dst == NULL) 82 (void)memcpy(dst, src, len); 83 dst[le 98 strscpy(char *dst, const char *src, size_t dstsize) argument [all...] |
/netbsd-current/sys/arch/hppa/hppa/ |
H A D | db_memrw.c | 57 char *dst = (char *)addr; local 63 * dst is less than etext. 66 if (dst < (char *) &etext) { 67 hppa_ktext_stb((vaddr_t)dst, *data); 68 dst++; 71 *dst++ = *data++;
|
/netbsd-current/external/bsd/ntp/dist/libntp/ |
H A D | strl_obsd.c | 37 * Copy src to string dst of size siz. At most siz-1 characters 42 strlcpy(char *dst, const char *src, size_t siz) argument 44 char *d = dst; 56 /* Not enough room in dst, add NUL and traverse rest of src */ 59 *d = '\0'; /* NUL-terminate dst */ 92 * Appends src to string dst of size siz (unlike strncat, siz is the 93 * full size of dst, not space left). At most siz-1 characters 94 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 95 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 99 strlcat(char *dst, cons argument [all...] |
/netbsd-current/external/bsd/blocklist/port/ |
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 /* Find the end of dst and adjust bytes left but don't go past end */ 67 dlen = d - dst; 85 * Find length of string in dst (maxing out at siz). 87 size_t dlen = strnlen(dst, si [all...] |
/netbsd-current/external/lgpl3/gmp/dist/mpz/ |
H A D | dive_ui.c | 34 mpz_divexact_ui (mpz_ptr dst, mpz_srcptr src, unsigned long divisor) argument 51 mpz_divexact (dst, src, dz); 58 SIZ(dst) = 0; 63 dst_ptr = MPZ_REALLOC (dst, abs_size); 67 SIZ(dst) = (size >= 0 ? abs_size : -abs_size);
|
/netbsd-current/sys/arch/pmax/ibus/ |
H A D | sii_ds.c | 48 volatile u_short *dst, int length); 49 static void kn230_copyfrombuf(volatile u_short *src, char *dst, 53 volatile u_short *dst, int length); 54 static void kn01_copyfrombuf(volatile u_short *src, char *dst, 132 kn230_copytobuf(u_short *src, volatile u_short *dst, int len) argument 135 volatile u_int *wdst = (volatile u_int *)dst; 142 if ((u_int)(dst) & 0x3) { 143 printf("kn230: copytobuf, dst %p misaligned\n", dst); 162 * XXX assumes dst i 166 kn230_copyfrombuf(volatile u_short *src, char *dst, int len) argument 205 kn01_copytobuf(u_short *src, volatile u_short *dst, int len) argument 220 kn01_copyfrombuf(volatile u_short *src, char *dst, int len) argument [all...] |
/netbsd-current/crypto/external/bsd/openssl/lib/libcrypto/man/ |
H A D | Makefile | 22 dst=$$fn.$$sec; \ 25 openssl*) dst=$$fn.$$sec;; \ 26 *) dst=openssl_$$fn.$$sec;; \ 29 *) dst=$$fn.$$sec;; \ 35 perl libcrypto.pl > $$dst; \
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_rect.c | 61 static u32 clip_scaled(int src, int dst, int *clip) argument 65 if (dst == 0) 69 *clip = min(*clip, dst); 71 tmp = mul_u32_u32(src, dst - *clip); 77 if (src < (dst << 16)) 78 return DIV_ROUND_UP_ULL(tmp, dst); 80 return DIV_ROUND_DOWN_ULL(tmp, dst); 86 * @dst: destination window rectangle 89 * Clip rectangle @dst by rectangle @clip. Clip rectangle @src by the 91 * factors from @src to @dst 98 drm_rect_clip_scaled(struct drm_rect *src, struct drm_rect *dst, const struct drm_rect *clip) argument 140 drm_calc_scale(int src, int dst) argument 175 drm_rect_calc_hscale(const struct drm_rect *src, const struct drm_rect *dst, int min_hscale, int max_hscale) argument 210 drm_rect_calc_vscale(const struct drm_rect *src, const struct drm_rect *dst, int min_vscale, int max_vscale) argument [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/bfin/ |
H A D | mdma-skel.h | 3 void _mdma_memcpy (bu32 dst, bu32 src, bu32 size, bs16 mod) argument 19 d->start_addr = dst; 38 void mdma_memcpy (bu32 dst, bu32 src, bu32 size); 48 char *src, *dst; local 57 dst = data + len + 4; 60 canaries[1] = (void *)&dst[-4]; 61 canaries[2] = (void *)&dst[len]; 65 memset (dst, 0x00, len); 67 mdma_memcpy ((bu32)dst, (bu32)src, len); 68 if (memcmp (src, dst, le [all...] |
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/bfin/ |
H A D | mdma-skel.h | 4 void _mdma_memcpy (bu32 dst, bu32 src, bu32 size, bs16 mod) argument 20 d->start_addr = dst; 39 void mdma_memcpy (bu32 dst, bu32 src, bu32 size); 49 char *src, *dst; local 58 dst = data + len + 4; 61 canaries[1] = (void *)&dst[-4]; 62 canaries[2] = (void *)&dst[len]; 66 memset (dst, 0x00, len); 68 mdma_memcpy ((bu32)dst, (bu32)src, len); 69 if (memcmp (src, dst, le [all...] |
/netbsd-current/crypto/external/cpl/tpm-tools/dist/ |
H A D | install-sh | 95 dst= 237 dst=$src 238 dstdir=$dst 256 dst=$dst_arg 258 case $dst in 259 -*) dst=./$dst;; 264 if test -d "$dst"; then 269 dstdir=$dst 270 dst [all...] |
/netbsd-current/crypto/external/cpl/trousers/dist/ |
H A D | install-sh | 95 dst= 237 dst=$src 238 dstdir=$dst 256 dst=$dst_arg 258 case $dst in 259 -*) dst=./$dst;; 264 if test -d "$dst"; then 269 dstdir=$dst 270 dst [all...] |
/netbsd-current/external/gpl2/xcvs/dist/build-aux/ |
H A D | install-sh | 95 dst= 237 dst=$src 238 dstdir=$dst 256 dst=$dst_arg 258 case $dst in 259 -*) dst=./$dst;; 264 if test -d "$dst"; then 269 dstdir=$dst 270 dst [all...] |
/netbsd-current/external/public-domain/sqlite/dist/tea/tclconfig/ |
H A D | install-sh | 95 dst= 245 dst=$src 246 dstdir=$dst 264 dst=$dst_arg 266 case $dst in 267 -*) dst=./$dst;; 272 if test -d "$dst"; then 277 dstdir=$dst 278 dst [all...] |
/netbsd-current/sys/external/bsd/sljit/dist/sljit_src/ |
H A D | sljitNativePPC_32.c | 43 #define INS_CLEAR_LEFT(dst, src, from) \ 44 (RLWINM | S(src) | A(dst) | ((from) << 6) | (31 << 1)) 47 sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) 55 if (dst != src2) 56 return push_inst(compiler, OR | S(src2) | A(dst) | B(src2)); 64 return push_inst(compiler, EXTSB | S(src2) | A(dst)); 65 return push_inst(compiler, INS_CLEAR_LEFT(dst, src2, 24)); 68 return push_inst(compiler, EXTSB | S(src2) | A(dst)); 70 SLJIT_ASSERT(dst == src2); 79 return push_inst(compiler, EXTSH | S(src2) | A(dst)); 46 emit_single_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 flags, sljit_s32 dst, sljit_s32 src1, sljit_s32 src2) argument [all...] |
/netbsd-current/sys/dev/raidframe/ |
H A D | rf_nwayxor.c | 105 unsigned long *dst = (unsigned long *) dest_rb->buffer; local 106 unsigned long *a = dst; 113 while ((((unsigned long) dst) & 0x1f)) { 114 *dst++ = *a++ ^ *b++ ^ *c++; 151 dst[0] = a0; 153 dst[1] = a1; 155 dst[2] = a2; 156 dst[3] = a3; 157 dst += 4; 160 *dst 195 unsigned long *dst = (unsigned long *) dest_rb->buffer; local 222 unsigned long *dst = (unsigned long *) dest_rb->buffer; local 251 unsigned long *dst = (unsigned long *) dest_rb->buffer; local 282 unsigned long *dst = (unsigned long *) dest_rb->buffer; local 315 unsigned long *dst = (unsigned long *) dest_rb->buffer; local 350 unsigned long *dst = (unsigned long *) dest_rb->buffer; local 388 unsigned long *dst = (unsigned long *) dest_rb->buffer; local [all...] |
/netbsd-current/sys/arch/usermode/usermode/ |
H A D | db_memrw.c | 140 char *dst; 145 dst = (char *)addr; 148 addr = (vaddr_t)dst; 156 printf(" address %p not a valid page\n", dst); 189 *dst++ = *data++; 213 char *dst; local 216 dst = (char *)addr; 217 thunk_printf_debug("\n%s : %p + %d\n", __func__, dst, (int) size); 238 dst = (char *)addr; 241 *((long *)dst) [all...] |
/netbsd-current/external/mit/isl/dist/ |
H A D | isl_int_sioimath.h | 375 inline void isl_sioimath_promote(isl_sioimath_ptr dst) argument 379 if (isl_sioimath_is_big(*dst)) 382 small = isl_sioimath_get_small(*dst); 383 mp_int_set_value(isl_sioimath_reinit_big(dst), small); 387 * nothing if dst doesn't fit small representation. 389 inline void isl_sioimath_try_demote(isl_sioimath_ptr dst) argument 393 if (isl_sioimath_is_small(*dst)) 396 if (mp_int_to_int(isl_sioimath_get_big(*dst), &small) != MP_OK) 400 isl_sioimath_set_small(dst, small); 405 inline void isl_sioimath_init(isl_sioimath_ptr dst) argument 412 isl_sioimath_clear(isl_sioimath_ptr dst) argument 422 isl_sioimath_set(isl_sioimath_ptr dst, isl_sioimath_src val) argument 434 isl_sioimath_set_si(isl_sioimath_ptr dst, long val) argument 446 isl_sioimath_set_ui(isl_sioimath_ptr dst, unsigned long val) argument 550 isl_sioimath_abs(isl_sioimath_ptr dst, isl_sioimath_src arg) argument 562 isl_sioimath_neg(isl_sioimath_ptr dst, isl_sioimath_src arg) argument 589 isl_sioimath_add_ui(isl_sioimath_ptr dst, isl_sioimath lhs, unsigned long rhs) argument 612 isl_sioimath_sub_ui(isl_sioimath_ptr dst, isl_sioimath lhs, unsigned long rhs) argument 631 isl_sioimath_add(isl_sioimath_ptr dst, isl_sioimath_src lhs, isl_sioimath_src rhs) argument 652 isl_sioimath_sub(isl_sioimath_ptr dst, isl_sioimath_src lhs, isl_sioimath_src rhs) argument 673 isl_sioimath_mul(isl_sioimath_ptr dst, isl_sioimath_src lhs, isl_sioimath_src rhs) argument 695 isl_sioimath_mul_2exp(isl_sioimath_ptr dst, isl_sioimath lhs, unsigned long rhs) argument 712 isl_sioimath_mul_si(isl_sioimath_ptr dst, isl_sioimath lhs, signed long rhs) argument 732 isl_sioimath_mul_ui(isl_sioimath_ptr dst, isl_sioimath lhs, unsigned long rhs) argument 754 isl_sioimath_pow_ui(isl_sioimath_ptr dst, isl_sioimath_src lhs, unsigned long rhs) argument 802 isl_sioimath_addmul(isl_sioimath_ptr dst, isl_sioimath_src lhs, isl_sioimath_src rhs) argument 814 isl_sioimath_addmul_ui(isl_sioimath_ptr dst, isl_sioimath_src lhs, unsigned long rhs) argument 826 isl_sioimath_submul(isl_sioimath_ptr dst, isl_sioimath_src lhs, isl_sioimath_src rhs) argument 838 isl_sioimath_submul_ui(isl_sioimath_ptr dst, isl_sioimath_src lhs, unsigned long rhs) argument 855 isl_sioimath_tdiv_q(isl_sioimath_ptr dst, isl_sioimath_src lhs, isl_sioimath_src rhs) argument 876 isl_sioimath_tdiv_q_ui(isl_sioimath_ptr dst, isl_sioimath_src lhs, unsigned long rhs) argument 903 isl_sioimath_cdiv_q(isl_sioimath_ptr dst, isl_sioimath_src lhs, isl_sioimath_src rhs) argument 933 isl_sioimath_cdiv_q_ui(isl_sioimath_ptr dst, isl_sioimath_src lhs, unsigned long rhs) argument 957 isl_sioimath_fdiv_q(isl_sioimath_ptr dst, isl_sioimath_src lhs, isl_sioimath_src rhs) argument 987 isl_sioimath_fdiv_q_ui(isl_sioimath_ptr dst, isl_sioimath_src lhs, unsigned long rhs) argument 1012 isl_sioimath_fdiv_r(isl_sioimath_ptr dst, isl_sioimath_src lhs, isl_sioimath_src rhs) argument [all...] |