• Home
  • Raw
  • Download

Lines Matching refs:PyObject

33 static PyObject *
34 os_stat_impl(PyObject *module, path_t *path, int dir_fd, int follow_symlinks);
36 static PyObject *
37 os_stat(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_stat()
39 PyObject *return_value = NULL; in os_stat()
71 static PyObject *
72 os_lstat_impl(PyObject *module, path_t *path, int dir_fd);
74 static PyObject *
75 os_lstat(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_lstat()
77 PyObject *return_value = NULL; in os_lstat()
132 os_access_impl(PyObject *module, path_t *path, int mode, int dir_fd,
135 static PyObject *
136 os_access(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_access()
138 PyObject *return_value = NULL; in os_access()
180 os_ttyname_impl(PyObject *module, int fd);
182 static PyObject *
183 os_ttyname(PyObject *module, PyObject *arg) in os_ttyname()
185 PyObject *return_value = NULL; in os_ttyname()
215 static PyObject *
216 os_ctermid_impl(PyObject *module);
218 static PyObject *
219 os_ctermid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_ctermid()
239 static PyObject *
240 os_chdir_impl(PyObject *module, path_t *path);
242 static PyObject *
243 os_chdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_chdir()
245 PyObject *return_value = NULL; in os_chdir()
277 static PyObject *
278 os_fchdir_impl(PyObject *module, int fd);
280 static PyObject *
281 os_fchdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_fchdir()
283 PyObject *return_value = NULL; in os_fchdir()
329 static PyObject *
330 os_chmod_impl(PyObject *module, path_t *path, int mode, int dir_fd,
333 static PyObject *
334 os_chmod(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_chmod()
336 PyObject *return_value = NULL; in os_chmod()
370 static PyObject *
371 os_fchmod_impl(PyObject *module, int fd, int mode);
373 static PyObject *
374 os_fchmod(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_fchmod()
376 PyObject *return_value = NULL; in os_fchmod()
408 static PyObject *
409 os_lchmod_impl(PyObject *module, path_t *path, int mode);
411 static PyObject *
412 os_lchmod(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_lchmod()
414 PyObject *return_value = NULL; in os_lchmod()
452 static PyObject *
453 os_chflags_impl(PyObject *module, path_t *path, unsigned long flags,
456 static PyObject *
457 os_chflags(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_chflags()
459 PyObject *return_value = NULL; in os_chflags()
495 static PyObject *
496 os_lchflags_impl(PyObject *module, path_t *path, unsigned long flags);
498 static PyObject *
499 os_lchflags(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_lchflags()
501 PyObject *return_value = NULL; in os_lchflags()
533 static PyObject *
534 os_chroot_impl(PyObject *module, path_t *path);
536 static PyObject *
537 os_chroot(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_chroot()
539 PyObject *return_value = NULL; in os_chroot()
570 static PyObject *
571 os_fsync_impl(PyObject *module, int fd);
573 static PyObject *
574 os_fsync(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_fsync()
576 PyObject *return_value = NULL; in os_fsync()
604 static PyObject *
605 os_sync_impl(PyObject *module);
607 static PyObject *
608 os_sync(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_sync()
626 static PyObject *
627 os_fdatasync_impl(PyObject *module, int fd);
629 static PyObject *
630 os_fdatasync(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_fdatasync()
632 PyObject *return_value = NULL; in os_fdatasync()
684 static PyObject *
685 os_chown_impl(PyObject *module, path_t *path, uid_t uid, gid_t gid,
688 static PyObject *
689 os_chown(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_chown()
691 PyObject *return_value = NULL; in os_chown()
728 static PyObject *
729 os_fchown_impl(PyObject *module, int fd, uid_t uid, gid_t gid);
731 static PyObject *
732 os_fchown(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_fchown()
734 PyObject *return_value = NULL; in os_fchown()
767 static PyObject *
768 os_lchown_impl(PyObject *module, path_t *path, uid_t uid, gid_t gid);
770 static PyObject *
771 os_lchown(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_lchown()
773 PyObject *return_value = NULL; in os_lchown()
804 static PyObject *
805 os_getcwd_impl(PyObject *module);
807 static PyObject *
808 os_getcwd(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getcwd()
822 static PyObject *
823 os_getcwdb_impl(PyObject *module);
825 static PyObject *
826 os_getcwdb(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getcwdb()
853 static PyObject *
854 os_link_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd,
857 static PyObject *
858 os_link(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_link()
860 PyObject *return_value = NULL; in os_link()
906 static PyObject *
907 os_listdir_impl(PyObject *module, path_t *path);
909 static PyObject *
910 os_listdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_listdir()
912 PyObject *return_value = NULL; in os_listdir()
940 static PyObject *
941 os__getfullpathname_impl(PyObject *module, path_t *path);
943 static PyObject *
944 os__getfullpathname(PyObject *module, PyObject *arg) in os__getfullpathname()
946 PyObject *return_value = NULL; in os__getfullpathname()
974 static PyObject *
975 os__getfinalpathname_impl(PyObject *module, PyObject *path);
977 static PyObject *
978 os__getfinalpathname(PyObject *module, PyObject *arg) in os__getfinalpathname()
980 PyObject *return_value = NULL; in os__getfinalpathname()
981 PyObject *path; in os__getfinalpathname()
1005 static PyObject *
1006 os__isdir_impl(PyObject *module, path_t *path);
1008 static PyObject *
1009 os__isdir(PyObject *module, PyObject *arg) in os__isdir()
1011 PyObject *return_value = NULL; in os__isdir()
1039 static PyObject *
1040 os__getvolumepathname_impl(PyObject *module, PyObject *path);
1042 static PyObject *
1043 os__getvolumepathname(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os__getvolumepathname()
1045 PyObject *return_value = NULL; in os__getvolumepathname()
1048 PyObject *path; in os__getvolumepathname()
1078 static PyObject *
1079 os_mkdir_impl(PyObject *module, path_t *path, int mode, int dir_fd);
1081 static PyObject *
1082 os_mkdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_mkdir()
1084 PyObject *return_value = NULL; in os_mkdir()
1115 static PyObject *
1116 os_nice_impl(PyObject *module, int increment);
1118 static PyObject *
1119 os_nice(PyObject *module, PyObject *arg) in os_nice()
1121 PyObject *return_value = NULL; in os_nice()
1146 static PyObject *
1147 os_getpriority_impl(PyObject *module, int which, int who);
1149 static PyObject *
1150 os_getpriority(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_getpriority()
1152 PyObject *return_value = NULL; in os_getpriority()
1181 static PyObject *
1182 os_setpriority_impl(PyObject *module, int which, int who, int priority);
1184 static PyObject *
1185 os_setpriority(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_setpriority()
1187 PyObject *return_value = NULL; in os_setpriority()
1221 static PyObject *
1222 os_rename_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd,
1225 static PyObject *
1226 os_rename(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_rename()
1228 PyObject *return_value = NULL; in os_rename()
1266 static PyObject *
1267 os_replace_impl(PyObject *module, path_t *src, path_t *dst, int src_dir_fd,
1270 static PyObject *
1271 os_replace(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_replace()
1273 PyObject *return_value = NULL; in os_replace()
1310 static PyObject *
1311 os_rmdir_impl(PyObject *module, path_t *path, int dir_fd);
1313 static PyObject *
1314 os_rmdir(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_rmdir()
1316 PyObject *return_value = NULL; in os_rmdir()
1347 os_system_impl(PyObject *module, Py_UNICODE *command);
1349 static PyObject *
1350 os_system(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_system()
1352 PyObject *return_value = NULL; in os_system()
1386 os_system_impl(PyObject *module, PyObject *command);
1388 static PyObject *
1389 os_system(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_system()
1391 PyObject *return_value = NULL; in os_system()
1394 PyObject *command = NULL; in os_system()
1425 static PyObject *
1426 os_umask_impl(PyObject *module, int mask);
1428 static PyObject *
1429 os_umask(PyObject *module, PyObject *arg) in os_umask()
1431 PyObject *return_value = NULL; in os_umask()
1457 static PyObject *
1458 os_unlink_impl(PyObject *module, path_t *path, int dir_fd);
1460 static PyObject *
1461 os_unlink(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_unlink()
1463 PyObject *return_value = NULL; in os_unlink()
1496 static PyObject *
1497 os_remove_impl(PyObject *module, path_t *path, int dir_fd);
1499 static PyObject *
1500 os_remove(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_remove()
1502 PyObject *return_value = NULL; in os_remove()
1535 static PyObject *
1536 os_uname_impl(PyObject *module);
1538 static PyObject *
1539 os_uname(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_uname()
1578 static PyObject *
1579 os_utime_impl(PyObject *module, path_t *path, PyObject *times, PyObject *ns,
1582 static PyObject *
1583 os_utime(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_utime()
1585 PyObject *return_value = NULL; in os_utime()
1589 PyObject *times = NULL; in os_utime()
1590 PyObject *ns = NULL; in os_utime()
1616 static PyObject *
1617 os__exit_impl(PyObject *module, int status);
1619 static PyObject *
1620 os__exit(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os__exit()
1622 PyObject *return_value = NULL; in os__exit()
1653 static PyObject *
1654 os_execv_impl(PyObject *module, path_t *path, PyObject *argv);
1656 static PyObject *
1657 os_execv(PyObject *module, PyObject *args) in os_execv()
1659 PyObject *return_value = NULL; in os_execv()
1661 PyObject *argv; in os_execv()
1696 static PyObject *
1697 os_execve_impl(PyObject *module, path_t *path, PyObject *argv, PyObject *env);
1699 static PyObject *
1700 os_execve(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_execve()
1702 PyObject *return_value = NULL; in os_execve()
1706 PyObject *argv; in os_execve()
1707 PyObject *env; in os_execve()
1742 static PyObject *
1743 os_spawnv_impl(PyObject *module, int mode, path_t *path, PyObject *argv);
1745 static PyObject *
1746 os_spawnv(PyObject *module, PyObject *args) in os_spawnv()
1748 PyObject *return_value = NULL; in os_spawnv()
1751 PyObject *argv; in os_spawnv()
1788 static PyObject *
1789 os_spawnve_impl(PyObject *module, int mode, path_t *path, PyObject *argv,
1790 PyObject *env);
1792 static PyObject *
1793 os_spawnve(PyObject *module, PyObject *args) in os_spawnve()
1795 PyObject *return_value = NULL; in os_spawnve()
1798 PyObject *argv; in os_spawnve()
1799 PyObject *env; in os_spawnve()
1829 static PyObject *
1830 os_fork1_impl(PyObject *module);
1832 static PyObject *
1833 os_fork1(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_fork1()
1853 static PyObject *
1854 os_fork_impl(PyObject *module);
1856 static PyObject *
1857 os_fork(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_fork()
1875 static PyObject *
1876 os_sched_get_priority_max_impl(PyObject *module, int policy);
1878 static PyObject *
1879 os_sched_get_priority_max(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_sched_get_priority_max()
1881 PyObject *return_value = NULL; in os_sched_get_priority_max()
1909 static PyObject *
1910 os_sched_get_priority_min_impl(PyObject *module, int policy);
1912 static PyObject *
1913 os_sched_get_priority_min(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_sched_get_priority_min()
1915 PyObject *return_value = NULL; in os_sched_get_priority_min()
1945 static PyObject *
1946 os_sched_getscheduler_impl(PyObject *module, pid_t pid);
1948 static PyObject *
1949 os_sched_getscheduler(PyObject *module, PyObject *arg) in os_sched_getscheduler()
1951 PyObject *return_value = NULL; in os_sched_getscheduler()
1976 static PyObject *
1977 os_sched_param_impl(PyTypeObject *type, PyObject *sched_priority);
1979 static PyObject *
1980 os_sched_param(PyTypeObject *type, PyObject *args, PyObject *kwargs) in os_sched_param()
1982 PyObject *return_value = NULL; in os_sched_param()
1985 PyObject *sched_priority; in os_sched_param()
2013 static PyObject *
2014 os_sched_setscheduler_impl(PyObject *module, pid_t pid, int policy,
2017 static PyObject *
2018 os_sched_setscheduler(PyObject *module, PyObject *args) in os_sched_setscheduler()
2020 PyObject *return_value = NULL; in os_sched_setscheduler()
2051 static PyObject *
2052 os_sched_getparam_impl(PyObject *module, pid_t pid);
2054 static PyObject *
2055 os_sched_getparam(PyObject *module, PyObject *arg) in os_sched_getparam()
2057 PyObject *return_value = NULL; in os_sched_getparam()
2085 static PyObject *
2086 os_sched_setparam_impl(PyObject *module, pid_t pid,
2089 static PyObject *
2090 os_sched_setparam(PyObject *module, PyObject *args) in os_sched_setparam()
2092 PyObject *return_value = NULL; in os_sched_setparam()
2122 os_sched_rr_get_interval_impl(PyObject *module, pid_t pid);
2124 static PyObject *
2125 os_sched_rr_get_interval(PyObject *module, PyObject *arg) in os_sched_rr_get_interval()
2127 PyObject *return_value = NULL; in os_sched_rr_get_interval()
2157 static PyObject *
2158 os_sched_yield_impl(PyObject *module);
2160 static PyObject *
2161 os_sched_yield(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_sched_yield()
2181 static PyObject *
2182 os_sched_setaffinity_impl(PyObject *module, pid_t pid, PyObject *mask);
2184 static PyObject *
2185 os_sched_setaffinity(PyObject *module, PyObject *args) in os_sched_setaffinity()
2187 PyObject *return_value = NULL; in os_sched_setaffinity()
2189 PyObject *mask; in os_sched_setaffinity()
2216 static PyObject *
2217 os_sched_getaffinity_impl(PyObject *module, pid_t pid);
2219 static PyObject *
2220 os_sched_getaffinity(PyObject *module, PyObject *arg) in os_sched_getaffinity()
2222 PyObject *return_value = NULL; in os_sched_getaffinity()
2250 static PyObject *
2251 os_openpty_impl(PyObject *module);
2253 static PyObject *
2254 os_openpty(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_openpty()
2277 static PyObject *
2278 os_forkpty_impl(PyObject *module);
2280 static PyObject *
2281 os_forkpty(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_forkpty()
2299 static PyObject *
2300 os_getegid_impl(PyObject *module);
2302 static PyObject *
2303 os_getegid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getegid()
2321 static PyObject *
2322 os_geteuid_impl(PyObject *module);
2324 static PyObject *
2325 os_geteuid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_geteuid()
2343 static PyObject *
2344 os_getgid_impl(PyObject *module);
2346 static PyObject *
2347 os_getgid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getgid()
2365 static PyObject *
2366 os_getpid_impl(PyObject *module);
2368 static PyObject *
2369 os_getpid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getpid()
2387 static PyObject *
2388 os_getgroups_impl(PyObject *module);
2390 static PyObject *
2391 os_getgroups(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getgroups()
2409 static PyObject *
2410 os_getpgid_impl(PyObject *module, pid_t pid);
2412 static PyObject *
2413 os_getpgid(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_getpgid()
2415 PyObject *return_value = NULL; in os_getpgid()
2443 static PyObject *
2444 os_getpgrp_impl(PyObject *module);
2446 static PyObject *
2447 os_getpgrp(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getpgrp()
2465 static PyObject *
2466 os_setpgrp_impl(PyObject *module);
2468 static PyObject *
2469 os_setpgrp(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_setpgrp()
2490 static PyObject *
2491 os_getppid_impl(PyObject *module);
2493 static PyObject *
2494 os_getppid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getppid()
2512 static PyObject *
2513 os_getlogin_impl(PyObject *module);
2515 static PyObject *
2516 os_getlogin(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getlogin()
2534 static PyObject *
2535 os_getuid_impl(PyObject *module);
2537 static PyObject *
2538 os_getuid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getuid()
2556 static PyObject *
2557 os_kill_impl(PyObject *module, pid_t pid, Py_ssize_t signal);
2559 static PyObject *
2560 os_kill(PyObject *module, PyObject *args) in os_kill()
2562 PyObject *return_value = NULL; in os_kill()
2589 static PyObject *
2590 os_killpg_impl(PyObject *module, pid_t pgid, int signal);
2592 static PyObject *
2593 os_killpg(PyObject *module, PyObject *args) in os_killpg()
2595 PyObject *return_value = NULL; in os_killpg()
2622 static PyObject *
2623 os_plock_impl(PyObject *module, int op);
2625 static PyObject *
2626 os_plock(PyObject *module, PyObject *arg) in os_plock()
2628 PyObject *return_value = NULL; in os_plock()
2653 static PyObject *
2654 os_setuid_impl(PyObject *module, uid_t uid);
2656 static PyObject *
2657 os_setuid(PyObject *module, PyObject *arg) in os_setuid()
2659 PyObject *return_value = NULL; in os_setuid()
2684 static PyObject *
2685 os_seteuid_impl(PyObject *module, uid_t euid);
2687 static PyObject *
2688 os_seteuid(PyObject *module, PyObject *arg) in os_seteuid()
2690 PyObject *return_value = NULL; in os_seteuid()
2715 static PyObject *
2716 os_setegid_impl(PyObject *module, gid_t egid);
2718 static PyObject *
2719 os_setegid(PyObject *module, PyObject *arg) in os_setegid()
2721 PyObject *return_value = NULL; in os_setegid()
2746 static PyObject *
2747 os_setreuid_impl(PyObject *module, uid_t ruid, uid_t euid);
2749 static PyObject *
2750 os_setreuid(PyObject *module, PyObject *args) in os_setreuid()
2752 PyObject *return_value = NULL; in os_setreuid()
2779 static PyObject *
2780 os_setregid_impl(PyObject *module, gid_t rgid, gid_t egid);
2782 static PyObject *
2783 os_setregid(PyObject *module, PyObject *args) in os_setregid()
2785 PyObject *return_value = NULL; in os_setregid()
2812 static PyObject *
2813 os_setgid_impl(PyObject *module, gid_t gid);
2815 static PyObject *
2816 os_setgid(PyObject *module, PyObject *arg) in os_setgid()
2818 PyObject *return_value = NULL; in os_setgid()
2859 static PyObject *
2860 os_wait3_impl(PyObject *module, int options);
2862 static PyObject *
2863 os_wait3(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_wait3()
2865 PyObject *return_value = NULL; in os_wait3()
2896 static PyObject *
2897 os_wait4_impl(PyObject *module, pid_t pid, int options);
2899 static PyObject *
2900 os_wait4(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_wait4()
2902 PyObject *return_value = NULL; in os_wait4()
2942 static PyObject *
2943 os_waitid_impl(PyObject *module, idtype_t idtype, id_t id, int options);
2945 static PyObject *
2946 os_waitid(PyObject *module, PyObject *args) in os_waitid()
2948 PyObject *return_value = NULL; in os_waitid()
2981 static PyObject *
2982 os_waitpid_impl(PyObject *module, pid_t pid, int options);
2984 static PyObject *
2985 os_waitpid(PyObject *module, PyObject *args) in os_waitpid()
2987 PyObject *return_value = NULL; in os_waitpid()
3019 static PyObject *
3020 os_waitpid_impl(PyObject *module, intptr_t pid, int options);
3022 static PyObject *
3023 os_waitpid(PyObject *module, PyObject *args) in os_waitpid()
3025 PyObject *return_value = NULL; in os_waitpid()
3055 static PyObject *
3056 os_wait_impl(PyObject *module);
3058 static PyObject *
3059 os_wait(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_wait()
3087 static PyObject *
3088 os_symlink_impl(PyObject *module, path_t *src, path_t *dst,
3091 static PyObject *
3092 os_symlink(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_symlink()
3094 PyObject *return_value = NULL; in os_symlink()
3134 static PyObject *
3135 os_times_impl(PyObject *module);
3137 static PyObject *
3138 os_times(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_times()
3156 static PyObject *
3157 os_getsid_impl(PyObject *module, pid_t pid);
3159 static PyObject *
3160 os_getsid(PyObject *module, PyObject *arg) in os_getsid()
3162 PyObject *return_value = NULL; in os_getsid()
3187 static PyObject *
3188 os_setsid_impl(PyObject *module);
3190 static PyObject *
3191 os_setsid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_setsid()
3209 static PyObject *
3210 os_setpgid_impl(PyObject *module, pid_t pid, pid_t pgrp);
3212 static PyObject *
3213 os_setpgid(PyObject *module, PyObject *args) in os_setpgid()
3215 PyObject *return_value = NULL; in os_setpgid()
3242 static PyObject *
3243 os_tcgetpgrp_impl(PyObject *module, int fd);
3245 static PyObject *
3246 os_tcgetpgrp(PyObject *module, PyObject *arg) in os_tcgetpgrp()
3248 PyObject *return_value = NULL; in os_tcgetpgrp()
3273 static PyObject *
3274 os_tcsetpgrp_impl(PyObject *module, int fd, pid_t pgid);
3276 static PyObject *
3277 os_tcsetpgrp(PyObject *module, PyObject *args) in os_tcsetpgrp()
3279 PyObject *return_value = NULL; in os_tcsetpgrp()
3310 os_open_impl(PyObject *module, path_t *path, int flags, int mode, int dir_fd);
3312 static PyObject *
3313 os_open(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_open()
3315 PyObject *return_value = NULL; in os_open()
3350 static PyObject *
3351 os_close_impl(PyObject *module, int fd);
3353 static PyObject *
3354 os_close(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_close()
3356 PyObject *return_value = NULL; in os_close()
3380 static PyObject *
3381 os_closerange_impl(PyObject *module, int fd_low, int fd_high);
3383 static PyObject *
3384 os_closerange(PyObject *module, PyObject *args) in os_closerange()
3386 PyObject *return_value = NULL; in os_closerange()
3410 os_dup_impl(PyObject *module, int fd);
3412 static PyObject *
3413 os_dup(PyObject *module, PyObject *arg) in os_dup()
3415 PyObject *return_value = NULL; in os_dup()
3441 static PyObject *
3442 os_dup2_impl(PyObject *module, int fd, int fd2, int inheritable);
3444 static PyObject *
3445 os_dup2(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_dup2()
3447 PyObject *return_value = NULL; in os_dup2()
3482 static PyObject *
3483 os_lockf_impl(PyObject *module, int fd, int command, Py_off_t length);
3485 static PyObject *
3486 os_lockf(PyObject *module, PyObject *args) in os_lockf()
3488 PyObject *return_value = NULL; in os_lockf()
3518 os_lseek_impl(PyObject *module, int fd, Py_off_t position, int how);
3520 static PyObject *
3521 os_lseek(PyObject *module, PyObject *args) in os_lseek()
3523 PyObject *return_value = NULL; in os_lseek()
3552 static PyObject *
3553 os_read_impl(PyObject *module, int fd, Py_ssize_t length);
3555 static PyObject *
3556 os_read(PyObject *module, PyObject *args) in os_read()
3558 PyObject *return_value = NULL; in os_read()
3592 os_readv_impl(PyObject *module, int fd, PyObject *buffers);
3594 static PyObject *
3595 os_readv(PyObject *module, PyObject *args) in os_readv()
3597 PyObject *return_value = NULL; in os_readv()
3599 PyObject *buffers; in os_readv()
3632 static PyObject *
3633 os_pread_impl(PyObject *module, int fd, int length, Py_off_t offset);
3635 static PyObject *
3636 os_pread(PyObject *module, PyObject *args) in os_pread()
3638 PyObject *return_value = NULL; in os_pread()
3665 os_write_impl(PyObject *module, int fd, Py_buffer *data);
3667 static PyObject *
3668 os_write(PyObject *module, PyObject *args) in os_write()
3670 PyObject *return_value = NULL; in os_write()
3706 static PyObject *
3707 os_fstat_impl(PyObject *module, int fd);
3709 static PyObject *
3710 os_fstat(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_fstat()
3712 PyObject *return_value = NULL; in os_fstat()
3740 os_isatty_impl(PyObject *module, int fd);
3742 static PyObject *
3743 os_isatty(PyObject *module, PyObject *arg) in os_isatty()
3745 PyObject *return_value = NULL; in os_isatty()
3776 static PyObject *
3777 os_pipe_impl(PyObject *module);
3779 static PyObject *
3780 os_pipe(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_pipe()
3804 static PyObject *
3805 os_pipe2_impl(PyObject *module, int flags);
3807 static PyObject *
3808 os_pipe2(PyObject *module, PyObject *arg) in os_pipe2()
3810 PyObject *return_value = NULL; in os_pipe2()
3839 os_writev_impl(PyObject *module, int fd, PyObject *buffers);
3841 static PyObject *
3842 os_writev(PyObject *module, PyObject *args) in os_writev()
3844 PyObject *return_value = NULL; in os_writev()
3846 PyObject *buffers; in os_writev()
3881 os_pwrite_impl(PyObject *module, int fd, Py_buffer *buffer, Py_off_t offset);
3883 static PyObject *
3884 os_pwrite(PyObject *module, PyObject *args) in os_pwrite()
3886 PyObject *return_value = NULL; in os_pwrite()
3929 static PyObject *
3930 os_mkfifo_impl(PyObject *module, path_t *path, int mode, int dir_fd);
3932 static PyObject *
3933 os_mkfifo(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_mkfifo()
3935 PyObject *return_value = NULL; in os_mkfifo()
3980 static PyObject *
3981 os_mknod_impl(PyObject *module, path_t *path, int mode, dev_t device,
3984 static PyObject *
3985 os_mknod(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_mknod()
3987 PyObject *return_value = NULL; in os_mknod()
4022 os_major_impl(PyObject *module, dev_t device);
4024 static PyObject *
4025 os_major(PyObject *module, PyObject *arg) in os_major()
4027 PyObject *return_value = NULL; in os_major()
4058 os_minor_impl(PyObject *module, dev_t device);
4060 static PyObject *
4061 os_minor(PyObject *module, PyObject *arg) in os_minor()
4063 PyObject *return_value = NULL; in os_minor()
4094 os_makedev_impl(PyObject *module, int major, int minor);
4096 static PyObject *
4097 os_makedev(PyObject *module, PyObject *args) in os_makedev()
4099 PyObject *return_value = NULL; in os_makedev()
4131 static PyObject *
4132 os_ftruncate_impl(PyObject *module, int fd, Py_off_t length);
4134 static PyObject *
4135 os_ftruncate(PyObject *module, PyObject *args) in os_ftruncate()
4137 PyObject *return_value = NULL; in os_ftruncate()
4167 static PyObject *
4168 os_truncate_impl(PyObject *module, path_t *path, Py_off_t length);
4170 static PyObject *
4171 os_truncate(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_truncate()
4173 PyObject *return_value = NULL; in os_truncate()
4208 static PyObject *
4209 os_posix_fallocate_impl(PyObject *module, int fd, Py_off_t offset,
4212 static PyObject *
4213 os_posix_fallocate(PyObject *module, PyObject *args) in os_posix_fallocate()
4215 PyObject *return_value = NULL; in os_posix_fallocate()
4251 static PyObject *
4252 os_posix_fadvise_impl(PyObject *module, int fd, Py_off_t offset,
4255 static PyObject *
4256 os_posix_fadvise(PyObject *module, PyObject *args) in os_posix_fadvise()
4258 PyObject *return_value = NULL; in os_posix_fadvise()
4287 static PyObject *
4288 os_putenv_impl(PyObject *module, PyObject *name, PyObject *value);
4290 static PyObject *
4291 os_putenv(PyObject *module, PyObject *args) in os_putenv()
4293 PyObject *return_value = NULL; in os_putenv()
4294 PyObject *name; in os_putenv()
4295 PyObject *value; in os_putenv()
4320 static PyObject *
4321 os_putenv_impl(PyObject *module, PyObject *name, PyObject *value);
4323 static PyObject *
4324 os_putenv(PyObject *module, PyObject *args) in os_putenv()
4326 PyObject *return_value = NULL; in os_putenv()
4327 PyObject *name = NULL; in os_putenv()
4328 PyObject *value = NULL; in os_putenv()
4358 static PyObject *
4359 os_unsetenv_impl(PyObject *module, PyObject *name);
4361 static PyObject *
4362 os_unsetenv(PyObject *module, PyObject *arg) in os_unsetenv()
4364 PyObject *return_value = NULL; in os_unsetenv()
4365 PyObject *name = NULL; in os_unsetenv()
4390 static PyObject *
4391 os_strerror_impl(PyObject *module, int code);
4393 static PyObject *
4394 os_strerror(PyObject *module, PyObject *arg) in os_strerror()
4396 PyObject *return_value = NULL; in os_strerror()
4420 os_WCOREDUMP_impl(PyObject *module, int status);
4422 static PyObject *
4423 os_WCOREDUMP(PyObject *module, PyObject *arg) in os_WCOREDUMP()
4425 PyObject *return_value = NULL; in os_WCOREDUMP()
4459 os_WIFCONTINUED_impl(PyObject *module, int status);
4461 static PyObject *
4462 os_WIFCONTINUED(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_WIFCONTINUED()
4464 PyObject *return_value = NULL; in os_WIFCONTINUED()
4498 os_WIFSTOPPED_impl(PyObject *module, int status);
4500 static PyObject *
4501 os_WIFSTOPPED(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_WIFSTOPPED()
4503 PyObject *return_value = NULL; in os_WIFSTOPPED()
4537 os_WIFSIGNALED_impl(PyObject *module, int status);
4539 static PyObject *
4540 os_WIFSIGNALED(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_WIFSIGNALED()
4542 PyObject *return_value = NULL; in os_WIFSIGNALED()
4576 os_WIFEXITED_impl(PyObject *module, int status);
4578 static PyObject *
4579 os_WIFEXITED(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_WIFEXITED()
4581 PyObject *return_value = NULL; in os_WIFEXITED()
4615 os_WEXITSTATUS_impl(PyObject *module, int status);
4617 static PyObject *
4618 os_WEXITSTATUS(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_WEXITSTATUS()
4620 PyObject *return_value = NULL; in os_WEXITSTATUS()
4654 os_WTERMSIG_impl(PyObject *module, int status);
4656 static PyObject *
4657 os_WTERMSIG(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_WTERMSIG()
4659 PyObject *return_value = NULL; in os_WTERMSIG()
4693 os_WSTOPSIG_impl(PyObject *module, int status);
4695 static PyObject *
4696 os_WSTOPSIG(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_WSTOPSIG()
4698 PyObject *return_value = NULL; in os_WSTOPSIG()
4733 static PyObject *
4734 os_fstatvfs_impl(PyObject *module, int fd);
4736 static PyObject *
4737 os_fstatvfs(PyObject *module, PyObject *arg) in os_fstatvfs()
4739 PyObject *return_value = NULL; in os_fstatvfs()
4768 static PyObject *
4769 os_statvfs_impl(PyObject *module, path_t *path);
4771 static PyObject *
4772 os_statvfs(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_statvfs()
4774 PyObject *return_value = NULL; in os_statvfs()
4805 static PyObject *
4806 os__getdiskusage_impl(PyObject *module, Py_UNICODE *path);
4808 static PyObject *
4809 os__getdiskusage(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os__getdiskusage()
4811 PyObject *return_value = NULL; in os__getdiskusage()
4842 os_fpathconf_impl(PyObject *module, int fd, int name);
4844 static PyObject *
4845 os_fpathconf(PyObject *module, PyObject *args) in os_fpathconf()
4847 PyObject *return_value = NULL; in os_fpathconf()
4884 os_pathconf_impl(PyObject *module, path_t *path, int name);
4886 static PyObject *
4887 os_pathconf(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_pathconf()
4889 PyObject *return_value = NULL; in os_pathconf()
4926 static PyObject *
4927 os_confstr_impl(PyObject *module, int name);
4929 static PyObject *
4930 os_confstr(PyObject *module, PyObject *arg) in os_confstr()
4932 PyObject *return_value = NULL; in os_confstr()
4958 os_sysconf_impl(PyObject *module, int name);
4960 static PyObject *
4961 os_sysconf(PyObject *module, PyObject *arg) in os_sysconf()
4963 PyObject *return_value = NULL; in os_sysconf()
4994 static PyObject *
4995 os_abort_impl(PyObject *module);
4997 static PyObject *
4998 os_abort(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_abort()
5031 static PyObject *
5032 os_startfile_impl(PyObject *module, path_t *filepath, Py_UNICODE *operation);
5034 static PyObject *
5035 os_startfile(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_startfile()
5037 PyObject *return_value = NULL; in os_startfile()
5073 static PyObject *
5074 os_getloadavg_impl(PyObject *module);
5076 static PyObject *
5077 os_getloadavg(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getloadavg()
5096 static PyObject *
5097 os_device_encoding_impl(PyObject *module, int fd);
5099 static PyObject *
5100 os_device_encoding(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_device_encoding()
5102 PyObject *return_value = NULL; in os_device_encoding()
5128 static PyObject *
5129 os_setresuid_impl(PyObject *module, uid_t ruid, uid_t euid, uid_t suid);
5131 static PyObject *
5132 os_setresuid(PyObject *module, PyObject *args) in os_setresuid()
5134 PyObject *return_value = NULL; in os_setresuid()
5162 static PyObject *
5163 os_setresgid_impl(PyObject *module, gid_t rgid, gid_t egid, gid_t sgid);
5165 static PyObject *
5166 os_setresgid(PyObject *module, PyObject *args) in os_setresgid()
5168 PyObject *return_value = NULL; in os_setresgid()
5196 static PyObject *
5197 os_getresuid_impl(PyObject *module);
5199 static PyObject *
5200 os_getresuid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getresuid()
5218 static PyObject *
5219 os_getresgid_impl(PyObject *module);
5221 static PyObject *
5222 os_getresgid(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_getresgid()
5245 static PyObject *
5246 os_getxattr_impl(PyObject *module, path_t *path, path_t *attribute,
5249 static PyObject *
5250 os_getxattr(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_getxattr()
5252 PyObject *return_value = NULL; in os_getxattr()
5293 static PyObject *
5294 os_setxattr_impl(PyObject *module, path_t *path, path_t *attribute,
5297 static PyObject *
5298 os_setxattr(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_setxattr()
5300 PyObject *return_value = NULL; in os_setxattr()
5346 static PyObject *
5347 os_removexattr_impl(PyObject *module, path_t *path, path_t *attribute,
5350 static PyObject *
5351 os_removexattr(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_removexattr()
5353 PyObject *return_value = NULL; in os_removexattr()
5394 static PyObject *
5395 os_listxattr_impl(PyObject *module, path_t *path, int follow_symlinks);
5397 static PyObject *
5398 os_listxattr(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_listxattr()
5400 PyObject *return_value = NULL; in os_listxattr()
5430 static PyObject *
5431 os_urandom_impl(PyObject *module, Py_ssize_t size);
5433 static PyObject *
5434 os_urandom(PyObject *module, PyObject *arg) in os_urandom()
5436 PyObject *return_value = NULL; in os_urandom()
5461 static PyObject *
5462 os_cpu_count_impl(PyObject *module);
5464 static PyObject *
5465 os_cpu_count(PyObject *module, PyObject *Py_UNUSED(ignored)) in os_cpu_count()
5480 os_get_inheritable_impl(PyObject *module, int fd);
5482 static PyObject *
5483 os_get_inheritable(PyObject *module, PyObject *arg) in os_get_inheritable()
5485 PyObject *return_value = NULL; in os_get_inheritable()
5511 static PyObject *
5512 os_set_inheritable_impl(PyObject *module, int fd, int inheritable);
5514 static PyObject *
5515 os_set_inheritable(PyObject *module, PyObject *args) in os_set_inheritable()
5517 PyObject *return_value = NULL; in os_set_inheritable()
5543 os_get_handle_inheritable_impl(PyObject *module, intptr_t handle);
5545 static PyObject *
5546 os_get_handle_inheritable(PyObject *module, PyObject *arg) in os_get_handle_inheritable()
5548 PyObject *return_value = NULL; in os_get_handle_inheritable()
5578 static PyObject *
5579 os_set_handle_inheritable_impl(PyObject *module, intptr_t handle,
5582 static PyObject *
5583 os_set_handle_inheritable(PyObject *module, PyObject *args) in os_set_handle_inheritable()
5585 PyObject *return_value = NULL; in os_set_handle_inheritable()
5614 static PyObject *
5615 os_fspath_impl(PyObject *module, PyObject *path);
5617 static PyObject *
5618 os_fspath(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_fspath()
5620 PyObject *return_value = NULL; in os_fspath()
5623 PyObject *path; in os_fspath()
5646 static PyObject *
5647 os_getrandom_impl(PyObject *module, Py_ssize_t size, int flags);
5649 static PyObject *
5650 os_getrandom(PyObject *module, PyObject **args, Py_ssize_t nargs, PyObject *kwnames) in os_getrandom()
5652 PyObject *return_value = NULL; in os_getrandom()