Lines Matching refs:str
59 const char *str = elf_strptr (elf, ndx, 0);
60 printf ("\t'%s'\n", str);
61 if (str == NULL || strcmp ("", str) != 0)
64 str = elf_strptr (elf, ndx, 1);
65 printf ("\t'%s'\n", str);
66 if (str == NULL || strcmp (".strings", str) != 0)
69 str = elf_strptr (elf, ndx, orig_str1_off);
70 printf ("\t'%s'\n", str);
71 if (str == NULL || strcmp (orig_str1, str) != 0)
74 str = elf_strptr (elf, ndx, orig_str2_off);
75 printf ("\t'%s'\n", str);
76 if (str == NULL || strcmp (orig_str2, str) != 0)
79 str = elf_strptr (elf, ndx, orig_str3_off);
80 printf ("\t'%s'\n", str);
81 if (str == NULL || strcmp (orig_str3, str) != 0)
90 const char *str = elf_strptr (elf, ndx, str1_off);
91 printf ("\t'%s'\n", str);
92 if (str == NULL || strcmp (str1, str) != 0)
95 str = elf_strptr (elf, ndx, str2_off);
96 printf ("\t'%s'\n", str);
97 if (str == NULL || strcmp (str2, str) != 0)
100 str = elf_strptr (elf, ndx, str3_off);
101 printf ("\t'%s'\n", str);
102 if (str == NULL || strcmp (str3, str) != 0)
108 add_string (Elf_Scn *scn, char *str)
111 size_t size = strlen (str) + 1;
120 data->d_buf = str;
128 str, stridx, lastidx);