Searched refs:mempcpy (Results 1 - 23 of 23) sorted by relevance

/external/clang/test/Analysis/
H A Dbstring.c152 // mempcpy()
161 #define mempcpy(a,b,c) __mempcpy_chk(a,b,c,(size_t)-1) macro
165 #define mempcpy BUILTIN(mempcpy) macro
166 void *mempcpy(void *restrict s1, const void *restrict s2, size_t n);
175 mempcpy(dst, src, 4); // no-warning
177 if (mempcpy(dst, src, 4) != &dst[4]) {
189 mempcpy(dst, src, 5); // expected-warning{{Memory copy function accesses out-of-bound array element}}
196 mempcpy(dst, src, 4); // expected-warning{{Memory copy function overflows destination buffer}}
203 mempcpy(ds
[all...]
/external/elfutils/lib/
H A Dxstrndup.c29 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
/external/elfutils/libebl/
H A Deblmachineflagname.c62 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0';
66 cp = mempcpy (cp, machstr, machstrlen);
H A Deblstrtab.c293 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len);
H A Deblgstrtab.c304 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len * nodep->width);
H A Deblopenbackend.c243 strcpy (mempcpy (symname, machines[cnt].prefix,
/external/elfutils/
H A Dconfig-compat-darwin.h49 static inline void *mempcpy (void * __dest, const void * __src, size_t __n) function
55 #define __mempcpy mempcpy
H A Dconfig-compat-freebsd.h52 static inline void *mempcpy (void * __dest, const void * __src, size_t __n) function
58 #define __mempcpy mempcpy
/external/e2fsprogs/intl/
H A Dlocalealias.c19 /* Tell glibc's <string.h> to provide a prototype for mempcpy().
79 # ifndef mempcpy
80 # define mempcpy __mempcpy macro
226 mempcpy (mempcpy (full_fname, fname, fname_len),
H A Ddcigettext.c19 /* Tell glibc's <string.h> to provide a prototype for mempcpy().
162 static void *mempcpy (void *dest, const void *src, size_t n);
570 stpcpy (mempcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"),
657 mempcpy (newp->msgid, msgid1, msgid_len);
1182 mempcpy (void *dest, const void *src, size_t n) function
H A Dloadmsgcat.c19 /* Tell glibc's <string.h> to provide a prototype for mempcpy().
815 *((char *) mempcpy (charset, charsetstr, len)) = '\0';
/external/elfutils/libasm/
H A Dasm_begin.c125 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len),
/external/clang/INPUTS/
H A Dstpcpy-test.c8 #define mempcpy(dest, src, n) __mempcpy (dest, src, n) macro
/external/valgrind/main/memcheck/tests/
H A Dstr_tester.c1071 it = "mempcpy";
1072 check(mempcpy(one, "abc", 4) == one + 4, 1); /* Returned value. */
1076 (void) mempcpy(one+1, "xyz", 2);
1080 (void) mempcpy(one, "xyz", 0);
1085 (void) mempcpy(two, one, 9);
1093 check (mempcpy (one + i, "hi there", 9) == one + i + 9,
1098 check (mempcpy (two, one + i, 9) == two + 9,
1471 /* mempcpy */
/external/elfutils/src/
H A Dsize.c380 cp = mempcpy (cp, prefix, prefix_len);
681 cp = mempcpy (cp, prefix, prefix_len);
H A Dnm.c1243 cp = mempcpy (cp, prefix, prefix_len);
1244 cp = mempcpy (cp, fname, fname_len);
H A Dstrip.c408 cp = mempcpy (cp, prefix, prefix_len);
448 strcpy (mempcpy (tmp_debug_fname, debug_fname, debug_fname_len),
1729 cp = mempcpy (cp, prefix, prefix_len);
H A Dldgeneric.c218 strcpy (mempcpy (stpcpy (fname, "libld_"), emulation, emulation_len), ".so");
229 strcpy (mempcpy (initname, emulation, emulation_len), "_ld_init");
346 memcpy (mempcpy (stpcpy (mempcpy (rfname, path->pname,
369 memcpy (stpcpy (mempcpy (rfname, path->pname, dirlen), "/"),
2460 strcpy (mempcpy (tempfname, ld_state.outfname, outfname_len), ".XXXXXX");
H A Delflint.c278 cp = mempcpy (cp, prefix, prefix_len);
1882 cp = mempcpy (cp, known_flags[cnt].name, ncopy);
H A Dreadelf.c413 cp = mempcpy (cp, prefix, prefix_len);
/external/elfutils/libelf/
H A Delf32_updatefile.c255 last_position = mempcpy (last_position,
/external/valgrind/main/memcheck/
H A Dmc_replace_strmem.c923 /* mempcpy */
938 RECORD_OVERLAP_ERROR("mempcpy", dst, src, len); \
956 GLIBC25_MEMPCPY(VG_Z_LIBC_SONAME, mempcpy)
958 GLIBC25_MEMPCPY(VG_Z_LD_SO_1, mempcpy) /* ld.so.1 */
/external/e2fsprogs/
H A Dconfigure7863 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \

Completed in 505 milliseconds