Lines Matching refs:sname

461       const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name);  in process_file()  local
462 if (sname == NULL) in process_file()
468 if (section_name_matches (sname)) in process_file()
477 && strncmp (sname, ".zdebug", in process_file()
480 && strncmp (sname, ".debug", in process_file()
487 size_t slen = strlen (sname); in process_file()
494 printf ("[%zd] %s ignoring %s section\n", ndx, sname, in process_file()
652 char *sname = NULL; in process_file() local
665 sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
666 if (sname == NULL) in process_file()
674 sname = xstrdup (sname); in process_file()
689 if (compress_section (scn, size, sname, NULL, ndx, in process_file()
693 else if (strncmp (sname, ".zdebug", strlen (".zdebug")) == 0) in process_file()
696 strcpy (&snamebuf[1], &sname[2]); in process_file()
698 if (compress_section (scn, size, sname, newname, ndx, in process_file()
703 printf ("[%zd] %s already decompressed\n", ndx, sname); in process_file()
707 if (strncmp (sname, ".debug", strlen (".debug")) == 0) in process_file()
713 if (compress_section (scn, size, sname, NULL, ndx, in process_file()
720 strcpy (&snamebuf[2], &sname[1]); in process_file()
729 shstrtab_name = xstrdup (sname); in process_file()
736 symtab_name = xstrdup (sname); in process_file()
742 int res = compress_section (scn, size, sname, newname, in process_file()
754 if (strncmp (sname, ".zdebug", strlen (".zdebug")) == 0) in process_file()
756 ndx, sname); in process_file()
759 ndx, sname); in process_file()
766 if (strncmp (sname, ".zdebug", strlen (".zdebug")) == 0) in process_file()
770 if (compress_section (scn, size, sname, NULL, ndx, in process_file()
775 strcpy (&snamebuf[1], &sname[2]); in process_file()
785 shstrtab_name = xstrdup (sname); in process_file()
793 symtab_name = xstrdup (sname); in process_file()
798 else if (compress_section (scn, size, sname, newname, ndx, in process_file()
803 printf ("[%zd] %s already compressed\n", ndx, sname); in process_file()
807 free (sname); in process_file()
890 if (compress_section (newscn, size, sname, NULL, ndx, in process_file()
900 if (compress_section (newscn, size, sname, NULL, ndx, in process_file()