Lines Matching refs:asmscn
43 asm_addstrz (AsmScn_t *asmscn, const char *str, size_t len) in asm_addstrz() argument
45 if (asmscn == NULL) in asm_addstrz()
48 if (unlikely (asmscn->type == SHT_NOBITS)) in asm_addstrz()
74 if (unlikely (asmscn->ctx->textp)) in asm_addstrz()
82 fputs ("\t.string\t\"", asmscn->ctx->out.file); in asm_addstrz()
87 fputs ("\\000", asmscn->ctx->out.file); in asm_addstrz()
89 fprintf (asmscn->ctx->out.file, "\\%03o", in asm_addstrz()
92 fputs ("\\\\", asmscn->ctx->out.file); in asm_addstrz()
95 fputs ("\\n\"", asmscn->ctx->out.file); in asm_addstrz()
99 fputc (*str, asmscn->ctx->out.file); in asm_addstrz()
106 fputs ("\"\n", asmscn->ctx->out.file); in asm_addstrz()
111 if (__libasm_ensure_section_space (asmscn, len) != 0) in asm_addstrz()
115 memcpy (&asmscn->content->data[asmscn->content->len], str, len); in asm_addstrz()
118 asmscn->content->len += len; in asm_addstrz()
121 asmscn->offset += len; in asm_addstrz()