/netbsd-src/external/cddl/osnet/dist/common/ctf/ |
H A D | ctf_open.c | 230 for (tp = tbuf; tp < tend; fp->ctf_typemax++) { in init_types() 334 fp->ctf_txlate = ctf_alloc(sizeof (uint_t) * (fp->ctf_typemax + 1)); in init_types() 335 fp->ctf_ptrtab = ctf_alloc(sizeof (ushort_t) * (fp->ctf_typemax + 1)); in init_types() 343 bzero(fp->ctf_txlate, sizeof (uint_t) * (fp->ctf_typemax + 1)); in init_types() 344 bzero(fp->ctf_ptrtab, sizeof (ushort_t) * (fp->ctf_typemax + 1)); in init_types() 486 CTF_TYPE_TO_INDEX(tp->ctt_type) <= fp->ctf_typemax) in init_types() 509 ctf_dprintf("%lu total types processed\n", fp->ctf_typemax); in init_types() 524 for (id = 1; id <= fp->ctf_typemax; id++) { in init_types() 531 CTF_TYPE_TO_INDEX(tp->ctt_type) <= fp->ctf_typemax) in init_types() 949 sizeof (uint_t) * (fp->ctf_typemax + 1)); in ctf_close() [all …]
|
H A D | ctf_impl.h | 198 ulong_t ctf_typemax; /* maximum valid type ID number */ member
|
H A D | ctf_lookup.c | 230 if (type > 0 && type <= fp->ctf_typemax) { in ctf_lookup_by_id()
|
H A D | ctf_types.c | 150 ctf_id_t id, max = fp->ctf_typemax; in ctf_type_iter()
|
/netbsd-src/external/gpl3/binutils.old/dist/libctf/ |
H A D | ctf-lookup.c | 50 for (i = fp->ctf_pptrtab_typemax; i <= fp->ctf_typemax; i++) in refresh_pptrtab() 67 if (idx <= pfp->ctf_typemax) in refresh_pptrtab() 78 fp->ctf_pptrtab_typemax = fp->ctf_typemax; in refresh_pptrtab() 306 if (fp->ctf_pptrtab_typemax < fp->ctf_typemax) in ctf_lookup_by_name_internal() 361 if (idx > 0 && (unsigned long) idx <= fp->ctf_typemax) in ctf_lookup_by_id()
|
H A D | ctf-create.c | 54 else if ((fp->ctf_typemax + 2) > fp->ctf_ptrtab_len) in ctf_grow_ptrtab() 202 fp->ctf_dtoldid = fp->ctf_typemax; in ctf_update() 323 if ((unsigned long) idx <= fp->ctf_typemax) in ctf_dynamic_type() 381 snapid.dtd_id = fp->ctf_typemax; in ctf_snapshot() 436 fp->ctf_typemax = id.dtd_id; in ctf_rollback() 461 if (LCTF_INDEX_TO_TYPE (fp, fp->ctf_typemax, 1) >= CTF_MAX_TYPE) in ctf_add_generic() 464 if (LCTF_INDEX_TO_TYPE (fp, fp->ctf_typemax, 1) == (CTF_MAX_PTYPE - 1)) in ctf_add_generic() 483 type = ++fp->ctf_typemax; in ctf_add_generic() 597 && ref_idx < fp->ctf_typemax) in ctf_add_reftype()
|
H A D | ctf-open.c | 711 for (tp = tbuf; tp < tend; fp->ctf_typemax++) in init_types() 772 fp->ctf_txlate = malloc (sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types() 773 fp->ctf_ptrtab_len = fp->ctf_typemax + 1; in init_types() 782 memset (fp->ctf_txlate, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types() 783 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types() 922 && LCTF_TYPE_TO_INDEX (fp, tp->ctt_type) <= fp->ctf_typemax) in init_types() 948 ctf_dprintf ("%lu total types processed\n", fp->ctf_typemax); in init_types()
|
H A D | ctf-serialize.c | 1135 nfp->ctf_typemax = fp->ctf_typemax; in ctf_serialize()
|
H A D | ctf-impl.h | 426 unsigned long ctf_typemax; /* Maximum valid type ID number. */ member
|
H A D | ChangeLog-2020 | 1127 <ctf_dtnextid>: Remove, redundant to ctf_typemax. 1188 No longer check ctf_dtnextid: check ctf_typemax instead. 1189 (ctf_snapshot): No longer use ctf_dtnextid: use ctf_typemax instead. 1194 ctf_dtd_insert. Use ctf_typemax, not ctf_dtnextid. Migrate away
|
H A D | ctf-types.c | 442 while (i->ctn_type <= fp->ctf_typemax) in ctf_type_next()
|
H A D | ChangeLog | 271 * ctf-serialize.c (ctf_serialize): Preserve ctf_typemax across
|
/netbsd-src/external/gpl3/binutils/dist/libctf/ |
H A D | ctf-lookup.c | 50 for (i = fp->ctf_pptrtab_typemax; i <= fp->ctf_typemax; i++) in refresh_pptrtab() 67 if (idx <= pfp->ctf_typemax) in refresh_pptrtab() 78 fp->ctf_pptrtab_typemax = fp->ctf_typemax; in refresh_pptrtab() 303 if (fp->ctf_pptrtab_typemax < fp->ctf_typemax) in ctf_lookup_by_name_internal() 358 if (idx > 0 && (unsigned long) idx <= fp->ctf_typemax) in ctf_lookup_by_id()
|
H A D | ctf-create.c | 54 else if ((fp->ctf_typemax + 2) > fp->ctf_ptrtab_len) in ctf_grow_ptrtab() 202 fp->ctf_dtoldid = fp->ctf_typemax; in ctf_update() 322 if ((unsigned long) idx <= fp->ctf_typemax) in ctf_dynamic_type() 377 snapid.dtd_id = fp->ctf_typemax; in ctf_snapshot() 432 fp->ctf_typemax = id.dtd_id; in ctf_rollback() 457 if (LCTF_INDEX_TO_TYPE (fp, fp->ctf_typemax, 1) >= CTF_MAX_TYPE) in ctf_add_generic() 460 if (LCTF_INDEX_TO_TYPE (fp, fp->ctf_typemax, 1) == (CTF_MAX_PTYPE - 1)) in ctf_add_generic() 479 type = ++fp->ctf_typemax; in ctf_add_generic() 593 && ref_idx < fp->ctf_typemax) in ctf_add_reftype()
|
H A D | ctf-open.c | 711 for (tp = tbuf; tp < tend; fp->ctf_typemax++) in init_types() 772 fp->ctf_txlate = malloc (sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types() 773 fp->ctf_ptrtab_len = fp->ctf_typemax + 1; in init_types() 782 memset (fp->ctf_txlate, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types() 783 memset (fp->ctf_ptrtab, 0, sizeof (uint32_t) * (fp->ctf_typemax + 1)); in init_types() 922 && LCTF_TYPE_TO_INDEX (fp, tp->ctt_type) <= fp->ctf_typemax) in init_types() 948 ctf_dprintf ("%lu total types processed\n", fp->ctf_typemax); in init_types()
|
H A D | ctf-serialize.c | 1135 nfp->ctf_typemax = fp->ctf_typemax; in ctf_serialize()
|
H A D | ctf-impl.h | 426 unsigned long ctf_typemax; /* Maximum valid type ID number. */ member
|
H A D | ChangeLog-2020 | 1127 <ctf_dtnextid>: Remove, redundant to ctf_typemax. 1188 No longer check ctf_dtnextid: check ctf_typemax instead. 1189 (ctf_snapshot): No longer use ctf_dtnextid: use ctf_typemax instead. 1194 ctf_dtd_insert. Use ctf_typemax, not ctf_dtnextid. Migrate away
|
H A D | ctf-types.c | 443 while (i->ctn_type <= fp->ctf_typemax) in ctf_type_next()
|
H A D | ChangeLog | 292 * ctf-serialize.c (ctf_serialize): Preserve ctf_typemax across
|
/netbsd-src/external/cddl/osnet/dev/fbt/ |
H A D | fbt.c | 582 int ctf_typemax = 0; in fbt_typoff_init() local 600 for (tp = tbuf; tp < tend; ctf_typemax++) { in fbt_typoff_init() 676 ctf_typemax++; in fbt_typoff_init() 677 mc->typlen = ctf_typemax; in fbt_typoff_init() 679 xp = malloc(sizeof(uint32_t) * ctf_typemax, M_FBT, M_ZERO | M_WAITOK); in fbt_typoff_init()
|
/netbsd-src/external/gpl3/gdb/dist/libctf/ |
H A D | ChangeLog-2020 | 1127 <ctf_dtnextid>: Remove, redundant to ctf_typemax. 1188 No longer check ctf_dtnextid: check ctf_typemax instead. 1189 (ctf_snapshot): No longer use ctf_dtnextid: use ctf_typemax instead. 1194 ctf_dtd_insert. Use ctf_typemax, not ctf_dtnextid. Migrate away
|