/external/lzma/C/ |
D | Threads.c | 12 static WRes GetError() in GetError() 15 return (res) ? (WRes)(res) : 1; in GetError() 18 WRes HandleToWRes(HANDLE h) { return (h != 0) ? 0 : GetError(); } in HandleToWRes() 19 WRes BOOLToWRes(BOOL v) { return v ? 0 : GetError(); } in BOOLToWRes() 21 WRes HandlePtr_Close(HANDLE *p) in HandlePtr_Close() 30 WRes Handle_WaitObject(HANDLE h) { return (WRes)WaitForSingleObject(h, INFINITE); } in Handle_WaitObject() 32 WRes Thread_Create(CThread *p, THREAD_FUNC_TYPE func, LPVOID param) in Thread_Create() 52 WRes Event_Create(CEvent *p, BOOL manualReset, int signaled) in Event_Create() 58 WRes Event_Set(CEvent *p) { return BOOLToWRes(SetEvent(*p)); } in Event_Set() 59 WRes Event_Reset(CEvent *p) { return BOOLToWRes(ResetEvent(*p)); } in Event_Reset() [all …]
|
D | Threads.h | 15 WRes HandlePtr_Close(HANDLE *h); 16 WRes Handle_WaitObject(HANDLE h); 35 WRes Thread_Create(CThread *p, THREAD_FUNC_TYPE func, LPVOID param); 44 WRes Event_Set(CEvent *p); 45 WRes Event_Reset(CEvent *p); 46 WRes ManualResetEvent_Create(CManualResetEvent *p, int signaled); 47 WRes ManualResetEvent_CreateNotSignaled(CManualResetEvent *p); 48 WRes AutoResetEvent_Create(CAutoResetEvent *p, int signaled); 49 WRes AutoResetEvent_CreateNotSignaled(CAutoResetEvent *p); 55 WRes Semaphore_Create(CSemaphore *p, UInt32 initCount, UInt32 maxCount); [all …]
|
D | 7zFile.h | 34 WRes InFile_Open(CSzFile *p, const char *name); 35 WRes OutFile_Open(CSzFile *p, const char *name); 38 WRes InFile_OpenW(CSzFile *p, const WCHAR *name); 39 WRes OutFile_OpenW(CSzFile *p, const WCHAR *name); 41 WRes File_Close(CSzFile *p); 44 WRes File_Read(CSzFile *p, void *data, size_t *size); 47 WRes File_Write(CSzFile *p, const void *data, size_t *size); 49 WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin); 50 WRes File_GetLength(CSzFile *p, UInt64 *length);
|
D | 7zFile.c | 40 static WRes File_Open(CSzFile *p, const char *name, int writeMode) in File_Open() 60 WRes InFile_Open(CSzFile *p, const char *name) { return File_Open(p, name, 0); } in InFile_Open() 61 WRes OutFile_Open(CSzFile *p, const char *name) { return File_Open(p, name, 1); } in OutFile_Open() 65 static WRes File_OpenW(CSzFile *p, const WCHAR *name, int writeMode) in File_OpenW() 74 WRes InFile_OpenW(CSzFile *p, const WCHAR *name) { return File_OpenW(p, name, 0); } in InFile_OpenW() 75 WRes OutFile_OpenW(CSzFile *p, const WCHAR *name) { return File_OpenW(p, name, 1); } in OutFile_OpenW() 78 WRes File_Close(CSzFile *p) in File_Close() 99 WRes File_Read(CSzFile *p, void *data, size_t *size) in File_Read() 134 WRes File_Write(CSzFile *p, const void *data, size_t *size) in File_Write() 169 WRes File_Seek(CSzFile *p, Int64 *pos, ESzSeek origin) in File_Seek() [all …]
|
D | MtCoder.h | 25 WRes LoopThread_Create(CLoopThread *p); 26 WRes LoopThread_StopAndWait(CLoopThread *p); 27 WRes LoopThread_StartSubThread(CLoopThread *p); 28 WRes LoopThread_WaitSubThread(CLoopThread *p);
|
D | MtCoder.c | 39 WRes LoopThread_Create(CLoopThread *p) in LoopThread_Create() 47 WRes LoopThread_StopAndWait(CLoopThread *p) in LoopThread_StopAndWait() 55 WRes LoopThread_StartSubThread(CLoopThread *p) { return Event_Set(&p->startEvent); } in LoopThread_StartSubThread() 56 WRes LoopThread_WaitSubThread(CLoopThread *p) { return Event_Wait(&p->finishedEvent); } in LoopThread_WaitSubThread()
|
D | 7zTypes.h | 47 typedef unsigned WRes; typedef 49 typedef int WRes; typedef
|
/external/lzma/CPP/Windows/ |
D | Synchronization.h | 26 WRes Close() { return Event_Close(&_object); } in Close() 28 …WRes Create(bool manualReset, bool initiallyOwn, LPCTSTR name = NULL, LPSECURITY_ATTRIBUTES sa = N… 35 WRes Open(DWORD desiredAccess, bool inheritHandle, LPCTSTR name) in Open() 44 WRes Set() { return Event_Set(&_object); } in Set() 46 WRes Reset() { return Event_Reset(&_object); } in Reset() 47 WRes Lock() { return Event_Wait(&_object); } in Lock() 53 WRes Create(bool initiallyOwn = false) 57 WRes CreateIfNotCreated() in CreateIfNotCreated() 64 WRes CreateWithName(bool initiallyOwn, LPCTSTR name) in CreateWithName() 74 WRes Create() in Create() [all …]
|
D | Thread.h | 19 WRes Close() { return Thread_Close(&thread); } in Close() 20 WRes Create(THREAD_FUNC_RET_TYPE (THREAD_FUNC_CALL_TYPE *startAddress)(void *), LPVOID parameter) in Create() 22 WRes Wait() { return Thread_Wait(&thread); } in Wait()
|
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()
|
/external/lzma/C/Util/7z/ |
D | 7zMain.c | 147 static WRes MyCreateDir(const UInt16 *name) in MyCreateDir() 156 WRes res; in MyCreateDir() 173 static WRes OutFile_OpenUtf16(CSzFile *p, const UInt16 *name) in OutFile_OpenUtf16() 179 WRes res; in OutFile_OpenUtf16()
|
/external/lzma/CPP/7zip/Common/ |
D | VirtThread.h | 18 WRes Create();
|
D | StreamBinder.h | 21 WRes CreateEvents();
|
D | VirtThread.cpp | 20 WRes CVirtThread::Create() in Create()
|
D | StreamBinder.cpp | 41 WRes CStreamBinder::CreateEvents() in CreateEvents()
|
/external/lzma/C/Util/SfxSetup/ |
D | SfxSetup.c | 114 static WRes MyCreateDir(const WCHAR *name) in MyCreateDir() 174 static WRes RemoveDirWithSubItems(WCHAR *path) in RemoveDirWithSubItems() 178 WRes res = 0; in RemoveDirWithSubItems()
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2.cpp | 923 WRes res = WaitForMultipleObjects(ARRAY_SIZE(h), h, FALSE, kCreateDelay); in Create()
|