Home
last modified time | relevance | path

Searched refs:ScopedBstr (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/base/win/
Dscoped_bstr.cc12 ScopedBstr::ScopedBstr(const char16* non_bstr) in ScopedBstr() function in base::win::ScopedBstr
16 ScopedBstr::~ScopedBstr() { in ~ScopedBstr()
17 COMPILE_ASSERT(sizeof(ScopedBstr) == sizeof(BSTR), ScopedBstrSize); in ~ScopedBstr()
21 void ScopedBstr::Reset(BSTR bstr) { in Reset()
29 BSTR ScopedBstr::Release() { in Release()
35 void ScopedBstr::Swap(ScopedBstr& bstr2) { in Swap()
41 BSTR* ScopedBstr::Receive() { in Receive()
46 BSTR ScopedBstr::Allocate(const char16* str) { in Allocate()
51 BSTR ScopedBstr::AllocateBytes(size_t bytes) { in AllocateBytes()
56 void ScopedBstr::SetByteLen(size_t bytes) { in SetByteLen()
[all …]
Dscoped_bstr.h20 class BASE_EXPORT ScopedBstr {
22 ScopedBstr() : bstr_(NULL) { in ScopedBstr() function
29 explicit ScopedBstr(const char16* non_bstr);
30 ~ScopedBstr();
65 void Swap(ScopedBstr& bstr2);
89 bool operator==(const ScopedBstr& bstr2) const;
90 bool operator!=(const ScopedBstr& bstr2) const;
91 DISALLOW_COPY_AND_ASSIGN(ScopedBstr);
Dscoped_bstr_unittest.cc19 ScopedBstr b; in DumbBstrTests()
26 ScopedBstr b2; in DumbBstrTests()
36 ScopedBstr b1(kTestString1); in BasicBstrTests()
40 ScopedBstr b2; in BasicBstrTests()
71 TEST(ScopedBstrTest, ScopedBstr) { in TEST() argument
/external/chromium_org/chrome/installer/util/
Dwmi.cc29 hr = wmi_locator->ConnectServer(base::win::ScopedBstr(L"ROOT\\CIMV2"), in CreateLocalConnection()
58 base::win::ScopedBstr b_class_name(class_name.c_str()); in CreateClassMethodObject()
59 base::win::ScopedBstr b_method_name(method_name.c_str()); in CreateClassMethodObject()
114 HRESULT hr = wmi_local->ExecMethod(base::win::ScopedBstr(class_name), in Launch()
115 base::win::ScopedBstr(method_name), in Launch()
143 base::win::ScopedBstr query_language(L"WQL"); in GetModel()
144 base::win::ScopedBstr query(L"SELECT * FROM Win32_ComputerSystem"); in GetModel()
Dadvanced_firewall_manager_win.cc93 base::win::ScopedBstr name; in DeleteRuleByName()
106 base::win::ScopedBstr unique_name( in DeleteRule()
132 udp_rule->put_Name(base::win::ScopedBstr(rule_name.c_str())); in CreateUDPRule()
133 udp_rule->put_Description(base::win::ScopedBstr(description.c_str())); in CreateUDPRule()
135 base::win::ScopedBstr(app_path_.value().c_str())); in CreateUDPRule()
140 base::win::ScopedBstr(base::StringPrintf(L"%u", port).c_str())); in CreateUDPRule()
141 udp_rule->put_Grouping(base::win::ScopedBstr(app_name_.c_str())); in CreateUDPRule()
182 base::win::ScopedBstr path; in GetAllRules()
Dlegacy_firewall_manager_win.cc61 base::win::ScopedBstr(app_path_.value().c_str()), in GetAllowIncomingConnection()
96 authorized_apps->Remove(base::win::ScopedBstr(app_path_.value().c_str())); in DeleteRule()
123 chrome_application->put_Name(base::win::ScopedBstr(app_name_.c_str())); in CreateChromeAuthorization()
125 base::win::ScopedBstr(app_path_.value().c_str())); in CreateChromeAuthorization()
Dadvanced_firewall_manager_win_unittest.cc46 base::win::ScopedBstr name; in GetAllRules()
/external/chromium_org/remoting/host/setup/
Ddaemon_controller_delegate_win.cc29 using base::win::ScopedBstr;
57 void ConfigToString(const base::DictionaryValue& config, ScopedBstr* out) { in ConfigToString()
60 ScopedBstr config_scoped_bstr(base::UTF8ToUTF16(config_str).c_str()); in ConfigToString()
179 ScopedBstr host_config; in GetConfig()
246 ScopedBstr config_str(NULL); in UpdateConfig()
285 ScopedBstr version; in GetVersion()
436 ScopedBstr config_str(NULL); in StartHostWithConfig()
Ddaemon_installer_win.cc28 using base::win::ScopedBstr;
/external/chromium_org/ui/views/accessibility/
Dnative_view_accessibility_win_unittest.cc15 using base::win::ScopedBstr;
67 ScopedBstr name; in TEST_F()
73 ScopedBstr value; in TEST_F()
78 ScopedBstr new_value(L"New value"); in TEST_F()
168 ScopedBstr alerts_bstr(L"alerts"); in TEST_F()
/external/chromium_org/remoting/host/setup/win/
Dauth_code_getter.cc41 base::win::ScopedBstr url(base::UTF8ToWide( in GetAuthCode()
73 base::win::ScopedBstr url; in TestBrowserUrl()
/external/chromium_org/content/browser/accessibility/
Daccessibility_win_browsertest.cc77 base::win::ScopedBstr name_bstr; in RecursiveFindNodeInAccessibilityTree()
288 base::win::ScopedBstr name; in CheckAccessibleName()
336 base::win::ScopedBstr value; in CheckAccessibleValue()
698 base::win::ScopedBstr node_name; in IN_PROC_BROWSER_TEST_F()
700 base::win::ScopedBstr node_value; in IN_PROC_BROWSER_TEST_F()
Dbrowser_accessibility_win_unittest.cc221 base::win::ScopedBstr name; in TEST_F()
357 base::win::ScopedBstr text; in TEST_F()
455 base::win::ScopedBstr text; in TEST_F()
547 base::win::ScopedBstr text; in TEST_F()
/external/chromium_org/remoting/host/win/
Drdp_client_window.cc242 base::win::ScopedBstr server_name( in OnCreate()
244 base::win::ScopedBstr terminal_id(base::UTF8ToUTF16(terminal_id_).c_str()); in OnCreate()
431 base::win::ScopedBstr error_message; in OnDisconnected()
/external/chromium_org/chrome/browser/ui/views/accessibility/
Dbrowser_views_accessibility_browsertest.cc106 base::win::ScopedBstr acc_name; in TestAccessibilityInfo()
/external/chromium_org/printing/backend/
Dprint_backend_win.cc308 base::win::ScopedBstr error; in GetPrinterCapsAndDefaults()
/external/chromium_org/remoting/host/
Ddesktop_session_win.cc259 base::win::ScopedBstr terminal_id(base::UTF8ToUTF16(terminal_id_).c_str()); in Initialize()
/external/chromium_org/chrome/service/cloud_print/
Dprint_system_win.cc727 base::win::ScopedBstr error; in ValidatePrintTicket()