Lines Matching refs:open
203 fd = _os.open(filename, _bin_openflags, 0o600)
256 fd = _os.open(file, flags, 0o600)
324 file descriptor returned by os.open, and name is the filename.
544 'mode' -- the mode argument to io.open (default "w+b").
545 'buffering' -- the buffer size argument to io.open (default -1).
546 'encoding' -- the encoding argument to io.open (default None)
547 'newline' -- the newline argument to io.open (default None)
549 'errors' -- the errors argument to io.open (default None)
579 file = _io.open(dir, mode, buffering=buffering,
597 # while it is open.
602 # The flag is set to False if os.open(dir, os.O_TMPFILE) raises an
612 'mode' -- the mode argument to io.open (default "w+b").
613 'buffering' -- the buffer size argument to io.open (default -1).
614 'encoding' -- the encoding argument to io.open (default None)
615 'newline' -- the newline argument to io.open (default None)
616 'errors' -- the errors argument to io.open (default None)
635 fd = _os.open(dir, flags2, 0o600)
638 file = _io.open(dir, mode, buffering=buffering,
647 # O_TMPFILE is read as O_DIRECTORY. Trying to open a directory
649 # directory cannot be open to write. Set flag to False to not
656 # On Linux kernel older than 3.11, trying to open a regular
673 file = _io.open(dir, mode, buffering=buffering,