Lines Matching refs:size
121 entry size. See elf-knowledge.h for more information. */
139 int data, size_t size, Elf_Type type)
151 scn->data_base = malloc (size);
159 memcpy (scn->data_base, scn->rawdata_base, size);
166 scn->data_base = malloc (size);
180 rawdata_source = malloc (size);
188 memcpy (rawdata_source, scn->rawdata_base, size);
194 fp (scn->data_base, rawdata_source, size, 0);
201 scn->data_list.data.d.d_size = size;
217 Elf64_Xword size;
233 size = shdr->sh_size;
248 size = shdr->sh_size;
256 if (size != 0 && type != SHT_NOBITS)
295 if (unlikely (size % entsize != 0))
308 || elf->maximum_size - offset < size))
324 || elf->maximum_size - offset < size))
333 scn->rawdata_base = scn->rawdata.d.d_buf = malloc (size);
340 ssize_t n = pread_retry (elf->fildes, scn->rawdata.d.d_buf, size,
342 if (unlikely ((size_t) n != size))
360 scn->rawdata.d.d_size = size;
466 the size information etc is important. */
559 empty in case the section has size zero (for whatever reason).