Searched defs:src (Results 1 - 25 of 1405) sorted by relevance

1234567891011>>

/freebsd-head/contrib/gcclibs/libiberty/
H A Dmempcpy.c38 mempcpy (PTR dst, const PTR src, size_t len) argument
40 return (char *) memcpy (dst, src, len) + len;
H A Dstpcpy.c23 @deftypefn Supplemental char* stpcpy (char *@var{dst}, const char *@var{src})
25 Copies the string @var{src} into @var{dst}. Returns a pointer to
26 @var{dst} + strlen(@var{src}).
39 stpcpy (char *dst, const char *src) argument
41 const size_t len = strlen (src);
42 return (char *) memcpy (dst, src, len + 1) + len;
H A Dmemchr.c23 const unsigned char *src = (const unsigned char *)src_void; local
27 if (*src == c)
28 return (PTR)src;
29 src++;
H A Dstpncpy.c23 @deftypefn Supplemental char* stpncpy (char *@var{dst}, const char *@var{src}, size_t @var{len})
25 Copies the string @var{src} into @var{dst}, copying exactly @var{len}
26 and padding with zeros if necessary. If @var{len} < strlen(@var{src})
28 strlen(@var{src}).
41 stpncpy (char *dst, const char *src, size_t len) argument
43 size_t n = strlen (src);
46 return strncpy (dst, src, len) + n;
/freebsd-head/lib/libc/amd64/string/
H A Dbcopy.c11 bcopy(const void *src, void *dst, size_t len) argument
14 memmove(dst, src, len);
/freebsd-head/contrib/llvm/tools/lldb/source/API/
H A DUtils.h17 template <typename T> std::unique_ptr<T> clone(const std::unique_ptr<T> &src) { argument
18 if (src)
19 return llvm::make_unique<T>(*src);
23 template <typename T> std::shared_ptr<T> clone(const std::shared_ptr<T> &src) { argument
24 if (src)
25 return std::make_shared<T>(*src);
/freebsd-head/sys/contrib/zstd/tests/fuzz/
H A Dzstd_frame_info.c21 int LLVMFuzzerTestOneInput(const uint8_t *src, size_t size) argument
28 ZSTD_getFrameContentSize(src, size);
29 ZSTD_getDecompressedSize(src, size);
30 ZSTD_findFrameCompressedSize(src, size);
31 ZSTD_getDictID_fromFrame(src, size);
32 ZSTD_findDecompressedSize(src, size);
33 ZSTD_decompressBound(src, size);
34 ZSTD_frameHeaderSize(src, size);
35 ZSTD_isFrame(src, size);
36 ZSTD_getFrameHeader(&zfh, src, siz
[all...]
/freebsd-head/contrib/gcclibs/libssp/
H A Dmemcpy-chk.c45 __memcpy_chk (void *__restrict__ dest, const void *__restrict__ src, argument
50 return memcpy (dest, src, len);
H A Dmemmove-chk.c46 __memmove_chk (void *dest, const void *src, size_t len, size_t slen) argument
50 return memmove (dest, src, len);
H A Dmempcpy-chk.c46 __mempcpy_chk (void *__restrict__ dest, const void *__restrict__ src, argument
51 return memcpy (dest, src, len) + len;
H A Dstpcpy-chk.c45 __stpcpy_chk (char *__restrict__ dest, const char *__restrict__ src, argument
48 size_t len = strlen (src);
51 return memcpy (dest, src, len + 1) + len;
H A Dstrcpy-chk.c45 __strcpy_chk (char *__restrict__ dest, const char *__restrict__ src, argument
48 size_t len = strlen (src);
51 return memcpy (dest, src, len + 1);
H A Dstrncpy-chk.c46 __strncpy_chk (char *__restrict__ dest, const char *__restrict__ src, argument
51 return strncpy (dest, src, len);
/freebsd-head/contrib/binutils/libiberty/
H A Dmemchr.c23 const unsigned char *src = (const unsigned char *)src_void; local
27 if (*src == c)
28 return (PTR)src;
29 src++;
/freebsd-head/crypto/heimdal/lib/roken/
H A Dstrlcat.c40 strlcat (char *dst, const char *src, size_t dst_sz) argument
55 return len + strlen(src);
57 return len + strlcpy (dst + len, src, dst_sz - len);
/freebsd-head/contrib/cortex-strings/src/thumb-2/
H A Dstrcpy.c45 strcpy (char* dst, const char* src) argument
143 /* src and dst do not have a common word-alignement. Fall back to
/freebsd-head/contrib/openpam/lib/libpam/
H A Dopenpam_strlcat.c42 /* like strcat(3), but always NUL-terminates; returns strlen(src) */
44 openpam_strlcat(char *dst, const char *src, size_t size) argument
50 for (; *src && size > 1; ++len, --size)
51 *dst++ = *src++;
53 while (*src)
54 ++len, ++src;
H A Dopenpam_strlcpy.c42 /* like strcpy(3), but always NUL-terminates; returns strlen(src) */
44 openpam_strlcpy(char *dst, const char *src, size_t size) argument
48 for (len = 0; *src && size > 1; ++len, --size)
49 *dst++ = *src++;
51 while (*src)
52 ++len, ++src;
/freebsd-head/stand/libsa/
H A Dinet_ntoa.c53 unsigned char *src = (unsigned char *) &in; local
55 sprintf(ret, fmt, src[0], src[1], src[2], src[3]);
/freebsd-head/lib/libc/string/
H A Dstpncpy.c35 stpncpy(char * __restrict dst, const char * __restrict src, size_t n) argument
38 for (; n--; dst++, src++) {
39 if (!(*dst = *src)) {
H A Dwcpncpy.c35 wcpncpy(wchar_t * __restrict dst, const wchar_t * __restrict src, size_t n) argument
38 for (; n--; dst++, src++) {
39 if (!(*dst = *src)) {
/freebsd-head/contrib/bearssl/src/codec/
H A Ddec16be.c29 br_range_dec16be(uint16_t *v, size_t num, const void *src) argument
33 buf = src;
H A Ddec16le.c29 br_range_dec16le(uint16_t *v, size_t num, const void *src) argument
33 buf = src;
H A Ddec32be.c29 br_range_dec32be(uint32_t *v, size_t num, const void *src) argument
33 buf = src;
H A Ddec32le.c29 br_range_dec32le(uint32_t *v, size_t num, const void *src) argument
33 buf = src;

Completed in 349 milliseconds

1234567891011>>