/third_party/python/Lib/test/test_json/ |
H A D | test_tool.py | 97 with open(infile, "w", encoding="utf-8") as fp: 129 with open(outfile, "r", encoding="utf-8") as fp: 138 with open(infile, "r", encoding="utf-8") as fp: 206 with open(outfile, "rb") as f: 217 with open(outfile, "rb") as f:
|
/third_party/python/Lib/test/ |
H A D | test_sax.py | 119 with open(TESTFN, 'w', encoding=encoding, errors='xmlcharrefreplace') as f: 141 with open(TESTFN, 'r', encoding=encoding) as f: 145 with open(TESTFN, 'r', encoding=encoding) as f: 156 with open(TESTFN, 'rb') as f: 161 with open(TESTFN, 'rb') as f: 167 with open(TESTFN, 'rb') as f: 172 with open(TESTFN, 'rb') as f: 178 with open(TESTFN, 'rb') as f: 186 with open(TESTFN, 'rb') as f: 197 with open(TESTF [all...] |
/third_party/benchmark/tools/gbench/ |
H A D | report.py | 405 with open(testOutput, 'r') as f: 436 with open(testOutput1, 'r') as f: 438 with open(testOutput2, 'r') as f: 626 with open(testOutput, 'r') as f: 711 with open(testOutput1, 'r') as f: 713 with open(testOutput2, 'r') as f: 916 with open(testOutput1, 'r') as f: 918 with open(testOutput2, 'r') as f: 1077 with open(testOutput1, 'r') as f: 1079 with open(testOutput [all...] |
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | tty.c | 52 fd = open(data->dev, mode); in tty_open() 73 .open = tty_open,
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | tty.c | 52 fd = open(data->dev, mode); in tty_open() 73 .open = tty_open,
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | dib0070.h | 51 extern void dib0070_ctrl_agc_filter(struct dvb_frontend *, u8 open); 67 static inline void dib0070_ctrl_agc_filter(struct dvb_frontend *fe, u8 open) in dib0070_ctrl_agc_filter() argument
|
/kernel/linux/linux-5.10/scripts/clang-tools/ |
H A D | run-clang-tools.py | 69 with open(args.path, "r") as f: 75 devnull = os.open(os.devnull, os.O_WRONLY)
|
/kernel/linux/linux-5.10/tools/cgroup/ |
H A D | cgroup_event_listener.c | 34 cfd = open(argv[1], O_RDONLY); in main() 36 err(1, "Cannot open %s", argv[1]); in main() 43 event_control = open(event_control_path, O_WRONLY); in main() 45 err(1, "Cannot open %s", event_control_path); in main()
|
/kernel/linux/linux-5.10/drivers/staging/fwserial/ |
H A D | dma_fifo.h | 52 int open; /* # of outstanding dma transactions */ member 106 return fifo->open == fifo->open_limit; in dma_fifo_busy()
|
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A D | dib0070.h | 51 extern void dib0070_ctrl_agc_filter(struct dvb_frontend *, u8 open); 67 static inline void dib0070_ctrl_agc_filter(struct dvb_frontend *fe, u8 open) in dib0070_ctrl_agc_filter() argument
|
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/ |
H A D | msr.c | 32 fd = open(msr_file_name, O_RDONLY); in read_msr() 61 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
H A D | posix_fs_unlink_test.c | 43 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR); 65 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
|
/kernel/linux/linux-6.6/tools/cgroup/ |
H A D | cgroup_event_listener.c | 34 cfd = open(argv[1], O_RDONLY); in main() 36 err(1, "Cannot open %s", argv[1]); in main() 43 event_control = open(event_control_path, O_WRONLY); in main() 45 err(1, "Cannot open %s", event_control_path); in main()
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
H A D | It_stdio_readv_001.cpp | 54 fd = open(pathname, O_CREAT | O_RDWR | O_TRUNC, 0666); // 0666, file authority in Testcase() 56 printf("error: can`t open file\n"); in Testcase() 62 fd = open(pathname, O_RDWR); in Testcase() 64 printf("error: can`t open file\n"); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/io/smoke/ |
H A D | IO_test_008.cpp | 54 fd = open(file, O_CREAT | O_RDWR | O_TRUNC); in Testcase() 64 fd = open(file, O_RDWR); in Testcase()
|
/third_party/PyYAML/tests/lib/ |
H A D | test_multi_constructor.py | 32 with open(input_filename, 'rb') as file: 34 with open(code_filename, 'rb') as file:
|
/third_party/icu/tools/unicode/py/ |
H A D | parsescriptmetadata.py | 38 with open(uscript_path, "r") as uscript_file: 54 with open(smd_path, "r") as smd_file:
|
/third_party/libdrm/ |
H A D | gen_table_fourcc.py | 48 with open(filename, "r") as f: 53 with open(towrite, "w") as f:
|
/third_party/mesa3d/src/compiler/spirv/ |
H A D | vtn_gather_types_c.py | 113 spirv_info = json.JSONDecoder().decode(open(args.json, "r").read()) 118 with open(args.out, 'w') as f:
|
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/ |
H A D | v8_fuzz_config.py | 14 with open(os.path.join(THIS_DIR, 'v8_fuzz_experiments.json')) as f: 19 with open(os.path.join(THIS_DIR, 'v8_fuzz_flags.json')) as f:
|
/third_party/node/test/parallel/ |
H A D | test-fs-open-mode-mask.js | 3 // This tests that the lower bits of mode > 0o777 still works in fs.open(). 31 const file = path.join(tmpdir.path, `open-${suffix}.txt`); 32 fs.open(file, 'w+', input, common.mustSucceed((fd) => {
|
/third_party/node/deps/v8/tools/ |
H A D | gen-v8-gn.py | 76 with open(args.output, 'r') as f: 79 with open(args.output, 'w') as f:
|
H A D | objdump-v8 | 63 codefile = open(process_codefile, "r") 65 codefile = open("code.asm", "r")
|
/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open09.c | 22 * 1. open an O_WRONLY file, test if read failed. 23 * 2. open an O_RDONLY file, test if write failed. 57 fildes = open(tempfile, O_WRONLY); in main() 69 fildes = open(tempfile, O_RDONLY); in main()
|
H A D | open04.c | 10 * Verify that open(2) fails with EMFILE when per-process limit on the number 11 * of open file descriptors has been reached. 36 fd = open(fname, O_RDWR | O_CREAT, 0777); in setup() 50 TST_EXP_FAIL2(open(fname, O_RDWR | O_CREAT, 0777), EMFILE); in run()
|