/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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | mempcpy.ll | 4 ; (1) mempcpy is lowered as memcpy, and 8 ; variable G before the mempcpy call. This instance of DST+N causes the repeat 9 ; DST+N done in the context of the return value of mempcpy to be redundant, and 14 ; Also see mempcpy-32.ll 26 %call = tail call i8* @mempcpy(i8* %DST, i8* %SRC, i64 %N) 30 declare i8* @mempcpy(i8*, i8*, i64)
|
D | mempcpy-32.ll | 3 ; This tests the i686 lowering of mempcpy. 4 ; Also see mempcpy.ll 16 %call = tail call i8* @mempcpy(i8* %DST, i8* %SRC, i32 %N) 20 declare i8* @mempcpy(i8*, i8*, i32)
|
/external/elfutils/libdw/ |
D | dwarf_getalt.c | 66 char *c = mempcpy (path, dir, dirlen); in __libdw_filepath() 69 mempcpy (c, file, filelen + 1); in __libdw_filepath() 83 char *c = mempcpy (path, debugdir, debugdirlen); in __libdw_filepath() 86 c = mempcpy (c, dir, dirlen); in __libdw_filepath() 90 mempcpy (c, file, filelen + 1); in __libdw_filepath()
|
/external/elfutils/libebl/ |
D | eblmachineflagname.c | 74 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0'; in ebl_machine_flag_name() 78 cp = mempcpy (cp, machstr, machstrlen); in ebl_machine_flag_name()
|
D | eblopenbackend.c | 351 strcpy (mempcpy (symname, machines[cnt].prefix, in openbackend()
|
/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 | 196 *((char *) mempcpy (stpcpy (mempcpy (new_fname, rootdir, rootdir_len), in process_file() 368 strcpy (mempcpy (stpcpy (mempcpy (mempcpy (difname, rootdir, in process_file()
|
D | size.c | 351 cp = mempcpy (cp, prefix, prefix_len); in handle_ar() 638 cp = mempcpy (cp, prefix, prefix_len); in handle_elf()
|
D | objdump.c | 768 cp = mempcpy (cp, prefix, prefix_len); in handle_elf() 769 cp = mempcpy (cp, fname, fname_len); in handle_elf()
|
D | ar.c | 624 *((char *) mempcpy (truncfname, arhdr->ar_name, in do_oper_extract() 713 *((char *) mempcpy (truncfname, arhdr->ar_name, in do_oper_extract() 1462 char *p = mempcpy (arhdr.ar_name, all->name, namelen); in do_oper_insert()
|
D | nm.c | 1536 cp = mempcpy (cp, prefix, prefix_len); in handle_elf() 1537 cp = mempcpy (cp, fname, fname_len); in handle_elf()
|
/external/elfutils/lib/ |
D | xstrndup.c | 44 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0'; in xstrndup()
|
D | system.h | 68 #define mempcpy(dest, src, n) \ macro
|
/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/elfutils/libdwfl/ |
D | dwfl_build_id_find_elf.c | 95 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name); in __libdwfl_open_by_build_id()
|
D | linux-kernel-modules.c | 722 char *a = mempcpy (alternate_name, module_name, n - module_name); in INTDEF() 728 a = mempcpy (a, n, p - n); in INTDEF()
|
/external/clang/INPUTS/ |
D | stpcpy-test.c | 8 #define mempcpy(dest, src, n) __mempcpy (dest, src, n) macro
|
/external/elfutils/libelf/ |
D | elf_begin.c | 746 *((char *) mempcpy (buf, hdr->ar_size, sizeof (hdr->ar_size))) = '\0'; in read_long_names() 869 *((char *) mempcpy (elf->state.ar.raw_name, ar_hdr->ar_name, 16)) = '\0'; in __libelf_next_arhdr_wrlock() 965 *((char *) mempcpy (buf, ar_hdr->FIELD, sizeof (ar_hdr->FIELD))) \ in __libelf_next_arhdr_wrlock()
|
/external/elfutils/libdwelf/ |
D | dwelf_strtab.c | 301 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len); in copystrings()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InferFunctionAttrs/ |
D | no-proto.ll | 609 ; CHECK: declare void @mempcpy(...) 610 declare void @mempcpy(...)
|