Home
last modified time | relevance | path

Searched refs:hr (Results 1 – 25 of 794) sorted by relevance

12345678910>>...32

/external/webrtc/webrtc/modules/video_capture/windows/
Dvideo_capture_ds.cc86 HRESULT hr = CoCreateInstance(CLSID_FilterGraph, NULL, in Init() local
89 if (FAILED(hr)) in Init()
96 hr = _graphBuilder->QueryInterface(IID_IMediaControl, in Init()
98 if (FAILED(hr)) in Init()
104 hr = _graphBuilder->AddFilter(_captureFilter, CAPTURE_FILTER_NAME); in Init()
105 if (FAILED(hr)) in Init()
115 _sinkFilter = new CaptureSinkFilter(SINK_FILTER_NAME, NULL, &hr, in Init()
117 if (hr != S_OK) in Init()
125 hr = _graphBuilder->AddFilter(_sinkFilter, SINK_FILTER_NAME); in Init()
126 if (FAILED(hr)) in Init()
[all …]
Ddevice_info_ds.cc80 …HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); // Use COINIT_MULTITHREADED since Voice E… in DeviceInfoDS() local
81 if (FAILED(hr)) in DeviceInfoDS()
86 if (hr == RPC_E_CHANGED_MODE) in DeviceInfoDS()
96 hr); in DeviceInfoDS()
113 HRESULT hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC, in Init() local
115 if (hr != NOERROR) in Init()
118 "Failed to create CLSID_SystemDeviceEnum, error 0x%x", hr); in Init()
161 HRESULT hr = in GetDeviceInfo() local
164 if (hr != NOERROR) in GetDeviceInfo()
168 " No webcam exist?", hr); in GetDeviceInfo()
[all …]
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_core_win.cc188 HRESULT hr(S_OK); in CoreAudioIsSupported() local
269 hr = CoCreateInstance( in CoreAudioIsSupported()
276 if (FAILED(hr)) in CoreAudioIsSupported()
279 … "AudioDeviceWindowsCore::CoreAudioIsSupported() Failed to create the required COM object", hr); in CoreAudioIsSupported()
281 …iceWindowsCore::CoreAudioIsSupported() CoCreateInstance(MMDeviceEnumerator) failed (hr=0x%x)", hr); in CoreAudioIsSupported()
291 hr, in CoreAudioIsSupported()
314 …udioDeviceWindowsCore::CoreAudioIsSupported() CoCreateInstance(MMDeviceEnumerator) succeeded", hr); in CoreAudioIsSupported()
529 HRESULT hr; in AudioDeviceWindowsCore() local
548 hr = CoCreateInstance(CLSID_CWMAudioAEC, in AudioDeviceWindowsCore()
553 if (FAILED(hr) || ptrDMO == NULL) in AudioDeviceWindowsCore()
[all …]
/external/webrtc/webrtc/base/
Dwin32regkey.cc147 HRESULT hr = GetValueStaticHelper(full_key_name, value_name, in GetValue() local
149 if (SUCCEEDED(hr)) { in GetValue()
155 return hr; in GetValue()
166 HRESULT hr = GetValueStaticHelper(full_key_name, value_name, in GetValue() local
168 if (SUCCEEDED(hr)) { in GetValue()
174 return hr; in GetValue()
193 HRESULT hr = RegKey::GetValue(full_key_name, value_name, buffer.accept()); in GetValue() local
194 if (SUCCEEDED(hr)) { in GetValue()
197 return hr; in GetValue()
226 HRESULT hr = HRESULT_FROM_WIN32(res); in DeleteSubKey() local
[all …]
Dwinfirewall.cc46 HRESULT hr = CoCreateInstance(__uuidof(NetFwMgr), in Initialize() local
50 if (SUCCEEDED(hr) && (mgr_ != NULL)) in Initialize()
51 hr = mgr_->get_LocalPolicy(&policy_); in Initialize()
52 if (SUCCEEDED(hr) && (policy_ != NULL)) in Initialize()
53 hr = policy_->get_CurrentProfile(&profile_); in Initialize()
56 *result = hr; in Initialize()
57 return SUCCEEDED(hr) && (profile_ != NULL); in Initialize()
91 HRESULT hr = profile_->get_AuthorizedApplications(&apps); in QueryAuthorizedW() local
92 if (SUCCEEDED(hr) && (apps != NULL)) { in QueryAuthorizedW()
94 hr = apps->Item(bfilename, &app); in QueryAuthorizedW()
[all …]
/external/python/cpython3/Tools/msi/bundle/bootstrap/
DPythonBootstrapperApplication.cpp271 HRESULT hr = S_OK; in OnCommand() local
284 hr = BalGetNumericVariable(L"InstallAllUsers", &installAllUsers); in OnCommand()
285 ExitOnFailure(hr, L"Failed to get install scope"); in OnCommand()
287 hr = _engine->SetVariableNumeric(L"CompileAll", installAllUsers); in OnCommand()
288 ExitOnFailure(hr, L"Failed to update CompileAll"); in OnCommand()
290 hr = EnsureTargetDir(); in OnCommand()
291 ExitOnFailure(hr, L"Failed to set TargetDir"); in OnCommand()
322 hr = EnsureTargetDir(); in OnCommand()
323 ExitOnFailure(hr, L"Failed to set TargetDir"); in OnCommand()
325 hr = BalGetStringVariable(L"TargetDir", &targetDir); in OnCommand()
[all …]
/external/python/cpython3/PC/
Dpyshellext.cpp29 HRESULT hr = S_OK; in FilenameListCchLengthA() local
35 hr = StringCchLengthA(pszSource, cchMax - length, &oneLength); in FilenameListCchLengthA()
36 if (FAILED(hr)) { in FilenameListCchLengthA()
37 return hr; in FilenameListCchLengthA()
46 return hr; in FilenameListCchLengthA()
50 HRESULT hr = S_OK; in FilenameListCchLengthW() local
56 hr = StringCchLengthW(pszSource, cchMax - length, &oneLength); in FilenameListCchLengthW()
57 if (FAILED(hr)) { in FilenameListCchLengthW()
58 return hr; in FilenameListCchLengthW()
67 return hr; in FilenameListCchLengthW()
[all …]
/external/skqp/src/ports/
DSkImageEncoder_WIC.cpp103 HRESULT hr = S_OK; in SkEncodeImageWithWIC() local
107 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
108 hr = CoCreateInstance( in SkEncodeImageWithWIC()
118 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
119 hr = SkWIStream::CreateFromSkWStream(stream, &piStream); in SkEncodeImageWithWIC()
124 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
125 hr = piImagingFactory->CreateEncoder(type, nullptr, &piEncoder); in SkEncodeImageWithWIC()
128 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
129 hr = piEncoder->Initialize(piStream.get(), WICBitmapEncoderNoCache); in SkEncodeImageWithWIC()
135 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
[all …]
DSkImageGeneratorWIC.cpp52 HRESULT hr = CoCreateInstance(CLSID_WICImagingFactory, nullptr, CLSCTX_INPROC_SERVER, in MakeFromEncodedWIC() local
54 if (FAILED(hr)) { in MakeFromEncodedWIC()
62 hr = SkIStream::CreateFromSkStream(new SkMemoryStream(data), true, &iStream); in MakeFromEncodedWIC()
63 if (FAILED(hr)) { in MakeFromEncodedWIC()
69 hr = imagingFactory->CreateDecoderFromStream(iStream.get(), nullptr, in MakeFromEncodedWIC()
71 if (FAILED(hr)) { in MakeFromEncodedWIC()
77 hr = decoder->GetFrame(0, &imageFrame); in MakeFromEncodedWIC()
78 if (FAILED(hr)) { in MakeFromEncodedWIC()
84 hr = imageFrame->QueryInterface(IID_PPV_ARGS(&imageSource)); in MakeFromEncodedWIC()
85 if (FAILED(hr)) { in MakeFromEncodedWIC()
[all …]
/external/skia/src/ports/
DSkImageEncoder_WIC.cpp103 HRESULT hr = S_OK; in SkEncodeImageWithWIC() local
107 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
108 hr = CoCreateInstance( in SkEncodeImageWithWIC()
118 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
119 hr = SkWIStream::CreateFromSkWStream(stream, &piStream); in SkEncodeImageWithWIC()
124 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
125 hr = piImagingFactory->CreateEncoder(type, nullptr, &piEncoder); in SkEncodeImageWithWIC()
128 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
129 hr = piEncoder->Initialize(piStream.get(), WICBitmapEncoderNoCache); in SkEncodeImageWithWIC()
135 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
[all …]
DSkImageGeneratorWIC.cpp52 HRESULT hr = CoCreateInstance(CLSID_WICImagingFactory, nullptr, CLSCTX_INPROC_SERVER, in MakeFromEncodedWIC() local
54 if (FAILED(hr)) { in MakeFromEncodedWIC()
62 hr = SkIStream::CreateFromSkStream(new SkMemoryStream(data), true, &iStream); in MakeFromEncodedWIC()
63 if (FAILED(hr)) { in MakeFromEncodedWIC()
69 hr = imagingFactory->CreateDecoderFromStream(iStream.get(), nullptr, in MakeFromEncodedWIC()
71 if (FAILED(hr)) { in MakeFromEncodedWIC()
77 hr = decoder->GetFrame(0, &imageFrame); in MakeFromEncodedWIC()
78 if (FAILED(hr)) { in MakeFromEncodedWIC()
84 hr = imageFrame->QueryInterface(IID_PPV_ARGS(&imageSource)); in MakeFromEncodedWIC()
85 if (FAILED(hr)) { in MakeFromEncodedWIC()
[all …]
/external/wpa_supplicant_8/src/drivers/
Dndis_events.c48 HRESULT hr; in call_IWbemServices_ExecQuery() local
53 hr = IWbemServices_ExecQuery(pSvc, bsQueryLanguage, bsQuery, lFlags, in call_IWbemServices_ExecQuery()
59 return hr; in call_IWbemServices_ExecQuery()
68 HRESULT hr; in call_IWbemServices_ExecNotificationQueryAsync() local
73 hr = IWbemServices_ExecNotificationQueryAsync(pSvc, bsQueryLanguage, in call_IWbemServices_ExecNotificationQueryAsync()
80 return hr; in call_IWbemServices_ExecNotificationQueryAsync()
90 HRESULT hr; in call_IWbemLocator_ConnectServer() local
98 hr = IWbemLocator_ConnectServer(pLoc, bsNetworkResource, bsUser, in call_IWbemLocator_ConnectServer()
108 return hr; in call_IWbemLocator_ConnectServer()
244 HRESULT hr; in ndis_events_media_specific() local
[all …]
/external/webrtc/talk/media/devices/
Dwin32devicemanager.cc115 HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); in Init() local
116 need_couninitialize_ = SUCCEEDED(hr); in Init()
117 if (FAILED(hr)) { in Init()
118 LOG(LS_ERROR) << "CoInitialize failed, hr=" << hr; in Init()
119 if (hr != RPC_E_CHANGED_MODE) { in Init()
184 HRESULT hr; in GetDevices() local
191 if (FAILED(hr = sys_dev_enum.CoCreateInstance(CLSID_SystemDeviceEnum)) || in GetDevices()
192 FAILED(hr = sys_dev_enum->CreateClassEnumerator(catid, &cam_enum, 0))) { in GetDevices()
193 LOG(LS_ERROR) << "Failed to create device enumerator, hr=" << hr; in GetDevices()
199 if (hr == S_OK) { in GetDevices()
[all …]
/external/mdnsresponder/mDNSWindows/DLLX/
DDLLX.cpp113 HRESULT hr = PrxDllCanUnloadNow(); in DllCanUnloadNow() local
115 if (hr != S_OK) in DllCanUnloadNow()
117 return hr; in DllCanUnloadNow()
159 HRESULT hr = _AtlModule.DllRegisterServer(); in DllRegisterServer() local
163 if (FAILED(hr)) in DllRegisterServer()
165 return hr; in DllRegisterServer()
167 hr = PrxDllRegisterServer(); in DllRegisterServer()
171 return hr; in DllRegisterServer()
185 HRESULT hr = _AtlModule.DllUnregisterServer(); in DllUnregisterServer() local
189 if (FAILED(hr)) in DllUnregisterServer()
[all …]
DTXTRecord.cpp50 HRESULT hr = S_OK; in SetValue() local
68 require_action( ok, exit, hr = S_FALSE ); in SetValue()
74 require_action( ok, exit, hr = S_FALSE ); in SetValue()
80 require_action( !err, exit, hr = S_FALSE ); in SetValue()
88 return hr; in SetValue()
98 HRESULT hr = S_OK; in RemoveValue() local
116 require_action( ok, exit, hr = S_FALSE ); in RemoveValue()
122 require_action( !err, exit, hr = S_FALSE ); in RemoveValue()
132 return hr; in RemoveValue()
196 HRESULT hr = S_OK; in GetValueForKey() local
[all …]
D_IDNSSDEvents_CP.h15 HRESULT hr = S_OK; in Fire_DomainFound() local
37hr = pConnection->Invoke(1, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &params, NULL, NULL, N… in Fire_DomainFound()
40 return hr; in Fire_DomainFound()
44 HRESULT hr = S_OK; in Fire_DomainLost() local
66hr = pConnection->Invoke(2, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &params, NULL, NULL, N… in Fire_DomainLost()
69 return hr; in Fire_DomainLost()
73 HRESULT hr = S_OK; in Fire_ServiceFound() local
99hr = pConnection->Invoke(3, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, &params, NULL, NULL, N… in Fire_ServiceFound()
102 return hr; in Fire_ServiceFound()
106 HRESULT hr = S_OK; in Fire_ServiceLost() local
[all …]
/external/expat/xmlwf/
Dxmlwin32url.cxx135 Callback::OnStopBinding(HRESULT hr, LPCWSTR szError) in OnStopBinding() argument
145 stopHandler_(stopArg_, hr); in OnStopBinding()
180 HRESULT hr = pBinding_->QueryInterface(IID_IWinInetHttpInfo, in OnDataAvailable() local
182 if (SUCCEEDED(hr)) { in OnDataAvailable()
187 hr = hp->QueryInfo(HTTP_QUERY_CONTENT_TYPE, contentType, in OnDataAvailable()
189 if (SUCCEEDED(hr)) { in OnDataAvailable()
222 HRESULT hr = pstgmed->pstm->Read(buf, nToRead, &nRead); in OnDataAvailable() local
223 if (SUCCEEDED(hr)) { in OnDataAvailable()
297 HRESULT hr; in openStream() local
300 hr = CreateURLMoniker(0, uri, &m); in openStream()
[all …]
/external/ImageMagick/coders/
Dxtrn.c113 hr; in ReadXTRNImage() local
144 hr=S_OK; in ReadXTRNImage()
148 hr=SafeArrayGetLBound(pSafeArray,1,&lBoundl); in ReadXTRNImage()
149 if (SUCCEEDED(hr)) in ReadXTRNImage()
151 hr=SafeArrayGetUBound(pSafeArray,1,&lBoundu); in ReadXTRNImage()
152 if (SUCCEEDED(hr)) in ReadXTRNImage()
155 hr=SafeArrayAccessData(pSafeArray,(void**) &blob_data); in ReadXTRNImage()
156 if (SUCCEEDED(hr)) in ReadXTRNImage()
165 hr=SafeArrayUnaccessData(pSafeArray); in ReadXTRNImage()
280 HRESULT hr = S_OK; in SafeArrayFifo() local
[all …]
/external/markdown/tests/markdown-test/
Dinline-html-simple.txt48 <hr />
52 <hr>
54 <hr/>
56 <hr />
58 <hr>
60 <hr/>
62 <hr />
64 <hr class="foo" id="bar" />
66 <hr class="foo" id="bar"/>
68 <hr class="foo" id="bar" >
/external/markdown/tests/safe_mode/
Dinline-html-simple.txt48 <hr />
52 <hr>
54 <hr/>
56 <hr />
58 <hr>
60 <hr/>
62 <hr />
64 <hr class="foo" id="bar" />
66 <hr class="foo" id="bar"/>
68 <hr class="foo" id="bar" >
/external/markdown/MarkdownTest/Tests_2007/
DInline HTML (Simple).text48 <hr />
52 <hr>
54 <hr/>
56 <hr />
58 <hr>
60 <hr/>
62 <hr />
64 <hr class="foo" id="bar" />
66 <hr class="foo" id="bar"/>
68 <hr class="foo" id="bar" >
/external/markdown/MarkdownTest/Tests_2004/
DInline HTML (Simple).text48 <hr />
52 <hr>
54 <hr/>
56 <hr />
58 <hr>
60 <hr/>
62 <hr />
64 <hr class="foo" id="bar" />
66 <hr class="foo" id="bar"/>
68 <hr class="foo" id="bar" >
/external/pdfium/core/fxge/win32/
Dfx_win32_dwrite.cpp158 HRESULT hr = S_OK; in DwCreateFontFaceFromStream() local
159 hr = pDwFactory->CreateCustomFontFileReference( in DwCreateFontFaceFromStream()
162 if (FAILED(hr)) { in DwCreateFontFaceFromStream()
165 hr = pDwFontFile->Analyze(&isSupportedFontType, &fontFileType, &fontFaceType, in DwCreateFontFaceFromStream()
167 if (FAILED(hr) || !isSupportedFontType || in DwCreateFontFaceFromStream()
171 hr = pDwFactory->CreateFontFace(fontFaceType, 1, &pDwFontFile, 0, fontStyle, in DwCreateFontFaceFromStream()
173 if (FAILED(hr)) { in DwCreateFontFaceFromStream()
192 HRESULT hr = S_OK; in DwCreateRenderingTarget() local
193 hr = pDwFactory->GetGdiInterop(&pGdiInterop); in DwCreateRenderingTarget()
194 if (FAILED(hr)) { in DwCreateRenderingTarget()
[all …]
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc158 grpc_ares_hostbyname_request* hr = static_cast<grpc_ares_hostbyname_request*>( in create_hostbyname_request_locked() local
160 hr->parent_request = parent_request; in create_hostbyname_request_locked()
161 hr->host = gpr_strdup(host); in create_hostbyname_request_locked()
162 hr->port = port; in create_hostbyname_request_locked()
163 hr->is_balancer = is_balancer; in create_hostbyname_request_locked()
165 return hr; in create_hostbyname_request_locked()
169 grpc_ares_hostbyname_request* hr) { in destroy_hostbyname_request_locked() argument
170 grpc_ares_request_unref_locked(hr->parent_request); in destroy_hostbyname_request_locked()
171 gpr_free(hr->host); in destroy_hostbyname_request_locked()
172 gpr_free(hr); in destroy_hostbyname_request_locked()
[all …]
/external/mesa3d/src/gallium/state_trackers/nine/
Dadapter9.c43 HRESULT hr = NineUnknown_ctor(&This->base, pParams); in NineAdapter9_ctor() local
44 if (FAILED(hr)) { return hr; } in NineAdapter9_ctor()
194 HRESULT hr; in NineAdapter9_CheckDeviceType() local
204 hr = NineAdapter9_GetScreen(This, DevType, &screen); in NineAdapter9_CheckDeviceType()
205 if (FAILED(hr)) { return hr; } in NineAdapter9_CheckDeviceType()
257 HRESULT hr; in NineAdapter9_CheckDeviceFormat() local
272 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDeviceFormat()
273 if (FAILED(hr)) in NineAdapter9_CheckDeviceFormat()
274 return hr; in NineAdapter9_CheckDeviceFormat()
383 HRESULT hr; in NineAdapter9_CheckDeviceMultiSampleType() local
[all …]

12345678910>>...32