HomeSort by relevance Sort by last modified time
    Searched refs:SID (Results 1 - 25 of 35) 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_MODE access_mode,
50 const_cast<SID*>(sid.GetPSID()));
58 bool AddSidToDefaultDacl(HANDLE token, const Sid& sid, ACCESS_MASK access) {
67 if (!AddSidToDacl(sid, default_dacl->DefaultDacl, GRANT_ACCESS, access,
90 reinterpret_cast<SID*>(token_user->User.Sid),
95 const Sid& sid, ACCESS_MODE access_mode
    [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 45 // Check if this SID has the desired access by scanning the ACEs in the DACL.
48 bool HasAccess(PSID sid, ACCESS_MASK access_mask, ACL* dacl) {
71 (mask & access_mask) == access_mask && EqualSid(existing_sid, sid))
75 (mask & access_mask) != 0 && EqualSid(existing_sid, sid))
97 // Create a SID that represents ALL USERS.
99 typed_buffer_ptr<SID> users_sid(users_sid_size);
132 typed_buffer_ptr<SID> owner(owner_size);
133 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 85 LOG(ERROR) << "Unable to load Sid for" << username;
91 policy_, const_cast<SID*>(user_sid.GetPSID()), rights.Receive(), &count);
106 LOG(ERROR) << "Unable to load Sid for" << username;
117 ::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 31 SID,
signin_internals_util.cc 58 ENUM_CASE(SID);
154 case SID:
155 return "Sid (Hash)";
208 // Only add username. SID and LSID have moved to tokens section.
about_signin_internals.cc 86 // Erase SID and LSID, since those are written as service tokens below.
87 if (i == signin_internals_util::SID || i == signin_internals_util::LSID)
  /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...]
  /external/linux-tools-perf/util/
evlist.c 29 #define SID(e, x, y) xyarray__entry(e->sample_id, x, y)
121 struct perf_sample_id *sid = SID(evsel, cpu, thread); local
123 sid->id = id;
124 sid->evsel = evsel;
125 hash = hash_64(sid->id, PERF_EVLIST__HLIST_BITS);
126 hlist_add_head(&sid->node, &evlist->heads[hash]);
160 struct perf_sample_id *sid; local
169 hlist_for_each_entry(sid, pos, head, node)
170 if (sid->id == id
    [all...]

Completed in 544 milliseconds

1 2