Home
last modified time | relevance | path

Searched refs:IOCTL_BUFSZ (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dfcntlmodule.c99 #define IOCTL_BUFSZ 1024 in fcntl_ioctl() macro
120 char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */ in fcntl_ioctl()
128 if (len <= IOCTL_BUFSZ) { in fcntl_ioctl()
138 if (len > IOCTL_BUFSZ) { in fcntl_ioctl()
157 if (mutate_arg && (len <= IOCTL_BUFSZ)) { in fcntl_ioctl()
175 if (len > IOCTL_BUFSZ) { in fcntl_ioctl()
212 #undef IOCTL_BUFSZ in fcntl_ioctl()
/external/python/cpython3/Modules/
Dfcntlmodule.c160 #define IOCTL_BUFSZ 1024 in fcntl_ioctl_impl() macro
176 char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */ in fcntl_ioctl_impl()
190 if (len <= IOCTL_BUFSZ) { in fcntl_ioctl_impl()
200 if (len > IOCTL_BUFSZ) { in fcntl_ioctl_impl()
220 if (mutate_arg && (len <= IOCTL_BUFSZ)) { in fcntl_ioctl_impl()
240 if (len > IOCTL_BUFSZ) { in fcntl_ioctl_impl()
277 #undef IOCTL_BUFSZ in fcntl_ioctl_impl()