Lines Matching refs:sqlite3_syscall_ptr

2318 typedef void (*sqlite3_syscall_ptr)(void);  typedef
2348 int (*xSetSystemCall)(sqlite3_vfs*, const char *zName, sqlite3_syscall_ptr);
2349 sqlite3_syscall_ptr (*xGetSystemCall)(sqlite3_vfs*, const char *zName);
31112 sqlite3_syscall_ptr pCurrent; /* Current value of the system call */
31113 sqlite3_syscall_ptr pDefault; /* Default value */
31115 { "open", (sqlite3_syscall_ptr)posixOpen, 0 },
31118 { "close", (sqlite3_syscall_ptr)close, 0 },
31121 { "access", (sqlite3_syscall_ptr)access, 0 },
31124 { "getcwd", (sqlite3_syscall_ptr)getcwd, 0 },
31127 { "stat", (sqlite3_syscall_ptr)stat, 0 },
31140 { "fstat", (sqlite3_syscall_ptr)fstat, 0 },
31144 { "ftruncate", (sqlite3_syscall_ptr)ftruncate, 0 },
31147 { "fcntl", (sqlite3_syscall_ptr)fcntl, 0 },
31150 { "read", (sqlite3_syscall_ptr)read, 0 },
31154 { "pread", (sqlite3_syscall_ptr)pread, 0 },
31156 { "pread", (sqlite3_syscall_ptr)0, 0 },
31161 { "pread64", (sqlite3_syscall_ptr)pread64, 0 },
31163 { "pread64", (sqlite3_syscall_ptr)0, 0 },
31167 { "write", (sqlite3_syscall_ptr)write, 0 },
31171 { "pwrite", (sqlite3_syscall_ptr)pwrite, 0 },
31173 { "pwrite", (sqlite3_syscall_ptr)0, 0 },
31179 { "pwrite64", (sqlite3_syscall_ptr)pwrite64, 0 },
31181 { "pwrite64", (sqlite3_syscall_ptr)0, 0 },
31186 { "fchmod", (sqlite3_syscall_ptr)fchmod, 0 },
31190 { "fallocate", (sqlite3_syscall_ptr)posix_fallocate, 0 },
31192 { "fallocate", (sqlite3_syscall_ptr)0, 0 },
31196 { "unlink", (sqlite3_syscall_ptr)unlink, 0 },
31199 { "openDirectory", (sqlite3_syscall_ptr)openDirectory, 0 },
31202 { "mkdir", (sqlite3_syscall_ptr)mkdir, 0 },
31205 { "rmdir", (sqlite3_syscall_ptr)rmdir, 0 },
31209 { "fchown", (sqlite3_syscall_ptr)fchown, 0 },
31211 { "fchown", (sqlite3_syscall_ptr)0, 0 },
31215 { "geteuid", (sqlite3_syscall_ptr)geteuid, 0 },
31219 { "mmap", (sqlite3_syscall_ptr)mmap, 0 },
31221 { "mmap", (sqlite3_syscall_ptr)0, 0 },
31226 { "munmap", (sqlite3_syscall_ptr)munmap, 0 },
31228 { "munmap", (sqlite3_syscall_ptr)0, 0 },
31233 { "mremap", (sqlite3_syscall_ptr)mremap, 0 },
31235 { "mremap", (sqlite3_syscall_ptr)0, 0 },
31240 { "getpagesize", (sqlite3_syscall_ptr)unixGetpagesize, 0 },
31242 { "getpagesize", (sqlite3_syscall_ptr)0, 0 },
31247 { "readlink", (sqlite3_syscall_ptr)readlink, 0 },
31249 { "readlink", (sqlite3_syscall_ptr)0, 0 },
31254 { "lstat", (sqlite3_syscall_ptr)lstat, 0 },
31256 { "lstat", (sqlite3_syscall_ptr)0, 0 },
31261 { "ioctl", (sqlite3_syscall_ptr)ioctl, 0 },
31263 { "ioctl", (sqlite3_syscall_ptr)0, 0 },
31292 sqlite3_syscall_ptr pNewFunc /* Pointer to new system call value */
31332 static sqlite3_syscall_ptr unixGetSystemCall(
39188 # define SYSCALL sqlite3_syscall_ptr
39207 sqlite3_syscall_ptr pCurrent; /* Current value of the system call */
39208 sqlite3_syscall_ptr pDefault; /* Default value */
39869 sqlite3_syscall_ptr pNewFunc /* Pointer to new system call value */
39909 static sqlite3_syscall_ptr winGetSystemCall(