Lines Matching defs:allowedModes
88 int allowedModes) {
89 if (allowedModes == 0) return false;
90 assert((allowedModes & PUBLIC) != 0 &&
91 (allowedModes & ~(ALL_ACCESS_MODES|PACKAGE_ALLOWED)) == 0);
94 if (!isClassAccessible(refc, lookupClass, allowedModes)) {
99 (allowedModes & PROTECTED_OR_PACKAGE_ALLOWED) != 0) {
109 (allowedModes & PRIVATE) != 0)
114 return isClassAccessible(refc, lookupClass, allowedModes);
116 if ((allowedModes & PROTECTED_OR_PACKAGE_ALLOWED) != 0 &&
119 if ((allowedModes & PROTECTED) != 0 &&
124 return ((allowedModes & PACKAGE_ALLOWED) != 0 &&
129 (allowedModes & PRIVATE) != 0 &&
158 int allowedModes) {
159 if (allowedModes == 0) return false;
160 assert((allowedModes & PUBLIC) != 0 &&
161 (allowedModes & ~(ALL_ACCESS_MODES|PACKAGE_ALLOWED)) == 0);
165 if ((allowedModes & PACKAGE_ALLOWED) != 0 &&