Home
last modified time | relevance | path

Searched refs:BoolToInt (Results 1 – 12 of 12) sorted by relevance

/external/lzma/CPP/Common/
DDefs.h12 inline int BoolToInt(bool v) { return (v ? 1 : 0); } in BoolToInt() function
/external/lzma/CPP/7zip/UI/FileManager/
DExtractCallback.cpp695 *writeAnswer = BoolToInt(false); in AskWrite()
710 *writeAnswer = BoolToInt(false); in AskWrite()
717 *writeAnswer = BoolToInt(false); in AskWrite()
770 *writeAnswer = BoolToInt(true); in AskWrite()
777 *res = BoolToInt(StreamMode); in UseExtractToStream()
/external/v8/src/
Ddate.cc104 if (days >= 31 + 28 + BoolToInt(is_leap)) { in YearMonthDayFromDays()
105 days -= 31 + 28 + BoolToInt(is_leap); in YearMonthDayFromDays()
Dutils.h47 inline int BoolToInt(bool b) { return b ? 1 : 0; } in BoolToInt() function
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractEngine.cpp78 …Result = ArchiveLink.GetArchive()->Extract(0, (UInt32)(Int32)-1 , BoolToInt(false), ExtractCallbac… in Process2()
/external/lzma/CPP/7zip/UI/Common/
DUpdateCallback.cpp118 if (newData) *newData = BoolToInt(up.NewData); in GetUpdateItemInfo()
119 if (newProps) *newProps = BoolToInt(up.NewProps); in GetUpdateItemInfo()
675 return Callback->ReportExtractResult(opRes, BoolToInt(isEncrypted), s); in ReportExtractResult()
DArchiveExtractCallback.cpp942 …return ExtractToStreamCallback->GetStream7(name, BoolToInt(_item.IsDir), outStream, askExtractMode… in GetStream()
1422 return _extractCallback2->PrepareOperation(_item.Path, BoolToInt(_item.IsDir), in PrepareOperation()
1435 return ExtractToStreamCallback->SetOperationResult7(opRes, BoolToInt(_encrypted)); in SetOperationResult()
1516 RINOK(_extractCallback2->SetOperationResult(opRes, BoolToInt(_encrypted))); in SetOperationResult()
DOpenArchive.cpp1313 allowTail->AllowTail(BoolToInt(true)); in PrepareToOpen()
1551 RINOK(archive->Extract(0, (UInt32)(Int32)-1, BoolToInt(true), extractCallback)); in OpenArchiveSpec()
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp557 *newData = BoolToInt(true); in GetUpdateItemInfo()
559 *newProperties = BoolToInt(true); in GetUpdateItemInfo()
692 *passwordIsDefined = BoolToInt(PasswordIsDefined); in CryptoGetTextPassword2()
/external/lzma/CPP/7zip/UI/Console/
DUpdateCallbackConsole.cpp629 *passwordIsDefined = BoolToInt(PasswordIsDefined); in CryptoGetTextPassword2()
/external/lzma/CPP/7zip/Archive/7z/
D7zDecode.cpp423 RINOK(setFinishMode->SetFinishMode(BoolToInt(fullUnpack))); in Decode()
/external/v8/src/runtime/
Druntime-scopes.cc148 DCHECK_EQ(1, BoolToInt(is_var) + BoolToInt(is_function)); in DeclareGlobals()