Home
last modified time | relevance | path

Searched refs:ctl_prefix (Results 1 – 9 of 9) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_lookup.c135 for (lp = fp->ctf_lookups; lp->ctl_prefix != NULL; lp++) { in ctf_lookup_by_name()
136 if (lp->ctl_prefix[0] == '\0' || in ctf_lookup_by_name()
137 strncmp(p, lp->ctl_prefix, (size_t)(q - p)) == 0) { in ctf_lookup_by_name()
158 if (lp->ctl_prefix == NULL) { in ctf_lookup_by_name()
H A Dctf_open.c761 fp->ctf_lookups[0].ctl_prefix = "struct"; in ctf_bufopen()
762 fp->ctf_lookups[0].ctl_len = strlen(fp->ctf_lookups[0].ctl_prefix); in ctf_bufopen()
764 fp->ctf_lookups[1].ctl_prefix = "union"; in ctf_bufopen()
765 fp->ctf_lookups[1].ctl_len = strlen(fp->ctf_lookups[1].ctl_prefix); in ctf_bufopen()
767 fp->ctf_lookups[2].ctl_prefix = "enum"; in ctf_bufopen()
768 fp->ctf_lookups[2].ctl_len = strlen(fp->ctf_lookups[2].ctl_prefix); in ctf_bufopen()
770 fp->ctf_lookups[3].ctl_prefix = _CTF_NULLSTR; in ctf_bufopen()
771 fp->ctf_lookups[3].ctl_len = strlen(fp->ctf_lookups[3].ctl_prefix); in ctf_bufopen()
773 fp->ctf_lookups[4].ctl_prefix = NULL; in ctf_bufopen()
H A Dctf_impl.h96 const char *ctl_prefix; /* string prefix for this lookup */ member
/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-open.c1236 fp->ctf_lookups[0].ctl_prefix = "struct"; in ctf_set_ctl_hashes()
1237 fp->ctf_lookups[0].ctl_len = strlen (fp->ctf_lookups[0].ctl_prefix); in ctf_set_ctl_hashes()
1239 fp->ctf_lookups[1].ctl_prefix = "union"; in ctf_set_ctl_hashes()
1240 fp->ctf_lookups[1].ctl_len = strlen (fp->ctf_lookups[1].ctl_prefix); in ctf_set_ctl_hashes()
1242 fp->ctf_lookups[2].ctl_prefix = "enum"; in ctf_set_ctl_hashes()
1243 fp->ctf_lookups[2].ctl_len = strlen (fp->ctf_lookups[2].ctl_prefix); in ctf_set_ctl_hashes()
1245 fp->ctf_lookups[3].ctl_prefix = _CTF_NULLSTR; in ctf_set_ctl_hashes()
1246 fp->ctf_lookups[3].ctl_len = strlen (fp->ctf_lookups[3].ctl_prefix); in ctf_set_ctl_hashes()
1248 fp->ctf_lookups[4].ctl_prefix = NULL; in ctf_set_ctl_hashes()
H A Dctf-lookup.c247 for (lp = fp->ctf_lookups; lp->ctl_prefix != NULL; lp++) in ctf_lookup_by_name_internal()
250 if ((lp->ctl_prefix[0] == '\0' || in ctf_lookup_by_name_internal()
251 strncmp (p, lp->ctl_prefix, (size_t) (q - p)) == 0) && in ctf_lookup_by_name_internal()
287 if (lp->ctl_prefix == NULL) in ctf_lookup_by_name_internal()
H A Dctf-impl.h134 const char *ctl_prefix; /* String prefix for this lookup. */ member
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-open.c1236 fp->ctf_lookups[0].ctl_prefix = "struct"; in ctf_set_ctl_hashes()
1237 fp->ctf_lookups[0].ctl_len = strlen (fp->ctf_lookups[0].ctl_prefix); in ctf_set_ctl_hashes()
1239 fp->ctf_lookups[1].ctl_prefix = "union"; in ctf_set_ctl_hashes()
1240 fp->ctf_lookups[1].ctl_len = strlen (fp->ctf_lookups[1].ctl_prefix); in ctf_set_ctl_hashes()
1242 fp->ctf_lookups[2].ctl_prefix = "enum"; in ctf_set_ctl_hashes()
1243 fp->ctf_lookups[2].ctl_len = strlen (fp->ctf_lookups[2].ctl_prefix); in ctf_set_ctl_hashes()
1245 fp->ctf_lookups[3].ctl_prefix = _CTF_NULLSTR; in ctf_set_ctl_hashes()
1246 fp->ctf_lookups[3].ctl_len = strlen (fp->ctf_lookups[3].ctl_prefix); in ctf_set_ctl_hashes()
1248 fp->ctf_lookups[4].ctl_prefix = NULL; in ctf_set_ctl_hashes()
H A Dctf-lookup.c247 for (lp = fp->ctf_lookups; lp->ctl_prefix != NULL; lp++) in ctf_lookup_by_name_internal()
250 if ((lp->ctl_prefix[0] == '\0' || in ctf_lookup_by_name_internal()
251 strncmp (p, lp->ctl_prefix, (size_t) (q - p)) == 0) && in ctf_lookup_by_name_internal()
290 if (lp->ctl_prefix == NULL) in ctf_lookup_by_name_internal()
H A Dctf-impl.h134 const char *ctl_prefix; /* String prefix for this lookup. */ member