Lines Matching defs:mode
100 mode: int
108 the end of the file. mode must be one of the LK_* constants listed
115 msvcrt_locking_impl(PyObject *module, int fd, int mode, long nbytes)
120 if (PySys_Audit("msvcrt.locking", "iil", fd, mode, nbytes) < 0) {
126 err = _locking(fd, mode, nbytes);
139 mode as flags: int
142 Set the line-end translation mode for the file descriptor fd.
144 To set it to text mode, flags should be os.O_TEXT; for binary, it
147 Return value is the previous mode.
423 mode: int
432 msvcrt_CrtSetReportMode_impl(PyObject *module, int type, int mode)
438 res = _CrtSetReportMode(type, mode);
448 mode: int
457 msvcrt_set_error_mode_impl(PyObject *module, int mode)
463 res = _set_error_mode(mode);
492 mode: unsigned_int(bitwise=True)
499 msvcrt_SetErrorMode_impl(PyObject *module, unsigned int mode)
505 res = SetErrorMode(mode);
590 /* constants for the locking() function's mode argument */