• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/dtrace-147/libctf/

Lines Matching +defs:child +defs:name

18  * information: Portions Copyright [yyyy] [name of copyright owner]
115 const char *name = base + nsym->n_un.n_strx;
118 if (0 == nsym->n_un.n_strx) { // iff a null, "", name.
123 if ('_' == name[0])
124 name++; // Lop off omnipresent underscore to match DWARF convention
126 sym->st_name = (Elf64_Word)(name - base);
162 const char *name = base + nsym->n_un.n_strx;
165 if (0 == nsym->n_un.n_strx) { // iff a null, "", name.
170 if ('_' == name[0])
171 name++; // Lop off omnipresent underscore to match DWARF convention
173 sym->st_name = (Elf64_Word)(name - base);
223 const char *name;
245 name = (const char *)strp->cts_data + gsp->st_name;
247 name = _CTF_NULLSTR;
250 strcmp(name, "_START_") == 0 ||
251 strcmp(name, "_END_") == 0) {
321 * We initially determine whether the container is a child or a parent
324 * to values in the range reserved for child types in our first pass.
326 int child = cth->cth_parname != 0;
364 child |= CTF_TYPE_ISCHILD(mp->ctm_type);
371 child |=
398 child |= CTF_TYPE_ISCHILD(tp->ctt_type);
410 * If we detected a reference to a child type ID, then we know this
411 * container is a child and may have a parent's types imported later.
413 if (child) {
414 ctf_dprintf("CTF container %p is a child\n", (void *)fp);
459 const char *name;
465 name = ctf_strptr(fp, tp->ctt_name);
472 * this type name has not been defined yet. We re-use
476 name, strlen(name))) == NULL) {
478 CTF_INDEX_TO_TYPE(id, child), tp->ctt_name);
485 * intrinsic w/ same name if it was zero bits.
487 hep->h_type = CTF_INDEX_TO_TYPE(id, child);
498 CTF_INDEX_TO_TYPE(id, child), tp->ctt_name);
506 CTF_INDEX_TO_TYPE(id, child), tp->ctt_name);
522 CTF_INDEX_TO_TYPE(id, child), tp->ctt_name);
538 CTF_INDEX_TO_TYPE(id, child), tp->ctt_name);
548 CTF_INDEX_TO_TYPE(id, child), tp->ctt_name);
557 * type or tag name is not already present.
574 name, strlen(name)) == NULL) {
576 CTF_INDEX_TO_TYPE(id, child), tp->ctt_name);
589 if (CTF_TYPE_ISCHILD(tp->ctt_type) == child &&
599 CTF_INDEX_TO_TYPE(id, child), tp->ctt_name);
634 CTF_TYPE_ISCHILD(tp->ctt_type) == child &&
824 * If we have a parent container name and label, store the relocated
832 ctf_dprintf("ctf_bufopen: parent name %s (label %s)\n",
862 * array of type name prefixes and the corresponding ctf_hash to use.
994 * Return the name of the parent CTF container, if one exists. Otherwise