Home
last modified time | relevance | path

Searched full:hr (Results 1 – 25 of 2844) sorted by relevance

12345678910>>...114

/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()
90 // Details: hr = 0x80010106 <=> "Cannot change thread mode after it is set". 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()
[all …]
/external/markdown/MarkdownTest/Tests_2007/
DHorizontal rules.html3 <hr />
5 <hr />
7 <hr />
9 <hr />
14 <hr />
16 <hr />
18 <hr />
20 <hr />
27 <hr />
29 <hr />
[all …]
DInline HTML (Simple).text48 <hr />
50 Hr's:
52 <hr>
54 <hr/>
56 <hr />
58 <hr>
60 <hr/>
62 <hr />
64 <hr class="foo" id="bar" />
66 <hr class="foo" id="bar"/>
[all …]
/external/markdown/MarkdownTest/Tests_2004/
DHorizontal rules.html3 <hr />
5 <hr />
7 <hr />
9 <hr />
14 <hr />
16 <hr />
18 <hr />
20 <hr />
27 <hr />
29 <hr />
[all …]
DHorizontal rules.text-out10 <hr>
11 <hr>
12 <hr>
13 <hr>
18 <hr>
19 <hr>
20 <hr>
21 <hr>
27 <hr>
28 <hr>
[all …]
DHorizontal rules.text-res10 <hr>
11 <hr>
12 <hr>
13 <hr>
18 <hr>
19 <hr>
20 <hr>
21 <hr>
27 <hr>
28 <hr>
[all …]
/external/markdown/tests/markdown-test/
Dhorizontal-rules.html2 <hr />
3 <hr />
4 <hr />
5 <hr />
8 <hr />
9 <hr />
10 <hr />
11 <hr />
15 <hr />
16 <hr />
[all …]
Dinline-html-simple.txt48 <hr />
50 Hr's:
52 <hr>
54 <hr/>
56 <hr />
58 <hr>
60 <hr/>
62 <hr />
64 <hr class="foo" id="bar" />
66 <hr class="foo" id="bar"/>
[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/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/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/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/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/mdnsresponder/mDNSWindows/DLLX/
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 …]
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 …]
/external/libxml2/doc/devhelp/
Dlibxml2-xmlversion.html104 <hr/>
108 <hr/>
112 <hr/>
116 <hr/>
120 <hr/>
124 <hr/>
128 <hr/>
132 <hr/>
136 <hr/>
140 <hr/>
[all …]
/external/markdown/tests/safe_mode/
Dinline-html-simple.txt48 <hr />
50 Hr's:
52 <hr>
54 <hr/>
56 <hr />
58 <hr>
60 <hr/>
62 <hr />
64 <hr class="foo" id="bar" />
66 <hr class="foo" id="bar"/>
[all …]

12345678910>>...114