/external/clang/test/Analysis/ |
H A D | bstring.c | 152 // 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 clang_analyzer_eval(mempcpy(dst, src, 4) == &dst[4]); // expected-warning{{TRUE}} 188 mempcpy(dst, src, 5); // expected-warning{{Memory copy function accesses out-of-bound array element}} 195 mempcpy(dst, src, 4); // expected-warning{{Memory copy function overflows destination buffer}} 202 mempcpy(ds [all...] |
/external/elfutils/src/lib/ |
H A D | xstrndup.c | 45 *((char *) mempcpy ((res = xmalloc (len + 1)), string, len)) = '\0';
|
/external/elfutils/src/libebl/ |
H A D | eblmachineflagname.c | 77 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0'; 81 cp = mempcpy (cp, machstr, machstrlen);
|
H A D | eblstrtab.c | 299 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len);
|
H A D | eblgstrtab.c | 314 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len * nodep->width);
|
H A D | eblopenbackend.c | 348 strcpy (mempcpy (symname, machines[cnt].prefix,
|
/external/elfutils/src/libasm/ |
H A D | disasm_str.c | 54 buffer->buf = mempcpy (buffer->buf, str, len);
|
H A D | asm_begin.c | 155 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len),
|
/external/e2fsprogs/intl/ |
H A D | localealias.c | 19 /* 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 D | dcigettext.c | 19 /* 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
|
/external/toybox/toys/pending/ |
H A D | arping.c | 55 extern void *mempcpy(void *dest, const void *src, size_t n); 117 ptr = mempcpy(ptr, &src_pk.sll_addr, src_pk.sll_halen); 118 ptr = mempcpy(ptr, &src_addr, 4); 119 ptr = mempcpy(ptr, 122 ptr = mempcpy(ptr, &dest_addr, 4);
|
/external/elfutils/src/src/ |
H A D | findtextrel.c | 212 *((char *) mempcpy (stpcpy (mempcpy (new_fname, rootdir, rootdir_len), 383 strcpy (mempcpy (stpcpy (mempcpy (mempcpy (difname, rootdir,
|
H A D | size.c | 372 cp = mempcpy (cp, prefix, prefix_len); 657 cp = mempcpy (cp, prefix, prefix_len);
|
H A D | ar.c | 637 *((char *) mempcpy (truncfname, arhdr->ar_name, 726 *((char *) mempcpy (truncfname, arhdr->ar_name, 1466 char *p = mempcpy (arhdr.ar_name, all->name, namelen);
|
H A D | objdump.c | 784 cp = mempcpy (cp, prefix, prefix_len); 785 cp = mempcpy (cp, fname, fname_len);
|
H A D | strip.c | 440 cp = mempcpy (cp, prefix, prefix_len); 482 strcpy (mempcpy (tmp_debug_fname, debug_fname, debug_fname_len), 2123 cp = mempcpy (cp, prefix, prefix_len);
|
/external/elfutils/src/libdwfl/ |
H A D | dwfl_build_id_find_elf.c | 76 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name);
|
H A D | linux-kernel-modules.c | 708 char *a = mempcpy (alternate_name, module_name, n - module_name); 714 a = mempcpy (a, n, p - n);
|
/external/bison/lib/ |
H A D | string.in.h | 169 _GL_FUNCDECL_SYS (mempcpy, void *, 174 _GL_CXXALIAS_SYS (mempcpy, void *, 177 _GL_CXXALIASWARN (mempcpy); variable 179 # undef mempcpy macro 181 _GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - " 182 "use gnulib module mempcpy for portability");
|
/external/bison/darwin-lib/ |
H A D | string.h | 481 _GL_FUNCDECL_SYS (mempcpy, void *, 486 _GL_CXXALIAS_SYS (mempcpy, void *, 489 _GL_CXXALIASWARN (mempcpy); 491 # undef mempcpy macro 493 _GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - " 494 "use gnulib module mempcpy for portability");
|
/external/bison/linux-lib/ |
H A D | string.h | 481 _GL_FUNCDECL_SYS (mempcpy, void *, 486 _GL_CXXALIAS_SYS (mempcpy, void *, 489 _GL_CXXALIASWARN (mempcpy); 491 # undef mempcpy macro 493 _GL_WARN_ON_USE (mempcpy, "mempcpy is unportable - " 494 "use gnulib module mempcpy for portability");
|
/external/clang/INPUTS/ |
H A D | stpcpy-test.c | 8 #define mempcpy(dest, src, n) __mempcpy (dest, src, n) macro
|
/external/valgrind/memcheck/tests/ |
H A D | str_tester.c | 1071 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, 1498 /* mempcpy */
|
/external/valgrind/shared/ |
H A D | vg_replace_strmem.c | 1351 /*---------------------- mempcpy ----------------------*/ 1353 /* mempcpy */ 1366 RECORD_OVERLAP_ERROR("mempcpy", dst, src, len); \ 1385 GLIBC25_MEMPCPY(VG_Z_LIBC_SONAME, mempcpy) 1387 GLIBC25_MEMPCPY(VG_Z_LD_SO_1, mempcpy) /* ld.so.1 */ 1388 GLIBC25_MEMPCPY(VG_Z_LD_LINUX_SO_3, mempcpy) /* ld-linux.so.3 */ 1389 GLIBC25_MEMPCPY(VG_Z_LD_LINUX_X86_64_SO_2, mempcpy) /* ld-linux-x86-64.so.2 */ 1392 //GLIBC25_MEMPCPY(VG_Z_LIBC_SONAME, mempcpy)
|
/external/elfutils/src/libelf/ |
H A D | elf_begin.c | 814 *((char *) mempcpy (elf->state.ar.raw_name, ar_hdr->ar_name, 16)) = '\0'; 910 *((char *) mempcpy (buf, ar_hdr->FIELD, sizeof (ar_hdr->FIELD))) \
|