Home
last modified time | relevance | path

Searched refs:mempcpy (Results 1 – 25 of 49) sorted by relevance

12

/external/clang/test/Analysis/
Dbstring.c161 #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 in mempcpy0()
177 clang_analyzer_eval(mempcpy(dst, src, 4) == &dst[4]); // expected-warning{{TRUE}} in mempcpy0()
188mempcpy(dst, src, 5); // expected-warning{{Memory copy function accesses out-of-bound array elemen… in mempcpy1()
195 mempcpy(dst, src, 4); // expected-warning{{Memory copy function overflows destination buffer}} in mempcpy2()
202 mempcpy(dst+1, src+2, 2); // no-warning in mempcpy3()
209mempcpy(dst+2, src+2, 3); // expected-warning{{Memory copy function accesses out-of-bound array el… in mempcpy4()
216 mempcpy(dst+2, src+2, 2); // expected-warning{{Memory copy function overflows destination buffer}} in mempcpy5()
[all …]
/external/elfutils/0.153/bionic-fixup/
DAndroidFixup.h24 #define __mempcpy(dest, src, n) mempcpy(dest, src, n)
27 #ifndef mempcpy
30 static inline void *mempcpy(void *dest, const void *src, size_t n) in mempcpy() function
/external/elfutils/0.153/libebl/
Deblmachineflagname.c98 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0';
102 cp = mempcpy (cp, machstr, machstrlen);
Deblstrtab.c320 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len); in copystrings()
Deblgstrtab.c335 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len * nodep->width); in copystrings()
/external/e2fsprogs/intl/
Dlocalealias.c79 # ifndef mempcpy
80 # define mempcpy __mempcpy macro
226 mempcpy (mempcpy (full_fname, fname, fname_len), in read_alias_file()
Ddcigettext.c162 static void *mempcpy (void *dest, const void *src, size_t n);
570 stpcpy (mempcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), in DCIGETTEXT()
657 mempcpy (newp->msgid, msgid1, msgid_len); in DCIGETTEXT()
1182 mempcpy (void *dest, const void *src, size_t n) in mempcpy() function
/external/elfutils/0.153/host-darwin-fixup/
DAndroidFixup.h49 static inline void *mempcpy (void * __dest, const void * __src, size_t __n) in mempcpy() function
55 #define __mempcpy mempcpy
/external/elfutils/0.153/src/
Dfindtextrel.c220 *((char *) mempcpy (stpcpy (mempcpy (new_fname, rootdir, rootdir_len), in process_file()
385 strcpy (mempcpy (stpcpy (mempcpy (mempcpy (difname, rootdir, in process_file()
Dsize.c380 cp = mempcpy (cp, prefix, prefix_len); in handle_ar()
677 cp = mempcpy (cp, prefix, prefix_len); in handle_elf()
Dobjdump.c786 cp = mempcpy (cp, prefix, prefix_len); in handle_elf()
787 cp = mempcpy (cp, fname, fname_len); in handle_elf()
Dar.c644 *((char *) mempcpy (truncfname, arhdr->ar_name, in do_oper_extract()
733 *((char *) mempcpy (truncfname, arhdr->ar_name, in do_oper_extract()
1473 char *p = mempcpy (arhdr.ar_name, all->name, namelen); in do_oper_insert()
/external/elfutils/0.153/lib/
Dxstrndup.c42 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
/external/bison/lib/
Dstring.in.h169 _GL_FUNCDECL_SYS (mempcpy, void *,
174 _GL_CXXALIAS_SYS (mempcpy, void *,
177 _GL_CXXALIASWARN (mempcpy);
179 # undef mempcpy
181 _GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - "
/external/elfutils/0.153/libasm/
Ddisasm_str.c51 buffer->buf = mempcpy (buffer->buf, str, len); in buffer_cb()
Dasm_begin.c152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len),
/external/bison/linux-lib/
Dstring.h481 _GL_FUNCDECL_SYS (mempcpy, void *,
486 _GL_CXXALIAS_SYS (mempcpy, void *,
489 _GL_CXXALIASWARN (mempcpy);
491 # undef mempcpy
493 _GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - "
/external/bison/darwin-lib/
Dstring.h481 _GL_FUNCDECL_SYS (mempcpy, void *,
486 _GL_CXXALIAS_SYS (mempcpy, void *,
489 _GL_CXXALIASWARN (mempcpy);
491 # undef mempcpy
493 _GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - "
/external/elfutils/0.153/libdwfl/
Ddwfl_build_id_find_elf.c110 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name); in __libdwfl_open_by_build_id()
Dlinux-kernel-modules.c722 char *a = mempcpy (alternate_name, module_name, n - module_name); in INTDEF()
728 a = mempcpy (a, n, p - n); in INTDEF()
/external/valgrind/main/memcheck/tests/
Dstr_tester.c1072 check(mempcpy(one, "abc", 4) == one + 4, 1); /* Returned value. */ in test_mempcpy()
1076 (void) mempcpy(one+1, "xyz", 2); in test_mempcpy()
1080 (void) mempcpy(one, "xyz", 0); in test_mempcpy()
1085 (void) mempcpy(two, one, 9); in test_mempcpy()
1093 check (mempcpy (one + i, "hi there", 9) == one + i + 9, in test_mempcpy()
1098 check (mempcpy (two, one + i, 9) == two + 9, in test_mempcpy()
/external/bison/m4/
Dstring_h.m430 [ffsl ffsll memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul
/external/clang/INPUTS/
Dstpcpy-test.c8 #define mempcpy(dest, src, n) __mempcpy (dest, src, n) macro
/external/valgrind/main/shared/
Dvg_replace_strmem.c1344 GLIBC25_MEMPCPY(VG_Z_LIBC_SONAME, mempcpy)
1345 GLIBC25_MEMPCPY(VG_Z_LD_SO_1, mempcpy) /* ld.so.1 */
1346 GLIBC25_MEMPCPY(VG_Z_LD_LINUX_SO_3, mempcpy) /* ld-linux.so.3 */
1347 GLIBC25_MEMPCPY(VG_Z_LD_LINUX_X86_64_SO_2, mempcpy) /* ld-linux-x86-64.so.2 */
/external/valgrind/main/
Dglibc-2.4.supp83 fun:mempcpy

12