Home
last modified time | relevance | path

Searched refs:hres (Results 1 - 24 of 24) sorted by relevance

/third_party/lzma/CPP/7zip/Common/
H A DInOutTempBuffer.cpp187 HRESULT hres; in WriteToStream()
190 hres = E_OUTOFMEMORY; in WriteToStream()
195 hres = GetLastError_noZero_HRESULT(); in WriteToStream()
204 hres = GetLastError_noZero_HRESULT(); in WriteToStream()
210 hres = (_crc == crc ? S_OK : E_FAIL); in WriteToStream()
216 hres = WriteStream(stream, buf, n); in WriteToStream()
217 if (hres != S_OK) in WriteToStream()
223 hres = E_FAIL; in WriteToStream()
232 RINOK(hres) in WriteToStream()
H A DMultiOutStream.cpp30 #define UPDATE_HRES(hres, x) \
31 { const HRESULT res2 = (x); if (hres == SZ_OK) hres = res2; }
37 HRESULT hres = S_OK; in Destruct() local
58 if (hres == S_OK) in Destruct()
59 hres = hres2; in Destruct()
85 if (hres == S_OK) in Destruct()
86 hres = hres3; in Destruct()
87 if (hres == S_OK && NumListItems != 0) in Destruct()
88 hres in Destruct()
372 HRESULT hres; ReOpenStream() local
672 HRESULT hres = s.Stream->Write(data, curSize, &realProcessed); Write() local
[all...]
H A DStreamUtils.cpp29 const HRESULT hres = InStream_GetSize_SeekToEnd(stream, sizeRes); in InStream_AtBegin_GetSize() local
31 return hres != S_OK ? hres : hres2; in InStream_AtBegin_GetSize()
47 const HRESULT hres = InStream_GetSize_SeekToEnd(stream, sizeRes); in InStream_GetPos_GetSize() local
49 return hres != S_OK ? hres : hres2; in InStream_GetPos_GetSize()
H A DFilterCoder.cpp121 HRESULT hres = S_OK; in Code() local
128 hres = ReadStream(inStream, _buf + readPos, &processedSize); in Code()
131 if (hres != S_OK) in Code()
134 // if (_encodeMode) return hres; in Code()
140 return hres; in Code()
179 if (hres != S_OK) in Code()
207 if (hres == S_OK) in Code()
238 if (hres != S_OK) in Code()
239 return hres; in Code()
244 return hres; in Code()
[all...]
H A DFileStreams.cpp292 const HRESULT hres = ConvertBoolToHRESULT(result); in Seek() local
305 return hres; in Seek()
312 const HRESULT hres = GetLastError_HRESULT(); in Seek()
315 return hres; in Seek()
/third_party/lzma/CPP/7zip/Archive/Common/
H A DHandlerOut.cpp85 bool CCommonMethodProps::SetCommonProperty(const UString &name, const PROPVARIANT &value, HRESULT &hres) in SetCommonProperty() argument
87 hres = S_OK; in SetCommonProperty()
94 hres = ParseMtProp2(name.Ptr(2), value, _numThreads, _numThreads_WasForced); in SetCommonProperty()
104 hres = E_INVALIDARG; in SetCommonProperty()
205 HRESULT hres; in SetProperty() local
206 if (SetCommonProperty(name, value, hres)) in SetProperty()
207 return hres; in SetProperty()
260 HRESULT hres; in SetProperty() local
261 if (SetCommonProperty(name, value, hres)) in SetProperty()
H A DHandlerOut.h60 bool SetCommonProperty(const UString &name, const PROPVARIANT &value, HRESULT &hres);
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_query.c114 HRESULT hres = in dzn_query_pool_create() local
118 if (FAILED(hres)) { in dzn_query_pool_create()
150 hres = ID3D12Device1_CreateCommittedResource(device->dev, &hprops, in dzn_query_pool_create()
157 if (FAILED(hres)) { in dzn_query_pool_create()
165 hres = ID3D12Device1_CreateCommittedResource(device->dev, &hprops, in dzn_query_pool_create()
172 if (FAILED(hres)) { in dzn_query_pool_create()
177 hres = ID3D12Resource_Map(qpool->collect_buffer, 0, NULL, (void **)&qpool->collect_map); in dzn_query_pool_create()
178 if (FAILED(hres)) { in dzn_query_pool_create()
H A Ddzn_pipeline.c1617 HRESULT hres = 0; in dzn_graphics_pipeline_create() local
1745 hres = ID3D12Device2_CreatePipelineState(device->dev, stream_desc, in dzn_graphics_pipeline_create()
1748 if (FAILED(hres)) { in dzn_graphics_pipeline_create()
1862 ASSERTED HRESULT hres = ID3D12Device2_CreatePipelineState(device->dev, &stream_desc, in dzn_graphics_pipeline_get_state() local
1865 assert(!FAILED(hres)); in dzn_graphics_pipeline_get_state()
1944 HRESULT hres = in dzn_graphics_pipeline_get_indirect_cmd_sig() local
1949 if (FAILED(hres)) in dzn_graphics_pipeline_get_indirect_cmd_sig()
2232 HRESULT hres = in dzn_compute_pipeline_get_indirect_cmd_sig() local
2237 if (FAILED(hres)) in dzn_compute_pipeline_get_indirect_cmd_sig()
H A Ddzn_device.c617 ASSERTED HRESULT hres = in dzn_physical_device_get_format_support() local
620 assert(!FAILED(hres)); in dzn_physical_device_get_format_support()
633 hres = ID3D12Device1_CheckFeatureSupport(dev, D3D12_FEATURE_FORMAT_SUPPORT, in dzn_physical_device_get_format_support()
635 assert(!FAILED(hres)); in dzn_physical_device_get_format_support()
912 HRESULT hres = in dzn_physical_device_get_image_format_properties() local
915 if (!FAILED(hres) && ms_info.NumQualityLevels > 0) in dzn_physical_device_get_image_format_properties()
H A Ddzn_cmd_buffer.c878 HRESULT hres = ID3D12GraphicsCommandList1_Close(cmdbuf->cmdlist); in dzn_EndCommandBuffer() local
879 if (FAILED(hres)) in dzn_EndCommandBuffer()
1080 HRESULT hres = in dzn_cmd_buffer_alloc_internal_buf() local
1086 if (FAILED(hres)) { in dzn_cmd_buffer_alloc_internal_buf()
/third_party/lzma/CPP/7zip/Compress/
H A DBcj2Coder.cpp259 const HRESULT hres = getSubStreamSize->GetSubStreamSize(subStream_Index, &subStream_Size); in CodeReal() local
260 if (hres != S_OK) in CodeReal()
268 if (hres == S_FALSE) in CodeReal()
273 if (hres == E_NOTIMPL) in CodeReal()
278 return hres; in CodeReal()
490 const HRESULT hres = inStream->Read(_bufs[state] + total, curSize, &curSize); in ReadInStream() local
491 _readRes[state] = hres; in ReadInStream()
496 if (hres != S_OK) in ReadInStream()
540 HRESULT hres_Crit = S_OK; // critical hres status (mostly from input stream reading) in Code()
555 const HRESULT hres in Code() local
[all...]
/third_party/lzma/CPP/Windows/
H A DShell.cpp210 HRESULT hres; in DataObject_GetData_HDROP_Names() local
215 hres = ReadUnicodeStrings((const wchar_t *)namesData, size / sizeof(wchar_t), names); in DataObject_GetData_HDROP_Names()
218 hres = ReadAnsiStrings((const char *)namesData, size, names); in DataObject_GetData_HDROP_Names()
221 return hres; in DataObject_GetData_HDROP_Names()
353 HRESULT hres = NShell::DataObject_GetData_HDROP_Names(dataObject, paths); in DataObject_GetData_HDROP_or_IDLIST_Names() local
354 // if (hres == HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)) in DataObject_GetData_HDROP_or_IDLIST_Names()
355 if (hres != S_OK) in DataObject_GetData_HDROP_or_IDLIST_Names()
359 hres = NShell::DataObject_GetData_IDLIST(dataObject, paths); in DataObject_GetData_HDROP_or_IDLIST_Names()
362 return hres; in DataObject_GetData_HDROP_or_IDLIST_Names()
/third_party/vulkan-loader/loader/
H A Dloader_windows.c415 HRESULT hres = fpCreateDXGIFactory1(&IID_IDXGIFactory1, (void **)&dxgi_factory); in windows_get_registry_files() local
416 if (hres != S_OK) { in windows_get_registry_files()
480 HRESULT hres = dxgi_factory->lpVtbl->EnumAdapters1(dxgi_factory, j, &adapter); in windows_get_registry_files() local
481 if (hres == DXGI_ERROR_NOT_FOUND) { in windows_get_registry_files()
483 } else if (hres != S_OK) { in windows_get_registry_files()
491 hres = adapter->lpVtbl->GetDesc1(adapter, &description); in windows_get_registry_files()
492 if (hres != S_OK) { in windows_get_registry_files()
933 HRESULT hres = fpCreateDXGIFactory1(&IID_IDXGIFactory6, (void **)&dxgi_factory); in windows_read_sorted_physical_devices() local
934 if (hres != S_OK) { in windows_read_sorted_physical_devices()
948 hres in windows_read_sorted_physical_devices()
1012 HRESULT hres = fpCreateDXGIFactory1(&IID_IDXGIFactory6, (void **)&dxgi_factory); windows_initialize_dxgi() local
[all...]
/third_party/lzma/CPP/7zip/Archive/
H A DXzHandler.cpp137 HRESULT hres = decoder.Decode(seqInStream, outStream, in Decode() local
154 return hres; in Decode()
1067 HRESULT hres = Decode(decoder, _seqStream, realOutStream, lpsRef); in Extract() local
1070 return hres == S_OK ? E_FAIL : hres; in Extract()
1074 && hres != S_OK) in Extract()
1373 HRESULT hres; in SetProperty()
1374 if (SetCommonProperty(name, value, hres)) in SetProperty()
1375 return hres; in SetProperty()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_bufmgr.cpp143 HRESULT hres = dev->CreateCommittedResource(&heap_pris, in d3d12_bo_new() local
150 if (FAILED(hres)) in d3d12_bo_new()
H A Dd3d12_resource.cpp256 HRESULT hres = E_FAIL; in init_texture() local
261 hres = screen->dev->CreatePlacedResource(heap, in init_texture()
274 hres = screen->dev->CreateCommittedResource(&heap_pris, in init_texture()
282 if (FAILED(hres)) in init_texture()
/third_party/lzma/CPP/7zip/UI/Common/
H A DUpdateCallback.cpp682 const HRESULT hres = Callback->OpenFileError(path, error); in GetStream2() local
683 if (hres == S_OK || hres == S_FALSE) in GetStream2()
697 return hres; in GetStream2()
H A DUpdate.cpp88 HRESULT hres = S_OK; in Destruct() local
95 if (hres == S_OK) in Destruct()
96 hres = hres2; in Destruct()
100 return hres; in Destruct()
H A DArchiveExtractCallback.cpp1888 HRESULT hres = S_OK; in CloseFile()
1898 if (hres == S_OK) in CloseFile()
1899 hres = hres2; in CloseFile()
1938 return hres; in CloseFile()
H A DBench.cpp3419 HRESULT hres = ci.CreateThread();
3422 if (hres != 0)
3423 return hres;
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zHandler.cpp774 HRESULT hres; in SetProperties() local
775 if (SetCommonProperty(name, value, hres)) in SetProperties()
777 RINOK(hres) in SetProperties()
/third_party/backends/backend/
H A Dsm3600.h217 typedef enum { none, hpos, hposH, hres } TRegIndex; enumerator
H A Dhp4200.c1323 compute_hdpi_code (int hres) in compute_hdpi_code() argument
1329 switch (hres) in compute_hdpi_code()

Completed in 45 milliseconds