/external/e2fsprogs/intl/ |
D | 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) in read_alias_file() argument 224 full_fname = (char *) alloca (fname_len + sizeof aliasfile); in read_alias_file() 226 mempcpy (mempcpy (full_fname, fname, fname_len), in read_alias_file() 229 memcpy (full_fname, fname, fname_len); in read_alias_file() 230 memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile); in read_alias_file()
|
/external/elfutils/libasm/ |
D | asm_begin.c | 135 size_t fname_len = fname != NULL ? strlen (fname) : 0; in asm_begin() local 142 = (AsmCtx_t *) malloc (sizeof (AsmCtx_t) + 2 * fname_len + 9); in asm_begin() 152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len), in asm_begin() 154 memcpy (result->fname, fname, fname_len + 1); in asm_begin()
|
/external/perfetto/src/base/ |
D | logging.cc | 109 size_t fname_len = strlen(fname); in LogMessage() local 111 size_t fname_offset = fname_len <= fname_max ? 0 : fname_len - fname_max; in LogMessage()
|
/external/elfutils/src/ |
D | size.c | 344 size_t fname_len = strlen (fname) + 1; in handle_ar() local 345 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar() 354 memcpy (cp, fname, fname_len); in handle_ar() 637 size_t fname_len = strlen (fname) + 1; in handle_elf() local 638 char fullname[prefix_len + 1 + fname_len]; in handle_elf() 647 memcpy (cp, fname, fname_len); in handle_elf()
|
D | findtextrel.c | 189 size_t fname_len = strlen (fname); in process_file() local 195 char *new_fname = alloca (rootdir_len + fname_len + 2); in process_file() 198 fname, fname_len)) = '\0'; in process_file() 367 + fname_len + 8); in process_file() 373 fname, fname_len), in process_file()
|
D | objdump.c | 290 size_t fname_len = strlen (fname) + 1; in handle_ar() local 292 char new_prefix[prefix_len + fname_len + 2]; in handle_ar() 766 size_t fname_len = strlen (fname) + 1; in handle_elf() local 767 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf() 771 cp = mempcpy (cp, fname, fname_len); in handle_elf()
|
D | nm.c | 413 size_t fname_len = strlen (fname) + 1; in handle_ar() local 415 char new_prefix[prefix_len + fname_len + 2]; in handle_ar() 1503 size_t fname_len = strlen (fname) + 1; in handle_elf() local 1504 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf() 1536 cp = mempcpy (cp, fname, fname_len); in handle_elf()
|
D | elfcompress.c | 576 size_t fname_len = strlen (fname); in process_file() local 577 fnew = xmalloc (fname_len + sizeof (".XXXXXX")); in process_file() 578 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX"); in process_file()
|
D | strip.c | 929 size_t fname_len = strlen (fname) + 1; in handle_elf() local 930 char *fullname = alloca (prefix_len + 1 + fname_len); in handle_elf() 976 memcpy (cp, fname, fname_len); in handle_elf() 2704 size_t fname_len = strlen (fname) + 1; in handle_ar() local 2705 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar() 2714 memcpy (cp, fname, fname_len); in handle_ar()
|
D | elflint.c | 250 size_t fname_len = strlen (fname) + 1; in process_file() local 251 char new_prefix[prefix_len + 1 + fname_len]; in process_file() 264 memcpy (cp, fname, fname_len); in process_file()
|
/external/selinux/libselinux/src/ |
D | get_context_list.c | 405 size_t fname_len; in get_ordered_context_list() local 435 fname_len = strlen(user_contexts_path) + strlen(user) + 2; in get_ordered_context_list() 436 fname = malloc(fname_len); in get_ordered_context_list() 439 snprintf(fname, fname_len, "%s%s", user_contexts_path, user); in get_ordered_context_list()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mac.cc | 618 uptr fname_len = internal_strlen(info.dli_fname); in MaybeReexec() local 634 new_env = (char*)allocator_for_env.Allocate(old_env_len + fname_len + 2); in MaybeReexec() 639 fname_len + 1); in MaybeReexec()
|
/external/wpa_supplicant_8/hs20/client/ |
D | osu_client.h | 69 xml_node_t *add_mo, char *fname, size_t fname_len);
|
D | spp_client.c | 376 char *fname, size_t fname_len) in hs20_add_mo() argument 403 ret = hs20_add_pps_mo(ctx, uri, add_mo, fname, fname_len); in hs20_add_mo()
|
D | osu_client.c | 553 xml_node_t *add_mo, char *fname, size_t fname_len) in hs20_add_pps_mo() argument 604 snprintf(fname, fname_len, "SP/%s", fqdn); in hs20_add_pps_mo() 618 snprintf(fname, fname_len, "SP/%s/pps.xml", fqdn); in hs20_add_pps_mo()
|
/external/elfutils/tests/ |
D | elfstrmerge.c | 359 size_t fname_len = strlen (fname); in main() local 360 fnew = malloc (fname_len + sizeof (".XXXXXX")); in main() 363 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX"); in main()
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 671 static const size_t fname_len = sizeof(crashinfo->prps.pr_fname) - 1; in ParseCmdLine() local 673 memset(crashinfo->prps.pr_fname, 0, fname_len + 1); in ParseCmdLine() 677 len > fname_len ? fname_len : len); in ParseCmdLine()
|