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

Lines Matching defs:bitstring

106    if there is a bitstring in the second field.  It is not allowed for
113 Apart from the contents of the bitstring, the second field must be
115 bitstring must always be of the same length.
133 - A $ followed by a bitstring enclosed in [] is replaced by the
134 value of that bitstring. The bitstring has the same syntax as in
136 the same repeated letter in the bitstring is replaced by the
272 - More error detection, e.g., bitstring or arg not used in entry.
297 #define MAXBITS LONG_BIT /* Max bitstring length. */
334 int parsebits(struct function *fp, char *bitstring, int nbits);
335 int parseentrybits(struct entry *ep, char *bitstring, int nbits, int issplice);
342 int parsebitsplice(struct function *fp, char *bitstring, int nbits,
437 char function[MAXfunction], bitstring[MAXBITS];
479 /* If not a control statement, read bitstring and/or arguments. */
487 /* Read optional bitstring. */
488 for (i = 0; i < sizeof bitstring && isalnum(c); i++, c = getc(f)) {
491 bitstring[i] = c;
495 progname, filename, lineno, i, bitstring);
498 if (parsebits(fp, bitstring, i) != 0)
688 /* Parse the bitstring supplied for the given function. nbits says how many
690 int parsebits(struct function *fp, char *bitstring, int nbits) {
700 return parseentrybits(fp->last, bitstring, nbits, 0);
704 /* Parse a bitstring that is the pattern for a function entry or that is in a
706 int parseentrybits(struct entry *ep, char *bitstring, int nbits, int issplice) {
714 bit = bitstring[nbits - 1 - i];
724 fprintf(stderr, "%s: %s(%d): invalid character in bitstring: %c\n",
732 "%s: %s(%d): bitstring name %c used twice\n",
739 for (j = i + 1; j < nbits && bitstring[nbits - 1 - j] == bit; j++)
826 "%s: %s(%d): %c is a bitstring and an arg\n",
1128 As another optimisation, a bitfield that occupies the entire bitstring
1150 int parsebitsplice(struct function *fp, char *bitstring, int nbits,
1160 if (parseentrybits(&splicep->entry, bitstring, nbits, 1) != 0)
1174 "bitstring $%c %ser than its place "
1210 /* Look for a spliced element that is the entire bitstring argument to
1846 /* Generate code for entries in function fp whose bitstring b satisfies