Lines Matching defs:sym
547 struct nlist *sym = NULL;
580 sym = (struct nlist *)orig_le->vmaddr;
581 strings = ((char *)sym) + orig_st->nsyms * sizeof(struct nlist);
584 uint8_t n_type = sym[i].n_type & (N_TYPE | N_EXT);
585 char *name = strings + sym[i].n_un.n_strx;
594 if (0 == sym[i].n_un.n_strx) /* iff a null, "", name. */
611 uint8_t n_type = sym[j].n_type & (N_TYPE | N_EXT);
612 char *name = strings + sym[j].n_un.n_strx;
617 if (0 == sym[j].n_un.n_strx) /* iff a null, "", name. */
625 if (*(unsigned long *)sym[i].n_value <= (unsigned long)sym[j].n_value)
628 if ((unsigned long)sym[j].n_value > best) {
629 best = (unsigned long)sym[j].n_value;
637 sdpd->sdpd_offset = *(unsigned long *)sym[i].n_value;