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

/external/elfutils/libasm/
H A Dasm_begin.c135 size_t fname_len = fname != NULL ? strlen (fname) : 0;
142 = (AsmCtx_t *) malloc (sizeof (AsmCtx_t) + 2 * fname_len + 9);
152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len),
154 memcpy (result->fname, fname, fname_len + 1);
/external/e2fsprogs/intl/
H A Dlocalealias.c143 static size_t read_alias_file (const char *fname, int fname_len)
217 read_alias_file (const char *fname, int fname_len) argument
224 full_fname = (char *) alloca (fname_len + sizeof aliasfile);
226 mempcpy (mempcpy (full_fname, fname, fname_len),
229 memcpy (full_fname, fname, fname_len);
230 memcpy (&full_fname[fname_len], aliasfile, sizeof aliasfile);
/external/elfutils/src/
H A Dfindtextrel.c205 size_t fname_len = strlen (fname); local
211 char *new_fname = alloca (rootdir_len + fname_len + 2);
214 fname, fname_len)) = '\0';
382 + fname_len + 8);
388 fname, fname_len),
H A Dsize.c361 size_t fname_len = strlen (fname) + 1; local
362 char new_prefix[prefix_len + 1 + fname_len];
371 memcpy (cp, fname, fname_len);
646 size_t fname_len = strlen (fname) + 1; local
647 char fullname[prefix_len + 1 + fname_len];
656 memcpy (cp, fname, fname_len);
H A Dobjdump.c302 size_t fname_len = strlen (fname) + 1; local
304 char new_prefix[prefix_len + fname_len + 2];
776 size_t fname_len = strlen (fname) + 1; local
777 char fullname[prefix_len + 1 + fname_len + suffix_len];
781 cp = mempcpy (cp, fname, fname_len);
H A Dnm.c427 size_t fname_len = strlen (fname) + 1; local
429 char new_prefix[prefix_len + fname_len + 2];
1513 size_t fname_len = strlen (fname) + 1; local
1514 char fullname[prefix_len + 1 + fname_len + suffix_len];
1546 cp = mempcpy (cp, fname, fname_len);
H A Delfcompress.c540 size_t fname_len = strlen (fname); local
541 fnew = xmalloc (fname_len + sizeof (".XXXXXX"));
542 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX");
H A Dstrip.c413 size_t fname_len = strlen (fname) + 1; local
414 char *fullname = alloca (prefix_len + 1 + fname_len);
458 memcpy (cp, fname, fname_len);
2236 size_t fname_len = strlen (fname) + 1; local
2237 char new_prefix[prefix_len + 1 + fname_len];
2246 memcpy (cp, fname, fname_len);
H A Delflint.c264 size_t fname_len = strlen (fname) + 1; local
265 char new_prefix[prefix_len + 1 + fname_len];
278 memcpy (cp, fname, fname_len);
/external/selinux/libselinux/src/
H A Dget_context_list.c405 size_t fname_len; local
435 fname_len = strlen(user_contexts_path) + strlen(user) + 2;
436 fname = malloc(fname_len);
439 snprintf(fname, fname_len, "%s%s", user_contexts_path, user);
/external/wpa_supplicant_8/hs20/client/
H A Dosu_client.h66 xml_node_t *add_mo, char *fname, size_t fname_len);
H A Dspp_client.c376 char *fname, size_t fname_len)
403 ret = hs20_add_pps_mo(ctx, uri, add_mo, fname, fname_len);
375 hs20_add_mo(struct hs20_osu_client *ctx, xml_node_t *add_mo, char *fname, size_t fname_len) argument
H A Dosu_client.c519 xml_node_t *add_mo, char *fname, size_t fname_len)
570 snprintf(fname, fname_len, "SP/%s", fqdn);
596 snprintf(fname, fname_len, "SP/%s/pps.xml", fqdn);
518 hs20_add_pps_mo(struct hs20_osu_client *ctx, const char *uri, xml_node_t *add_mo, char *fname, size_t fname_len) argument
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cc618 uptr fname_len = internal_strlen(info.dli_fname); local
634 new_env = (char*)allocator_for_env.Allocate(old_env_len + fname_len + 2);
637 // Copy fname_len and add a trailing zero.
639 fname_len + 1);
/external/elfutils/tests/
H A Delfstrmerge.c358 size_t fname_len = strlen (fname); local
359 fnew = malloc (fname_len + sizeof (".XXXXXX"));
362 strcpy (mempcpy (fnew, fname, fname_len), ".XXXXXX");
/external/google-breakpad/src/tools/linux/md2core/
H A Dminidump-2-core.cc671 static const size_t fname_len = sizeof(crashinfo->prps.pr_fname) - 1; local
673 memset(crashinfo->prps.pr_fname, 0, fname_len + 1);
677 len > fname_len ? fname_len : len);
/external/syslinux/com32/gfxboot/
H A Dgfxboot.c497 unsigned i, fname_len, code_start = 0; local
506 fname_len = *(unsigned short *) (buf + i + 20);
508 i += 26 + fname_len;

Completed in 943 milliseconds