Lines Matching defs:string
1 /* ELF string table handling.
60 #include <string.h>
74 const char *string;
127 ret->null.string = "";
188 /* Create the reserved string. */
190 newstr->string = str;
223 /* We found a matching string. */
232 /* Add new string. The actual string is assumed to be permanent. */
236 /* Compute the string length if the caller doesn't know it. */
242 if (len == 1 && st->null.string != NULL)
245 /* Allocate memory for the new string and its associated information. */
250 /* Search in the array for the place to insert the string. If there
251 is no string with matching prefix and no string with matching
259 /* Check whether we already know this string. */
273 string of this entry anymore. */
282 /* When we get here it means that the string we are about to
283 add has a common prefix with a string we already have but
315 *freep = (char *) mempcpy (*freep, nodep->string, nodep->len);
322 assert (subs->offset != 0 || subs->string[0] == '\0');
341 null string. */
351 /* Now run through the tree and add all the string while also updating
370 assert (se->string != NULL);
372 return se->string;