Lines Matching refs:aSyscall

39270 } aSyscall[] = {  variable
39272 #define osOpen ((int(*)(const char*,int,int))aSyscall[0].pCurrent)
39275 #define osClose ((int(*)(int))aSyscall[1].pCurrent)
39278 #define osAccess ((int(*)(const char*,int))aSyscall[2].pCurrent)
39281 #define osGetcwd ((char*(*)(char*,size_t))aSyscall[3].pCurrent)
39284 #define osStat ((int(*)(const char*,struct stat*))aSyscall[4].pCurrent)
39297 #define osFstat ((int(*)(int,struct stat*))aSyscall[5].pCurrent)
39301 #define osFtruncate ((int(*)(int,off_t))aSyscall[6].pCurrent)
39304 #define osFcntl ((int(*)(int,int,...))aSyscall[7].pCurrent)
39307 #define osRead ((ssize_t(*)(int,void*,size_t))aSyscall[8].pCurrent)
39314 #define osPread ((ssize_t(*)(int,void*,size_t,off_t))aSyscall[9].pCurrent)
39321 #define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent)
39324 #define osWrite ((ssize_t(*)(int,const void*,size_t))aSyscall[11].pCurrent)
39332 aSyscall[12].pCurrent)
39340 aSyscall[13].pCurrent)
39347 #define osFchmod ((int(*)(int,mode_t))aSyscall[14].pCurrent)
39354 #define osFallocate ((int(*)(int,off_t,off_t))aSyscall[15].pCurrent)
39357 #define osUnlink ((int(*)(const char*))aSyscall[16].pCurrent)
39360 #define osOpenDirectory ((int(*)(const char*,int*))aSyscall[17].pCurrent)
39363 #define osMkdir ((int(*)(const char*,mode_t))aSyscall[18].pCurrent)
39366 #define osRmdir ((int(*)(const char*))aSyscall[19].pCurrent)
39373 #define osFchown ((int(*)(int,uid_t,gid_t))aSyscall[20].pCurrent)
39380 #define osGeteuid ((uid_t(*)(void))aSyscall[21].pCurrent)
39388 #define osMmap ((void*(*)(void*,size_t,int,int,int,off_t))aSyscall[22].pCurrent)
39396 #define osMunmap ((int(*)(void*,size_t))aSyscall[23].pCurrent)
39403 #define osMremap ((void*(*)(void*,size_t,size_t,int,...))aSyscall[24].pCurrent)
39410 #define osGetpagesize ((int(*)(void))aSyscall[25].pCurrent)
39417 #define osReadlink ((ssize_t(*)(const char*,char*,size_t))aSyscall[26].pCurrent)
39424 #define osLstat ((int(*)(const char*,struct stat*))aSyscall[27].pCurrent)
39429 #define osIoctl ((int(*)(int,int,...))aSyscall[28].pCurrent)
39432 #define osIoctl ((int(*)(int,unsigned long,...))aSyscall[28].pCurrent)
39474 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){ in unixSetSystemCall()
39475 if( aSyscall[i].pDefault ){ in unixSetSystemCall()
39476 aSyscall[i].pCurrent = aSyscall[i].pDefault; in unixSetSystemCall()
39483 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){ in unixSetSystemCall()
39484 if( strcmp(zName, aSyscall[i].zName)==0 ){ in unixSetSystemCall()
39485 if( aSyscall[i].pDefault==0 ){ in unixSetSystemCall()
39486 aSyscall[i].pDefault = aSyscall[i].pCurrent; in unixSetSystemCall()
39489 if( pNewFunc==0 ) pNewFunc = aSyscall[i].pDefault; in unixSetSystemCall()
39490 aSyscall[i].pCurrent = pNewFunc; in unixSetSystemCall()
39510 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){ in unixGetSystemCall()
39511 if( strcmp(zName, aSyscall[i].zName)==0 ) return aSyscall[i].pCurrent; in unixGetSystemCall()
39527 for(i=0; i<ArraySize(aSyscall)-1; i++){ in unixNextSystemCall()
39528 if( strcmp(zName, aSyscall[i].zName)==0 ) break; in unixNextSystemCall()
39531 for(i++; i<ArraySize(aSyscall); i++){ in unixNextSystemCall()
39532 if( aSyscall[i].pCurrent!=0 ) return aSyscall[i].zName; in unixNextSystemCall()
47075 assert( ArraySize(aSyscall)==29 ); in sqlite3_os_init()
47649 } aSyscall[] = { variable
47657 #define osAreFileApisANSI ((BOOL(WINAPI*)(VOID))aSyscall[0].pCurrent)
47666 #define osCharLowerW ((LPWSTR(WINAPI*)(LPWSTR))aSyscall[1].pCurrent)
47674 #define osCharUpperW ((LPWSTR(WINAPI*)(LPWSTR))aSyscall[2].pCurrent)
47678 #define osCloseHandle ((BOOL(WINAPI*)(HANDLE))aSyscall[3].pCurrent)
47687 LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE))aSyscall[4].pCurrent)
47696 LPSECURITY_ATTRIBUTES,DWORD,DWORD,HANDLE))aSyscall[5].pCurrent)
47707 DWORD,DWORD,DWORD,LPCSTR))aSyscall[6].pCurrent)
47717 DWORD,DWORD,DWORD,LPCWSTR))aSyscall[7].pCurrent)
47726 LPCWSTR))aSyscall[8].pCurrent)
47734 #define osDeleteFileA ((BOOL(WINAPI*)(LPCSTR))aSyscall[9].pCurrent)
47742 #define osDeleteFileW ((BOOL(WINAPI*)(LPCWSTR))aSyscall[10].pCurrent)
47751 LPFILETIME))aSyscall[11].pCurrent)
47760 LPSYSTEMTIME))aSyscall[12].pCurrent)
47764 #define osFlushFileBuffers ((BOOL(WINAPI*)(HANDLE))aSyscall[13].pCurrent)
47773 DWORD,va_list*))aSyscall[14].pCurrent)
47782 DWORD,va_list*))aSyscall[15].pCurrent)
47790 #define osFreeLibrary ((BOOL(WINAPI*)(HMODULE))aSyscall[16].pCurrent)
47794 #define osGetCurrentProcessId ((DWORD(WINAPI*)(VOID))aSyscall[17].pCurrent)
47803 LPDWORD))aSyscall[18].pCurrent)
47812 LPDWORD))aSyscall[19].pCurrent)
47820 #define osGetFileAttributesA ((DWORD(WINAPI*)(LPCSTR))aSyscall[20].pCurrent)
47828 #define osGetFileAttributesW ((DWORD(WINAPI*)(LPCWSTR))aSyscall[21].pCurrent)
47837 LPVOID))aSyscall[22].pCurrent)
47845 #define osGetFileSize ((DWORD(WINAPI*)(HANDLE,LPDWORD))aSyscall[23].pCurrent)
47854 LPSTR*))aSyscall[24].pCurrent)
47863 LPWSTR*))aSyscall[25].pCurrent)
47873 #define osGetLastError ((DWORD(WINAPI*)(VOID))aSyscall[26].pCurrent)
47889 LPCSTR))aSyscall[27].pCurrent)
47897 #define osGetSystemInfo ((VOID(WINAPI*)(LPSYSTEM_INFO))aSyscall[28].pCurrent)
47901 #define osGetSystemTime ((VOID(WINAPI*)(LPSYSTEMTIME))aSyscall[29].pCurrent)
47910 LPFILETIME))aSyscall[30].pCurrent)
47918 #define osGetTempPathA ((DWORD(WINAPI*)(DWORD,LPSTR))aSyscall[31].pCurrent)
47926 #define osGetTempPathW ((DWORD(WINAPI*)(DWORD,LPWSTR))aSyscall[32].pCurrent)
47934 #define osGetTickCount ((DWORD(WINAPI*)(VOID))aSyscall[33].pCurrent)
47943 LPOSVERSIONINFOA))aSyscall[34].pCurrent)
47953 LPOSVERSIONINFOW))aSyscall[35].pCurrent)
47958 SIZE_T))aSyscall[36].pCurrent)
47967 SIZE_T))aSyscall[37].pCurrent)
47975 #define osHeapDestroy ((BOOL(WINAPI*)(HANDLE))aSyscall[38].pCurrent)
47979 #define osHeapFree ((BOOL(WINAPI*)(HANDLE,DWORD,LPVOID))aSyscall[39].pCurrent)
47984 SIZE_T))aSyscall[40].pCurrent)
47989 LPCVOID))aSyscall[41].pCurrent)
47998 LPCVOID))aSyscall[42].pCurrent)
48006 #define osHeapCompact ((UINT(WINAPI*)(HANDLE,DWORD))aSyscall[43].pCurrent)
48014 #define osLoadLibraryA ((HMODULE(WINAPI*)(LPCSTR))aSyscall[44].pCurrent)
48023 #define osLoadLibraryW ((HMODULE(WINAPI*)(LPCWSTR))aSyscall[45].pCurrent)
48031 #define osLocalFree ((HLOCAL(WINAPI*)(HLOCAL))aSyscall[46].pCurrent)
48041 DWORD))aSyscall[47].pCurrent)
48052 LPOVERLAPPED))aSyscall[48].pCurrent)
48063 SIZE_T))aSyscall[49].pCurrent)
48068 int))aSyscall[50].pCurrent)
48073 LARGE_INTEGER*))aSyscall[51].pCurrent)
48078 LPOVERLAPPED))aSyscall[52].pCurrent)
48082 #define osSetEndOfFile ((BOOL(WINAPI*)(HANDLE))aSyscall[53].pCurrent)
48091 DWORD))aSyscall[54].pCurrent)
48099 #define osSleep ((VOID(WINAPI*)(DWORD))aSyscall[55].pCurrent)
48104 LPFILETIME))aSyscall[56].pCurrent)
48114 DWORD))aSyscall[57].pCurrent)
48124 LPOVERLAPPED))aSyscall[58].pCurrent)
48132 #define osUnmapViewOfFile ((BOOL(WINAPI*)(LPCVOID))aSyscall[59].pCurrent)
48137 LPCSTR,LPBOOL))aSyscall[60].pCurrent)
48142 LPOVERLAPPED))aSyscall[61].pCurrent)
48151 DWORD,DWORD))aSyscall[62].pCurrent)
48162 DWORD))aSyscall[63].pCurrent)
48171 BOOL))aSyscall[64].pCurrent)
48180 PLARGE_INTEGER,DWORD))aSyscall[65].pCurrent)
48189 FILE_INFO_BY_HANDLE_CLASS,LPVOID,DWORD))aSyscall[66].pCurrent)
48198 SIZE_T))aSyscall[67].pCurrent)
48207 LPCREATEFILE2_EXTENDED_PARAMETERS))aSyscall[68].pCurrent)
48216 DWORD))aSyscall[69].pCurrent)
48224 #define osGetTickCount64 ((ULONGLONG(WINAPI*)(VOID))aSyscall[70].pCurrent)
48233 LPSYSTEM_INFO))aSyscall[71].pCurrent)
48241 #define osOutputDebugStringA ((VOID(WINAPI*)(LPCSTR))aSyscall[72].pCurrent)
48249 #define osOutputDebugStringW ((VOID(WINAPI*)(LPCWSTR))aSyscall[73].pCurrent)
48253 #define osGetProcessHeap ((HANDLE(WINAPI*)(VOID))aSyscall[74].pCurrent)
48262 LPSECURITY_ATTRIBUTES,ULONG,ULONG64,LPCWSTR))aSyscall[75].pCurrent)
48277 SQLITE_WIN32_VOLATILE*, LONG,LONG))aSyscall[76].pCurrent)
48286 #define osUuidCreate ((RPC_STATUS(RPC_ENTRY*)(UUID*))aSyscall[77].pCurrent)
48295 ((RPC_STATUS(RPC_ENTRY*)(UUID*))aSyscall[78].pCurrent)
48304 ((BOOL(WINAPI*)(LPCVOID,SIZE_T))aSyscall[79].pCurrent)
48321 aSyscall[80].pCurrent \
48338 #define osCancelIo ((BOOL(WINAPI*)(HANDLE))aSyscall[81].pCurrent)
48346 #define osGetModuleHandleW ((HMODULE(WINAPI*)(LPCWSTR))aSyscall[82].pCurrent)
48354 #define osGetenv ((const char *(*)(const char *))aSyscall[83].pCurrent)
48362 #define osGetcwd ((char*(*)(char*,size_t))aSyscall[84].pCurrent)
48370 #define osReadlink ((ssize_t(*)(const char*,char*,size_t))aSyscall[85].pCurrent)
48378 #define osLstat ((int(*)(const char*,struct stat*))aSyscall[86].pCurrent)
48386 #define osErrno (*((int*(*)(void))aSyscall[87].pCurrent)())
48395 const void *, void *, size_t))aSyscall[88].pCurrent)
48419 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){ in winSetSystemCall()
48420 if( aSyscall[i].pDefault ){ in winSetSystemCall()
48421 aSyscall[i].pCurrent = aSyscall[i].pDefault; in winSetSystemCall()
48428 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){ in winSetSystemCall()
48429 if( strcmp(zName, aSyscall[i].zName)==0 ){ in winSetSystemCall()
48430 if( aSyscall[i].pDefault==0 ){ in winSetSystemCall()
48431 aSyscall[i].pDefault = aSyscall[i].pCurrent; in winSetSystemCall()
48434 if( pNewFunc==0 ) pNewFunc = aSyscall[i].pDefault; in winSetSystemCall()
48435 aSyscall[i].pCurrent = pNewFunc; in winSetSystemCall()
48455 for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){ in winGetSystemCall()
48456 if( strcmp(zName, aSyscall[i].zName)==0 ) return aSyscall[i].pCurrent; in winGetSystemCall()
48472 for(i=0; i<ArraySize(aSyscall)-1; i++){ in winNextSystemCall()
48473 if( strcmp(zName, aSyscall[i].zName)==0 ) break; in winNextSystemCall()
48476 for(i++; i<ArraySize(aSyscall); i++){ in winNextSystemCall()
48477 if( aSyscall[i].pCurrent!=0 ) return aSyscall[i].zName; in winNextSystemCall()
53765 assert( ArraySize(aSyscall)==89 );