Home
last modified time | relevance | path

Searched refs:S_OK (Results 1 – 25 of 207) sorted by relevance

123456789

/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideobuffer.cpp63 HRESULT hr = S_OK; in CreateInstance()
88 HRESULT hr = S_OK; in CreateInstanceWrapped()
136 return S_OK; in Initialize()
166 return S_OK; in InitializeWrapped()
181 return S_OK; in SetUserData()
192 return S_OK; in GetUserData()
250 return S_OK; in QueryInterface()
264 return S_OK; in Lock()
287 return S_OK; in Lock()
299 return S_OK; in Unlock()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
DDIALineNumber.cpp19 return (S_OK == LineNumber->get_lineNumber(&Line)) ? Line : 0; in getLineNumber()
24 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd()
29 return (S_OK == LineNumber->get_columnNumber(&Column)) ? Column : 0; in getColumnNumber()
34 return (S_OK == LineNumber->get_columnNumberEnd(&ColumnEnd)) ? ColumnEnd : 0; in getColumnNumberEnd()
39 return (S_OK == LineNumber->get_addressSection(&Section)) ? Section : 0; in getAddressSection()
44 return (S_OK == LineNumber->get_addressOffset(&Offset)) ? Offset : 0; in getAddressOffset()
49 return (S_OK == LineNumber->get_relativeVirtualAddress(&RVA)) ? RVA : 0; in getRelativeVirtualAddress()
54 return (S_OK == LineNumber->get_virtualAddress(&Addr)) ? Addr : 0; in getVirtualAddress()
59 return (S_OK == LineNumber->get_length(&Length)) ? Length : 0; in getLength()
64 return (S_OK == LineNumber->get_sourceFileId(&Id)) ? Id : 0; in getSourceFileId()
[all …]
DDIASession.cpp140 bool success = (S_OK == Session->get_loadAddress(&LoadAddress)); in getLoadAddress()
145 return (S_OK == Session->put_loadAddress(Address)); in setLoadAddress()
150 if (S_OK != Session->get_globalScope(&GlobalScope)) in getGlobalScope()
163 if (S_OK == Session->addressForVA(VA, &ArgSection, &ArgOffset)) { in addressForVA()
174 if (S_OK == Session->addressForRVA(RVA, &ArgSection, &ArgOffset)) { in addressForRVA()
185 if (S_OK != Session->symbolById(SymbolId, &LocatedSymbol)) in getSymbolById()
197 if (S_OK != Session->findSymbolByVA(Address, EnumVal, &Symbol)) { in findSymbolByAddress()
199 if (S_OK != Session->get_loadAddress(&LoadAddr)) in findSymbolByAddress()
202 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByAddress()
214 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByRVA()
[all …]
DDIAInjectedSource.cpp23 return (S_OK == SourceFile->get_crc(&Crc)) ? Crc : 0; in getCrc32()
28 return (S_OK == SourceFile->get_length(&Size)) ? Size : 0; in getCodeByteSize()
46 if (S_OK != SourceFile->get_sourceCompression(&Compression)) in getCompression()
53 if (S_OK != SourceFile->get_source(0, &DataSize, nullptr)) in getCode()
57 if (S_OK != SourceFile->get_source(DataSize, &DataSize, Buffer.data())) in getCode()
/third_party/ffmpeg/libavdevice/
Ddshow_crossbar.c71 if (hr != S_OK) { in setup_crossbar_options()
86 if (hr != S_OK) { in setup_crossbar_options()
95 if (hr != S_OK) { in setup_crossbar_options()
105 if (hr != S_OK) { in setup_crossbar_options()
116 if (hr == S_OK) in setup_crossbar_options()
126 if (hr != S_OK) { in setup_crossbar_options()
133 return S_OK; in setup_crossbar_options()
154 if (hr != S_OK) { in ff_dshow_try_setup_crossbar_options()
156 hr = S_OK; in ff_dshow_try_setup_crossbar_options()
164 if (hr != S_OK) in ff_dshow_try_setup_crossbar_options()
[all …]
Ddecklink_common.cpp67 IID_IDeckLinkIterator, (void**) &iter) != S_OK) { in decklink_create_iterator()
81 IID_IDeckLinkAPIInformation, (void**) &api) != S_OK) { in decklink_create_iterator()
87 if (api && api->GetInt(BMDDeckLinkAPIVersion, &version) == S_OK) { in decklink_create_iterator()
107 if (dl->QueryInterface(IID_IDeckLinkProfileAttributes, (void **)&attr) != S_OK) in decklink_get_attr_string()
111 if (hr == S_OK) { in decklink_get_attr_string()
134 if (res != S_OK) { in decklink_select_input()
143 if (res != S_OK) { in decklink_select_input()
175 if (ctx->dl->QueryInterface(IID_IDeckLinkProfileManager, (void **)&manager) == S_OK) in ff_decklink_set_configs()
178 … if (ctx->attr->GetFlag(BMDDeckLinkSupportsDuplexModeConfiguration, &duplex_supported) != S_OK) in ff_decklink_set_configs()
187 if (res == S_OK) { in ff_decklink_set_configs()
[all …]
Ddshow.c75 if (r == S_OK) { in dshow_read_close()
78 while (IEnumFilters_Next(fenum, 1, &f, NULL) == S_OK) { in dshow_read_close()
79 if (IGraphBuilder_RemoveFilter(ctx->graph, f) == S_OK) in dshow_read_close()
227 if (r != S_OK) { in dshow_cycle_devices()
233 while (!device_filter && IEnumMoniker_Next(classenum, 1, &m, NULL) == S_OK) { in dshow_cycle_devices()
244 if (r != S_OK) in dshow_cycle_devices()
247 if (r != S_OK) in dshow_cycle_devices()
251 if (r != S_OK) in dshow_cycle_devices()
261 if (r != S_OK) in dshow_cycle_devices()
266 if (r != S_OK) in dshow_cycle_devices()
[all …]
Ddshow_pin.c63 return S_OK; in ff_dshow_pin_ReceiveConnection()
76 return S_OK; in ff_dshow_pin_Disconnect()
89 return S_OK; in ff_dshow_pin_ConnectedTo()
116 return S_OK; in ff_dshow_pin_QueryPinInfo()
124 return S_OK; in ff_dshow_pin_QueryDirection()
135 return S_OK; in ff_dshow_pin_QueryId()
155 return S_OK; in ff_dshow_pin_EnumMediaTypes()
167 return S_OK; in ff_dshow_pin_EndOfStream()
173 return S_OK; in ff_dshow_pin_BeginFlush()
179 return S_OK; in ff_dshow_pin_EndFlush()
[all …]
Ddshow_filter.c39 return S_OK; in ff_dshow_filter_Stop()
45 return S_OK; in ff_dshow_filter_Pause()
52 return S_OK; in ff_dshow_filter_Run()
60 return S_OK; in ff_dshow_filter_GetState()
74 return S_OK; in ff_dshow_filter_SetSyncSource()
86 return S_OK; in ff_dshow_filter_GetSyncSource()
100 return S_OK; in ff_dshow_filter_EnumPins()
117 return S_OK; in ff_dshow_filter_FindPin()
129 return S_OK; in ff_dshow_filter_QueryFilterInfo()
140 return S_OK; in ff_dshow_filter_JoinFilterGraph()
Ddecklink_enc.cpp90 return S_OK; in GetBytes()
99 return S_OK; in GetAncillaryData()
110 return S_OK; in SetAncillaryData()
157 return S_OK; in ScheduledFrameCompleted()
159 virtual HRESULT STDMETHODCALLTYPE ScheduledPlaybackHasStopped(void) { return S_OK; } in ScheduledPlaybackHasStopped()
201 …if (ctx->supports_vanc && ctx->dlo->EnableVideoOutput(ctx->bmd_mode, bmdVideoOutputVANC) != S_OK) { in decklink_setup_video()
205 …->supports_vanc && ctx->dlo->EnableVideoOutput(ctx->bmd_mode, bmdVideoOutputFlagDefault) != S_OK) { in decklink_setup_video()
259 bmdAudioOutputStreamTimestamped) != S_OK) { in decklink_setup_audio()
263 if (ctx->dlo->BeginAudioPreroll() != S_OK) { in decklink_setup_audio()
383 if (result != S_OK) { in decklink_construct_vanc()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowfakesrc.cpp48 return S_OK; in GetMediaType()
76 return S_OK; in CheckMediaType()
91 return S_OK; in DecideBufferSize()
98 return S_OK; in SetMediaType()
113 if (hres == S_OK && pSample) in PushBuffer()
137 return S_OK; in PushBuffer()
144 return S_OK; in Flush()
150 return S_OK; in SetSampleSize()
/third_party/flutter/skia/third_party/externals/sdl/src/audio/xaudio2/
DSDL_xaudio2.c136 if (XAudio2Create(&ixa2, 0, XAUDIO2_DEFAULT_PROCESSOR) != S_OK) { in XAUDIO2_DetectDevices()
139 } else if (IXAudio2_GetDeviceCount(ixa2, &devcount) != S_OK) { in XAUDIO2_DetectDevices()
147 if (IXAudio2_GetDeviceDetails(ixa2, i, &details) == S_OK) { in XAUDIO2_DetectDevices()
196 HRESULT result = S_OK; in XAUDIO2_PlayDevice()
220 if (result != S_OK) { /* uhoh, panic! */ in XAUDIO2_PlayDevice()
275 HRESULT result = S_OK; in XAUDIO2_OpenDevice()
309 if (XAudio2Create(&ixa2, 0, XAUDIO2_DEFAULT_PROCESSOR) != S_OK) { in XAUDIO2_OpenDevice()
383 if (result != S_OK) { in XAUDIO2_OpenDevice()
417 if (result != S_OK) { in XAUDIO2_OpenDevice()
424 if (result != S_OK) { in XAUDIO2_OpenDevice()
[all …]
/third_party/python/PC/
Dpyshellext.cpp28 HRESULT hr = S_OK; in FilenameListCchLengthA()
49 HRESULT hr = S_OK; in FilenameListCchLengthW()
70 HRESULT hr = S_OK; in FilenameListCchCopyA()
97 HRESULT hr = S_OK; in FilenameListCchCopyW()
185 return S_OK;
223 return S_OK;
325 return S_OK;
351 return S_OK;
355 return S_OK;
359 return S_OK;
[all …]
/third_party/gstreamer/gstplugins_bad/sys/wasapi/
Dgstmmdeviceenumerator.cpp58 return S_OK; in CreateInstance()
79 return S_OK; in QueryInterface()
113 return S_OK; in OnDeviceStateChanged()
117 return S_OK; in OnDeviceStateChanged()
133 return S_OK; in OnDeviceAdded()
137 return S_OK; in OnDeviceAdded()
152 return S_OK; in OnDeviceRemoved()
156 return S_OK; in OnDeviceRemoved()
171 return S_OK; in OnDefaultDeviceChanged()
175 return S_OK; in OnDefaultDeviceChanged()
[all …]
/third_party/flutter/skia/src/utils/win/
DSkIStream.cpp30 return S_OK; in QueryInterface()
110 return S_OK; in CreateFromSkStream()
117 return (*pcbRead == cb) ? S_OK : S_FALSE; in Read()
129 HRESULT hr = S_OK; in Seek()
192 return S_OK; in Stat()
212 return S_OK; in CreateFromSkWStream()
217 HRESULT hr = S_OK; in Write()
231 return S_OK; in Commit()
243 return S_OK; in Stat()
DSkDWrite.cpp67 return S_OK; in sk_cstring_to_wchar()
76 return S_OK; in sk_wchar_to_skstring()
87 return S_OK; in sk_wchar_to_skstring()
112 return S_OK; in sk_get_locale_string()
126 return S_OK; in SkGetGetUserDefaultLocaleNameProc()
/third_party/skia/src/utils/win/
DSkIStream.cpp30 return S_OK; in QueryInterface()
105 return S_OK; in CreateFromSkStream()
112 return (*pcbRead == cb) ? S_OK : S_FALSE; in Read()
124 HRESULT hr = S_OK; in Seek()
183 return S_OK; in Stat()
203 return S_OK; in CreateFromSkWStream()
208 HRESULT hr = S_OK; in Write()
222 return S_OK; in Commit()
234 return S_OK; in Stat()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DDxgiFns.cpp87 return S_OK; in _Present()
180 return S_OK; in _Present()
212 return S_OK; in _GetGammaCaps()
231 return S_OK; in _SetDisplayMode()
250 return S_OK; in _SetResourcePriority()
271 return S_OK; in _QueryResourceResidency()
292 return S_OK; in _RotateResourceIdentities()
353 return S_OK; in _RotateResourceIdentities()
373 return S_OK; in _Blt()
/third_party/skia/src/ports/
DSkFontMgr_win_dw.cpp55 return S_OK; in Create()
72 return S_OK; in QueryInterface()
99 return S_OK; in CreateStreamFromKey()
121 return S_OK; in Create()
148 return S_OK; in QueryInterface()
171 return S_OK; in MoveNext()
183 return S_OK; in MoveNext()
193 return S_OK; in GetCurrentFontFile()
218 return S_OK; in Create()
235 return S_OK; in QueryInterface()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshowfakesink.cpp25 m_hres (S_OK), in CDshowFakeSink()
35 return S_OK; in gst_set_media_type()
44 return S_OK; in gst_set_buffer_callback()
61 return S_OK; in CheckMediaType()
80 return S_OK; in DoRenderSample()
Dgstdshow.cpp95 if (hres != S_OK || !pin_mediatype->mediatype) { in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
173 while (enumpins->Next (1, &pintmp, NULL) == S_OK) { in gst_dshow_get_pin_from_filter()
176 if (hres == S_OK && pindir == pindirtmp) { in gst_dshow_get_pin_from_filter()
233 while (hres = enum_moniker->Next (1, &moniker, &fetched), hres == S_OK in gst_dshow_find_filter()
247 if (hres == S_OK && varFriendlyName.bstrVal) { in gst_dshow_find_filter()
339 if (hres != S_OK) { in gst_dshow_enumerate_devices()
346 if (hres != S_OK || !enum_moniker) { in gst_dshow_enumerate_devices()
353 while (enum_moniker->Next (1, &moniker, &fetched) == S_OK) { in gst_dshow_enumerate_devices()
362 if (hres == S_OK && varFriendlyName.bstrVal) { in gst_dshow_enumerate_devices()
371 if (hres == S_OK && wszDisplayName) { in gst_dshow_enumerate_devices()
[all …]
/third_party/flutter/skia/third_party/externals/imgui/examples/example_win32_directx12/
Dmain.cpp153 if (D3D12CreateDevice(NULL, featureLevel, IID_PPV_ARGS(&g_pd3dDevice)) != S_OK) in CreateDeviceD3D()
162 if (g_pd3dDevice->CreateDescriptorHeap(&desc, IID_PPV_ARGS(&g_pd3dRtvDescHeap)) != S_OK) in CreateDeviceD3D()
179 if (g_pd3dDevice->CreateDescriptorHeap(&desc, IID_PPV_ARGS(&g_pd3dSrvDescHeap)) != S_OK) in CreateDeviceD3D()
188 if (g_pd3dDevice->CreateCommandQueue(&desc, IID_PPV_ARGS(&g_pd3dCommandQueue)) != S_OK) in CreateDeviceD3D()
193 …locator(D3D12_COMMAND_LIST_TYPE_DIRECT, IID_PPV_ARGS(&g_frameContext[i].CommandAllocator)) != S_OK) in CreateDeviceD3D()
196 …TYPE_DIRECT, g_frameContext[0].CommandAllocator, NULL, IID_PPV_ARGS(&g_pd3dCommandList)) != S_OK || in CreateDeviceD3D()
197 g_pd3dCommandList->Close() != S_OK) in CreateDeviceD3D()
200 if (g_pd3dDevice->CreateFence(0, D3D12_FENCE_FLAG_NONE, IID_PPV_ARGS(&g_fence)) != S_OK) in CreateDeviceD3D()
210 if (CreateDXGIFactory1(IID_PPV_ARGS(&dxgiFactory)) != S_OK || in CreateDeviceD3D()
211 …iFactory->CreateSwapChainForHwnd(g_pd3dCommandQueue, hWnd, &sd, NULL, NULL, &swapChain1) != S_OK || in CreateDeviceD3D()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-directwrite.cc71 { return S_OK; } in IFACEMETHOD()
82 return S_OK; in CreateStreamFromKey()
102 { return S_OK; } in IFACEMETHOD()
122 return S_OK; in ReadFileFragment()
132 return S_OK; in GetFileSize()
198 if (unlikely (hr != S_OK)) in _hb_directwrite_shaper_face_data_create()
297 { return S_OK; } in IFACEMETHOD()
345 HRESULT hr = S_OK; in GenerateResults()
381 return S_OK; in GetTextAtPosition()
401 return S_OK; in GetTextBeforePosition()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DD3D12ResourceWrappingTests.cpp50 ASSERT_EQ(hr, S_OK); in SetUp()
54 ASSERT_EQ(hr, S_OK); in SetUp()
62 ASSERT_EQ(hr, S_OK); in SetUp()
99 ASSERT_EQ(hr, S_OK); in WrapSharedHandle()
103 ASSERT_EQ(hr, S_OK); in WrapSharedHandle()
109 ASSERT_EQ(hr, S_OK); in WrapSharedHandle()
349 ASSERT_EQ(hr, S_OK); in WrapAndClearD3D11Texture()
353 ASSERT_EQ(hr, S_OK); in WrapAndClearD3D11Texture()
359 ASSERT_EQ(hr, S_OK); in WrapAndClearD3D11Texture()
363 ASSERT_EQ(hr, S_OK); in WrapAndClearD3D11Texture()
[all …]
/third_party/flutter/skia/src/ports/
DSkFontMgr_win_dw.cpp54 return S_OK; in Create()
71 return S_OK; in QueryInterface()
98 return S_OK; in CreateStreamFromKey()
120 return S_OK; in Create()
147 return S_OK; in QueryInterface()
170 return S_OK; in MoveNext()
182 return S_OK; in MoveNext()
192 return S_OK; in GetCurrentFontFile()
217 return S_OK; in Create()
234 return S_OK; in QueryInterface()
[all …]

123456789