Searched refs:GetPSID (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/sandbox/win/src/ |
D | sid_unittest.cc | 25 SID *sid_world_pointer = const_cast<SID*>(sid_world.GetPSID()); in TEST() 29 ASSERT_TRUE(EqualSid(sid_world_pointer, sid_sid_star.GetPSID())); in TEST() 33 ASSERT_TRUE(EqualSid(sid_world_pointer, sid_copy.GetPSID())); in TEST() 40 TEST(SidTest, GetPSID) { in TEST() argument 42 ASSERT_NE(static_cast<SID*>(NULL), Sid(::WinLocalSid).GetPSID()); in TEST() 43 ASSERT_NE(static_cast<SID*>(NULL), Sid(::WinCreatorOwnerSid).GetPSID()); in TEST() 44 ASSERT_NE(static_cast<SID*>(NULL), Sid(::WinBatchSid).GetPSID()); in TEST() 46 ASSERT_TRUE(EqualSid(Sid(::WinNullSid).GetPSID(), in TEST() 47 ATL::Sids::Null().GetPSID())); in TEST() 49 ASSERT_TRUE(EqualSid(Sid(::WinWorldSid).GetPSID(), in TEST() [all …]
|
D | acl.cc | 50 const_cast<SID*>(sid.GetPSID())); in AddSidToDacl() 106 if (!AddSidToDacl(sid.GetPSID(), old_dacl, access_mode, access, &new_dacl)) { in AddKnownSidToObject()
|
D | sid.h | 21 const SID *GetPSID() const;
|
D | sid.cc | 22 const SID *Sid::GetPSID() const { in GetPSID() function in sandbox::Sid
|
D | restricted_token.cc | 63 const_cast<SID*>(sids_for_deny_only_[i].GetPSID()); in GetRestrictedTokenHandle() 74 const_cast<SID*>(sids_to_restrict_[i].GetPSID()); in GetRestrictedTokenHandle() 224 if (::EqualSid(const_cast<SID*>((*exceptions)[j].GetPSID()), in AddAllSidsForDenyOnly()
|
D | restricted_token_unittest.cc | 105 token.AddRestrictingSid(ATL::Sids::World().GetPSID())); in TEST() 146 token.AddRestrictingSid(ATL::Sids::World().GetPSID())); in TEST() 448 token.AddRestrictingSid(ATL::Sids::World().GetPSID())); in TEST() 525 token.AddRestrictingSid(ATL::Sids::World().GetPSID())); in TEST()
|
/external/chromium_org/cloud_print/service/win/ |
D | local_security_policy.cc | 91 policy_, const_cast<SID*>(user_sid.GetPSID()), rights.Receive(), &count); in IsPrivilegeSet() 117 ::LsaAddAccountRights(policy_, const_cast<SID*>(user_sid.GetPSID()), in SetPrivilege()
|
/external/chromium_org/chrome_frame/ |
D | chrome_tab.cc | 511 const_cast<SID*>(owner.GetPSID()), NULL, in RestoreSecurity()
|