/external/opencv3/modules/videoio/src/ |
D | cap_msmf.hpp | 35 …HRESULT hr = Windows::Foundation::GetActivationFactory(Microsoft::WRL::Wrappers::HStringReference(… in create() local 36 if (FAILED(hr)) return nullptr; in create() 38 if (SUCCEEDED(hr)) in create() 39 hr = objFactory.As(&spPropVal); in create() 40 if (SUCCEEDED(hr)) { in create() 41 hr = winrt_type<_Type>::create(spPropVal.Get(), _ObjInCtx, _PObj.GetAddressOf()); in create() 42 if (SUCCEEDED(hr)) in create() 75 …HRESULT hr = Windows::Foundation::GetActivationFactory(Microsoft::WRL::Wrappers::HStringReference(… in create() local 76 if (FAILED(hr)) return nullptr; in create() 78 if (SUCCEEDED(hr)) in create() [all …]
|
D | cap_msmf.cpp | 818 HRESULT hr = pAttr->GetItemByIndex(index, &guid, &var); in LogAttributeValueByIndexNew() local 819 if (FAILED(hr)) in LogAttributeValueByIndexNew() 823 hr = GetGUIDNameNew(guid, &pGuidName); in LogAttributeValueByIndexNew() 824 if (FAILED(hr)) in LogAttributeValueByIndexNew() 828 hr = SpecialCaseAttributeValueNew(guid, var, out); in LogAttributeValueByIndexNew() 830 if (FAILED(hr)) in LogAttributeValueByIndexNew() 834 if (hr == S_FALSE) in LogAttributeValueByIndexNew() 852 hr = GetGUIDNameNew(*var.puuid, &pGuidValName); in LogAttributeValueByIndexNew() 853 if (SUCCEEDED(hr)) in LogAttributeValueByIndexNew() 862 hr = GetGUIDNameNew(*var.puuid, &pGuidValName); in LogAttributeValueByIndexNew() [all …]
|
D | cap_dshow.cpp | 706 HRESULT hr = pSample->GetPointer(&ptrBuffer); 708 if(hr == S_OK){ 834 HRESULT hr = pBF->EnumPins(&pins); 836 while (hr == NOERROR) 838 hr = pins->Next(1, &pP, &u); 839 if (hr == S_OK && pP) 844 hr = pTo->QueryPinInfo(&pininfo); 845 if (hr == NOERROR) 871 HRESULT hr = 0; 876 while (hr == NOERROR) [all …]
|
/external/opencv3/samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/ |
D | OcvTransform.cpp | 109 HRESULT hr = S_OK; in SetProperties() local 112 return hr; in SetProperties() 128 hr = spInsp.As(&spPropVal); in SetProperties() 129 if (hr != S_OK) in SetProperties() 131 return hr; in SetProperties() 135 hr = spPropVal->GetInt32(&effect); in SetProperties() 136 if (hr != S_OK) in SetProperties() 138 return hr; in SetProperties() 147 return hr; in SetProperties() 423 HRESULT hr = S_OK; in GetInputAvailableType() local [all …]
|
/external/webrtc/webrtc/modules/video_capture/windows/ |
D | video_capture_ds.cc | 86 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 …]
|
D | device_info_ds.cc | 80 …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 …]
|
D | help_functions_ds.cc | 37 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/skia/src/ports/ |
D | SkImageDecoder_WIC.cpp | 118 HRESULT hr = S_OK; in decodeStream() local 122 if (SUCCEEDED(hr)) { in decodeStream() 123 hr = CoCreateInstance( in decodeStream() 133 if (SUCCEEDED(hr)) { in decodeStream() 134 hr = SkIStream::CreateFromSkStream(stream, false, &piStream); in decodeStream() 138 if (SUCCEEDED(hr)) { in decodeStream() 140 hr = piStream->Seek(liBeginning, STREAM_SEEK_SET, nullptr); in decodeStream() 145 if (SUCCEEDED(hr)) { in decodeStream() 146 hr = piImagingFactory->CreateDecoderFromStream( in decodeStream() 157 if (SUCCEEDED(hr)) { in decodeStream() [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d11/ |
D | dxgid3d11.cpp | 46 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/ |
D | audio_device_core_win.cc | 188 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/mesa3d/src/gallium/state_trackers/d3d1x/dxgid3d10/ |
D | dxgid3d10.cpp | 43 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/webrtc/webrtc/base/ |
D | win32regkey.cc | 147 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 …]
|
D | winfirewall.cc | 46 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/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/webrtc/talk/media/devices/ |
D | win32devicemanager.cc | 115 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/chromium-trace/catapult/third_party/Paste/paste/util/ |
D | datetimeutil.py | 88 hr = 0.0 92 hr = int(val.pop()) 95 if len(val) > 0 and not hr: 96 hr = int(val.pop()) 97 return timedelta(hours=hr, minutes=mi) 111 hr = val.seconds/3600 113 return "%d.%02d" % (hr, mn * 100/60) 121 hr = mi = 0 129 hr = int(val[0]) 137 hr = tm[3] [all …]
|
/external/opencv3/samples/winrt/ImageManipulations/MediaExtensions/Common/ |
D | OpQueue.h | 141 HRESULT hr = S_OK; in QueueOperation() local 145 hr = m_OpQueue.InsertBack(pOp); in QueueOperation() 146 if (SUCCEEDED(hr)) in QueueOperation() 148 hr = ProcessQueue(); in QueueOperation() 152 return hr; in QueueOperation() 166 HRESULT hr = S_OK; in ProcessQueue() local 169 hr = MFPutWorkItem2( in ProcessQueue() 176 return hr; in ProcessQueue() 190 HRESULT hr = S_OK; in ProcessQueueAsync() local 197 hr = m_OpQueue.GetFront(&pOp); in ProcessQueueAsync() [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/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/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/pdfium/core/src/fxge/win32/ |
D | fx_win32_dwrite.cpp | 141 HRESULT hr = S_OK; in DwCreateFontFaceFromStream() local 142 hr = pDwFactory->CreateCustomFontFileReference( in DwCreateFontFaceFromStream() 145 if (FAILED(hr)) { in DwCreateFontFaceFromStream() 148 hr = pDwFontFile->Analyze(&isSupportedFontType, &fontFileType, &fontFaceType, in DwCreateFontFaceFromStream() 150 if (FAILED(hr) || !isSupportedFontType || in DwCreateFontFaceFromStream() 154 hr = pDwFactory->CreateFontFace(fontFaceType, 1, &pDwFontFile, 0, fontStyle, in DwCreateFontFaceFromStream() 156 if (FAILED(hr)) { in DwCreateFontFaceFromStream() 174 HRESULT hr = S_OK; in DwCreateRenderingTarget() local 175 hr = pDwFactory->GetGdiInterop(&pGdiInterop); in DwCreateRenderingTarget() 176 if (FAILED(hr)) { in DwCreateRenderingTarget() [all …]
|
/external/opencv3/modules/videoio/src/cap_winrt/ |
D | MFIncludes.hpp | 62 #define CHK_RETURN(statement) {hr = (statement); if (FAILED(hr)) { return hr; };} 123 HRESULT OriginateError(__in HRESULT hr, __in wchar_t const (&str)[N]) in OriginateError() argument 125 if (FAILED(hr)) in OriginateError() 127 ::RoOriginateErrorW(hr, N - 1, str); in OriginateError() 129 return hr; in OriginateError() 133 inline HRESULT OriginateError(__in HRESULT hr) in OriginateError() argument 135 if (FAILED(hr)) in OriginateError() 137 ::RoOriginateErrorW(hr, 0, nullptr); in OriginateError() 139 return hr; in OriginateError()
|
/external/lzma/CPP/Windows/ |
D | PropVariant.cpp | 231 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/opencv3/samples/wp8/OcvImageManipulation/PhoneXamlDirect3DApp1/PhoneXamlDirect3DApp1Comp/ |
D | Direct3DContentProvider.cpp | 48 HRESULT hr = S_OK; in GetTexture() local 52 hr = m_host->CreateSynchronizedTexture(m_controller->GetTexture(), &m_synchronizedTexture); in GetTexture() 64 if (SUCCEEDED(hr)) in GetTexture() 66 hr = m_synchronizedTexture->BeginDraw(); in GetTexture() 68 if (SUCCEEDED(hr)) in GetTexture() 70 hr = m_controller->GetTexture(size, synchronizedTexture, textureSubRectangle); in GetTexture() 76 return hr; in GetTexture()
|