/external/lzma/C/ |
D | Threads.c | 10 static WRes GetError() in GetError() 13 return (res) ? (WRes)(res) : 1; in GetError() 16 WRes HandleToWRes(HANDLE h) { return (h != 0) ? 0 : GetError(); } in HandleToWRes() 17 WRes BOOLToWRes(BOOL v) { return v ? 0 : GetError(); } in BOOLToWRes() 19 WRes HandlePtr_Close(HANDLE *p) in HandlePtr_Close() 28 WRes Handle_WaitObject(HANDLE h) { return (WRes)WaitForSingleObject(h, INFINITE); } in Handle_WaitObject() 30 WRes Thread_Create(CThread *p, THREAD_FUNC_TYPE func, LPVOID param) in Thread_Create() 43 WRes Event_Create(CEvent *p, BOOL manualReset, int signaled) in Event_Create() 49 WRes Event_Set(CEvent *p) { return BOOLToWRes(SetEvent(*p)); } in Event_Set() 50 WRes Event_Reset(CEvent *p) { return BOOLToWRes(ResetEvent(*p)); } in Event_Reset() [all …]
|
D | Threads.h | 13 WRes HandlePtr_Close(HANDLE *h); 14 WRes Handle_WaitObject(HANDLE h); 25 WRes Thread_Create(CThread *p, THREAD_FUNC_TYPE func, LPVOID param); 34 WRes Event_Set(CEvent *p); 35 WRes Event_Reset(CEvent *p); 36 WRes ManualResetEvent_Create(CManualResetEvent *p, int signaled); 37 WRes ManualResetEvent_CreateNotSignaled(CManualResetEvent *p); 38 WRes AutoResetEvent_Create(CAutoResetEvent *p, int signaled); 39 WRes AutoResetEvent_CreateNotSignaled(CAutoResetEvent *p); 45 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 | 38 static WRes File_Open(CSzFile *p, const char *name, int writeMode) in File_Open() 58 WRes InFile_Open(CSzFile *p, const char *name) { return File_Open(p, name, 0); } in InFile_Open() 59 WRes OutFile_Open(CSzFile *p, const char *name) { return File_Open(p, name, 1); } in OutFile_Open() 63 static WRes File_OpenW(CSzFile *p, const WCHAR *name, int writeMode) in File_OpenW() 72 WRes InFile_OpenW(CSzFile *p, const WCHAR *name) { return File_OpenW(p, name, 0); } in InFile_OpenW() 73 WRes OutFile_OpenW(CSzFile *p, const WCHAR *name) { return File_OpenW(p, name, 1); } in OutFile_OpenW() 76 WRes File_Close(CSzFile *p) in File_Close() 97 WRes File_Read(CSzFile *p, void *data, size_t *size) in File_Read() 132 WRes File_Write(CSzFile *p, const void *data, size_t *size) in File_Write() 167 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 | 37 WRes LoopThread_Create(CLoopThread *p) in LoopThread_Create() 45 WRes LoopThread_StopAndWait(CLoopThread *p) in LoopThread_StopAndWait() 53 WRes LoopThread_StartSubThread(CLoopThread *p) { return Event_Set(&p->startEvent); } in LoopThread_StartSubThread() 54 WRes LoopThread_WaitSubThread(CLoopThread *p) { return Event_Wait(&p->finishedEvent); } in LoopThread_WaitSubThread()
|
D | Types.h | 46 typedef DWORD WRes; typedef 48 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 desiredAccess, LPCTSTR name) in Open() 24 WRes res = Create(PAGE_READONLY, 0, name); in Open()
|
/external/lzma/C/Util/7z/ |
D | 7zMain.c | 134 static WRes MyCreateDir(const UInt16 *name) in MyCreateDir() 143 WRes res; in MyCreateDir() 160 static WRes OutFile_OpenUtf16(CSzFile *p, const UInt16 *name) in OutFile_OpenUtf16() 166 WRes res; in OutFile_OpenUtf16()
|
/external/lzma/CPP/7zip/Common/ |
D | VirtThread.h | 17 WRes Create();
|
D | VirtThread.cpp | 20 WRes CVirtThread::Create() in Create()
|
/external/lzma/C/Util/SfxSetup/ |
D | SfxSetup.c | 111 static WRes MyCreateDir(const WCHAR *name) in MyCreateDir() 176 static WRes RemoveDirWithSubItems(WCHAR *path) in RemoveDirWithSubItems() 180 WRes res = 0; in RemoveDirWithSubItems()
|