Home
last modified time | relevance | path

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

12

/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/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.h21 class BASE_API ScopedBstr {
23 ScopedBstr() : bstr_(NULL) { in ScopedBstr() function
30 explicit ScopedBstr(const char16* non_bstr);
31 ~ScopedBstr();
66 void Swap(ScopedBstr& bstr2);
90 bool operator==(const ScopedBstr& bstr2) const;
91 bool operator!=(const ScopedBstr& bstr2) const;
92 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()
/external/chromium/chrome/browser/history/
Dhistory_publisher_win.cc121 base::win::ScopedBstr url(ASCIIToWide(page_data.url.spec()).c_str()); in PublishDataToIndexers()
122 base::win::ScopedBstr html(page_data.html); in PublishDataToIndexers()
123 base::win::ScopedBstr title(page_data.title); in PublishDataToIndexers()
125 base::win::ScopedBstr format(page_data.thumbnail_format ? in PublishDataToIndexers()
/external/chromium_org/remoting/host/setup/
Ddaemon_controller_delegate_win.cc30 using base::win::ScopedBstr;
58 void ConfigToString(const base::DictionaryValue& config, ScopedBstr* out) { in ConfigToString()
61 ScopedBstr config_scoped_bstr(UTF8ToUTF16(config_str).c_str()); in ConfigToString()
177 ScopedBstr host_config; in GetConfig()
237 ScopedBstr config_str(NULL); in UpdateConfig()
276 ScopedBstr version; in GetVersion()
427 ScopedBstr config_str(NULL); in OnInstallationComplete()
Ddaemon_installer_win.cc28 using base::win::ScopedBstr;
/external/chromium_org/chrome_frame/
Dchrome_frame_activex.cc247 base::win::ScopedBstr target_bstr(UTF8ToWide(target).c_str()); in OnMessageFromChromeFrame()
345 base::win::ScopedBstr object_id; in Load()
353 base::win::ScopedBstr prop(event_props[i]); in Load()
373 if (SUCCEEDED(bag->Read(base::win::ScopedBstr(L"src"), src.Receive(), in Load()
382 if (SUCCEEDED(bag->Read(base::win::ScopedBstr(L"useChromeNetwork"), in Load()
408 Base::put_src(base::win::ScopedBstr(g_activex_insecure_content_error)); in put_src()
445 base::win::ScopedBstr url; in IOleObject_SetClientSite()
468 base::win::ScopedBstr profile_name_arg; in IOleObject_SetClientSite()
482 base::win::ScopedBstr navigation_url; in IOleObject_SetClientSite()
562 document->createElement(base::win::ScopedBstr(L"script"), in CreateScriptBlockForEvent()
[all …]
Dprotocol_sink_wrap.h154 base::win::ScopedBstr suggested_mime_type_;
Dbho.cc240 base::win::ScopedBstr location_url; in DocumentHasEmbeddedItems()
/external/chromium_org/ui/views/accessibility/
Dnative_view_accessibility_win_unittest.cc48 base::win::ScopedBstr name; in TEST_F()
54 base::win::ScopedBstr value; in TEST_F()
59 base::win::ScopedBstr new_value(L"New value"); in TEST_F()
/external/chromium_org/remoting/host/setup/win/
Dauth_code_getter.cc41 base::win::ScopedBstr url(UTF8ToWide( in GetAuthCode()
73 base::win::ScopedBstr url; in TestBrowserUrl()
/external/chromium_org/content/browser/accessibility/
Daccessibility_win_browsertest.cc82 base::win::ScopedBstr name_bstr; in RecursiveFindNodeInAccessibilityTree()
307 base::win::ScopedBstr name; in CheckAccessibleName()
355 base::win::ScopedBstr value; in CheckAccessibleValue()
471 base::win::ScopedBstr name; in IN_PROC_BROWSER_TEST_F()
825 base::win::ScopedBstr node_name; in IN_PROC_BROWSER_TEST_F()
827 base::win::ScopedBstr node_value; in IN_PROC_BROWSER_TEST_F()
Dbrowser_accessibility_win_unittest.cc220 base::win::ScopedBstr name; in TEST_F()
356 base::win::ScopedBstr text; in TEST_F()
454 base::win::ScopedBstr text; in TEST_F()
547 base::win::ScopedBstr text; in TEST_F()
/external/chromium_org/chrome_frame/test/
Die_event_sink.cc27 using base::win::ScopedBstr;
253 ScopedBstr browser_url; in Uninitialize()
308 ScopedBstr message_bstr(message.c_str()); in PostMessageToCF()
376 ScopedBstr address_bar_url; in ExpectAddressBarUrl()
620 listener_->OnNewBrowserWindow(*dispatch, ScopedBstr()); in STDMETHODIMP_()
Dchrome_frame_ui_test_utils.cc153 base::win::ScopedBstr value_bstr(value.c_str()); in SetValue()
170 base::win::ScopedBstr name_bstr; in GetName()
204 base::win::ScopedBstr value_bstr; in GetValue()
430 base::win::ScopedBstr text_bstr; in GetSelectedText()
Dhttp_negotiate_unittest.cc209 browser_->Navigate(base::win::ScopedBstr(L"about:blank"), in TestInternetProtocolSink()
/external/chromium_org/remoting/host/win/
Drdp_client_window.cc242 base::win::ScopedBstr server_name( in OnCreate()
244 base::win::ScopedBstr terminal_id(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.cc103 base::win::ScopedBstr acc_name; in TestAccessibilityInfo()
/external/chromium_org/chrome_frame/turndown_prompt/
Dturndown_prompt.cc86 base::win::ScopedBstr location(url.c_str()); in LaunchUrl()
/external/chromium_org/printing/backend/
Dprint_backend_win.cc184 base::win::ScopedBstr error; in GetPrinterCapsAndDefaults()
/external/chromium_org/remoting/host/
Ddesktop_session_win.cc259 base::win::ScopedBstr terminal_id(UTF8ToUTF16(terminal_id_).c_str()); in Initialize()

12