Lines Matching refs:nRights
92 sal_Int32 nRights,nRightsWithGrant; in getPrivileges() local
93 findPrivilegesAndGrantPrivileges(objName,objType,nRights,nRightsWithGrant); in getPrivileges()
94 return nRights; in getPrivileges()
97 …tPrivileges(const ::rtl::OUString& objName, sal_Int32 objType,sal_Int32& nRights,sal_Int32& nRight… in findPrivilegesAndGrantPrivileges() argument
99 nRightsWithGrant = nRights = 0; in findPrivilegesAndGrantPrivileges()
140 nRightsWithGrant = nRights = 0; in findPrivilegesAndGrantPrivileges()
154 nRights |= Privilege::SELECT; in findPrivilegesAndGrantPrivileges()
160 nRights |= Privilege::INSERT; in findPrivilegesAndGrantPrivileges()
166 nRights |= Privilege::UPDATE; in findPrivilegesAndGrantPrivileges()
172 nRights |= Privilege::DELETE; in findPrivilegesAndGrantPrivileges()
178 nRights |= Privilege::READ; in findPrivilegesAndGrantPrivileges()
184 nRights |= Privilege::CREATE; in findPrivilegesAndGrantPrivileges()
190 nRights |= Privilege::ALTER; in findPrivilegesAndGrantPrivileges()
196 nRights |= Privilege::REFERENCE; in findPrivilegesAndGrantPrivileges()
202 nRights |= Privilege::DROP; in findPrivilegesAndGrantPrivileges()
216 sal_Int32 nRights,nRightsWithGrant; in getGrantablePrivileges() local
217 findPrivilegesAndGrantPrivileges(objName,objType,nRights,nRightsWithGrant); in getGrantablePrivileges()
302 ::rtl::OUString OMySQLUser::getPrivilegeString(sal_Int32 nRights) const in getPrivilegeString()
305 if((nRights & Privilege::INSERT) == Privilege::INSERT) in getPrivilegeString()
308 if((nRights & Privilege::DELETE) == Privilege::DELETE) in getPrivilegeString()
315 if((nRights & Privilege::UPDATE) == Privilege::UPDATE) in getPrivilegeString()
322 if((nRights & Privilege::ALTER) == Privilege::ALTER) in getPrivilegeString()
329 if((nRights & Privilege::SELECT) == Privilege::SELECT) in getPrivilegeString()
336 if((nRights & Privilege::REFERENCE) == Privilege::REFERENCE) in getPrivilegeString()