Searched refs:BoolToInt (Results 1 – 12 of 12) sorted by relevance
/external/lzma/CPP/Common/ |
D | Defs.h | 12 inline int BoolToInt(bool v) { return (v ? 1 : 0); } in BoolToInt() function
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | ExtractCallback.cpp | 695 *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/ |
D | date.cc | 104 if (days >= 31 + 28 + BoolToInt(is_leap)) { in YearMonthDayFromDays() 105 days -= 31 + 28 + BoolToInt(is_leap); in YearMonthDayFromDays()
|
D | utils.h | 47 inline int BoolToInt(bool b) { return b ? 1 : 0; } in BoolToInt() function
|
/external/lzma/CPP/7zip/Bundles/SFXSetup/ |
D | ExtractEngine.cpp | 78 …Result = ArchiveLink.GetArchive()->Extract(0, (UInt32)(Int32)-1 , BoolToInt(false), ExtractCallbac… in Process2()
|
/external/lzma/CPP/7zip/UI/Common/ |
D | UpdateCallback.cpp | 118 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()
|
D | ArchiveExtractCallback.cpp | 942 …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()
|
D | OpenArchive.cpp | 1313 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/ |
D | Client7z.cpp | 557 *newData = BoolToInt(true); in GetUpdateItemInfo() 559 *newProperties = BoolToInt(true); in GetUpdateItemInfo() 692 *passwordIsDefined = BoolToInt(PasswordIsDefined); in CryptoGetTextPassword2()
|
/external/lzma/CPP/7zip/UI/Console/ |
D | UpdateCallbackConsole.cpp | 629 *passwordIsDefined = BoolToInt(PasswordIsDefined); in CryptoGetTextPassword2()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zDecode.cpp | 423 RINOK(setFinishMode->SetFinishMode(BoolToInt(fullUnpack))); in Decode()
|
/external/v8/src/runtime/ |
D | runtime-scopes.cc | 148 DCHECK_EQ(1, BoolToInt(is_var) + BoolToInt(is_function)); in DeclareGlobals()
|