github.com/tristanisham/sys@v0.0.0-20240326010300-a16cbabb7555/unix/darwin_amd64_test.go (about)

     1  // go run mkasm.go darwin amd64
     2  // Code generated by the command above; DO NOT EDIT.
     3  
     4  //go:build darwin
     5  
     6  package unix
     7  
     8  // All the _trampoline functions in zsyscall_darwin_amd64.s.
     9  var darwinTests = [...]darwinTest{
    10  	{"accept", libc_accept_trampoline_addr},
    11  	{"access", libc_access_trampoline_addr},
    12  	{"adjtime", libc_adjtime_trampoline_addr},
    13  	{"bind", libc_bind_trampoline_addr},
    14  	{"chdir", libc_chdir_trampoline_addr},
    15  	{"chflags", libc_chflags_trampoline_addr},
    16  	{"chmod", libc_chmod_trampoline_addr},
    17  	{"chown", libc_chown_trampoline_addr},
    18  	{"chroot", libc_chroot_trampoline_addr},
    19  	{"clock_gettime", libc_clock_gettime_trampoline_addr},
    20  	{"clonefile", libc_clonefile_trampoline_addr},
    21  	{"clonefileat", libc_clonefileat_trampoline_addr},
    22  	{"close", libc_close_trampoline_addr},
    23  	{"closedir", libc_closedir_trampoline_addr},
    24  	{"connect", libc_connect_trampoline_addr},
    25  	{"dup", libc_dup_trampoline_addr},
    26  	{"dup2", libc_dup2_trampoline_addr},
    27  	{"exchangedata", libc_exchangedata_trampoline_addr},
    28  	{"exit", libc_exit_trampoline_addr},
    29  	{"faccessat", libc_faccessat_trampoline_addr},
    30  	{"fchdir", libc_fchdir_trampoline_addr},
    31  	{"fchflags", libc_fchflags_trampoline_addr},
    32  	{"fchmod", libc_fchmod_trampoline_addr},
    33  	{"fchmodat", libc_fchmodat_trampoline_addr},
    34  	{"fchown", libc_fchown_trampoline_addr},
    35  	{"fchownat", libc_fchownat_trampoline_addr},
    36  	{"fclonefileat", libc_fclonefileat_trampoline_addr},
    37  	{"fcntl", libc_fcntl_trampoline_addr},
    38  	{"fdopendir", libc_fdopendir_trampoline_addr},
    39  	{"fgetxattr", libc_fgetxattr_trampoline_addr},
    40  	{"flistxattr", libc_flistxattr_trampoline_addr},
    41  	{"flock", libc_flock_trampoline_addr},
    42  	{"fpathconf", libc_fpathconf_trampoline_addr},
    43  	{"fremovexattr", libc_fremovexattr_trampoline_addr},
    44  	{"fsetxattr", libc_fsetxattr_trampoline_addr},
    45  	{"fstat64", libc_fstat64_trampoline_addr},
    46  	{"fstatat64", libc_fstatat64_trampoline_addr},
    47  	{"fstatfs64", libc_fstatfs64_trampoline_addr},
    48  	{"fsync", libc_fsync_trampoline_addr},
    49  	{"ftruncate", libc_ftruncate_trampoline_addr},
    50  	{"futimes", libc_futimes_trampoline_addr},
    51  	{"getcwd", libc_getcwd_trampoline_addr},
    52  	{"getdtablesize", libc_getdtablesize_trampoline_addr},
    53  	{"getegid", libc_getegid_trampoline_addr},
    54  	{"geteuid", libc_geteuid_trampoline_addr},
    55  	{"getfsstat64", libc_getfsstat64_trampoline_addr},
    56  	{"getgid", libc_getgid_trampoline_addr},
    57  	{"getgroups", libc_getgroups_trampoline_addr},
    58  	{"getpeername", libc_getpeername_trampoline_addr},
    59  	{"getpgid", libc_getpgid_trampoline_addr},
    60  	{"getpgrp", libc_getpgrp_trampoline_addr},
    61  	{"getpid", libc_getpid_trampoline_addr},
    62  	{"getppid", libc_getppid_trampoline_addr},
    63  	{"getpriority", libc_getpriority_trampoline_addr},
    64  	{"getrlimit", libc_getrlimit_trampoline_addr},
    65  	{"getrusage", libc_getrusage_trampoline_addr},
    66  	{"getsid", libc_getsid_trampoline_addr},
    67  	{"getsockname", libc_getsockname_trampoline_addr},
    68  	{"getsockopt", libc_getsockopt_trampoline_addr},
    69  	{"gettimeofday", libc_gettimeofday_trampoline_addr},
    70  	{"getuid", libc_getuid_trampoline_addr},
    71  	{"getxattr", libc_getxattr_trampoline_addr},
    72  	{"ioctl", libc_ioctl_trampoline_addr},
    73  	{"issetugid", libc_issetugid_trampoline_addr},
    74  	{"kevent", libc_kevent_trampoline_addr},
    75  	{"kill", libc_kill_trampoline_addr},
    76  	{"kqueue", libc_kqueue_trampoline_addr},
    77  	{"lchown", libc_lchown_trampoline_addr},
    78  	{"link", libc_link_trampoline_addr},
    79  	{"linkat", libc_linkat_trampoline_addr},
    80  	{"listen", libc_listen_trampoline_addr},
    81  	{"listxattr", libc_listxattr_trampoline_addr},
    82  	{"lseek", libc_lseek_trampoline_addr},
    83  	{"lstat64", libc_lstat64_trampoline_addr},
    84  	{"madvise", libc_madvise_trampoline_addr},
    85  	{"mkdir", libc_mkdir_trampoline_addr},
    86  	{"mkdirat", libc_mkdirat_trampoline_addr},
    87  	{"mkfifo", libc_mkfifo_trampoline_addr},
    88  	{"mknod", libc_mknod_trampoline_addr},
    89  	{"mlock", libc_mlock_trampoline_addr},
    90  	{"mlockall", libc_mlockall_trampoline_addr},
    91  	{"mmap", libc_mmap_trampoline_addr},
    92  	{"mount", libc_mount_trampoline_addr},
    93  	{"mprotect", libc_mprotect_trampoline_addr},
    94  	{"msync", libc_msync_trampoline_addr},
    95  	{"munlock", libc_munlock_trampoline_addr},
    96  	{"munlockall", libc_munlockall_trampoline_addr},
    97  	{"munmap", libc_munmap_trampoline_addr},
    98  	{"open", libc_open_trampoline_addr},
    99  	{"openat", libc_openat_trampoline_addr},
   100  	{"pathconf", libc_pathconf_trampoline_addr},
   101  	{"pipe", libc_pipe_trampoline_addr},
   102  	{"poll", libc_poll_trampoline_addr},
   103  	{"pread", libc_pread_trampoline_addr},
   104  	{"ptrace", libc_ptrace_trampoline_addr},
   105  	{"pwrite", libc_pwrite_trampoline_addr},
   106  	{"read", libc_read_trampoline_addr},
   107  	{"readdir_r", libc_readdir_r_trampoline_addr},
   108  	{"readlink", libc_readlink_trampoline_addr},
   109  	{"readlinkat", libc_readlinkat_trampoline_addr},
   110  	{"recvfrom", libc_recvfrom_trampoline_addr},
   111  	{"recvmsg", libc_recvmsg_trampoline_addr},
   112  	{"removexattr", libc_removexattr_trampoline_addr},
   113  	{"rename", libc_rename_trampoline_addr},
   114  	{"renameat", libc_renameat_trampoline_addr},
   115  	{"revoke", libc_revoke_trampoline_addr},
   116  	{"rmdir", libc_rmdir_trampoline_addr},
   117  	{"select", libc_select_trampoline_addr},
   118  	{"sendfile", libc_sendfile_trampoline_addr},
   119  	{"sendmsg", libc_sendmsg_trampoline_addr},
   120  	{"sendto", libc_sendto_trampoline_addr},
   121  	{"setattrlist", libc_setattrlist_trampoline_addr},
   122  	{"setegid", libc_setegid_trampoline_addr},
   123  	{"seteuid", libc_seteuid_trampoline_addr},
   124  	{"setgid", libc_setgid_trampoline_addr},
   125  	{"setgroups", libc_setgroups_trampoline_addr},
   126  	{"setlogin", libc_setlogin_trampoline_addr},
   127  	{"setpgid", libc_setpgid_trampoline_addr},
   128  	{"setpriority", libc_setpriority_trampoline_addr},
   129  	{"setprivexec", libc_setprivexec_trampoline_addr},
   130  	{"setregid", libc_setregid_trampoline_addr},
   131  	{"setreuid", libc_setreuid_trampoline_addr},
   132  	{"setsid", libc_setsid_trampoline_addr},
   133  	{"setsockopt", libc_setsockopt_trampoline_addr},
   134  	{"settimeofday", libc_settimeofday_trampoline_addr},
   135  	{"setuid", libc_setuid_trampoline_addr},
   136  	{"setxattr", libc_setxattr_trampoline_addr},
   137  	{"shmat", libc_shmat_trampoline_addr},
   138  	{"shmctl", libc_shmctl_trampoline_addr},
   139  	{"shmdt", libc_shmdt_trampoline_addr},
   140  	{"shmget", libc_shmget_trampoline_addr},
   141  	{"shutdown", libc_shutdown_trampoline_addr},
   142  	{"socket", libc_socket_trampoline_addr},
   143  	{"socketpair", libc_socketpair_trampoline_addr},
   144  	{"stat64", libc_stat64_trampoline_addr},
   145  	{"statfs64", libc_statfs64_trampoline_addr},
   146  	{"symlink", libc_symlink_trampoline_addr},
   147  	{"symlinkat", libc_symlinkat_trampoline_addr},
   148  	{"sync", libc_sync_trampoline_addr},
   149  	{"sysctl", libc_sysctl_trampoline_addr},
   150  	{"truncate", libc_truncate_trampoline_addr},
   151  	{"umask", libc_umask_trampoline_addr},
   152  	{"undelete", libc_undelete_trampoline_addr},
   153  	{"unlink", libc_unlink_trampoline_addr},
   154  	{"unlinkat", libc_unlinkat_trampoline_addr},
   155  	{"unmount", libc_unmount_trampoline_addr},
   156  	{"utimensat", libc_utimensat_trampoline_addr},
   157  	{"utimes", libc_utimes_trampoline_addr},
   158  	{"wait4", libc_wait4_trampoline_addr},
   159  	{"write", libc_write_trampoline_addr},
   160  }