Home
last modified time | relevance | path

Searched refs:hres (Results 1 – 9 of 9) sorted by relevance

/external/mdnsresponder/mDNSWindows/
DVPCDetect.cpp37 HRESULT hres; in IsVPCRunning() local
65 hres = CoInitializeEx(0, COINIT_MULTITHREADED); in IsVPCRunning()
66 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
71hres = CoInitializeSecurity(NULL, -1, NULL, NULL, RPC_C_AUTHN_LEVEL_DEFAULT, RPC_C_IMP_LEVEL_IMPE… in IsVPCRunning()
72 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
77hres = CoCreateInstance( CLSID_WbemLocator, 0, CLSCTX_INPROC_SERVER, IID_IWbemLocator, (LPVOID *) … in IsVPCRunning()
78 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
84hres = pLoc->ConnectServer( _bstr_t(L"ROOT\\CIMV2"), NULL, NULL, 0, WBEM_FLAG_CONNECT_USE_MAX_WAIT… in IsVPCRunning()
85 require_action( SUCCEEDED( hres ), exit, err = kUnknownErr ); in IsVPCRunning()
90hres = CoSetProxyBlanket( pSvc, RPC_C_AUTHN_WINNT, RPC_C_AUTHZ_NONE, NULL, RPC_C_AUTHN_LEVEL_CALL,… in IsVPCRunning()
[all …]
/external/lzma/CPP/7zip/Archive/Common/
DHandlerOut.cpp66 …CCommonMethodProps::SetCommonProperty(const UString &name, const PROPVARIANT &value, HRESULT &hres) in SetCommonProperty() argument
68 hres = S_OK; in SetCommonProperty()
73 hres = ParseMtProp(name.Ptr(2), value, _numProcessors, _numThreads); in SetCommonProperty()
81 hres = E_INVALIDARG; in SetCommonProperty()
159 HRESULT hres; in SetProperty() local
160 if (SetCommonProperty(name, value, hres)) in SetProperty()
161 return hres; in SetProperty()
217 HRESULT hres; in SetProperties() local
218 if (SetCommonProperty(name, value, hres)) in SetProperties()
220 RINOK(hres) in SetProperties()
DHandlerOut.h42 bool SetCommonProperty(const UString &name, const PROPVARIANT &value, HRESULT &hres);
/external/adhd/cras/src/common/
Dedid_utils.c187 int hres = base[DTD_HA_LO] + ((base[DTD_HABL_HI] & 0xf0) << 4); in show_edid_dtd() local
205 int refr = (pelclk * 10000) / ((hres + hbl) * (vres + vbl)); in show_edid_dtd()
206 int refm = (pelclk * 10000) % ((hres + hbl) * (vres + vbl)); in show_edid_dtd()
207 int refd = (refm * 100) / ((hres + hbl) * (vres + vbl)); in show_edid_dtd()
211 hres, vres, (mdflg & 0x80) ? 'i' : 'p', refr, refd, in show_edid_dtd()
214 fprintf(outfile, "H: start %d, end %d, total %d\n", hres + hso, in show_edid_dtd()
215 hres + hso + hsw, hres + hbl); in show_edid_dtd()
695 int hres, vres; in show_edid() local
702 hres = (hinfo * 8) + 248; in show_edid()
705 vres = (hres * 10) / 16; in show_edid()
[all …]
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp1021 HRESULT hres = Decode(decoder, _seqStream, realOutStream, lpsRef); in Extract() local
1024 return hres == S_OK ? E_FAIL : hres; in Extract()
1028 && hres != S_OK) in Extract()
1238 HRESULT hres; in SetProperty() local
1239 if (SetCommonProperty(name, value, hres)) in SetProperty()
1240 return hres; in SetProperty()
/external/lzma/CPP/7zip/UI/Common/
DUpdateCallback.cpp518 HRESULT hres = Callback->OpenFileError(path, error); in GetStream2() local
520 if (hres == S_OK || hres == S_FALSE) in GetStream2()
522 return hres; in GetStream2()
DArchiveExtractCallback.cpp1506 HRESULT hres = S_OK; in CloseFile() local
1518 hres = SendMessageError_with_LastError(kCantSetFileLen, us2fs(_item.Path)); in CloseFile()
1524 return hres; in CloseFile()
/external/lzma/CPP/7zip/Archive/7z/
D7zHandler.cpp744 HRESULT hres; in SetProperties() local
745 if (SetCommonProperty(name, value, hres)) in SetProperties()
747 RINOK(hres); in SetProperties()
/external/webrtc/modules/audio_device/win/
Daudio_device_core_win.cc48 #define EXIT_ON_ERROR(hres) \ argument
50 if (FAILED(hres)) \
55 #define CONTINUE_ON_ERROR(hres) \ argument
57 if (FAILED(hres)) \