Home | History | Annotate | Download | only in Modules

Lines Matching refs:code

36     int code;
44 conv_descriptor, &fd, &code, &str, &len)) {
52 ret = fcntl(fd, code, buf);
66 conv_descriptor, &fd, &code, &arg)) {
70 ret = fcntl(fd, code, arg);
91 corresponding to the return value of the fcntl call in the C code.");
102 format for the 'code' parameter because Python turns 0x8000000
114 unsigned int code;
123 conv_descriptor, &fd, &code,
151 ret = ioctl(fd, code, arg);
155 ret = ioctl(fd, code, arg);
174 conv_descriptor, &fd, &code, &str, &len)) {
183 ret = ioctl(fd, code, buf);
197 conv_descriptor, &fd, &code, &arg)) {
202 ret = ioctl(fd, code, (void *)arg);
204 ret = ioctl(fd, code, arg);
245 code.");
254 int code;
258 conv_descriptor, &fd, &code))
263 ret = flock(fd, code);
275 if (code == LOCK_UN)
277 else if (code & LOCK_SH)
279 else if (code & LOCK_EX)
288 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l);
312 int fd, code, ret, whence = 0;
316 conv_descriptor, &fd, &code,
333 if (code == LOCK_UN)
335 else if (code & LOCK_SH)
337 else if (code & LOCK_EX)
369 ret = fcntl(fd, (code & LOCK_NB) ? F_SETLK : F_SETLKW, &l);