Home
last modified time | relevance | path

Searched refs:sid_string (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/rlz/lib/
Dmachine_id.cc25 string16 sid_string; in GetMachineId() local
27 if (!GetRawMachineId(&sid_string, &volume_id)) in GetMachineId()
30 if (!testing::GetMachineIdImpl(sid_string, volume_id, machine_id)) in GetMachineId()
40 bool GetMachineIdImpl(const string16& sid_string, in GetMachineIdImpl() argument
49 if (!sid_string.empty()) { in GetMachineIdImpl()
55 size_t byte_count = sid_string.size() * sizeof(string16::value_type); in GetMachineIdImpl()
56 const char* buffer = reinterpret_cast<const char*>(sid_string.c_str()); in GetMachineIdImpl()
73 if (!sid_string.empty() || (0 != volume_id)) in GetMachineIdImpl()
Dmachine_id.h27 bool GetMachineIdImpl(const string16& sid_string,
/external/chromium_org/rlz/win/lib/
Dmachine_id_win.cc71 std::wstring sid_string; in ConvertSidToString() local
75 sid_string = sid_buffer; in ConvertSidToString()
83 &sid_string, L"S-%d-0x%02hx%02hx%02hx%02hx%02hx%02hx", in ConvertSidToString()
93 base::SStringPrintf(&sid_string, L"S-%d-%lu", SID_REVISION, authority); in ConvertSidToString()
98 base::StringAppendF(&sid_string, L"-%lu", *::GetSidSubAuthority(sid, i)); in ConvertSidToString()
101 return sid_string; in ConvertSidToString()
106 bool GetRawMachineId(string16* sid_string, int* volume_id) { in GetRawMachineId() argument
116 *sid_string = ConvertSidToString(sid); in GetRawMachineId()
/external/chromium/base/win/
Dwin_util.cc63 wchar_t* sid_string; in GetUserSidString() local
64 if (!::ConvertSidToStringSid(user->User.Sid, &sid_string)) in GetUserSidString()
67 *user_sid = sid_string; in GetUserSidString()
69 ::LocalFree(sid_string); in GetUserSidString()
/external/chromium_org/base/win/
Dwin_util.cc96 wchar_t* sid_string; in GetUserSidString() local
97 if (!::ConvertSidToStringSid(user->User.Sid, &sid_string)) in GetUserSidString()
100 *user_sid = sid_string; in GetUserSidString()
102 ::LocalFree(sid_string); in GetUserSidString()
/external/chromium_org/remoting/host/win/
Dsecurity_descriptor.cc35 base::string16 sid_string(c_sid_string); in ConvertSidToString() local
37 return UTF16ToUTF8(sid_string); in ConvertSidToString()