/third_party/lzma/C/ |
H A D | Threads.h | 32 WRes HandlePtr_Close(HANDLE *h);
33 WRes Handle_WaitObject(HANDLE h);
74 WRes Thread_Close(CThread *p);
129 WRes Thread_Create(CThread *p, THREAD_FUNC_TYPE func, LPVOID param);
130 WRes Thread_Create_With_Affinity(CThread *p, THREAD_FUNC_TYPE func, LPVOID param, CAffinityMask affinity);
131 WRes Thread_Wait_Close(CThread *p);
137 WRes Thread_Create_With_CpuSet(CThread *p, THREAD_FUNC_TYPE func, LPVOID param, const CCpuSet *cpuSet);
150 WRes Event_Set(CEvent *p);
151 WRes Event_Reset(CEvent *p);
152 WRes ManualResetEvent_Creat [all...] |
H A D | Threads.c | 14 static WRes GetError(void)
in GetError() 17 return res ? (WRes)res : 1;
in GetError() 20 static WRes HandleToWRes(HANDLE h) { return (h != NULL) ? 0 : GetError(); }
in HandleToWRes() 21 static WRes BOOLToWRes(BOOL v) { return v ? 0 : GetError(); }
in BOOLToWRes() 23 WRes HandlePtr_Close(HANDLE *p)
in HandlePtr_Close() 34 WRes Handle_WaitObject(HANDLE h)
in Handle_WaitObject() 50 return (WRes)dw;
in Handle_WaitObject() 55 WRes Thread_Wait_Close(CThread *p)
in Thread_Wait_Close() 57 WRes res = Thread_Wait(p);
in Thread_Wait_Close() 58 WRes res in Thread_Wait_Close() [all...] |
H A D | 7zFile.h | 40 WRes InFile_Open(CSzFile *p, const char *name);
41 WRes OutFile_Open(CSzFile *p, const char *name);
44 WRes InFile_OpenW(CSzFile *p, const WCHAR *name);
45 WRes OutFile_OpenW(CSzFile *p, const WCHAR *name);
47 WRes File_Close(CSzFile *p);
50 WRes File_Read(CSzFile *p, void *data, size_t *size);
53 WRes File_Write(CSzFile *p, const void *data, size_t *size);
55 WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin);
56 WRes File_GetLength(CSzFile *p, UInt64 *length);
65 WRes wre [all...] |
H A D | 7zFile.c | 53 static WRes File_Open(CSzFile *p, const char *name, int writeMode)
in File_Open() 86 WRes InFile_Open(CSzFile *p, const char *name) { return File_Open(p, name, 0); }
in InFile_Open() 88 WRes OutFile_Open(CSzFile *p, const char *name)
in OutFile_Open() 102 static WRes File_OpenW(CSzFile *p, const WCHAR *name, int writeMode)
in File_OpenW() 111 WRes InFile_OpenW(CSzFile *p, const WCHAR *name) { return File_OpenW(p, name, 0); }
in InFile_OpenW() 112 WRes OutFile_OpenW(CSzFile *p, const WCHAR *name) { return File_OpenW(p, name, 1); }
in OutFile_OpenW() 115 WRes File_Close(CSzFile *p)
in File_Close() 155 WRes File_Read(CSzFile *p, void *data, size_t *size)
in File_Read() 221 WRes File_Write(CSzFile *p, const void *data, size_t *size)
in File_Write() 283 WRes File_See [all...] |
H A D | MtDec.c | 100 static WRes MtDecThread_CreateEvents(CMtDecThread *t)
in MtDecThread_CreateEvents() 102 WRes wres = AutoResetEvent_OptCreate_And_Reset(&t->canWrite);
in MtDecThread_CreateEvents() 115 WRes wres = MtDecThread_CreateEvents(t);
in MtDecThread_CreateAndStart() 231 (!= 0) - WRes error return by system threading function
237 static WRes MtDec_ThreadFunc2(CMtDecThread *t)
in MtDec_ThreadFunc2() 814 WRes res;
in MtDec_ThreadFunc1() 1067 WRes wres;
in MtDec_Code() 1075 wres = (WRes)(UINT_PTR)res;
in MtDec_Code()
|
H A D | 7zTypes.h | 66 /* typedef DWORD WRes; */
67 typedef unsigned WRes;
typedef 75 typedef int WRes;
typedef 90 // we call macro HRESULT_FROM_WIN32 for system errors (WRes) that are (errno)
168 #define RINOK_WRes(x) { const WRes _result_ = (x); if (_result_ != 0) return _result_; }
|
H A D | MtDec.h | 145 WRes exitThreadWRes;
|
H A D | MtCoder.c | 44 WRes wres = AutoResetEvent_OptCreate_And_Reset(&t->startEvent);
in MtCoderThread_CreateAndStart() 548 WRes wres = Event_Wait(&p->finishedEvent);
in MtCoder_Code()
|
H A D | LzFindMt.c | 230 WRes wres;
in MtSync_Init() 241 static WRes MtSync_Create_WRes(CMtSync *p, THREAD_FUNC_TYPE startAddress, void *obj)
in MtSync_Create_WRes() 243 WRes wres;
in MtSync_Create_WRes() 276 const WRes wres = MtSync_Create_WRes(p, startAddress, obj);
in MtSync_Create()
|
/third_party/lzma/CPP/Windows/ |
H A D | Synchronization.h | 28 WRes Close() { return Event_Close(&_object); }
in Close() 32 WRes Create(bool manualReset, bool initiallyOwn, LPCTSTR name = NULL, LPSECURITY_ATTRIBUTES sa = NULL)
in Create() 39 WRes Open(DWORD desiredAccess, bool inheritHandle, LPCTSTR name)
in Open() 48 WRes Set() { return Event_Set(&_object); }
in Set() 50 WRes Reset() { return Event_Reset(&_object); }
in Reset() 51 WRes Lock() { return Event_Wait(&_object); }
in Lock() 57 WRes Create(bool initiallyOwn = false)
in Create() 61 WRes CreateIfNotCreated_Reset()
in CreateIfNotCreated_Reset() 68 WRes CreateWithName(bool initiallyOwn, LPCTSTR name)
in CreateWithName() 78 WRes Creat [all...] |
H A D | Thread.h | 19 WRes Close() { return Thread_Close(&thread); }
in Close() 20 // WRes Wait() { return Thread_Wait(&thread); }
21 WRes Wait_Close() { return Thread_Wait_Close(&thread); }
in Wait_Close() 23 WRes Create(THREAD_FUNC_TYPE startAddress, LPVOID param)
in Create() 25 WRes Create_With_Affinity(THREAD_FUNC_TYPE startAddress, LPVOID param, CAffinityMask affinity)
in Create_With_Affinity() 27 WRes Create_With_CpuSet(THREAD_FUNC_TYPE startAddress, LPVOID param, const CCpuSet *cpuSet)
in Create_With_CpuSet()
|
H A D | FileMapping.h | 15 WRes Create(DWORD protect, UInt64 maxSize, LPCTSTR name)
in Create() 21 WRes Open(DWORD
in Open() 28 WRes res = Create(PAGE_READONLY, 0, name);
in Open()
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | VirtThread.h | 18 WRes Create();
19 WRes Start();
21 WRes WaitExecuteFinish() { return FinishedEvent.Lock(); }
in WaitExecuteFinish()
|
H A D | VirtThread.cpp | 20 WRes CVirtThread::Create()
in Create() 32 WRes CVirtThread::Start()
in Start()
|
H A D | StreamBinder.cpp | 39 const WRes wres = event.CreateIfNotCreated_Reset();
80 WRes wres = _canRead_Event.Lock();
|
/third_party/lzma/C/Util/7z/ |
H A D | 7zMain.c | 208 static WRes MyCreateDir(const UInt16 *name)
in MyCreateDir() 217 WRes res;
in MyCreateDir() 234 static WRes OutFile_OpenUtf16(CSzFile *p, const UInt16 *name)
in OutFile_OpenUtf16() 240 WRes res;
in OutFile_OpenUtf16() 400 static WRes Set_File_FILETIME(const UInt16 *name, const FILETIME *mTime)
in Set_File_FILETIME() 489 static void PrintError_WRes(const char *message, WRes wres)
in PrintError_WRes() 587 WRes wres =
in main() 771 const WRes wres = OutFile_OpenUtf16(&outFile, destPath);
in main() 783 const WRes wres = File_Write(&outFile, outBuffer + offset, &processedSize);
in main() 823 const WRes wre in main() [all...] |
/third_party/lzma/C/Util/Lzma/ |
H A D | LzmaUtil.c | 68 static int PrintError_WRes(const char *message, WRes wres)
in PrintError_WRes() 267 const WRes wres = InFile_Open(&inStream.file, args[2]);
in main() 274 WRes wres;
in main() 286 const WRes wres = File_GetLength(&inStream.file, &fileSize);
in main()
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | Bench.cpp | 873 WRes CreateThread_WithAffinity(NWindows::CThread &thread, THREAD_FUNC_TYPE startAddress, LPVOID parameter, UInt32 bundleIndex) const
1153 WRes res = 0;
1178 WRes res = AffinityMode.CreateThread_WithAffinity(thread[index], DecodeThreadFunction, &decoder,
1383 WRes wres = ReadyEvent.Set();
1731 WRes StartAndWait(bool exitMode = false);
1735 WRes CBenchThreadsFlusher::StartAndWait(bool exitMode)
1741 WRes res = Common.StartEvent.Set();
1748 WRes res2 = t.Wait_Close();
1916 WRes wres = encoderFlusher.Common.StartEvent.Create();
1977 const WRes wre [all...] |
/third_party/lzma/C/Util/SfxSetup/ |
H A D | SfxSetup.c | 133 static WRes MyCreateDir(const WCHAR *name)
in MyCreateDir() 193 static WRes RemoveDirWithSubItems(WCHAR *path)
in RemoveDirWithSubItems() 197 WRes res = 0;
in RemoveDirWithSubItems()
|
/third_party/lzma/CPP/7zip/Archive/Common/ |
H A D | CoderMixer2.cpp | 1081 const WRes wres = _coders[i].Create();
in Code() 1089 const WRes wres = _coders[i].Start();
in Code() 1096 WRes wres = 0;
in Code() 1100 WRes wres2 = _coders[i].WaitExecuteFinish();
in Code()
|
/third_party/lzma/CPP/7zip/Bundles/SFXSetup/ |
H A D | ExtractEngine.cpp | 115 const WRes wres = thread.Create(CThreadExtracting::MyThreadFunction, &t);
in ExtractArchive()
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zUpdate.cpp | 2018 const WRes wres = threadDecoder.Create();
in Update() 2467 WRes wres = threadDecoder.Start();
in Update() 2505 const WRes wres = threadDecoder.WaitExecuteFinish();
in Update()
|
/third_party/lzma/CPP/7zip/UI/FileManager/ |
H A D | ProgressDialog2.cpp | 1399 const WRes wres = thread.Create(MyThreadFunction, this);
in Create()
|