Lines Matching refs:jlong
42 static jlong L_HEX;
43 static jlong H_HEX;
44 static jlong L_PATH;
45 static jlong H_PATH;
48 static jlong lowMask(char* s) {
50 jlong m = 0;
55 m |= ((jlong)1 << c);
61 static jlong highMask(char* s) {
63 jlong m = 0;
68 m |= ((jlong)1 << (c - 64));
77 static jlong lowMaskRange(char first, char last) {
78 jlong m = 0;
84 m |= (jlong)1 << i;
93 static jlong highMaskRange(char first, char last) {
94 jlong m = 0;
99 m |= (jlong)1 << i;
107 static int match(int c, jlong lowMask, jlong highMask) {
109 if ((((jlong)1 << c) & lowMask) != 0) return 1;
111 if ((((jlong)1 << (c - 64)) & highMask) != 0) return 1;
118 jlong L_DIGIT = lowMaskRange('0', '9');
119 jlong H_DIGIT = 0;
124 jlong L_UPALPHA = 0;
125 jlong H_UPALPHA = highMaskRange('A', 'Z');
130 jlong L_LOWALPHA = 0;
131 jlong H_LOWALPHA = highMaskRange('a', 'z');
134 jlong L_ALPHA = L_LOWALPHA | L_UPALPHA;
135 jlong H_ALPHA = H_LOWALPHA | H_UPALPHA;
138 jlong L_ALPHANUM = L_DIGIT | L_ALPHA;
139 jlong H_ALPHANUM = H_DIGIT | H_ALPHA;
143 jlong L_MARK = lowMask("-_.!~*'()");
144 jlong H_MARK = highMask("-_.!~*'()");
147 jlong L_UNRESERVED = L_ALPHANUM | L_MARK;
148 jlong H_UNRESERVED = H_ALPHANUM | H_MARK;
152 jlong L_PCHAR = L_UNRESERVED | lowMask(":@&=+$,");
153 jlong H_PCHAR = H_UNRESERVED | highMask(":@&=+$,");