Home
last modified time | relevance | path

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

12345678910>>...21

/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 …]
Dhelp_functions_ds.cc37 HRESULT hr; in GetInputPin() local
47 hr = pPinEnum->Reset(); // set to first pin in GetInputPin()
70 HRESULT hr; in GetOutputPin() local
79 hr = pPinEnum->Reset(); // set to first pin in GetOutputPin()
103 HRESULT hr = pPin->QueryInterface(IID_PPV_ARGS(&pKs)); in PinMatchesCategory() local
104 if (SUCCEEDED(hr)) in PinMatchesCategory()
108 hr = pKs->Get(AMPROPSETID_Pin, AMPROPERTY_PIN_CATEGORY, NULL, 0, &PinCategory, in PinMatchesCategory()
110 if (SUCCEEDED(hr) && (cbReturned == sizeof(GUID))) in PinMatchesCategory()
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d11/
Ddxgid3d11.cpp46 HRESULT hr; in D3D11CreateDevice() local
51 hr = CreateDXGIFactory1(IID_IDXGIFactory1, (void**)&factory); in D3D11CreateDevice()
52 if(!SUCCEEDED(hr)) in D3D11CreateDevice()
53 return hr; in D3D11CreateDevice()
54 hr = factory->EnumAdapters1(0, &adapter_to_release); in D3D11CreateDevice()
55 if(!SUCCEEDED(hr)) in D3D11CreateDevice()
56 return hr; in D3D11CreateDevice()
60 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter); in D3D11CreateDevice()
61 if(!SUCCEEDED(hr)) in D3D11CreateDevice()
62 return hr; in D3D11CreateDevice()
[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/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d10/
Ddxgid3d10.cpp43 HRESULT hr; in D3D10CreateDevice1() local
48 hr = CreateDXGIFactory1(IID_IDXGIFactory1, (void**)&factory); in D3D10CreateDevice1()
49 if(!SUCCEEDED(hr)) in D3D10CreateDevice1()
50 return hr; in D3D10CreateDevice1()
51 hr = factory->EnumAdapters1(0, &adapter_to_release); in D3D10CreateDevice1()
52 if(!SUCCEEDED(hr)) in D3D10CreateDevice1()
53 return hr; in D3D10CreateDevice1()
57 hr = adapter->QueryInterface(IID_IGalliumAdapter, (void**)&gallium_adapter); in D3D10CreateDevice1()
58 if(!SUCCEEDED(hr)) in D3D10CreateDevice1()
59 return hr; in D3D10CreateDevice1()
[all …]
/external/skia/src/ports/
DSkImageEncoder_WIC.cpp120 HRESULT hr = S_OK; in SkEncodeImageWithWIC() local
124 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
125 hr = CoCreateInstance( in SkEncodeImageWithWIC()
135 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
136 hr = SkWIStream::CreateFromSkWStream(stream, &piStream); in SkEncodeImageWithWIC()
141 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
142 hr = piImagingFactory->CreateEncoder(type, nullptr, &piEncoder); in SkEncodeImageWithWIC()
145 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
146 hr = piEncoder->Initialize(piStream.get(), WICBitmapEncoderNoCache); in SkEncodeImageWithWIC()
152 if (SUCCEEDED(hr)) { in SkEncodeImageWithWIC()
[all …]
DSkImageGeneratorWIC.cpp24 HRESULT hr = CoCreateInstance(CLSID_WICImagingFactory, nullptr, CLSCTX_INPROC_SERVER, in NewFromEncodedWIC() local
26 if (FAILED(hr)) { in NewFromEncodedWIC()
34 hr = SkIStream::CreateFromSkStream(new SkMemoryStream(sk_ref_sp(data)), true, &iStream); in NewFromEncodedWIC()
35 if (FAILED(hr)) { in NewFromEncodedWIC()
41 hr = imagingFactory->CreateDecoderFromStream(iStream.get(), nullptr, in NewFromEncodedWIC()
43 if (FAILED(hr)) { in NewFromEncodedWIC()
49 hr = decoder->GetFrame(0, &imageFrame); in NewFromEncodedWIC()
50 if (FAILED(hr)) { in NewFromEncodedWIC()
56 hr = imageFrame->QueryInterface(IID_PPV_ARGS(&imageSource)); in NewFromEncodedWIC()
57 if (FAILED(hr)) { in NewFromEncodedWIC()
[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/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/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/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/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/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/ImageMagick/coders/
Dxtrn.c186 hr; in ReadXTRNImage() local
200 hr=S_OK; in ReadXTRNImage()
204 hr = SafeArrayGetLBound(pSafeArray, 1, &lBoundl); in ReadXTRNImage()
205 if (SUCCEEDED(hr)) in ReadXTRNImage()
207 hr = SafeArrayGetUBound(pSafeArray, 1, &lBoundu); in ReadXTRNImage()
208 if (SUCCEEDED(hr)) in ReadXTRNImage()
211 hr = SafeArrayAccessData(pSafeArray,(void**) &blob_data); in ReadXTRNImage()
212 if(SUCCEEDED(hr)) in ReadXTRNImage()
221 hr=SafeArrayUnaccessData(pSafeArray); in ReadXTRNImage()
367 HRESULT hr = S_OK; in SafeArrayFifo() local
[all …]
/external/lzma/CPP/Windows/
DPropVariant.cpp231 HRESULT hr = Clear(); in Attach() local
232 if (FAILED(hr)) in Attach()
233 return hr; in Attach()
243 HRESULT hr = PropVariant_Clear(pDest); in Detach() local
244 if (FAILED(hr)) in Detach()
245 return hr; in Detach()
256 HRESULT hr = Clear(); in InternalClear() local
257 if (FAILED(hr)) in InternalClear()
260 scode = hr; in InternalClear()
262 return hr; in InternalClear()
[all …]
/external/skia/src/utils/win/
DSkDWrite.cpp31 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in create_dwrite_factory() local
32 if (!IS_ERROR(hr)) { in create_dwrite_factory()
33 hr = ERROR_PROC_NOT_FOUND; in create_dwrite_factory()
35 HRVM(hr, "Could not get DWriteCreateFactory proc."); in create_dwrite_factory()
119 HRESULT hr = HRESULT_FROM_WIN32(GetLastError()); in SkGetGetUserDefaultLocaleNameProc() local
120 if (!IS_ERROR(hr)) { in SkGetGetUserDefaultLocaleNameProc()
121 hr = ERROR_PROC_NOT_FOUND; in SkGetGetUserDefaultLocaleNameProc()
123 return hr; in SkGetGetUserDefaultLocaleNameProc()
DSkIStream.cpp149 HRESULT hr = S_OK; in Seek() local
154 hr = E_FAIL; in Seek()
161 hr = E_FAIL; in Seek()
172 hr = E_FAIL; in Seek()
178 hr = E_FAIL; in Seek()
187 hr = E_FAIL; in Seek()
193 hr = STG_E_INVALIDFUNCTION; in Seek()
200 return hr; in Seek()
246 HRESULT hr = S_OK; in Write() local
252 hr = S_FALSE; in Write()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
Ddxgi_native.cpp907 HRESULT hr; in GalliumDXGISwapChain() local
909 hr = p_device->QueryInterface(IID_IGalliumDevice, (void**)&gallium_device); in GalliumDXGISwapChain()
910 if(!SUCCEEDED(hr)) in GalliumDXGISwapChain()
911 throw hr; in GalliumDXGISwapChain()
913 hr = p_device->QueryInterface(IID_IDXGIDevice, (void**)&dxgi_device); in GalliumDXGISwapChain()
914 if(!SUCCEEDED(hr)) in GalliumDXGISwapChain()
915 throw hr; in GalliumDXGISwapChain()
917 hr = dxgi_device->GetAdapter((IDXGIAdapter**)&adapter); in GalliumDXGISwapChain()
918 if(!SUCCEEDED(hr)) in GalliumDXGISwapChain()
919 throw hr; in GalliumDXGISwapChain()
[all …]

12345678910>>...21