Lines Matching refs:mask
45 // on the mask type. Because of this, we don't use an enum.
46 typedef unsigned int mask;
47 static const mask upper = 1 << 0;
48 static const mask lower = 1 << 1;
49 static const mask alpha = 1 << 2;
50 static const mask digit = 1 << 3;
51 static const mask xdigit = 1 << 4;
52 static const mask space = 1 << 5;
53 static const mask print = 1 << 6;
54 static const mask graph = (1 << 2) | (1 << 3) | (1 << 9); // alnum|punct
55 static const mask cntrl = 1 << 8;
56 static const mask punct = 1 << 9;
57 static const mask alnum = (1 << 2) | (1 << 3); // alpha|digit