Home | History | Annotate | Download | only in libasm

Lines Matching refs:str

26 /* Add zero terminated string STR of size LEN to (sub)section ASMSCN.  */
28 asm_addstrz (asmscn, str, len)
30 const char *str;
40 if (str[0] != '\0')
51 if (str[cnt] != '\0')
60 len = strlen (str) + 1;
74 if (*str == '\0')
76 else if (! isascii (*str))
78 (unsigned int) *((unsigned char *)str));
79 else if (*str == '\\')
81 else if (*str == '\n')
87 fputc (*str, asmscn->ctx->out.file);
89 ++str;
91 while (--len > 0 && (len > 1 || *str != '\0'));
103 memcpy (&asmscn->content->data[asmscn->content->len], str, len);