/freebsd-current/contrib/elftoolchain/libelf/ |
H A D | libelf_xlate.c | 89 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 D | elf_strptr.c | 74 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 D | gelf_symshndx.c | 77 if (msz * (size_t) ndx >= id->d_size) { 129 if (msz * (size_t) ndx >= id->d_size) {
|
H A D | gelf_dyn.c | 75 if (msz * (size_t) ndx >= d->d_data.d_size) { 135 if (msz * (size_t) ndx >= d->d_data.d_size) {
|
H A D | gelf_cap.c | 73 if (msz * (size_t) ndx >= d->d_data.d_size) { 132 if (msz * (size_t) ndx >= d->d_data.d_size) {
|
H A D | gelf_syminfo.c | 73 if (msz * (size_t) ndx >= d->d_data.d_size) { 134 if (msz * (size_t) ndx >= d->d_data.d_size) {
|
H A D | libelf_checksum.c | 91 (unsigned char *) d->d_buf, (size_t) d->d_size);
|
H A D | elf_update.c | 235 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 D | gelf_rela.c | 75 if (msz * (size_t) ndx >= d->d_data.d_size) { 142 if (msz * (size_t) ndx >= d->d_data.d_size) {
|
H A D | gelf_rel.c | 75 if (msz * (size_t) ndx >= d->d_data.d_size) { 140 if (msz * (size_t) ndx >= d->d_data.d_size) {
|
H A D | gelf_sym.c | 75 if (msz * (size_t) ndx >= d->d_data.d_size) { 137 if (msz * (size_t) ndx >= d->d_data.d_size) {
|
H A D | gelf_move.c | 75 if (msz * (size_t) ndx >= d->d_data.d_size) { 138 if (msz * (size_t) ndx >= d->d_data.d_size) {
|
H A D | elf_data.c | 139 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-current/contrib/diff/src/ |
H A D | dir.c | 95 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-current/usr.bin/ldd/ |
H A D | ldd.c | 285 src.d_size = len; 291 dst.d_size = len; 359 src.d_size = len; 365 dst.d_size = count * sizeof(*dyn);
|
/freebsd-current/contrib/elftoolchain/elfcopy/ |
H A D | binary.c | 114 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 D | ascii.c | 182 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 D | sections.c | 880 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 D | symbols.c | 310 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-current/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | output.c | 595 ddata->d_size = sdata->d_size; 603 ddata->d_buf = xmalloc(ddata->d_size + shdr.sh_size + 610 ddata->d_size += seclen + 1; 684 ddata->d_size = ctfsize;
|
/freebsd-current/lib/libproc/ |
H A D | proc_sym.c | 302 if (data->d_size < sizeof(crc) + 1) { 304 (ssize_t)data->d_size); 307 if (strnlen(data->d_buf, data->d_size) >= data->d_size - sizeof(crc)) { 313 memcpy(&crc, (char *)data->d_buf + data->d_size - sizeof(crc),
|
/freebsd-current/contrib/elftoolchain/elfdump/ |
H A D | elfdump.c | 1488 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-current/contrib/elftoolchain/readelf/ |
H A D | readelf.c | 2749 if (d->d_size <= 0) 3075 assert(d->d_size == s->sz); 3159 assert(d->d_size == s->sz); 3262 if (d->d_size <= 0) 3333 if (d->d_size <= 0) 3383 if (d->d_size < 2 * sizeof(uint32_t)) { 3394 if (d->d_size != (nbucket + nchain + 2) * sizeof(uint32_t)) { 3455 if (dst.d_size < 2 * sizeof(uint64_t)) { 3466 if (d->d_size != (nbucket + nchain + 2) * sizeof(uint32_t)) { 3516 if (d->d_size < [all...] |
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 1364 isym = data_sym->d_size / symsize; 1365 istr = data_str->d_size; 1398 if (fsym.st_name > data_str->d_size) { 1474 if ((pair->dlp_str = dt_alloc(dtp, data_str->d_size + 1480 if ((pair->dlp_sym = dt_alloc(dtp, data_sym->d_size + 1490 bcopy(data_str->d_buf, pair->dlp_str, data_str->d_size); 1494 data_str->d_size += len; 1500 bcopy(data_sym->d_buf, pair->dlp_sym, data_sym->d_size); 1504 data_sym->d_size += nsym * symsize; 1536 rsym.st_name > data_str->d_size) [all...] |
/freebsd-current/contrib/elftoolchain/libelftc/ |
H A D | elftc_string_table.c | 192 d->d_size == 0) { 210 end = s + d->d_size;
|