Lines Matching refs:str
52 static void bin_emit_string(void *e, const char *str, int len) in bin_emit_string() argument
57 len = strlen(str); in bin_emit_string()
59 *dtbuf = data_append_data(*dtbuf, str, len); in bin_emit_string()
132 static void asm_emit_string(void *e, const char *str, int len) in asm_emit_string() argument
137 fprintf(f, "\t.string\t\"%.*s\"\n", len, str); in asm_emit_string()
139 fprintf(f, "\t.string\t\"%s\"\n", str); in asm_emit_string()
220 static int stringtable_insert(struct data *d, const char *str) in stringtable_insert() argument
227 if (streq(str, d->val + i)) in stringtable_insert()
231 *d = data_append_data(*d, str, strlen(str)+1); in stringtable_insert()
610 char *str; in flat_read_string() local
618 str = xstrdup(inb->ptr); in flat_read_string()
624 return str; in flat_read_string()