Home
last modified time | relevance | path

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

/external/cronet/base/win/
Dscoped_winrt_initializer.cc62 : hr_(CallRoInitialize(RO_INIT_MULTITHREADED)) { in ScopedWinrtInitializer()
65 if (SUCCEEDED(hr_)) in ScopedWinrtInitializer()
68 DCHECK_NE(RPC_E_CHANGED_MODE, hr_) << "Invalid COM thread model change"; in ScopedWinrtInitializer()
74 if (SUCCEEDED(hr_)) in ~ScopedWinrtInitializer()
79 return SUCCEEDED(hr_); in Succeeded()
Dscoped_com_initializer.cc37 return SUCCEEDED(hr_); in Succeeded()
55 hr_ = ::CoInitializeEx(nullptr, init | COINIT_DISABLE_OLE1DDE); in Initialize()
56 DCHECK_NE(RPC_E_CHANGED_MODE, hr_) << "Invalid COM thread model change"; in Initialize()
Dscoped_winrt_initializer.h43 const HRESULT hr_;
Dscoped_com_initializer.h68 HRESULT hr_ = S_OK; variable
/external/webrtc/rtc_base/win/
Dscoped_com_initializer.cc40 hr_ = CoInitializeEx(NULL, init); in Initialize()
41 RTC_CHECK_NE(RPC_E_CHANGED_MODE, hr_) in Initialize()
48 if (hr_ == S_OK) { in Initialize()
51 } else if (hr_ == S_FALSE) { in Initialize()
Dscoped_com_initializer.h46 bool Succeeded() { return SUCCEEDED(hr_); } in Succeeded()
51 HRESULT hr_; variable