Home
last modified time | relevance | path

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

12345

/external/lzma/CPP/7zip/UI/Console/
DUpdateCallbackConsole.cpp34 if (result != S_OK) in OpenResult()
36 return S_OK; in OpenResult()
42 return S_OK; in StartScanning()
65 return S_OK; in CanNotFindError()
71 return S_OK; in FinishScanning()
85 return S_OK; in StartArchive()
91 return S_OK; in FinishArchive()
98 return S_OK; in CheckBreak()
117 return S_OK; in Finilize()
122 return S_OK; in SetNumFiles()
[all …]
DExtractCallbackConsole.cpp52 return S_OK; in SetTotal()
59 return S_OK; in SetCompleted()
83 return S_OK; in AskOverwrite()
97 return S_OK; in PrepareOperation()
105 return S_OK; in MessageError()
136 return S_OK; in SetOperationResult()
145 return S_OK; in SetPassword()
165 return S_OK; in BeforeOpen()
171 if (result != S_OK) in OpenResult()
190 return S_OK; in OpenResult()
[all …]
/external/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.cpp69 bool success = (S_OK == Session->get_loadAddress(&LoadAddress)); in getLoadAddress()
79 if (S_OK != Session->get_globalScope(&GlobalScope)) in getGlobalScope()
91 if (S_OK != Session->symbolById(SymbolId, &LocatedSymbol)) in getSymbolById()
100 if (S_OK != Session->findFile(nullptr, nullptr, nsNone, &Files)) in getAllSourceFiles()
112 if (S_OK != in getSourceFilesForCompiland()
122 if (S_OK != Session->findFileById(FileId, &LocatedFile)) in getSourceFileById()
130 if (S_OK != Session->getEnumDebugStreams(&DiaEnumerator)) in getDebugStreams()
DDIADataStream.cpp20 return (S_OK == StreamData->get_Count(&Count)) ? Count : 0; in getRecordCount()
25 if (S_OK != StreamData->get_name(&Name16)) in getName()
45 if (S_OK != StreamData->Item(Index, RecordSize, &RecordSize, &Record[0])) in getItemAtIndex()
59 if (S_OK == in getNext()
69 if (S_OK != StreamData->Clone(&EnumeratorClone)) in clone()
DDIASourceFile.cpp24 if (S_OK != Result) in getFileName()
36 return (S_OK == SourceFile->get_uniqueId(&Id)) ? Id : 0; in getUniqueId()
46 if (S_OK != Result) in getChecksum()
54 if (S_OK != Result) in getChecksumType()
62 if (S_OK != Result) in getCompilands()
/external/lzma/CPP/7zip/Common/
DFileStreams.cpp22 return S_OK; in ConvertBoolToHRESULT()
28 return result ? S_OK: E_FAIL; in ConvertBoolToHRESULT()
88 return S_OK; in Read()
94 return VirtPos == File.Length ? S_OK : E_FAIL; in Read()
108 return S_OK; in Read()
114 return S_OK; in Read()
159 return S_OK; in Read()
193 return S_OK; in Read()
204 return (s2 = size) ? S_OK : E_FAIL; in Read()
219 return S_OK; in Read()
[all …]
DOutBuffer.cpp41 ErrorCode = S_OK; in Init()
58 HRESULT result = S_OK; in FlushPart()
70 && (ErrorCode == S_OK) in FlushPart()
94 if (ErrorCode != S_OK) in Flush()
101 if (result != S_OK) in Flush()
104 return S_OK; in Flush()
113 if (result != S_OK) in FlushWithCheck()
DCWrappers.cpp35 case S_OK: return SZ_OK; in HRESULT_To_SRes()
50 if (p->Res == S_OK) in MyRead()
65 p->Res = S_OK; in MyWrite()
88 case SZ_OK: return S_OK; in SResToHRESULT()
103 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Read()
120 return (p->Res == S_OK) ? SZ_OK : SZ_ERROR_READ; in InStreamWrap_Seek()
128 Res = S_OK; in CSeekInStreamWrap()
153 if (Res == S_OK) in ReadByteFromNewBlock()
202 if (Res == S_OK) in Flush()
206 if (Res == S_OK) in Flush()
DStreamObjects.cpp14 return S_OK; in Read()
24 return S_OK; in Read()
38 return S_OK; in Seek()
89 return S_OK; in Write()
97 return S_OK; in Write()
109 return (rem != 0 || size == 0) ? S_OK : E_FAIL; in Write()
172 return S_OK; in Read()
206 return S_OK; in Read()
220 return S_OK; in Seek()
DLimitedStreams.cpp12 HRESULT result = S_OK; in Read()
30 return (_virtPos == _size) ? S_OK: E_FAIL; in Read()
59 return S_OK; in Seek()
67 return (_virtPos == Size) ? S_OK: E_FAIL; in Read()
114 return S_OK; in Seek()
127 return S_OK; in CreateLimitedInStream()
132 HRESULT result = S_OK; in Write()
144 return S_OK; in Write()
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()
DFilterCoder.cpp36 return S_OK; in WriteWithLimit()
68 return S_OK; in Code()
81 return S_OK; in Code()
94 return S_OK; in ReleaseOutStream()
129 return S_OK; in Write()
152 return S_OK; in Flush()
166 return S_OK; in ReleaseInStream()
209 return S_OK; in Read()
/external/lzma/CPP/7zip/Archive/7z/
D7zFolderInStream.cpp37 if (result != S_OK && result != S_FALSE) in OpenStream()
52 return S_OK; in OpenStream()
56 Processed.Add(result == S_OK); in OpenStream()
59 return S_OK; in OpenStream()
76 return S_OK; in CloseStream()
103 return S_OK; in Read()
115 return S_OK; in GetSubStreamSize()
120 return S_OK; in GetSubStreamSize()
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp89 return S_OK; in IsArchiveItemProp()
126 return S_OK; in SetTotal()
131 return S_OK; in SetCompleted()
220 return S_OK; in SetTotal()
225 return S_OK; in SetCompleted()
252 return S_OK; in GetStream()
340 return S_OK; in GetStream()
357 return S_OK; in PrepareOperation()
397 return S_OK; in SetOperationResult()
489 return S_OK; in SetTotal()
[all …]
/external/lzma/CPP/7zip/Compress/
DLzma2Decoder.cpp15 case SZ_OK: return S_OK; in SResToHRESULT()
55 return S_OK; in SetDecoderProperties2()
58 …ODIMP CDecoder::GetInStreamProcessedSize(UInt64 *value) { *value = _inSizeProcessed; return S_OK; } in GetInStreamProcessedSize()
59 …THODIMP CDecoder::SetInStream(ISequentialInStream *inStream) { _inStream = inStream; return S_OK; } in SetInStream()
60 STDMETHODIMP CDecoder::ReleaseInStream() { _inStream.Release(); return S_OK; } in ReleaseInStream()
72 return S_OK; in SetOutStreamSize()
130 return S_OK; in Code()
132 return (status == LZMA_STATUS_FINISHED_WITH_MARK ? S_OK : S_FALSE); in Code()
180 return S_OK; in Read()
184 return S_OK; in Read()
DLzmaDecoder.cpp15 case SZ_OK: return S_OK; in SResToHRESULT()
47 STDMETHODIMP CDecoder::SetInBufSize(UInt32 , UInt32 size) { _inBufSize = size; return S_OK; } in SetInBufSize()
48 STDMETHODIMP CDecoder::SetOutBufSize(UInt32 , UInt32 size) { _outBufSize = size; return S_OK; } in SetOutBufSize()
60 return S_OK; in CreateInputBuffer()
85 return S_OK; in SetOutStreamSize()
147 return S_OK; in CodeSpec()
149 return (status == LZMA_STATUS_FINISHED_WITH_MARK ? S_OK : S_FALSE); in CodeSpec()
170 …THODIMP CDecoder::SetInStream(ISequentialInStream *inStream) { _inStream = inStream; return S_OK; } in SetInStream()
171 STDMETHODIMP CDecoder::ReleaseInStream() { _inStream.Release(); return S_OK; } in ReleaseInStream()
207 return S_OK; in Read()
[all …]
DCodecExports.cpp25 return S_OK; in SetPropString()
49 return S_OK; in FindCodecClassId()
63 return S_OK; in FindCodecClassId()
65 return S_OK; in FindCodecClassId()
97 return S_OK; in CreateCoder2()
112 if (res != S_OK) in CreateCoder()
153 return S_OK; in GetMethodProperty()
159 return S_OK; in GetNumberOfMethods()
/external/lzma/CPP/7zip/Archive/Common/
DParseProperties.cpp32 return S_OK; in ParsePropValue()
56 return S_OK; in ParsePropDictionaryValue()
78 return S_OK; in ParsePropDictionaryValue()
91 return S_OK; in ParsePropDictionaryValue()
121 return S_OK; in SetBoolProperty()
124 return S_OK; in SetBoolProperty()
131 return StringToBool(value.bstrVal, dest) ? S_OK : E_INVALIDARG; in SetBoolProperty()
176 return S_OK; in ParseMtProp()
/external/lzma/CPP/7zip/UI/Common/
DUpdateCallback.cpp84 return S_OK; in GetUpdateItemInfo()
98 return S_OK; in GetProperty()
111 return S_OK; in GetProperty()
114 return S_OK; in GetProperty()
140 return S_OK; in GetProperty()
154 return S_OK; in GetProperty()
176 return S_OK; in GetStream()
195 return S_OK; in GetStream()
213 return S_OK; in GetVolumeSize()
233 return S_OK; in GetVolumeStream()
DLoadCodecs.cpp108 return S_OK; in GetCoderClass()
116 return S_OK; in LoadCodecs()
136 return S_OK; in LoadCodecs()
160 return S_OK; in ReadBoolProp()
174 return S_OK; in ReadStringProp()
245 return S_OK; in LoadFormats()
266 if (ReadProp(getProp, getProp2, i, NArchive::kClassID, prop) != S_OK) in LoadFormats()
282 if (ReadProp(getProp, getProp2, i, NArchive::kStartSignature, prop) == S_OK) in LoadFormats()
291 return S_OK; in LoadFormats()
353 return S_OK; in LoadDll()
[all …]
DArchiveExtractCallback.cpp62 return S_OK; in SetTotal()
89 return S_OK; in SetCompleted()
134 return S_OK; in GetTime()
144 return S_OK; in GetUnpackSize()
187 return S_OK; in GetStream()
196 return S_OK; in GetStream()
277 return S_OK; in GetStream()
288 return S_OK; in GetStream()
303 return S_OK; in GetStream()
306 return S_OK; in GetStream()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
Ddxgi_native.cpp90 return S_OK; in BeginPresent()
101 return S_OK; in TestPresent()
112 return S_OK; in GetPresentSize()
135 return S_OK; in GetPresentSize()
185 return S_OK; in EnumAdapters1()
205 return S_OK; in MakeWindowAssociation()
212 return S_OK; in GetWindowAssociation()
348 return S_OK; in GetDesc()
355 return S_OK; in GetDesc1()
366 return S_OK; in CheckInterfaceSupport()
[all …]
/external/skia/src/utils/win/
DSkIStream.cpp34 return S_OK; in QueryInterface()
129 return S_OK; in CreateFromSkStream()
136 return (*pcbRead == cb) ? S_OK : S_FALSE; in Read()
151 HRESULT hr = S_OK; in Seek()
218 return S_OK; in Stat()
240 return S_OK; in CreateFromSkWStream()
248 HRESULT hr = S_OK; in Write()
262 return S_OK; in Commit()
276 return S_OK; in Stat()
/external/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp160 if (res == S_OK) in Code()
164 if (res == S_OK) in Code()
169 return S_OK; in Code()
217 return S_OK; in GetArchiveProperty()
223 return S_OK; in GetNumberOfItems()
277 return S_OK; in GetProperty()
302 return S_OK; in Open()
309 return S_OK; in OpenSeq()
317 return S_OK; in Close()
326 return S_OK; in Extract()
[all …]

12345