/external/elfutils/libasm/ |
asm_begin.c | 135 size_t fname_len = fname != NULL ? strlen (fname) : 0; 142 = (AsmCtx_t *) malloc (sizeof (AsmCtx_t) + 2 * fname_len + 9); 152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len), 154 memcpy (result->fname, fname, fname_len + 1);
|
/external/e2fsprogs/intl/ |
localealias.c | 143 static size_t read_alias_file (const char *fname, int fname_len) 217 read_alias_file (const char *fname, int fname_len) 224 full_fname = (char *) alloca (fname_len + sizeof aliasfile); 226 mempcpy (mempcpy (full_fname, fname, fname_len), 229 memcpy (full_fname, fname, fname_len); 230 memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile);
|
/external/compiler-rt/lib/asan/ |
asan_mac.cc | 136 uptr fname_len = internal_strlen(info.dli_fname); local 148 new_env = (char*)allocator_for_env.Allocate(old_env_len + fname_len + 2); 151 // Copy fname_len and add a trailing zero. 153 fname_len + 1); 170 if (old_env_len == fname_len) { 198 if ((piece_len != fname_len) || 199 (internal_strncmp(piece_start, info.dli_fname, fname_len) != 0)) {
|
/external/elfutils/src/ |
findtextrel.c | 211 size_t fname_len = strlen (fname); local 217 char *new_fname = alloca (rootdir_len + fname_len + 2); 220 fname, fname_len)) = '\0'; 368 + fname_len + 8); 374 fname, fname_len),
|
size.c | 363 size_t fname_len = strlen (fname) + 1; local 364 char new_prefix[prefix_len + 1 + fname_len]; 373 memcpy (cp, fname, fname_len); 663 size_t fname_len = strlen (fname) + 1; local 664 char fullname[prefix_len + 1 + fname_len]; 673 memcpy (cp, fname, fname_len);
|
nm.c | 412 size_t fname_len = strlen (fname) + 1; local 414 char new_prefix[prefix_len + fname_len + 2]; 1231 size_t fname_len = strlen (fname) + 1; local [all...] |
objdump.c | 306 size_t fname_len = strlen (fname) + 1; local 308 char new_prefix[prefix_len + fname_len + 2]; 785 size_t fname_len = strlen (fname) + 1; local 786 char fullname[prefix_len + 1 + fname_len + suffix_len]; 790 cp = mempcpy (cp, fname, fname_len);
|
strip.c | 380 size_t fname_len = strlen (fname) + 1; local 381 char *fullname = alloca (prefix_len + 1 + fname_len); 424 memcpy (cp, fname, fname_len); 1770 size_t fname_len = strlen (fname) + 1; local [all...] |
elflint.c | 269 size_t fname_len = strlen (fname) + 1; local 270 char new_prefix[prefix_len + 1 + fname_len]; 283 memcpy (cp, fname, fname_len); [all...] |