Home | History | Annotate | Download | only in bits

Lines Matching refs:mask

32 //  relies on a combination of flags) and the  '_ALPHA' mask is also a
48 // on the mask type. Because of this, we don't use an enum.
49 typedef unsigned short mask;
50 static const mask upper = 1 << 0;
51 static const mask lower = 1 << 1;
52 static const mask alpha = 1 << 2;
53 static const mask digit = 1 << 3;
54 static const mask xdigit = 1 << 4;
55 static const mask space = 1 << 5;
56 static const mask print = 1 << 6;
57 static const mask graph = (1 << 2) | (1 << 3) | (1 << 9); // alnum|punct
58 static const mask cntrl = 1 << 8;
59 static const mask punct = 1 << 9;
60 static const mask alnum = (1 << 2) | (1 << 3); // alpha|digit