/third_party/ltp/testcases/network/nfsv4/locks/ |
H A D | locktests.c | 179 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 D | tempfile.py | 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 [all...] |
H A D | gzip.py | 14 __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 D | trace.py | 174 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 D | gen_vk_internal_shaders.py | 264 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 D | fuzz_utils.cpp | 22 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in CloseStdout()
|
/base/update/updater/test/fuzztest/utils/ |
H A D | fuzz_utils.cpp | 22 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in CloseStdout()
|
/kernel/linux/linux-5.10/tools/testing/selftests/efivarfs/ |
H A D | Makefile | 4 TEST_GEN_FILES := open-unlink create-read
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | tda9950.h | 12 int (*open)(void *); member
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | tda9950.h | 12 int (*open)(void *); member
|
/kernel/linux/linux-6.6/tools/testing/selftests/efivarfs/ |
H A D | Makefile | 4 TEST_GEN_FILES := open-unlink create-read
|
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/ |
H A D | It_process_plimits_005.cpp | 40 ret = open(path, O_CREAT); in ItProcessPlimits005()
|
H A D | It_process_plimits_003.cpp | 40 ret = open(path, O_CREAT); in ItProcessPlimits003()
|
/third_party/musl/src/fcntl/ |
H A D | creat.c | 5 return open(filename, O_CREAT|O_WRONLY|O_TRUNC, mode); in creat()
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open03.c | 10 * 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 D | open06.c | 11 * 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 D | io_edgeport.c | 179 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 D | no-block.c | 17 .open = no_blkdev_open,
|
/kernel/linux/linux-5.10/fs/ufs/ |
H A D | file.c | 42 .open = generic_file_open,
|
/kernel/linux/linux-6.6/fs/ufs/ |
H A D | file.c | 42 .open = generic_file_open,
|
/third_party/googletest/googlemock/scripts/generator/cpp/ |
H A D | utils.py | 29 fp = open(filename)
|
/third_party/mesa3d/bin/ |
H A D | meson_get_version.py | 28 with open(filename) as f:
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/kinclude/linux/ |
H A D | fs.h | 7 int (*open) (struct inode *, struct file *); member
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/kinclude/linux/ |
H A D | fs.h | 7 int (*open) (struct inode *, struct file *); member
|
/third_party/musl/libc-test/src/common/ |
H A D | fdfill.c | 12 fd = open("/dev/null", O_RDONLY); in t_fdfill()
|