Home
last modified time | relevance | path

Searched refs:fname_len (Results 1 – 17 of 17) 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.c361 size_t fname_len = strlen (fname) + 1; in handle_ar() local
362 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar()
371 memcpy (cp, fname, fname_len); in handle_ar()
646 size_t fname_len = strlen (fname) + 1; in handle_elf() local
647 char fullname[prefix_len + 1 + fname_len]; in handle_elf()
656 memcpy (cp, fname, fname_len); in handle_elf()
Dfindtextrel.c205 size_t fname_len = strlen (fname); in process_file() local
211 char *new_fname = alloca (rootdir_len + fname_len + 2); in process_file()
214 fname, fname_len)) = '\0'; in process_file()
382 + fname_len + 8); in process_file()
388 fname, fname_len), in process_file()
Dobjdump.c302 size_t fname_len = strlen (fname) + 1; in handle_ar() local
304 char new_prefix[prefix_len + fname_len + 2]; in handle_ar()
776 size_t fname_len = strlen (fname) + 1; in handle_elf() local
777 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
781 cp = mempcpy (cp, fname, fname_len); in handle_elf()
Dnm.c427 size_t fname_len = strlen (fname) + 1; in handle_ar() local
429 char new_prefix[prefix_len + fname_len + 2]; in handle_ar()
1513 size_t fname_len = strlen (fname) + 1; in handle_elf() local
1514 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
1546 cp = mempcpy (cp, fname, fname_len); in handle_elf()
Delfcompress.c540 size_t fname_len = strlen (fname); in process_file() local
541 fnew = xmalloc (fname_len + sizeof (".XXXXXX")); in process_file()
542 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX"); in process_file()
Dstrip.c413 size_t fname_len = strlen (fname) + 1; in handle_elf() local
414 char *fullname = alloca (prefix_len + 1 + fname_len); in handle_elf()
458 memcpy (cp, fname, fname_len); in handle_elf()
2236 size_t fname_len = strlen (fname) + 1; in handle_ar() local
2237 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar()
2246 memcpy (cp, fname, fname_len); in handle_ar()
Delflint.c264 size_t fname_len = strlen (fname) + 1; in process_file() local
265 char new_prefix[prefix_len + 1 + fname_len]; in process_file()
278 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.c358 size_t fname_len = strlen (fname); in main() local
359 fnew = malloc (fname_len + sizeof (".XXXXXX")); in main()
362 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX"); in main()
/external/wpa_supplicant_8/hs20/client/
Dosu_client.h66 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.c519 xml_node_t *add_mo, char *fname, size_t fname_len) in hs20_add_pps_mo() argument
570 snprintf(fname, fname_len, "SP/%s", fqdn); in hs20_add_pps_mo()
596 snprintf(fname, fname_len, "SP/%s/pps.xml", fqdn); in hs20_add_pps_mo()
/external/syslinux/com32/gfxboot/
Dgfxboot.c497 unsigned i, fname_len, code_start = 0; in find_file() local
506 fname_len = *(unsigned short *) (buf + i + 20); in find_file()
508 i += 26 + fname_len; in find_file()
/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()