• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ddb/

Lines Matching defs:ep

335 int parseentrybits(struct entry *ep, char *bitstring, int nbits, int issplice);
351 void showentry(FILE *f, struct function *fp, struct entry *ep, bits highlight);
352 void showbits(FILE *f, struct entry *ep, int nbits, bits highlight);
648 struct entry *ep = xmalloc(sizeof *ep);
665 ep->next = NULL;
666 ep->bits = NULL;
667 ep->done = 0;
669 fp->last->next = ep;
671 fp->first = ep;
672 fp->last = ep;
705 $[...] bitsplice. Put the result in ep. Return value is 0 on success. */
706 int parseentrybits(struct entry *ep, char *bitstring, int nbits, int issplice) {
729 for (bp = ep->bits; bp != NULL; bp = bp->next) {
745 bp->next = ep->bits;
746 ep->bits = bp;
749 ep->mask = mask;
750 ep->value = value;
1368 struct entry *ep;
1370 for (ep = fp->first; ep != NULL; ep = ep->next)
1371 showentry(stderr, fp, ep, 0);
1380 void showentry(FILE *f, struct function *fp, struct entry *ep, bits highlight) {
1387 showbits(f, ep, fp->nbits, 0);
1391 showstring(f, ep->string);
1395 showbits(f, ep, fp->nbits, highlight);
1401 void showbits(FILE *f, struct entry *ep, int nbits, bits highlight) {
1409 bp = ep->bits;
1415 value = ep->value;
1420 if (highlight != 0 || (ep->mask & i)) {
1702 struct entry *ep;
1711 ep = fp->first;
1712 if (ep == NULL || ep->next != NULL)
1714 estr = ep->string;
1721 bp = ep->bits;
1863 struct entry *ep, *defaultcase;
1879 for (ep = fp->first; ep != NULL; ep = ep->next) {
1881 if (ep->done
1882 || (ep->mask & mask) != mask || (ep->value & mask) != value)
1886 showentry(stderr, fp, ep, 0);
1890 if ((constbits & ep->mask) == 0) {
1896 showentry(stderr, fp, ep, 0);
1899 defaultcase = ep;
1905 if (debug && (constbits & ~ep->mask)) {
1907 fprintf(stderr, "const now 0x%lx\n", constbits & ep->mask);
1909 constbits &= ep->mask;
1919 for (ep = fp->first; ep != NULL; ep = ep->next) {
1921 if ((ep->mask & mask) != mask || (ep->value & mask) != value)
1923 if (ep->done || ep == defaultcase)
1927 printf("case 0x%lx:\n", ep->value & constbits);
1929 value | (ep->value & constbits))) {
2224 struct stringlist *ep;
2232 for (i = 0, ep = ap->elements; ep != NULL; i++, ep = ep->next) {
2236 if (compilecheckedstring(ap->tempno, ep->string, ap->type) != 0)