Lines Matching refs:mask
125 // the actions mask
126 private transient int mask;
156 private void init(String servicePrincipal, int mask) {
161 if ((mask & ALL) != mask)
162 throw new IllegalArgumentException("invalid actions mask");
164 this.mask = mask;
184 return ((this.mask & that.mask) == that.mask) &&
211 return ((this.mask & that.mask) == that.mask) &&
224 return (getName().hashCode() ^ mask);
230 * specified mask.
234 * @param mask a specific integer action mask to translate into a string
237 private static String getActions(int mask)
242 if ((mask & INITIATE) == INITIATE) {
248 if ((mask & ACCEPT) == ACCEPT) {
265 actions = getActions(this.mask);
289 * Return the current action mask.
291 * @return the actions mask.
295 return mask;
299 * Convert an action string to an integer actions mask.
302 * @return the action mask
315 int mask = NONE;
321 return mask;
347 mask |= INITIATE;
357 mask |= ACCEPT;
387 return mask;