Home
last modified time | relevance | path

Searched refs:ctf_size (Results 1 – 16 of 16) sorted by relevance

/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-open.c477 if ((ctf_base = malloc (fp->ctf_size + increase)) == NULL) in upgrade_types_v1()
491 fp->ctf_size += increase; in upgrade_types_v1()
1437 fp->ctf_size = hp->cth_stroff + hp->cth_strlen; in ctf_bufopen_internal()
1440 (unsigned long) fp->ctf_size); in ctf_bufopen_internal()
1442 if (hp->cth_lbloff > fp->ctf_size || hp->cth_objtoff > fp->ctf_size in ctf_bufopen_internal()
1443 || hp->cth_funcoff > fp->ctf_size || hp->cth_objtidxoff > fp->ctf_size in ctf_bufopen_internal()
1444 || hp->cth_funcidxoff > fp->ctf_size || hp->cth_typeoff > fp->ctf_size in ctf_bufopen_internal()
1445 || hp->cth_stroff > fp->ctf_size) in ctf_bufopen_internal()
1518 if ((fp->ctf_base = malloc (fp->ctf_size)) == NULL) in ctf_bufopen_internal()
1528 dstlen = fp->ctf_size; in ctf_bufopen_internal()
[all …]
H A Dctf-serialize.c1256 resid = fp->ctf_size; in ctf_gzwrite()
1286 uncompressed = (fp->ctf_size < threshold); in ctf_write_mem()
1291 compress_len = compressBound (fp->ctf_size); in ctf_write_mem()
1292 if (fp->ctf_size < threshold) in ctf_write_mem()
1293 compress_len = fp->ctf_size; in ctf_write_mem()
1318 if ((flipped = malloc (fp->ctf_size)) == NULL) in ctf_write_mem()
1322 (unsigned long) (fp->ctf_size + sizeof (struct ctf_header))); in ctf_write_mem()
1326 memcpy (flipped, fp->ctf_buf, fp->ctf_size); in ctf_write_mem()
1338 memcpy (bp, src, fp->ctf_size); in ctf_write_mem()
1339 *size += fp->ctf_size; in ctf_write_mem()
[all …]
H A Dctf-impl.h398 size_t ctf_size; /* Size of CTF header + uncompressed data. */ member
H A Dctf-archive.c275 if (f->ctf_size > threshold) in arc_write_one_ctf()
H A DChangeLog-20201212 (ctf_compress_write): Call ctf_serialize: adjust for ctf_size not
1557 Fix the compression length: fp->ctf_size never counted the CTF
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-open.c477 if ((ctf_base = malloc (fp->ctf_size + increase)) == NULL) in upgrade_types_v1()
491 fp->ctf_size += increase; in upgrade_types_v1()
1436 fp->ctf_size = hp->cth_stroff + hp->cth_strlen; in ctf_bufopen_internal()
1439 (unsigned long) fp->ctf_size); in ctf_bufopen_internal()
1441 if (hp->cth_lbloff > fp->ctf_size || hp->cth_objtoff > fp->ctf_size in ctf_bufopen_internal()
1442 || hp->cth_funcoff > fp->ctf_size || hp->cth_objtidxoff > fp->ctf_size in ctf_bufopen_internal()
1443 || hp->cth_funcidxoff > fp->ctf_size || hp->cth_typeoff > fp->ctf_size in ctf_bufopen_internal()
1444 || hp->cth_stroff > fp->ctf_size) in ctf_bufopen_internal()
1517 if ((fp->ctf_base = malloc (fp->ctf_size)) == NULL) in ctf_bufopen_internal()
1527 dstlen = fp->ctf_size; in ctf_bufopen_internal()
[all …]
H A Dctf-serialize.c1256 resid = fp->ctf_size; in ctf_gzwrite()
1286 uncompressed = (fp->ctf_size < threshold); in ctf_write_mem()
1291 compress_len = compressBound (fp->ctf_size); in ctf_write_mem()
1292 if (fp->ctf_size < threshold) in ctf_write_mem()
1293 compress_len = fp->ctf_size; in ctf_write_mem()
1318 if ((flipped = malloc (fp->ctf_size)) == NULL) in ctf_write_mem()
1322 (unsigned long) (fp->ctf_size + sizeof (struct ctf_header))); in ctf_write_mem()
1326 memcpy (flipped, fp->ctf_buf, fp->ctf_size); in ctf_write_mem()
1338 memcpy (bp, src, fp->ctf_size); in ctf_write_mem()
1339 *size += fp->ctf_size; in ctf_write_mem()
[all …]
H A Dctf-impl.h398 size_t ctf_size; /* Size of CTF header + uncompressed data. */ member
H A Dctf-archive.c275 if (f->ctf_size > threshold) in arc_write_one_ctf()
H A DChangeLog-20201212 (ctf_compress_write): Call ctf_serialize: adjust for ctf_size not
1557 Fix the compression length: fp->ctf_size never counted the CTF
/netbsd-src/external/cddl/osnet/dist/uts/common/ctf/
H A Dctf_mod.c171 kobj_set_ctf(mp, (caddr_t)fp->ctf_base, fp->ctf_size); in ctf_modopen()
173 fp->ctf_data.cts_size = fp->ctf_size; in ctf_modopen()
/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_impl.h193 size_t ctf_size; /* size of CTF header + uncompressed data */ member
H A Dctf_open.c717 fp->ctf_size = size + hdrsz; in ctf_bufopen()
942 ctf_data_free(__UNCONST(fp->ctf_base), fp->ctf_size); in ctf_close()
/netbsd-src/external/cddl/osnet/dist/lib/libctf/common/
H A Dctf_lib.c500 ssize_t resid = fp->ctf_size; in ctf_write()
/netbsd-src/external/gpl3/gdb/dist/libctf/
H A DChangeLog-20201212 (ctf_compress_write): Call ctf_serialize: adjust for ctf_size not
1557 Fix the compression length: fp->ctf_size never counted the CTF
/netbsd-src/external/gpl3/binutils/dist/
H A DChangeLog.git136323 Uncompressed dicts just use the ctf_size without checking it. This
136330 swap it, and we use ctf_size when doing that. When the cth_strlen is
136333 Fix this by checking the ctf_size in all uncompressed cases, just as we