Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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()
/third_party/selinux/libselinux/src/
Dget_context_list.c416 size_t fname_len; in get_ordered_context_list() local
429 fname_len = strlen(user_contexts_path) + strlen(user) + 2; in get_ordered_context_list()
430 fname = malloc(fname_len); in get_ordered_context_list()
433 snprintf(fname, fname_len, "%s%s", user_contexts_path, user); in get_ordered_context_list()
/third_party/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/ffmpeg/libavformat/
Dmpeg.c735 size_t fname_len; in vobsub_read_header() local
751 fname_len = strlen(vobsub->sub_name); in vobsub_read_header()
752 ext = vobsub->sub_name - 3 + fname_len; in vobsub_read_header()
753 if (fname_len < 4 || *(ext - 1) != '.') { in vobsub_read_header()