Lines Matching refs:len
35 int len; member
86 ret->len = 0; in elf_strtab_hash_newfunc()
161 if (entry->len == 0) in _bfd_elf_strtab_add()
163 entry->len = strlen (str) + 1; in _bfd_elf_strtab_add()
165 BFD_ASSERT (entry->len > 0); in _bfd_elf_strtab_add()
234 tab->array[idx]->len = 0; in _bfd_elf_strtab_restore_size()
270 register unsigned int len; in _bfd_elf_strtab_emit() local
273 len = tab->array[i]->len; in _bfd_elf_strtab_emit()
274 if ((int) len < 0) in _bfd_elf_strtab_emit()
278 if (bfd_bwrite (str, len, abfd) != len) in _bfd_elf_strtab_emit()
281 off += len; in _bfd_elf_strtab_emit()
295 unsigned int lenA = A->len; in strrevcmp()
296 unsigned int lenB = B->len; in strrevcmp()
316 if (A->len <= B->len) in is_suffix()
321 return memcmp (A->root.string + (A->len - B->len), in is_suffix()
322 B->root.string, B->len - 1) == 0; in is_suffix()
353 e->len -= 1; in _bfd_elf_strtab_finalize()
356 e->len = 0; in _bfd_elf_strtab_finalize()
379 e->len += 1; in _bfd_elf_strtab_finalize()
384 cmp->len += 1; in _bfd_elf_strtab_finalize()
388 cmp->len = -cmp->len; in _bfd_elf_strtab_finalize()
404 if (e->refcount && e->len > 0) in _bfd_elf_strtab_finalize()
407 size += e->len; in _bfd_elf_strtab_finalize()
417 if (e->refcount && e->len < 0) in _bfd_elf_strtab_finalize()
418 e->u.index = e->u.suffix->u.index + (e->u.suffix->len + e->len); in _bfd_elf_strtab_finalize()