Lines Matching refs:len
41 /* Add zero terminated string STR of size LEN to (sub)section ASMSCN. */
43 asm_addstrz (AsmScn_t *asmscn, const char *str, size_t len)
50 if (len == 0)
62 for (cnt = 0; cnt < len; ++cnt)
71 if (len == 0)
72 len = strlen (str) + 1;
103 while (--len > 0 && (len > 1 || *str != '\0'));
111 if (__libasm_ensure_section_space (asmscn, len) != 0)
115 memcpy (&asmscn->content->data[asmscn->content->len], str, len);
118 asmscn->content->len += len;
121 asmscn->offset += len;