HomeSort by relevance Sort by last modified time
    Searched refs:SID (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium_org/sandbox/win/src/
sid.h 13 class Sid {
15 // Constructors initializing the object with the SID passed.
17 Sid(const SID *sid);
18 Sid(WELL_KNOWN_SID_TYPE type);
21 const SID *GetPSID() const;
sid.cc 5 #include "sandbox/win/src/sid.h"
11 Sid::Sid(const SID *sid) {
12 ::CopySid(SECURITY_MAX_SID_SIZE, sid_, const_cast<SID*>(sid));
15 Sid::Sid(WELL_KNOWN_SID_TYPE type) {
22 const SID *Sid::GetPSID() const
    [all...]
sid_unittest.cc 5 // This file contains unit tests for the sid class.
11 #include "sandbox/win/src/sid.h"
18 BOOL EqualSid(const SID *sid1, const SID *sid2) {
19 return ::EqualSid(const_cast<SID*>(sid1), const_cast<SID*>(sid2));
22 // Tests the creation if a Sid
25 SID *sid_world_pointer = const_cast<SID*>(sid_world.GetPSID());
27 // Check the SID* constructo
    [all...]
restricted_token.cc 62 deny_only_array[i].Sid =
63 const_cast<SID*>(sids_for_deny_only_[i].GetPSID());
73 sids_to_restrict_array[i].Sid =
74 const_cast<SID*>(sids_to_restrict_[i].GetPSID());
190 unsigned RestrictedToken::AddAllSidsForDenyOnly(std::vector<Sid> *exceptions) {
224 if (::EqualSid(const_cast<SID*>((*exceptions)[j].GetPSID()),
225 token_groups->Groups[i].Sid)) {
233 reinterpret_cast<SID*>(token_groups->Groups[i].Sid));
243 unsigned RestrictedToken::AddSidForDenyOnly(const Sid &sid)
    [all...]
acl.cc 39 bool AddSidToDacl(const Sid& sid, ACL* old_dacl, ACCESS_MASK access,
50 const_cast<SID*>(sid.GetPSID()));
58 bool AddSidToDefaultDacl(HANDLE token, const Sid& sid, ACCESS_MASK access) {
67 if (!AddSidToDacl(sid, default_dacl->DefaultDacl, access, &new_dacl))
89 reinterpret_cast<SID*>(token_user->User.Sid),
93 bool AddKnownSidToKernelObject(HANDLE object, const Sid& sid
    [all...]
app_container_test.cc 26 HANDLE CreateTaggedEvent(const string16& name, const string16& sid) {
52 if (!ConvertStringSidToSid(sid.c_str(), &local_sid))
57 CSid csid(reinterpret_cast<SID*>(local_sid));
  /external/chromium_org/remoting/host/win/
security_descriptor.h 18 typedef TypedBuffer<SID> ScopedSid;
23 // Converts a SID into a text string.
24 std::string ConvertSidToString(SID* sid);
26 // Returns the logon SID of a token. Returns NULL if the token does not specify
27 // a logon SID or in case of an error.
security_descriptor.cc 29 // Converts a SID into a text string.
30 std::string ConvertSidToString(SID* sid) {
32 if (!ConvertSidToStringSid(sid, &c_sid_string))
40 // Returns the logon SID of a token. Returns NULL if the token does not specify
41 // a logon SID or in case of an error.
56 length = GetLengthSid(groups->Groups[i].Sid);
58 if (!CopySid(length, logon_sid.get(), groups->Groups[i].Sid))
  /external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
buildbin.sh 96 SID=$2
99 perl ${TOOLSDIR}/${GLW} ${CONFIGSDIR}/${LANG}/${LANG}_${SID}_sg.txt ${LANG}_${SID}_sg_${VERSION_SUFFIX}.bin
  /external/chromium_org/rlz/win/lib/
machine_id_win.cc 41 bool GetComputerSid(const wchar_t* account_name, SID* sid, DWORD sid_size) {
49 BOOL success = ::LookupAccountNameW(NULL, account_name, sid,
54 // one or both of sid and szDomain was too small. Check for that
62 success = ::LookupAccountNameW(NULL, account_name, sid, &sid_dword_size,
70 std::wstring ConvertSidToString(SID* sid) {
74 if (ConvertSidToStringSidW(sid, &sid_buffer)) {
79 SID_IDENTIFIER_AUTHORITY* sia = ::GetSidIdentifierAuthority(sid);
96 int sub_auth_count = *::GetSidSubAuthorityCount(sid);
114 SID* sid = reinterpret_cast<SID*>(sid_buffer); local
    [all...]
rlz_lib_win.cc 76 // Check if this SID has the desired access by scanning the ACEs in the DACL.
79 bool HasAccess(PSID sid, ACCESS_MASK access_mask, ACL* dacl) {
102 (mask & access_mask) == access_mask && EqualSid(existing_sid, sid))
106 (mask & access_mask) != 0 && EqualSid(existing_sid, sid))
128 // Create a SID that represents ALL USERS.
130 typed_buffer_ptr<SID> users_sid(users_sid_size);
163 typed_buffer_ptr<SID> owner(owner_size);
164 typed_buffer_ptr<SID> group(group_size);
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
tgsi_dump.c 83 #define SID(I) ctx->dump_printf( ctx, "%d", I )
107 SID( src->DimIndirect.Index );
113 SID( src->Dimension.Index );
118 SID(src->Dimension.Index);
126 SID( src->Indirect.Index );
132 SID( src->Register.Index );
137 SID( src->Register.Index );
154 SID( dst->DimIndirect.Index );
160 SID( dst->Dimension.Index );
165 SID(dst->Dimension.Index)
    [all...]
  /external/mesa3d/src/gallium/auxiliary/tgsi/
tgsi_dump.c 83 #define SID(I) ctx->dump_printf( ctx, "%d", I )
107 SID( src->DimIndirect.Index );
113 SID( src->Dimension.Index );
118 SID(src->Dimension.Index);
126 SID( src->Indirect.Index );
132 SID( src->Register.Index );
137 SID( src->Register.Index );
154 SID( dst->DimIndirect.Index );
160 SID( dst->Dimension.Index );
165 SID(dst->Dimension.Index)
    [all...]
  /external/chromium_org/cloud_print/service/win/
local_security_policy.cc 84 LOG(ERROR) << "Unable to load Sid for" << username;
90 policy_, const_cast<SID*>(user_sid.GetPSID()), rights.Receive(), &count);
105 LOG(ERROR) << "Unable to load Sid for" << username;
116 ::LsaAddAccountRights(policy_, const_cast<SID*>(user_sid.GetPSID()),
  /external/smack/src/com/kenai/jbosh/
Attributes.java 55 static final BodyQName SID = BodyQName.createBOSH("sid");
CMSessionParams.java 26 private final AttrSessionID sid; field in class:CMSessionParams
66 sid = aSid;
91 getRequiredAttribute(resp, Attributes.SID)),
130 return sid;
  /external/chromium_org/chrome/browser/signin/
signin_internals_util.h 37 SID,
signin_internals_util.cc 97 ENUM_CASE(SID);
202 case SID:
203 return "Sid (Hash)";
253 if (i == SID || i == LSID) {
token_service.cc 158 SaveAuthTokenToDB(GaiaConstants::kGaiaSid, credentials.sid);
165 // Notify AboutSigninInternals that a new lsid and sid are available.
167 signin_internals_util::SID, credentials.sid));
223 return !credentials_.lsid.empty() && !credentials_.sid.empty();
232 credentials_.sid, credentials_.lsid, kServices[i]);
404 if (credentials_.lsid.empty() && credentials_.sid.empty()) {
405 // Look for GAIA SID and LSID tokens. If we have both, and the current
408 std::string sid; local
414 sid = db_tokens.find(GaiaConstants::kGaiaSid)->second
    [all...]
signin_manager.cc 234 // jar and mints a new ClientLogin-style SID/LSID pair. This involves going
239 // - call /accounts/OAuthLogin with the oauth2 access token and get SID/LSID
242 // The resulting SID/LSID can then be used just as if
355 signin_internals_util::SID, "");
505 signin_internals_util::SID, result.sid);
  /external/checkpolicy/
policy_scan.l 77 SID |
78 sid { return(SID); }
  /external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/packet/
Bytestream.java 51 * @param SID The session ID related to the negotiation.
54 public Bytestream(final String SID) {
56 setSessionID(SID);
219 buf.append(" sid=\"").append(getSessionID()).append("\"");
  /external/oprofile/events/i386/nehalem/
unit_masks 364 0x01 packed_mpy Counts number of SID integer 64 bit packed multiply operations
365 0x02 packed_shift Counts number of SID integer 64 bit packed shift operations
366 0x04 pack Counts number of SID integer 64 bit pack operations
367 0x08 unpack Counts number of SID integer 64 bit unpack operations
368 0x10 packed_logical Counts number of SID integer 64 bit logical operations
369 0x20 packed_arith Counts number of SID integer 64 bit arithmetic operations
370 0x40 shuffle_move Counts number of SID integer 64 bit shift or move operations
  /external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
examples.cpp 225 namespace SID {
  /external/clang/lib/AST/
DeclPrinter.cpp 951 ObjCInterfaceDecl *SID = OID->getSuperClass();
953 if (SID)
954 Out << "@implementation " << I << " : " << *SID;
975 ObjCInterfaceDecl *SID = OID->getSuperClass();
982 if (SID)
983 Out << "@interface " << I << " : " << *SID;
1008 else if (SID) {
    [all...]

Completed in 581 milliseconds

1 2