Home
last modified time | relevance | path

Searched refs:open (Results 526 - 550 of 7928) sorted by relevance

1...<<21222324252627282930>>...318

/third_party/python/Lib/test/test_json/
H A Dtest_tool.py97 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 Dtest_sax.py119 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 Dreport.py405 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 Dtty.c52 fd = open(data->dev, mode); in tty_open()
73 .open = tty_open,
/kernel/linux/linux-6.6/arch/um/drivers/
H A Dtty.c52 fd = open(data->dev, mode); in tty_open()
73 .open = tty_open,
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
H A Ddib0070.h51 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 Drun-clang-tools.py69 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 Dcgroup_event_listener.c34 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 Ddma_fifo.h52 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 Ddib0070.h51 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 Dmsr.c32 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 Dposix_fs_unlink_test.c43 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 Dcgroup_event_listener.c34 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 DIt_stdio_readv_001.cpp54 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 DIO_test_008.cpp54 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 Dtest_multi_constructor.py32 with open(input_filename, 'rb') as file:
34 with open(code_filename, 'rb') as file:
/third_party/icu/tools/unicode/py/
H A Dparsescriptmetadata.py38 with open(uscript_path, "r") as uscript_file:
54 with open(smd_path, "r") as smd_file:
/third_party/libdrm/
H A Dgen_table_fourcc.py48 with open(filename, "r") as f:
53 with open(towrite, "w") as f:
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_gather_types_c.py113 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 Dv8_fuzz_config.py14 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 Dtest-fs-open-mode-mask.js3 // 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 Dgen-v8-gn.py76 with open(args.output, 'r') as f:
79 with open(args.output, 'w') as f:
H A Dobjdump-v863 codefile = open(process_codefile, "r")
65 codefile = open("code.asm", "r")
/third_party/ltp/testcases/kernel/syscalls/open/
H A Dopen09.c22 * 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 Dopen04.c10 * 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()

Completed in 10 milliseconds

1...<<21222324252627282930>>...318