Home
last modified time | relevance | path

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

123456789

/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 …]
DDIADataStream.cpp22 return (S_OK == StreamData->get_Count(&Count)) ? Count : 0; in getRecordCount()
27 if (S_OK != StreamData->get_name(&Name16)) in getName()
47 if (S_OK != StreamData->Item(Index, RecordSize, &RecordSize, &Record[0])) in getItemAtIndex()
61 if (S_OK == in getNext()
71 if (S_OK != StreamData->Clone(&EnumeratorClone)) in clone()
/external/lzma/CPP/7zip/Compress/
DLzma2Decoder.cpp15 case SZ_OK: return S_OK; in SResToHRESULT()
38 STDMETHODIMP CDecoder::SetInBufSize(UInt32 , UInt32 size) { _inBufSizeNew = size; return S_OK; } in SetInBufSize()
39 STDMETHODIMP CDecoder::SetOutBufSize(UInt32 , UInt32 size) { _outStepSize = size; return S_OK; } in SetOutBufSize()
63 return S_OK; in SetDecoderProperties2()
66 …ODIMP CDecoder::GetInStreamProcessedSize(UInt64 *value) { *value = _inSizeProcessed; return S_OK; } in GetInStreamProcessedSize()
67 …THODIMP CDecoder::SetInStream(ISequentialInStream *inStream) { _inStream = inStream; return S_OK; } in SetInStream()
68 STDMETHODIMP CDecoder::ReleaseInStream() { _inStream.Release(); return S_OK; } in ReleaseInStream()
81 return S_OK; in SetOutStreamSize()
87 return S_OK; in SetFinishMode()
109 HRESULT hres = S_OK; in Code()
[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 …]
DLzmaDecoder.cpp15 case SZ_OK: return S_OK; in SResToHRESULT()
44 STDMETHODIMP CDecoder::SetInBufSize(UInt32 , UInt32 size) { _inBufSize = size; return S_OK; } in SetInBufSize()
45 STDMETHODIMP CDecoder::SetOutBufSize(UInt32 , UInt32 size) { _outBufSize = size; return S_OK; } in SetOutBufSize()
57 return S_OK; in CreateInputBuffer()
83 return S_OK; in SetOutStreamSize()
89 return S_OK; in SetFinishMode()
158 return S_OK; in CodeSpec()
164 return (status == LZMA_STATUS_FINISHED_WITH_MARK ? S_OK : S_FALSE); in CodeSpec()
186 …THODIMP CDecoder::SetInStream(ISequentialInStream *inStream) { _inStream = inStream; return S_OK; } in SetInStream()
187 STDMETHODIMP CDecoder::ReleaseInStream() { _inStream.Release(); return S_OK; } in ReleaseInStream()
[all …]
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 …]
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()
143 return S_OK; in SetInStream()
149 return S_OK; in ReleaseInStream()
DLzmaEncoder.cpp75 return ParseMatchFinder(prop.bstrVal, &ep.btMode, &ep.numHashBytes) ? S_OK : E_INVALIDARG; in SetLzmaProp()
78 return S_OK; in SetLzmaProp()
83 return S_OK; in SetLzmaProp()
102 return S_OK; in SetLzmaProp()
143 if (res == SZ_ERROR_READ && inWrap.Res != S_OK) in Code()
145 if (res == SZ_ERROR_WRITE && outWrap.Res != S_OK) in Code()
147 if (res == SZ_ERROR_PROGRESS && progressWrap.Res != S_OK) in Code()
/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 …]
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()
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 …]
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()
56 return S_OK; in ParsePropToUInt32()
61 return S_OK; in ParsePropToUInt32()
66 return S_OK; in ParsePropToUInt32()
86 return S_OK; in ParseMtProp()
110 return S_OK; in StringToDictSize()
117 case 'b': destProp = number; return S_OK; in StringToDictSize()
129 return S_OK; in StringToDictSize()
[all …]
DCWrappers.cpp35 case S_OK: return SZ_OK; in HRESULT_To_SRes()
52 if (p->Res == S_OK) in MyRead()
67 p->Res = S_OK; in MyWrite()
91 case SZ_OK: return S_OK; in SResToHRESULT()
107 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Read()
124 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Seek()
132 Res = S_OK; in CSeekInStreamWrap()
157 if (Res == S_OK) in ReadByteFromNewBlock()
206 if (Res == S_OK) in Flush()
210 if (Res == S_OK) in Flush()
DStreamUtils.cpp23 return S_OK; in ReadStream()
25 return S_OK; in ReadStream()
32 return (size == processedSize) ? S_OK : S_FALSE; in ReadStream_FALSE()
39 return (size == processedSize) ? S_OK : E_FAIL; in ReadStream_FAIL()
55 return S_OK; in WriteStream()
/external/lzma/CPP/7zip/UI/Common/
DUpdateCallback.cpp126 return S_OK; in GetUpdateItemInfo()
142 return S_OK; in GetRootProp()
149 return S_OK; in GetParent()
157 return S_OK; in GetNumRawProps()
164 return S_OK; in GetRawPropInfo()
177 return S_OK; in GetRootRawProp()
182 return S_OK; in GetRootRawProp()
187 return S_OK; in GetRootRawProp()
192 return S_OK; in GetRootRawProp()
199 return S_OK; in GetRootRawProp()
[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()
91 return S_OK; in Read()
110 return S_OK; in Read()
123 return S_OK; in GetSubStreamSize()
133 return S_OK; in GetSubStreamSize()
/external/lzma/CPP/7zip/UI/Console/
DUpdateCallbackConsole.cpp38 return NConsoleClose::TestBreakSignal() ? E_ABORT : S_OK; in CheckBreak2()
132 if (result == S_OK) in OpenResult()
153 return S_OK; in OpenResult()
161 return S_OK; in StartScanning()
201 return S_OK; in ScanError_Base()
259 return S_OK; in FinishScanning()
275 return S_OK; in StartOpenArchive()
289 return S_OK; in StartArchive()
310 return S_OK; in FinishArchive()
323 return S_OK; in WriteSfx()
[all …]
/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()
379 return S_OK; in SetOperationResult()
391 return S_OK; in ReportExtractResult()
[all …]
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp120 return S_OK; in IsArchiveItemProp()
157 return S_OK; in SetTotal()
162 return S_OK; in SetCompleted()
253 return S_OK; in SetTotal()
258 return S_OK; in SetCompleted()
285 return S_OK; in GetStream()
371 return S_OK; in GetStream()
388 return S_OK; in PrepareOperation()
454 return S_OK; in SetOperationResult()
545 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/skia/src/utils/win/
DSkIStream.cpp32 return S_OK; in QueryInterface()
127 return S_OK; in CreateFromSkStream()
134 return (*pcbRead == cb) ? S_OK : S_FALSE; in Read()
149 HRESULT hr = S_OK; in Seek()
216 return S_OK; in Stat()
238 return S_OK; in CreateFromSkWStream()
246 HRESULT hr = S_OK; in Write()
260 return S_OK; in Commit()
274 return S_OK; in Stat()

123456789