/external/webrtc/modules/video_capture/windows/ |
D | video_capture_ds.cc | 77 HRESULT hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER, in Init() local 79 if (FAILED(hr)) { in Init() 84 hr = _graphBuilder->QueryInterface(IID_IMediaControl, (void**)&_mediaControl); in Init() 85 if (FAILED(hr)) { in Init() 89 hr = _graphBuilder->AddFilter(_captureFilter, CAPTURE_FILTER_NAME); in Init() 90 if (FAILED(hr)) { in Init() 104 hr = _graphBuilder->AddFilter(sink_filter_, SINK_FILTER_NAME); in Init() 105 if (FAILED(hr)) { in Init() 121 hr = _mediaControl->Pause(); in Init() 122 if (FAILED(hr)) { in Init() [all …]
|
D | device_info_ds.cc | 62 HRESULT hr = CoInitializeEx( in DeviceInfoDS() local 65 if (FAILED(hr)) { in DeviceInfoDS() 69 if (hr == RPC_E_CHANGED_MODE) { in DeviceInfoDS() 78 << rtc::ToHex(hr); in DeviceInfoDS() 92 HRESULT hr = CoCreateInstance(CLSID_SystemDeviceEnum, NULL, CLSCTX_INPROC, in Init() local 94 if (hr != NOERROR) { in Init() 96 << rtc::ToHex(hr); in Init() 131 HRESULT hr = _dsDevEnum->CreateClassEnumerator(CLSID_VideoInputDeviceCategory, in GetDeviceInfo() local 133 if (hr != NOERROR) { in GetDeviceInfo() 135 << rtc::ToHex(hr) << ". No webcam exist?"; in GetDeviceInfo() [all …]
|
/external/webrtc/modules/audio_device/win/ |
D | audio_device_core_win.cc | 181 HRESULT hr(S_OK); in CoreAudioIsSupported() local 259 hr = CoCreateInstance( in CoreAudioIsSupported() 266 if (FAILED(hr)) { in CoreAudioIsSupported() 269 << hr << ")"; in CoreAudioIsSupported() 272 << hr << ")"; in CoreAudioIsSupported() 280 DWORD messageLength = ::FormatMessageW(dwFlags, 0, hr, dwLangID, errorText, in CoreAudioIsSupported() 299 << hr << ")"; in CoreAudioIsSupported() 460 HRESULT hr; in AudioDeviceWindowsCore() local 476 hr = CoCreateInstance(CLSID_CWMAudioAEC, NULL, CLSCTX_INPROC_SERVER, in AudioDeviceWindowsCore() 478 if (FAILED(hr) || ptrDMO == NULL) { in AudioDeviceWindowsCore() [all …]
|
/external/python/cpython3/Tools/msi/bundle/bootstrap/ |
D | PythonBootstrapperApplication.cpp | 271 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/angle/src/libANGLE/renderer/d3d/d3d11/converged/ |
D | CompositorNativeWindow11.cpp | 41 HRESULT hr = visual->get_Size(&size); in getClientRect() local 42 if (FAILED(hr)) in getClientRect() 48 hr = visual->get_Offset(&offset); in getClientRect() 49 if (FAILED(hr)) in getClientRect() 81 HRESULT hr{E_FAIL}; in createSwapChain() local 84 hr = mHostVisual.As(&hostVisual); in createSwapChain() 85 if (FAILED(hr)) in createSwapChain() 87 return hr; in createSwapChain() 91 hr = hostVisual->get_Compositor(&compositor); in createSwapChain() 92 if (FAILED(hr)) in createSwapChain() [all …]
|
/external/python/cpython3/PC/ |
D | pyshellext.cpp | 29 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/skia/src/ports/ |
D | SkImageEncoder_WIC.cpp | 103 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 …]
|
D | SkImageGeneratorWIC.cpp | 52 HRESULT hr = CoCreateInstance(CLSID_WICImagingFactory, nullptr, CLSCTX_INPROC_SERVER, in MakeFromEncodedWIC() local 54 if (FAILED(hr)) { in MakeFromEncodedWIC() 62 hr = SkIStream::CreateFromSkStream(std::make_unique<SkMemoryStream>(data), &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/skqp/src/ports/ |
D | SkImageEncoder_WIC.cpp | 103 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 …]
|
D | SkImageGeneratorWIC.cpp | 52 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/mdnsresponder/mDNSWindows/DLLX/ |
D | DLLX.cpp | 113 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 …]
|
D | TXTRecord.cpp | 50 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.h | 15 HRESULT hr = S_OK; in Fire_DomainFound() local 37 …hr = pConnection->Invoke(1, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, ¶ms, NULL, NULL, N… in Fire_DomainFound() 40 return hr; in Fire_DomainFound() 44 HRESULT hr = S_OK; in Fire_DomainLost() local 66 …hr = pConnection->Invoke(2, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, ¶ms, NULL, NULL, N… in Fire_DomainLost() 69 return hr; in Fire_DomainLost() 73 HRESULT hr = S_OK; in Fire_ServiceFound() local 99 …hr = pConnection->Invoke(3, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, ¶ms, NULL, NULL, N… in Fire_ServiceFound() 102 return hr; in Fire_ServiceFound() 106 HRESULT hr = S_OK; in Fire_ServiceLost() local [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | ndis_events.c | 48 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/ImageMagick/coders/ |
D | xtrn.c | 113 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/MarkdownTest/Tests_2004/ |
D | Inline HTML (Simple).text | 48 <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/ |
D | inline-html-simple.txt | 48 <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/markdown-test/ |
D | inline-html-simple.txt | 48 <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/ |
D | Inline HTML (Simple).text | 48 <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/OpenCL-CTS/test_conformance/d3d11/ |
D | buffer.cpp | 58 HRESULT hr = S_OK; in SubTestBuffer() local 76 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestBuffer() 77 TestRequire(SUCCEEDED(hr), "Creating vertex buffer failed!"); in SubTestBuffer() 93 hr = pDevice->CreateBuffer(&desc, NULL, &pStagingBuffer); in SubTestBuffer() 94 TestRequire(SUCCEEDED(hr), "Creating staging vertex buffer failed!"); in SubTestBuffer() 97 hr = pDC->Map( in SubTestBuffer() 103 TestRequire(SUCCEEDED(hr), "Map failed!"); in SubTestBuffer() 106 TestRequire(SUCCEEDED(hr), "Unmap failed!"); in SubTestBuffer() 229 hr = pDevice->CreateBuffer(&desc, NULL, &pStagingBuffer); in SubTestBuffer() 230 TestRequire(SUCCEEDED(hr), "Creating staging vertex buffer failed!"); in SubTestBuffer() [all …]
|
/external/OpenCL-CTS/test_conformance/d3d10/ |
D | buffer.cpp | 57 HRESULT hr = S_OK; in SubTestBuffer() local 75 hr = pDevice->CreateBuffer(&desc, NULL, &pBuffer); in SubTestBuffer() 76 TestRequire(SUCCEEDED(hr), "Creating vertex buffer failed!"); in SubTestBuffer() 91 hr = pDevice->CreateBuffer(&desc, NULL, &pStagingBuffer); in SubTestBuffer() 92 TestRequire(SUCCEEDED(hr), "Creating staging vertex buffer failed!"); in SubTestBuffer() 95 hr = pStagingBuffer->Map( in SubTestBuffer() 99 TestRequire(SUCCEEDED(hr), "Map failed!"); in SubTestBuffer() 102 TestRequire(SUCCEEDED(hr), "Unmap failed!"); in SubTestBuffer() 224 hr = pDevice->CreateBuffer(&desc, NULL, &pStagingBuffer); in SubTestBuffer() 225 TestRequire(SUCCEEDED(hr), "Creating staging vertex buffer failed!"); in SubTestBuffer() [all …]
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_wrapper.cc | 158 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/llvm-project/clang/test/Frontend/ |
D | fixed_point_errors.c | 111 short _Fract short_fract_above_1 = 1.1hr; // expected-error{{this value is too large … 118 short _Fract short_fract_hex_exp = 0x0.fp1hr; // expected-error{{this value is too … 178 short_fract_int = 10hr; // expected-error{{invalid suffix 'hr' on integer constant}} in CheckSuffixOnIntegerLiterals() 182 u_short_fract_int = 10uhr; // expected-error{{invalid suffix 'uhr' on integer constant}} in CheckSuffixOnIntegerLiterals() 204 short_fract_int = 010hr; // expected-error{{invalid suffix 'hr' on integer constant}} in CheckSuffixOnIntegerLiterals() 208 u_short_fract_int = 010uhr; // expected-error{{invalid suffix 'uhr' on integer constant}} in CheckSuffixOnIntegerLiterals() 221 short_fract_int = 0x10hr; // expected-error{{invalid suffix 'hr' on integer constant}} in CheckSuffixOnIntegerLiterals() 225 u_short_fract_int = 0x10uhr; // expected-error{{invalid suffix 'uhr' on integer constant}} in CheckSuffixOnIntegerLiterals() 255 short _Accum add_ovf2 = 10 + 0.5hr; // expected-warning {{overflow in exp… 259 short _Accum mul_ovf2 = (-0.5hr - 0.5hr) * (-0.5hr - 0.5hr); // expected-warning {{overflow in exp… [all …]
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | adapter9.c | 51 HRESULT hr = NineUnknown_ctor(&This->base, pParams); in NineAdapter9_ctor() local 52 if (FAILED(hr)) { return hr; } in NineAdapter9_ctor() 204 HRESULT hr; in NineAdapter9_CheckDeviceType() local 214 hr = NineAdapter9_GetScreen(This, DevType, &screen); in NineAdapter9_CheckDeviceType() 215 if (FAILED(hr)) { return hr; } in NineAdapter9_CheckDeviceType() 287 HRESULT hr; in NineAdapter9_CheckDeviceFormat() local 304 hr = NineAdapter9_GetScreen(This, DeviceType, &screen); in NineAdapter9_CheckDeviceFormat() 305 if (FAILED(hr)) in NineAdapter9_CheckDeviceFormat() 306 return hr; in NineAdapter9_CheckDeviceFormat() 415 HRESULT hr; in NineAdapter9_CheckDeviceMultiSampleType() local [all …]
|
/external/lzma/CPP/Windows/ |
D | PropVariant.cpp | 278 HRESULT hr = Clear(); in Attach() local 279 if (FAILED(hr)) in Attach() 280 return hr; in Attach() 290 HRESULT hr = PropVariant_Clear(pDest); in Detach() local 291 if (FAILED(hr)) in Detach() 292 return hr; in Detach() 303 HRESULT hr = Clear(); in InternalClear() local 304 if (FAILED(hr)) in InternalClear() 307 scode = hr; in InternalClear() 309 return hr; in InternalClear() [all …]
|