/external/clang/test/Analysis/ |
D | bstring.c | 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 in mempcpy0() 177 clang_analyzer_eval(mempcpy(dst, src, 4) == &dst[4]); // expected-warning{{TRUE}} in mempcpy0() 188 …mempcpy(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() 209 …mempcpy(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/syslinux/com32/lib/ |
D | mempcpy.S | 36 .globl mempcpy symbol 37 .type mempcpy, @function 38 mempcpy: label 89 .size mempcpy, .-mempcpy
|
D | mempcpy.c | 10 void *mempcpy(void *dst, const void *src, size_t n) in mempcpy() function
|
/external/elfutils/libebl/ |
D | eblmachineflagname.c | 73 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0'; in ebl_machine_flag_name() 77 cp = mempcpy (cp, machstr, machstrlen); in ebl_machine_flag_name()
|
D | eblstrtab.c | 299 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len); in copystrings()
|
/external/e2fsprogs/intl/ |
D | localealias.c | 79 # ifndef mempcpy 80 # define mempcpy __mempcpy macro 226 mempcpy (mempcpy (full_fname, fname, fname_len), in read_alias_file()
|
D | dcigettext.c | 162 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/toybox/toys/pending/ |
D | arping.c | 49 extern void *mempcpy(void *dest, const void *src, size_t n); 111 ptr = mempcpy(ptr, &src_pk.sll_addr, src_pk.sll_halen); in send_packet() 112 ptr = mempcpy(ptr, &src_addr, 4); in send_packet() 113 ptr = mempcpy(ptr, in send_packet() 116 ptr = mempcpy(ptr, &dest_addr, 4); in send_packet()
|
/external/elfutils/src/ |
D | findtextrel.c | 212 *((char *) mempcpy (stpcpy (mempcpy (new_fname, rootdir, rootdir_len), in process_file() 383 strcpy (mempcpy (stpcpy (mempcpy (mempcpy (difname, rootdir, in process_file()
|
D | size.c | 368 cp = mempcpy (cp, prefix, prefix_len); in handle_ar() 653 cp = mempcpy (cp, prefix, prefix_len); in handle_elf()
|
D | objdump.c | 780 cp = mempcpy (cp, prefix, prefix_len); in handle_elf() 781 cp = mempcpy (cp, fname, fname_len); in handle_elf()
|
/external/elfutils/lib/ |
D | xstrndup.c | 43 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0'; in xstrndup()
|
/external/valgrind/ |
D | glibc-2.34567-NPTL-helgrind.supp | 28 # FILE*s state through mempcpy, which we intercept, so we also need 48 helgrind-glibc-io-xsputn-mempcpy 262 fun:mempcpy
|
/external/elfutils/libasm/ |
D | disasm_str.c | 54 buffer->buf = mempcpy (buffer->buf, str, len); in buffer_cb()
|
D | asm_begin.c | 152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len), in asm_begin()
|
/external/autotest/client/site_tests/platform_ToolchainTests/src/ |
D | clang-fortify-tests.cpp | 111 #undef mempcpy 125 EXPECT_DEATH(mempcpy(small_buffer, large_buffer, sizeof(large_buffer))); in TestString() 163 EXPECT_NO_DEATH(mempcpy(split.tiny_buffer, &split, sizeof(split))); in TestString()
|
/external/syslinux/com32/include/ |
D | string.h | 15 __extern void *mempcpy(void *, const void *, size_t);
|
/external/syslinux/memdisk/ |
D | memdisk.h | 101 static inline void *mempcpy(void *__d, const void *__s, unsigned int __n) in mempcpy() function
|
D | setup.c | 1133 dpp = mempcpy(dpp, memdisk_hook, bin_size); in setup() 1134 dpp = mempcpy(dpp, ranges, (nranges + 1) * sizeof(ranges[0])); in setup() 1135 dpp = mempcpy(dpp, shdr->cmdline, cmdline_len); in setup()
|
/external/valgrind/memcheck/tests/ |
D | str_tester.c | 1072 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/elfutils/libdwfl/ |
D | dwfl_build_id_find_elf.c | 90 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name); in __libdwfl_open_by_build_id()
|
D | linux-kernel-modules.c | 677 char *a = mempcpy (alternate_name, module_name, n - module_name); in INTDEF() 683 a = mempcpy (a, n, p - n); in INTDEF()
|
/external/syslinux/com32/libutil/ |
D | sha256crypt.c | 404 cp = mempcpy(cp, temp_result, 32); in sha256_crypt_r() 420 cp = mempcpy(cp, temp_result, 32); in sha256_crypt_r()
|
D | sha512crypt.c | 439 cp = mempcpy(cp, temp_result, 64); in sha512_crypt_r() 455 cp = mempcpy(cp, temp_result, 64); in sha512_crypt_r()
|
/external/clang/INPUTS/ |
D | stpcpy-test.c | 8 #define mempcpy(dest, src, n) __mempcpy (dest, src, n) macro
|