Home
last modified time | relevance | path

Searched refs:fname_len (Results 1 – 16 of 16) sorted by relevance

/external/e2fsprogs/intl/
Dlocalealias.c143 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/
Dasm_begin.c135 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/elfutils/src/
Dsize.c344 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()
631 size_t fname_len = strlen (fname) + 1; in handle_elf() local
632 char fullname[prefix_len + 1 + fname_len]; in handle_elf()
641 memcpy (cp, fname, fname_len); in handle_elf()
Dfindtextrel.c189 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()
Dobjdump.c290 size_t fname_len = strlen (fname) + 1; in handle_ar() local
292 char new_prefix[prefix_len + fname_len + 2]; in handle_ar()
764 size_t fname_len = strlen (fname) + 1; in handle_elf() local
765 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
769 cp = mempcpy (cp, fname, fname_len); in handle_elf()
Dnm.c413 size_t fname_len = strlen (fname) + 1; in handle_ar() local
415 char new_prefix[prefix_len + fname_len + 2]; in handle_ar()
1504 size_t fname_len = strlen (fname) + 1; in handle_elf() local
1505 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
1537 cp = mempcpy (cp, fname, fname_len); in handle_elf()
Delfcompress.c576 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()
Dstrip.c929 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()
2703 size_t fname_len = strlen (fname) + 1; in handle_ar() local
2704 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar()
2713 memcpy (cp, fname, fname_len); in handle_ar()
Delflint.c250 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/
Dget_context_list.c405 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/
Dsanitizer_mac.cc618 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/elfutils/tests/
Delfstrmerge.c359 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/wpa_supplicant_8/hs20/client/
Dosu_client.h67 xml_node_t *add_mo, char *fname, size_t fname_len);
Dspp_client.c376 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()
Dosu_client.c553 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/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc671 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()