Home
last modified time | relevance | path

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

/external/elfutils/libasm/
Dasm_begin.c133 size_t fname_len = fname != NULL ? strlen (fname) : 0; in asm_begin() local
139 AsmCtx_t *result = malloc (sizeof (AsmCtx_t) + 2 * fname_len + 9); in asm_begin()
149 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len), in asm_begin()
151 memcpy (result->fname, fname, fname_len + 1); in asm_begin()
/external/perfetto/src/base/
Dlogging.cc158 size_t fname_len = strlen(fname); in LogMessage() local
160 size_t fname_offset = fname_len <= fname_max ? 0 : fname_len - fname_max; in LogMessage()
/external/elfutils/src/
Dsize.c343 size_t fname_len = strlen (fname) + 1; in handle_ar() local
344 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar()
353 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()
Dobjdump.c289 size_t fname_len = strlen (fname) + 1; in handle_ar() local
291 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()
Dnm.c412 size_t fname_len = strlen (fname) + 1; in handle_ar() local
414 char new_prefix[prefix_len + fname_len + 2]; in handle_ar()
1533 size_t fname_len = strlen (fname) + 1; in handle_elf() local
1534 char fullname[prefix_len + 1 + fname_len + suffix_len]; in handle_elf()
1546 cp = mempcpy (cp, fname, fname_len); in handle_elf()
Delfcompress.c544 size_t fname_len = strlen (fname); in process_file() local
545 fnew = xmalloc (fname_len + sizeof (".XXXXXX")); in process_file()
546 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX"); in process_file()
Dstrip.c985 size_t fname_len = strlen (fname) + 1; in handle_elf() local
986 char *fullname = alloca (prefix_len + 1 + fname_len); in handle_elf()
1032 memcpy (cp, fname, fname_len); in handle_elf()
2722 size_t fname_len = strlen (fname) + 1; in handle_ar() local
2723 char new_prefix[prefix_len + 1 + fname_len]; in handle_ar()
2732 memcpy (cp, fname, fname_len); in handle_ar()
Delflint.c249 size_t fname_len = strlen (fname) + 1; in process_file() local
250 char new_prefix[prefix_len + 1 + fname_len]; in process_file()
263 memcpy (cp, fname, fname_len); in process_file()
/external/selinux/libselinux/src/
Dget_context_list.c417 size_t fname_len; in get_ordered_context_list() local
430 fname_len = strlen(user_contexts_path) + strlen(user) + 2; in get_ordered_context_list()
431 fname = malloc(fname_len); in get_ordered_context_list()
434 snprintf(fname, fname_len, "%s%s", user_contexts_path, user); in get_ordered_context_list()
/external/perfetto/src/trace_processor/util/
Dzip_reader.cc120 cur_.hdr.fname_len = ReadAndAdvance<uint16_t>(&hdr_it); in Parse()
144 if (cur_.hdr.fname.size() < cur_.hdr.fname_len) { in Parse()
145 size_t name_left = cur_.hdr.fname_len - cur_.hdr.fname.size(); in Parse()
173 PERFETTO_DCHECK(cur_.hdr.fname.size() == cur_.hdr.fname_len); in Parse()
Dzip_reader.h120 uint16_t fname_len = 0; member
/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.c376 size_t fname_len = strlen (fname); in main() local
377 fnew = malloc (fname_len + sizeof (".XXXXXX")); in main()
380 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX"); in main()
/external/wpa_supplicant_8/hs20/client/
Dosu_client.h69 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.cc844 static const size_t fname_len = sizeof(crashinfo->prps.pr_fname) - 1; in ParseCmdLine() local
846 memset(crashinfo->prps.pr_fname, 0, fname_len + 1); in ParseCmdLine()
850 len > fname_len ? fname_len : len); in ParseCmdLine()