Lines Matching refs:size
483 static int elf_read_build_id(Elf *elf, void *bf, size_t size)
493 if (size < BUILD_ID_SIZE)
548 size_t sz = min(size, descsz);
550 memset(bf + sz, 0, size - sz);
566 size_t size = sizeof(bid->data);
579 if (!abfd->build_id || abfd->build_id->size > size)
582 memcpy(bid->data, abfd->build_id->data, abfd->build_id->size);
583 memset(bid->data + abfd->build_id->size, 0, size - abfd->build_id->size);
584 err = bid->size = abfd->build_id->size;
595 size_t size = sizeof(bid->data);
599 if (size < BUILD_ID_SIZE)
612 err = elf_read_build_id(elf, bid->data, size);
614 bid->size = err;
627 size_t size = sizeof(bid->data);
649 size_t sz = min(descsz, size);
651 memset(bid->data + sz, 0, size - sz);
652 bid->size = sz;
678 size_t size)
697 if (section->size > size)
701 section->size))
714 size_t size)
753 strncpy(debuglink, data->d_buf, size);
865 int size;
867 size = elf_read_build_id(elf, build_id, BUILD_ID_SIZE);
868 if (size <= 0) {
873 build_id__init(&bid, build_id, size);
1717 u64 start, u64 size __maybe_unused)
2171 * @len: note description size