Home
last modified time | relevance | path

Searched refs:open (Results 1226 - 1250 of 9329) sorted by relevance

1...<<41424344454647484950>>...374

/third_party/ltp/testcases/network/nfsv4/locks/
H A Dlocktests.c179 dp.fd = open(dp.fname, OPENFLAGS, MANDMODES); in initTest()
181 perror("lock test : can't open test file :"); in initTest()
724 /* close and open file */ in master()
785 if ((ftest = open(dp.fname, O_RDONLY | O_NONBLOCK)) < 0) { in slave()
804 if ((ftest = open(dp.fname, O_WRONLY | O_NONBLOCK)) < 0) { in slave()
824 if ((ftest = open(dp.fname, O_RDONLY | O_NONBLOCK)) < 0) { in slave()
851 if ((ftest = open(dp.fname, O_WRONLY | O_NONBLOCK)) < 0) { in slave()
888 if ((ftest = open(dp.fname, O_RDWR | O_NONBLOCK)) < 0) { in slave()
/third_party/python/Lib/
H A Dtempfile.py203 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
[all...]
H A Dgzip.py14 __all__ = ["BadGzipFile", "GzipFile", "open", "compress", "decompress"]
25 def open(filename, mode="rb", compresslevel=_COMPRESS_LEVEL_BEST, function
125 This class only supports opening files in binary mode. If you need to open a
126 compressed file in text mode, use the gzip.open() function.
174 fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
647 f = open(arg, "rb")
648 g = builtins.open(arg[:-3], "wb")
655 f = builtins.open(arg, "rb")
656 g = open(arg + ".gz", "wb")
H A Dtrace.py174 with open(self.infile, 'rb') as f:
273 with open(filename, 'rb') as fp:
291 with open(self.outfile, 'wb') as f:
302 outfile = open(path, "w", encoding=encoding)
304 print(("trace: Could not open %r for writing: %s "
362 with open(filename, encoding=encoding) as f:
377 with tokenize.open(filename) as f:
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dgen_vk_internal_shaders.py264 with open(variation_file) as fin:
318 with open(blob_path, 'rb') as blob_file:
338 with open(output_path, 'wb') as incfile:
764 with open(out_file_cpp, 'w') as outfile:
784 with open(out_file_h, 'w') as outfile:
801 with io.open(out_file_gni, 'w', newline='\n') as outfile:
/base/startup/init/test/fuzztest/utils/
H A Dfuzz_utils.cpp22 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in CloseStdout()
/base/update/updater/test/fuzztest/utils/
H A Dfuzz_utils.cpp22 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in CloseStdout()
/kernel/linux/linux-5.10/tools/testing/selftests/efivarfs/
H A DMakefile4 TEST_GEN_FILES := open-unlink create-read
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dtda9950.h12 int (*open)(void *); member
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dtda9950.h12 int (*open)(void *); member
/kernel/linux/linux-6.6/tools/testing/selftests/efivarfs/
H A DMakefile4 TEST_GEN_FILES := open-unlink create-read
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/
H A DIt_process_plimits_005.cpp40 ret = open(path, O_CREAT); in ItProcessPlimits005()
H A DIt_process_plimits_003.cpp40 ret = open(path, O_CREAT); in ItProcessPlimits003()
/third_party/musl/src/fcntl/
H A Dcreat.c5 return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode); in creat()
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen03.c10 * Testcase to check open() with O_RDWR | O_CREAT.
19 TST_EXP_FD(open(TEST_FILE, O_RDWR | O_CREAT, 0700)); in verify_open()
H A Dopen06.c11 * Verify that open(2) fails with ENXIO when
13 * and no process has the FIFO open for reading.
27 TST_EXP_FAIL2(open(TEMP_FIFO, O_NONBLOCK | O_WRONLY), ENXIO); in run()
/kernel/linux/linux-5.10/drivers/usb/serial/
H A Dio_edgeport.c179 bool open; member
186 wait_queue_head_t wait_open; /* for handling sleeping while waiting for open to finish */
676 /* process this interrupt-read even if there are no ports open */ in edge_interrupt_callback()
719 if (edge_port && edge_port->open) { in edge_interrupt_callback()
829 if (edge_port->open) in edge_bulk_out_data_callback()
870 if (edge_port->open) in edge_bulk_out_cmd_callback()
963 /* send a open port command */ in edge_open()
965 edge_port->open = false; in edge_open()
969 dev_err(dev, "%s - error sending open port command\n", __func__); in edge_open()
978 if (!edge_port->open) { in edge_open()
[all...]
/kernel/linux/linux-5.10/fs/
H A Dno-block.c17 .open = no_blkdev_open,
/kernel/linux/linux-5.10/fs/ufs/
H A Dfile.c42 .open = generic_file_open,
/kernel/linux/linux-6.6/fs/ufs/
H A Dfile.c42 .open = generic_file_open,
/third_party/googletest/googlemock/scripts/generator/cpp/
H A Dutils.py29 fp = open(filename)
/third_party/mesa3d/bin/
H A Dmeson_get_version.py28 with open(filename) as f:
/third_party/ltp/testcases/kernel/mce-test/hwpoison/kinclude/linux/
H A Dfs.h7 int (*open) (struct inode *, struct file *); member
/third_party/ltp/testcases/kernel/mce-test/tsrc/kinclude/linux/
H A Dfs.h7 int (*open) (struct inode *, struct file *); member
/third_party/musl/libc-test/src/common/
H A Dfdfill.c12 fd = open("/dev/null", O_RDONLY); in t_fdfill()

Completed in 16 milliseconds

1...<<41424344454647484950>>...374