Searched refs:d_size (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-13-stable/contrib/elftoolchain/libelf/
H A Dlibelf_xlate.c89 if (src->d_size % (direction == ELF_TOMEMORY ? fsz : msz)) {
100 cnt = (size_t) src->d_size / fsz;
103 cnt = (size_t) src->d_size / msz;
107 if (dst->d_size < dsz) {
113 se = sb + (size_t) src->d_size;
115 de = db + (size_t) dst->d_size;
133 dst->d_size = dsz;
137 if (src->d_size == 0 ||
H A Delf_strptr.c74 if (d->d_buf == 0 || d->d_size == 0)
83 offset < d->d_off + d->d_size)
96 if (d->d_buf == NULL || d->d_size == 0)
118 if (offset < count + d->d_size) {
126 count += d->d_size;
H A Dgelf_cap.c73 if (msz * (size_t) ndx >= d->d_data.d_size) {
132 if (msz * (size_t) ndx >= d->d_data.d_size) {
H A Dgelf_dyn.c75 if (msz * (size_t) ndx >= d->d_data.d_size) {
135 if (msz * (size_t) ndx >= d->d_data.d_size) {
H A Dgelf_syminfo.c73 if (msz * (size_t) ndx >= d->d_data.d_size) {
134 if (msz * (size_t) ndx >= d->d_data.d_size) {
H A Dgelf_symshndx.c77 if (msz * (size_t) ndx >= id->d_size) {
129 if (msz * (size_t) ndx >= id->d_size) {
H A Dlibelf_checksum.c91 (unsigned char *) d->d_buf, (size_t) d->d_size);
H A Delf_update.c235 if (d->d_size % msz) {
255 if ((uint64_t) d->d_off + d->d_size > scn_size)
256 scn_size = d->d_off + d->d_size;
261 (size_t) d->d_size / msz);
791 (size_t) d->d_size);
793 rc += (off_t) d->d_size;
823 assert(d->d_size % msz == 0);
826 nobjects = (size_t) (d->d_size / msz);
831 dst.d_size = fsz;
873 src.d_size
[all...]
H A Dgelf_move.c75 if (msz * (size_t) ndx >= d->d_data.d_size) {
138 if (msz * (size_t) ndx >= d->d_data.d_size) {
H A Dgelf_rel.c75 if (msz * (size_t) ndx >= d->d_data.d_size) {
140 if (msz * (size_t) ndx >= d->d_data.d_size) {
H A Dgelf_rela.c75 if (msz * (size_t) ndx >= d->d_data.d_size) {
142 if (msz * (size_t) ndx >= d->d_data.d_size) {
H A Dgelf_sym.c75 if (msz * (size_t) ndx >= d->d_data.d_size) {
137 if (msz * (size_t) ndx >= d->d_data.d_size) {
H A Delf_data.c139 d->d_data.d_size = msz * count;
158 if (!(*xlate)(d->d_data.d_buf, (size_t) d->d_data.d_size,
200 d->d_data.d_size = 0;
273 d->d_data.d_size = sh_size;
/freebsd-13-stable/contrib/diff/src/
H A Ddir.c95 size_t d_size = NAMLEN (next) + 1; local
105 while (data_alloc < data_used + d_size)
112 memcpy (data + data_used, d_name, d_size);
113 data_used += d_size;
/freebsd-13-stable/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_elf_init.c171 ed->ed_alloc = malloc(ed->ed_data->d_size);
177 ed->ed_data->d_size);
180 ed->ed_alloc, ed->ed_data->d_size,
184 ed->ed_alloc, ed->ed_data->d_size,
/freebsd-13-stable/usr.bin/ldd/
H A Dldd.c286 src.d_size = len;
292 dst.d_size = len;
360 src.d_size = len;
366 dst.d_size = count * sizeof(*dyn);
/freebsd-13-stable/contrib/elftoolchain/elfcopy/
H A Dbinary.c114 if (d->d_buf == NULL || d->d_size == 0)
123 if (write(ofd, d->d_buf, d->d_size) != (ssize_t) d->d_size)
H A Dascii.c182 if (d->d_buf == NULL || d->d_size == 0)
184 srec_write_Sd(ofd, dr, sh.sh_addr, d->d_buf, d->d_size, rlen);
447 if (d->d_buf == NULL || d->d_size == 0)
455 ihex_write_00(ofd, sh.sh_addr, d->d_buf, d->d_size);
661 od->d_size = s->sz;
767 if (d->d_buf == NULL || d->d_size == 0)
772 sc = d->d_size / sh->sh_entsize;
H A Dsections.c880 od->d_size = s->pad_sz;
1124 print_data(id->d_buf, id->d_size);
1149 b = malloc(id->d_size);
1151 b = realloc(b, sz + id->d_size);
1155 memcpy(&b[sz], id->d_buf, id->d_size);
1156 sz += id->d_size;
1266 od->d_size = s->sz;
1273 od->d_size = id->d_size;
1336 od->d_size
[all...]
H A Dsymbols.c310 len = d->d_size / sh.sh_entsize;
1041 lsydata->d_size = sy_buf->nls *
1049 lsydata->d_size = sy_buf->nls *
1064 gsydata->d_size = sy_buf->ngs *
1073 gsydata->d_size = sy_buf->ngs *
1092 lstdata->d_size = st_buf->l.sz;
1101 gstdata->d_off = lstdata->d_size;
1103 gstdata->d_size = st_buf->g.sz;
/freebsd-13-stable/lib/libproc/
H A Dproc_sym.c308 if (data->d_size < sizeof(crc) + 1) {
310 (ssize_t)data->d_size);
313 if (strnlen(data->d_buf, data->d_size) >= data->d_size - sizeof(crc)) {
319 memcpy(&crc, (char *)data->d_buf + data->d_size - sizeof(crc),
/freebsd-13-stable/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Doutput.c597 ddata->d_size = sdata->d_size;
605 ddata->d_buf = xmalloc(ddata->d_size + shdr.sh_size +
612 ddata->d_size += seclen + 1;
686 ddata->d_size = ctfsize;
/freebsd-13-stable/contrib/elftoolchain/elfdump/
H A Delfdump.c1488 assert(data->d_size == s->sz);
1521 assert(data->d_size == s->sz);
1623 assert(data->d_size == s->sz);
1752 assert(data->d_size == s->sz);
1783 assert(data->d_size == s->sz);
1891 assert(data->d_size == s->sz);
1968 assert(dst.d_size == s->sz);
2082 count = data->d_size;
2159 if (data->d_size < 2 * sizeof(uint32_t)) {
2170 if (data->d_size !
[all...]
/freebsd-13-stable/contrib/elftoolchain/readelf/
H A Dreadelf.c2718 if (d->d_size <= 0)
3044 assert(d->d_size == s->sz);
3128 assert(d->d_size == s->sz);
3231 if (d->d_size <= 0)
3303 if (d->d_size <= 0)
3353 if (d->d_size < 2 * sizeof(uint32_t)) {
3364 if (d->d_size != (nbucket + nchain + 2) * sizeof(uint32_t)) {
3425 if (dst.d_size < 2 * sizeof(uint64_t)) {
3436 if (d->d_size != (nbucket + nchain + 2) * sizeof(uint32_t)) {
3486 if (d->d_size <
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c1293 isym = data_sym->d_size / symsize;
1294 istr = data_str->d_size;
1327 if (fsym.st_name > data_str->d_size) {
1403 if ((pair->dlp_str = dt_alloc(dtp, data_str->d_size +
1409 if ((pair->dlp_sym = dt_alloc(dtp, data_sym->d_size +
1419 bcopy(data_str->d_buf, pair->dlp_str, data_str->d_size);
1423 data_str->d_size += len;
1429 bcopy(data_sym->d_buf, pair->dlp_sym, data_sym->d_size);
1433 data_sym->d_size += nsym * symsize;
1465 rsym.st_name > data_str->d_size)
[all...]

Completed in 232 milliseconds

12