Home
last modified time | relevance | path

Searched refs:BOOLToBool (Results 1 – 11 of 11) sorted by relevance

/external/lzma/CPP/Windows/
DFileDir.cpp117 res = BOOLToBool(::SetFileTime(hDir, cTime, aTime, mTime)); in SetDirTime()
130 return BOOLToBool(::SetFileAttributesW(longPath, fileAttributes)); in MySetFileAttributes()
142 return BOOLToBool(::RemoveDirectoryW(longPath)); in MyRemoveDirectory()
166 return BOOLToBool(::MoveFileW(d1, d2)); in MyMoveFile()
181 return BOOLToBool(::SetFileAttributesW(longPath, fileAttributes)); in MySetFileAttributes()
196 return BOOLToBool(::RemoveDirectoryW(longPath)); in MyRemoveDirectory()
210 return BOOLToBool(::MoveFileW(d1, d2)); in MyMoveFile()
225 return BOOLToBool(::CreateDirectoryW(longPath, NULL)); in MyCreateDirectory()
243 return BOOLToBool(::CreateDirectoryW(longPath, NULL)); in MyCreateDirectory()
380 return BOOLToBool(::DeleteFileW(longPath)); in DeleteFileAlways()
[all …]
DThread.h30 bool Terminate(DWORD exitCode) { return BOOLToBool(::TerminateThread(thread, exitCode)); } in Terminate()
32 bool SetPriority(int priority) { return BOOLToBool(::SetThreadPriority(thread, priority)); } in SetPriority()
DDefs.h10 inline bool BOOLToBool(BOOL v) { return (v != FALSE); } in BOOLToBool() function
DFileIO.cpp329 bool res = BOOLToBool(::ReadFile(_handle, data, size, &processedLoc, NULL)); in Read1()
389 { return BOOLToBool(::SetFileTime(_handle, cTime, aTime, mTime)); } in SetTime()
398 bool res = BOOLToBool(::WriteFile(_handle, data, size, &processedLoc, NULL)); in WritePart()
422 bool COutFile::SetEndOfFile() { return BOOLToBool(::SetEndOfFile(_handle)); } in SetEndOfFile()
DPropVariantConversions.cpp52 if (!BOOLToBool(FileTimeToSystemTime(&ft, &st))) in ConvertFileTimeToString()
DFileFind.h148 bool FindNext() { return BOOLToBool(::FindNextChangeNotification(_handle)); } in FindNext()
DTime.cpp22 …return BOOLToBool(::DosDateTimeToFileTime((UInt16)(dosTime >> 16), (UInt16)(dosTime & 0xFFFF), &ft… in DosTimeToFileTime()
DFileIO.h71 return BOOLToBool(::DeviceIoControl(_handle, controlCode, inBuffer, inSize, in DeviceIoControl()
DFileDir.h63 { return BOOLToBool(::SetCurrentDirectory(path)); } in MySetCurrentDirectory()
DFileFind.cpp163 bool result = BOOLToBool(::FindNextFile(_handle, &fd)); in FindNext()
/external/lzma/CPP/7zip/UI/Common/
DUpdate.cpp615 bool RestoreDirectory() { return BOOLToBool(NFile::NDirectory::MySetCurrentDirectory(_path)); } in RestoreDirectory()