Home
last modified time | relevance | path

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

12345678910

/external/llvm/lib/DebugInfo/PDB/DIA/
DDIALineNumber.cpp20 return (S_OK == LineNumber->get_lineNumber(&Line)) ? Line : 0; in getLineNumber()
25 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd()
30 return (S_OK == LineNumber->get_columnNumber(&Column)) ? Column : 0; in getColumnNumber()
35 return (S_OK == LineNumber->get_columnNumberEnd(&ColumnEnd)) ? ColumnEnd : 0; in getColumnNumberEnd()
40 return (S_OK == LineNumber->get_addressSection(&Section)) ? Section : 0; in getAddressSection()
45 return (S_OK == LineNumber->get_addressOffset(&Offset)) ? Offset : 0; in getAddressOffset()
50 return (S_OK == LineNumber->get_relativeVirtualAddress(&RVA)) ? RVA : 0; in getRelativeVirtualAddress()
55 return (S_OK == LineNumber->get_virtualAddress(&Addr)) ? Addr : 0; in getVirtualAddress()
60 return (S_OK == LineNumber->get_length(&Length)) ? Length : 0; in getLength()
65 return (S_OK == LineNumber->get_sourceFileId(&Id)) ? Id : 0; in getSourceFileId()
[all …]
DDIASession.cpp132 bool success = (S_OK == Session->get_loadAddress(&LoadAddress)); in getLoadAddress()
142 if (S_OK != Session->get_globalScope(&GlobalScope)) in getGlobalScope()
154 if (S_OK != Session->symbolById(SymbolId, &LocatedSymbol)) in getSymbolById()
166 if (S_OK != Session->findSymbolByVA(Address, EnumVal, &Symbol)) { in findSymbolByAddress()
168 if (S_OK != Session->get_loadAddress(&LoadAddr)) in findSymbolByAddress()
171 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByAddress()
186 if (S_OK != in findLineNumbers()
197 if (S_OK != Session->findLinesByVA(Address, Length, &LineNumbers)) in findLineNumbersByAddress()
219 if (S_OK != in findSourceFiles()
255 if (S_OK != Session->findFile(nullptr, nullptr, nsNone, &Files)) in getAllSourceFiles()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/DIA/
DDIALineNumber.cpp20 return (S_OK == LineNumber->get_lineNumber(&Line)) ? Line : 0; in getLineNumber()
25 return (S_OK == LineNumber->get_lineNumberEnd(&LineEnd)) ? LineEnd : 0; in getLineNumberEnd()
30 return (S_OK == LineNumber->get_columnNumber(&Column)) ? Column : 0; in getColumnNumber()
35 return (S_OK == LineNumber->get_columnNumberEnd(&ColumnEnd)) ? ColumnEnd : 0; in getColumnNumberEnd()
40 return (S_OK == LineNumber->get_addressSection(&Section)) ? Section : 0; in getAddressSection()
45 return (S_OK == LineNumber->get_addressOffset(&Offset)) ? Offset : 0; in getAddressOffset()
50 return (S_OK == LineNumber->get_relativeVirtualAddress(&RVA)) ? RVA : 0; in getRelativeVirtualAddress()
55 return (S_OK == LineNumber->get_virtualAddress(&Addr)) ? Addr : 0; in getVirtualAddress()
60 return (S_OK == LineNumber->get_length(&Length)) ? Length : 0; in getLength()
65 return (S_OK == LineNumber->get_sourceFileId(&Id)) ? Id : 0; in getSourceFileId()
[all …]
DDIASession.cpp149 bool success = (S_OK == Session->get_loadAddress(&LoadAddress)); in getLoadAddress()
154 return (S_OK == Session->put_loadAddress(Address)); in setLoadAddress()
159 if (S_OK != Session->get_globalScope(&GlobalScope)) in getGlobalScope()
172 if (S_OK == Session->addressForVA(VA, &ArgSection, &ArgOffset)) { in addressForVA()
183 if (S_OK == Session->addressForRVA(RVA, &ArgSection, &ArgOffset)) { in addressForRVA()
193 if (S_OK != Session->symbolById(SymbolId, &LocatedSymbol)) in getSymbolById()
205 if (S_OK != Session->findSymbolByVA(Address, EnumVal, &Symbol)) { in findSymbolByAddress()
207 if (S_OK != Session->get_loadAddress(&LoadAddr)) in findSymbolByAddress()
210 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByAddress()
222 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByRVA()
[all …]
/external/lzma/CPP/7zip/Common/
DFileStreams.cpp22 return S_OK; in ConvertBoolToHRESULT()
28 return result ? S_OK: E_FAIL; in ConvertBoolToHRESULT()
65 return S_OK; in Read()
71 return VirtPos == File.Size ? S_OK : E_FAIL; in Read()
85 return S_OK; in Read()
91 return S_OK; in Read()
136 return S_OK; in Read()
162 return S_OK; in Read()
188 return S_OK; in Read()
201 return S_OK; in Read()
[all …]
DStreamObjects.cpp16 return S_OK; in Read()
18 return S_OK; in Read()
26 return S_OK; in Read()
43 return S_OK; in Seek()
51 return S_OK; in Read()
53 return S_OK; in Read()
61 return S_OK; in Read()
78 return S_OK; in Seek()
147 return S_OK; in Write()
155 return S_OK; in Write()
[all …]
DFilterCoder.cpp24 STDMETHODIMP CFilterCoder::SetInBufSize(UInt32 , UInt32 size) { _inBufSize = size; return S_OK; } in SetInBufSize()
25 STDMETHODIMP CFilterCoder::SetOutBufSize(UInt32 , UInt32 size) { _outBufSize = size; return S_OK; } in SetOutBufSize()
44 return S_OK; in Alloc()
107 return S_OK; in Code()
121 return S_OK; in Code()
132 return S_OK; in Code()
142 return S_OK; in SetOutStream()
148 return S_OK; in ReleaseOutStream()
168 return res != S_OK ? res : E_FAIL; in Flush2()
185 return S_OK; in Flush2()
[all …]
DLimitedStreams.cpp17 HRESULT result = S_OK; in Read()
37 return S_OK; in Read()
73 return S_OK; in Seek()
85 return S_OK; in CreateLimitedInStream()
93 return S_OK; in Read()
100 return S_OK; in Read()
149 return S_OK; in Seek()
158 return S_OK; in Read()
160 return S_OK; in Read()
209 return S_OK; in Seek()
[all …]
DOutBuffer.cpp36 ErrorCode = S_OK; in Init()
53 HRESULT result = S_OK; in FlushPart()
65 && (ErrorCode == S_OK) in FlushPart()
89 if (ErrorCode != S_OK) in Flush()
96 if (result != S_OK) in Flush()
99 return S_OK; in Flush()
108 if (result != S_OK) in FlushWithCheck()
DCWrappers.cpp15 case S_OK: return SZ_OK; in HRESULT_To_SRes()
30 case SZ_OK: return S_OK; in SResToHRESULT()
83 if (p->Res == S_OK) in MyRead()
98 p->Res = S_OK; in MyWrite()
109 Res = S_OK; in Init()
127 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Read()
144 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Seek()
152 Res = S_OK; in Init()
177 if (Res == S_OK) in ReadByteFromNewBlock()
226 if (Res == S_OK) in Flush()
[all …]
DMethodProps.cpp30 case VT_EMPTY: dest = true; return S_OK; in PROPVARIANT_to_bool()
31 case VT_BOOL: dest = (prop.boolVal != VARIANT_FALSE); return S_OK; in PROPVARIANT_to_bool()
32 case VT_BSTR: return StringToBool(prop.bstrVal, dest) ? S_OK : E_INVALIDARG; in PROPVARIANT_to_bool()
64 return S_OK; in ParsePropToUInt32()
69 return S_OK; in ParsePropToUInt32()
74 return S_OK; in ParsePropToUInt32()
94 return S_OK; in ParseMtProp()
118 return S_OK; in StringToDictSize()
125 case 'b': destProp = number; return S_OK; in StringToDictSize()
137 return S_OK; in StringToDictSize()
[all …]
/external/lzma/CPP/7zip/UI/Common/
DUpdateCallback.cpp129 return S_OK; in GetUpdateItemInfo()
145 return S_OK; in GetRootProp()
152 return S_OK; in GetParent()
160 return S_OK; in GetNumRawProps()
167 return S_OK; in GetRawPropInfo()
180 return S_OK; in GetRootRawProp()
185 return S_OK; in GetRootRawProp()
190 return S_OK; in GetRootRawProp()
195 return S_OK; in GetRootRawProp()
202 return S_OK; in GetRootRawProp()
[all …]
/external/lzma/CPP/7zip/Compress/
DLzmaDecoder.cpp15 case SZ_OK: return S_OK; in SResToHRESULT()
54 STDMETHODIMP CDecoder::SetInBufSize(UInt32 , UInt32 size) { _inBufSizeNew = size; return S_OK; } in SetInBufSize()
55 STDMETHODIMP CDecoder::SetOutBufSize(UInt32 , UInt32 size) { _outStep = size; return S_OK; } in SetOutBufSize()
68 return S_OK; in CreateInputBuffer()
98 return S_OK; in SetOutStreamSize()
105 return S_OK; in SetFinishMode()
112 return S_OK; in GetInStreamProcessedSize()
123 HRESULT readRes = S_OK; in CodeSpec()
127 if (_inPos == _inLim && readRes == S_OK) in CodeSpec()
220 if (res == S_OK) in Code()
[all …]
DLzma2Decoder.cpp37 STDMETHODIMP CDecoder::SetInBufSize(UInt32 , UInt32 size) { _inBufSize = size; return S_OK; } in SetInBufSize()
38 STDMETHODIMP CDecoder::SetOutBufSize(UInt32 , UInt32 size) { _outStep = size; return S_OK; } in SetOutBufSize()
47 return S_OK; in SetDecoderProperties2()
54 return S_OK; in SetFinishMode()
79 if (wrapRes != S_OK && sRes == sResErrorCode) return wrapRes;
82 if (wrapRes != S_OK /* && (sRes == SZ_OK || sRes == sResErrorCode) */) return wrapRes;
192 return S_OK; in GetInStreamProcessedSize()
201 return S_OK; in SetNumberOfThreads()
207 return S_OK; in SetMemLimit()
237 return S_OK; in SetOutStreamSize()
[all …]
DBcj2Coder.cpp54 return S_OK; in Alloc()
64 …Encoder::SetInBufSize(UInt32, UInt32 size) { _bufsNewSizes[BCJ2_NUM_STREAMS] = size; return S_OK; } in SetInBufSize()
65 …:SetOutBufSize(UInt32 streamIndex, UInt32 size) { _bufsNewSizes[streamIndex] = size; return S_OK; } in SetOutBufSize()
112 return S_OK; in SetCoderProperties()
183 if (result == S_OK) in CodeReal()
303 return S_OK; in CodeReal()
324 …::SetInBufSize(UInt32 streamIndex, UInt32 size) { _bufsNewSizes[streamIndex] = size; return S_OK; } in SetInBufSize()
325 …coder::SetOutBufSize(UInt32 , UInt32 size) { _bufsNewSizes[BCJ2_NUM_STREAMS] = size; return S_OK; } in SetOutBufSize()
333 return S_OK; in SetFinishMode()
348 _readRes[i] = S_OK; in InitCommon()
[all …]
DXzDecoder.cpp15 if (wrapRes != S_OK && sRes == sResErrorCode) return wrapRes;
18 if (wrapRes != S_OK /* && (sRes == SZ_OK || sRes == sResErrorCode) */) return wrapRes;
26 case SZ_OK: return S_OK; in SResToHRESULT_Code()
37 MainDecodeSRes = S_OK; in Decode()
125 return S_OK; in SetFinishMode()
131 return S_OK; in GetInStreamProcessedSize()
139 return S_OK; in SetNumberOfThreads()
145 return S_OK; in SetMemLimit()
DPpmdDecoder.cpp47 return S_OK; in SetDecoderProperties2()
54 case kStatus_Finished: return S_OK; in CodeSpec()
92 return S_OK; in CodeSpec()
124 return S_OK; in Code()
134 return S_OK; in SetOutStreamSize()
141 return S_OK; in GetInStreamProcessedSize()
150 return S_OK; in SetInStream()
156 return S_OK; in ReleaseInStream()
DCodecExports.cpp39 return S_OK; in SetPropGUID()
57 return S_OK; in FindCodecClassId()
62 else if (clsid->Data3 != k_7zip_GUID_Data3_Encoder) return S_OK; in FindCodecClassId()
79 return S_OK; in FindCodecClassId()
82 return S_OK; in FindCodecClassId()
109 return S_OK; in CreateCoderMain()
170 if (res != S_OK) in CreateCoder()
238 return S_OK; in GetMethodProperty()
244 return S_OK; in GetNumberOfMethods()
269 return S_OK; in CreateHasher2()
[all …]
/external/lzma/CPP/7zip/Archive/7z/
D7zFolderInStream.cpp41 if (result != S_OK) in OpenStream()
55 if (streamGetSize->GetSize(&_size) == S_OK) in OpenStream()
58 return S_OK; in OpenStream()
63 AddFileInfo(result == S_OK); in OpenStream()
65 return S_OK; in OpenStream()
94 return S_OK; in Read()
113 return S_OK; in Read()
126 return S_OK; in GetSubStreamSize()
136 return S_OK; in GetSubStreamSize()
/external/webrtc/webrtc/modules/video_capture/windows/
Dsink_filter_ds.cc215 return S_OK; // This format is acceptable. in CheckMediaType()
221 return S_OK; // This format is acceptable. in CheckMediaType()
228 return S_OK; // This format is acceptable. in CheckMediaType()
234 return S_OK; // This format is acceptable. in CheckMediaType()
240 return S_OK; // This format is acceptable. in CheckMediaType()
246 return S_OK; // This format is acceptable. in CheckMediaType()
282 return S_OK; // This format is acceptable. in CheckMediaType()
288 return S_OK; // This format is acceptable. in CheckMediaType()
294 return S_OK; // This format is acceptable. in CheckMediaType()
300 return S_OK; // This format is acceptable. in CheckMediaType()
[all …]
/external/lzma/CPP/7zip/UI/FileManager/
DExtractCallback.cpp73 return S_OK; in SetNumFiles()
81 return S_OK; in SetTotal()
96 HRESULT res = S_OK; in Open_SetTotal()
174 return S_OK; in SetRatioInfo()
221 return S_OK; in AskOverwrite()
245 return S_OK; in MessageError()
252 return S_OK; in MessageError()
260 return S_OK; in ShowMessage()
377 return S_OK; in SetOperationResult()
389 return S_OK; in ReportExtractResult()
[all …]
/external/lzma/CPP/7zip/UI/Console/
DUpdateCallbackConsole.cpp38 return NConsoleClose::TestBreakSignal() ? E_ABORT : S_OK; in CheckBreak2()
132 if (result == S_OK) in OpenResult()
155 return S_OK; in OpenResult()
163 return S_OK; in StartScanning()
205 return S_OK; in ScanError_Base()
264 return S_OK; in FinishScanning()
280 return S_OK; in StartOpenArchive()
294 return S_OK; in StartArchive()
315 return S_OK; in FinishArchive()
328 return S_OK; in WriteSfx()
[all …]
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp146 return S_OK; in IsArchiveItemProp()
183 return S_OK; in SetTotal()
188 return S_OK; in SetCompleted()
283 return S_OK; in SetTotal()
288 return S_OK; in SetCompleted()
315 return S_OK; in GetStream()
401 return S_OK; in GetStream()
418 return S_OK; in PrepareOperation()
484 return S_OK; in SetOperationResult()
575 return S_OK; in SetTotal()
[all …]
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractCallbackSfx.cpp43 return S_OK; in Open_CheckBreak()
49 return S_OK; in Open_SetTotal()
57 return S_OK; in Open_SetCompleted()
63 return S_OK; in Open_Finished()
71 return S_OK; in SetTotal()
81 return S_OK; in SetCompleted()
176 return S_OK; in GetStream()
207 return S_OK; in GetStream()
213 return S_OK; in PrepareOperation()
245 return S_OK; in SetOperationResult()
/external/lzma/CPP/7zip/Archive/Common/
DCoderMixer2.cpp12 HRESULT result = S_OK; in Read()
26 HRESULT result = S_OK; in Write()
37 HRESULT result = S_OK; in OutStreamFinish()
69 return S_OK; in CheckDataAfterEnd()
115 return S_OK; in CheckDataAfterEnd()
419 return S_OK; in GetInStream2()
443 return S_OK; in GetInStream()
473 return S_OK; in GetInStream()
497 return S_OK; in GetOutStream()
578 return S_OK; in GetOutStream()
[all …]

12345678910