Searched defs:sid_string (Results 1 - 4 of 4) sorted by relevance

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

Completed in 412 milliseconds