Lines Matching defs:aSyscall

37203 } aSyscall[] = {
37205 #define osOpen ((int(*)(const char*,int,int))aSyscall[0].pCurrent)
37208 #define osClose ((int(*)(int))aSyscall[1].pCurrent)
37211 #define osAccess ((int(*)(const char*,int))aSyscall[2].pCurrent)
37214 #define osGetcwd ((char*(*)(char*,size_t))aSyscall[3].pCurrent)
37217 #define osStat ((int(*)(const char*,struct stat*))aSyscall[4].pCurrent)
37230 #define osFstat ((int(*)(int,struct stat*))aSyscall[5].pCurrent)
37234 #define osFtruncate ((int(*)(int,off_t))aSyscall[6].pCurrent)
37237 #define osFcntl ((int(*)(int,int,...))aSyscall[7].pCurrent)
37240 #define osRead ((ssize_t(*)(int,void*,size_t))aSyscall[8].pCurrent)
37247 #define osPread ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[9].pCurrent)
37254 #define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent)
37257 #define osWrite ((ssize_t(*)(int,const void*,size_t))aSyscall[11].pCurrent)
37265 aSyscall[12].pCurrent)
37273 aSyscall[13].pCurrent)
37276 #define osFchmod ((int(*)(int,mode_t))aSyscall[14].pCurrent)
37283 #define osFallocate ((int(*)(int,off_t,off_t))aSyscall[15].pCurrent)
37286 #define osUnlink ((int(*)(const char*))aSyscall[16].pCurrent)
37289 #define osOpenDirectory ((int(*)(const char*,int*))aSyscall[17].pCurrent)
37292 #define osMkdir ((int(*)(const char*,mode_t))aSyscall[18].pCurrent)
37295 #define osRmdir ((int(*)(const char*))aSyscall[19].pCurrent)
37302 #define osFchown ((int(*)(int,uid_t,gid_t))aSyscall[20].pCurrent)
37309 #define osGeteuid ((uid_t(*)(void))aSyscall[21].pCurrent)
37316 #define osMmap ((void*(*)(void*,size_t,int,int,int,off_t))aSyscall[22].pCurrent)
37323 #define osMunmap ((int(*)(void*,size_t))aSyscall[23].pCurrent)
37330 #define osMremap ((void*(*)(void*,size_t,size_t,int,...))aSyscall[24].pCurrent)
37337 #define osGetpagesize ((int(*)(void))aSyscall[25].pCurrent)
37344 #define osReadlink ((ssize_t(*)(const char*,char*,size_t))aSyscall[26].pCurrent)
37351 #define osLstat ((int(*)(const char*,struct stat*))aSyscall[27].pCurrent)
37356 #define osIoctl ((int(*)(int,int,...))aSyscall[28].pCurrent)
37359 #define osIoctl ((int(*)(int,unsigned long,...))aSyscall[28].pCurrent)
37401 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
37402 if( aSyscall[i].pDefault ){
37403 aSyscall[i].pCurrent = aSyscall[i].pDefault;
37410 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
37411 if( strcmp(zName, aSyscall[i].zName)==0 ){
37412 if( aSyscall[i].pDefault==0 ){
37413 aSyscall[i].pDefault = aSyscall[i].pCurrent;
37416 if( pNewFunc==0 ) pNewFunc = aSyscall[i].pDefault;
37417 aSyscall[i].pCurrent = pNewFunc;
37437 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
37438 if( strcmp(zName, aSyscall[i].zName)==0 ) return aSyscall[i].pCurrent;
37454 for(i=0; i<ArraySize(aSyscall)-1; i++){
37455 if( strcmp(zName, aSyscall[i].zName)==0 ) break;
37458 for(i++; i<ArraySize(aSyscall); i++){
37459 if( aSyscall[i].pCurrent!=0 ) return aSyscall[i].zName;
45016 /* Double-check that the aSyscall[] array has been constructed
45018 assert( ArraySize(aSyscall)==29 );
45582 } aSyscall[] = {
45590 #define osAreFileApisANSI ((BOOL(WINAPI*)(VOID))aSyscall[0].pCurrent)
45599 #define osCharLowerW ((LPWSTR(WINAPI*)(LPWSTR))aSyscall[1].pCurrent)
45607 #define osCharUpperW ((LPWSTR(WINAPI*)(LPWSTR))aSyscall[2].pCurrent)
45611 #define osCloseHandle ((BOOL(WINAPI*)(HANDLE))aSyscall[3].pCurrent)
45620 LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE))aSyscall[4].pCurrent)
45629 LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE))aSyscall[5].pCurrent)
45640 DWORD,DWORD,DWORD,LPCSTR))aSyscall[6].pCurrent)
45650 DWORD,DWORD,DWORD,LPCWSTR))aSyscall[7].pCurrent)
45659 LPCWSTR))aSyscall[8].pCurrent)
45667 #define osDeleteFileA ((BOOL(WINAPI*)(LPCSTR))aSyscall[9].pCurrent)
45675 #define osDeleteFileW ((BOOL(WINAPI*)(LPCWSTR))aSyscall[10].pCurrent)
45684 LPFILETIME))aSyscall[11].pCurrent)
45693 LPSYSTEMTIME))aSyscall[12].pCurrent)
45697 #define osFlushFileBuffers ((BOOL(WINAPI*)(HANDLE))aSyscall[13].pCurrent)
45706 DWORD,va_list*))aSyscall[14].pCurrent)
45715 DWORD,va_list*))aSyscall[15].pCurrent)
45723 #define osFreeLibrary ((BOOL(WINAPI*)(HMODULE))aSyscall[16].pCurrent)
45727 #define osGetCurrentProcessId ((DWORD(WINAPI*)(VOID))aSyscall[17].pCurrent)
45736 LPDWORD))aSyscall[18].pCurrent)
45745 LPDWORD))aSyscall[19].pCurrent)
45753 #define osGetFileAttributesA ((DWORD(WINAPI*)(LPCSTR))aSyscall[20].pCurrent)
45761 #define osGetFileAttributesW ((DWORD(WINAPI*)(LPCWSTR))aSyscall[21].pCurrent)
45770 LPVOID))aSyscall[22].pCurrent)
45778 #define osGetFileSize ((DWORD(WINAPI*)(HANDLE,LPDWORD))aSyscall[23].pCurrent)
45787 LPSTR*))aSyscall[24].pCurrent)
45796 LPWSTR*))aSyscall[25].pCurrent)
45800 #define osGetLastError ((DWORD(WINAPI*)(VOID))aSyscall[26].pCurrent)
45816 LPCSTR))aSyscall[27].pCurrent)
45824 #define osGetSystemInfo ((VOID(WINAPI*)(LPSYSTEM_INFO))aSyscall[28].pCurrent)
45828 #define osGetSystemTime ((VOID(WINAPI*)(LPSYSTEMTIME))aSyscall[29].pCurrent)
45837 LPFILETIME))aSyscall[30].pCurrent)
45845 #define osGetTempPathA ((DWORD(WINAPI*)(DWORD,LPSTR))aSyscall[31].pCurrent)
45853 #define osGetTempPathW ((DWORD(WINAPI*)(DWORD,LPWSTR))aSyscall[32].pCurrent)
45861 #define osGetTickCount ((DWORD(WINAPI*)(VOID))aSyscall[33].pCurrent)
45870 LPOSVERSIONINFOA))aSyscall[34].pCurrent)
45880 LPOSVERSIONINFOW))aSyscall[35].pCurrent)
45885 SIZE_T))aSyscall[36].pCurrent)
45894 SIZE_T))aSyscall[37].pCurrent)
45902 #define osHeapDestroy ((BOOL(WINAPI*)(HANDLE))aSyscall[38].pCurrent)
45906 #define osHeapFree ((BOOL(WINAPI*)(HANDLE,DWORD,LPVOID))aSyscall[39].pCurrent)
45911 SIZE_T))aSyscall[40].pCurrent)
45916 LPCVOID))aSyscall[41].pCurrent)
45925 LPCVOID))aSyscall[42].pCurrent)
45933 #define osHeapCompact ((UINT(WINAPI*)(HANDLE,DWORD))aSyscall[43].pCurrent)
45941 #define osLoadLibraryA ((HMODULE(WINAPI*)(LPCSTR))aSyscall[44].pCurrent)
45950 #define osLoadLibraryW ((HMODULE(WINAPI*)(LPCWSTR))aSyscall[45].pCurrent)
45958 #define osLocalFree ((HLOCAL(WINAPI*)(HLOCAL))aSyscall[46].pCurrent)
45968 DWORD))aSyscall[47].pCurrent)
45979 LPOVERLAPPED))aSyscall[48].pCurrent)
45990 SIZE_T))aSyscall[49].pCurrent)
45995 int))aSyscall[50].pCurrent)
46000 LARGE_INTEGER*))aSyscall[51].pCurrent)
46005 LPOVERLAPPED))aSyscall[52].pCurrent)
46009 #define osSetEndOfFile ((BOOL(WINAPI*)(HANDLE))aSyscall[53].pCurrent)
46018 DWORD))aSyscall[54].pCurrent)
46026 #define osSleep ((VOID(WINAPI*)(DWORD))aSyscall[55].pCurrent)
46031 LPFILETIME))aSyscall[56].pCurrent)
46041 DWORD))aSyscall[57].pCurrent)
46051 LPOVERLAPPED))aSyscall[58].pCurrent)
46059 #define osUnmapViewOfFile ((BOOL(WINAPI*)(LPCVOID))aSyscall[59].pCurrent)
46064 LPCSTR,LPBOOL))aSyscall[60].pCurrent)
46069 LPOVERLAPPED))aSyscall[61].pCurrent)
46078 DWORD,DWORD))aSyscall[62].pCurrent)
46087 DWORD))aSyscall[63].pCurrent)
46096 BOOL))aSyscall[64].pCurrent)
46105 PLARGE_INTEGER,DWORD))aSyscall[65].pCurrent)
46114 FILE_INFO_BY_HANDLE_CLASS,LPVOID,DWORD))aSyscall[66].pCurrent)
46123 SIZE_T))aSyscall[67].pCurrent)
46132 LPCREATEFILE2_EXTENDED_PARAMETERS))aSyscall[68].pCurrent)
46141 DWORD))aSyscall[69].pCurrent)
46149 #define osGetTickCount64 ((ULONGLONG(WINAPI*)(VOID))aSyscall[70].pCurrent)
46158 LPSYSTEM_INFO))aSyscall[71].pCurrent)
46166 #define osOutputDebugStringA ((VOID(WINAPI*)(LPCSTR))aSyscall[72].pCurrent)
46174 #define osOutputDebugStringW ((VOID(WINAPI*)(LPCWSTR))aSyscall[73].pCurrent)
46178 #define osGetProcessHeap ((HANDLE(WINAPI*)(VOID))aSyscall[74].pCurrent)
46187 LPSECURITY_ATTRIBUTES,ULONG,ULONG64,LPCWSTR))aSyscall[75].pCurrent)
46202 SQLITE_WIN32_VOLATILE*, LONG,LONG))aSyscall[76].pCurrent)
46211 #define osUuidCreate ((RPC_STATUS(RPC_ENTRY*)(UUID*))aSyscall[77].pCurrent)
46220 ((RPC_STATUS(RPC_ENTRY*)(UUID*))aSyscall[78].pCurrent)
46229 ((BOOL(WINAPI*)(LPCVOID,SIZE_T))aSyscall[79].pCurrent)
46253 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
46254 if( aSyscall[i].pDefault ){
46255 aSyscall[i].pCurrent = aSyscall[i].pDefault;
46262 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
46263 if( strcmp(zName, aSyscall[i].zName)==0 ){
46264 if( aSyscall[i].pDefault==0 ){
46265 aSyscall[i].pDefault = aSyscall[i].pCurrent;
46268 if( pNewFunc==0 ) pNewFunc = aSyscall[i].pDefault;
46269 aSyscall[i].pCurrent = pNewFunc;
46289 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
46290 if( strcmp(zName, aSyscall[i].zName)==0 ) return aSyscall[i].pCurrent;
46306 for(i=0; i<ArraySize(aSyscall)-1; i++){
46307 if( strcmp(zName, aSyscall[i].zName)==0 ) break;
46310 for(i++; i<ArraySize(aSyscall); i++){
46311 if( aSyscall[i].pCurrent!=0 ) return aSyscall[i].zName;
51220 /* Double-check that the aSyscall[] array has been constructed
51222 assert( ArraySize(aSyscall)==80 );