/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/ |
H A D | file_test.c | 45 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_FILE_PERMISSION); in fs_test1() 46 printf("open '%d\n", fd); in fs_test1() 106 wfd = open("/data/test", O_CREAT | O_RDWR, TEST_FILE_PERMISSION); in fs_test3() 126 wfd = open("/data/test", O_CREAT | O_RDWR, TEST_FILE_PERMISSION); in fs_test3()
|
/drivers/hdf_core/framework/tools/hdi-gen/test/hash_test/ |
H A D | hash_test.py | 28 with open(first_file, 'r') as first_hash_file:
29 with open(second_file, 'r') as second_hash_file:
75 with open(result_hash_file_path, 'r') as result_hash_file:
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | pty.c | 50 printk(UM_KERN_ERR "open_pts : Failed to open pts\n"); in pts_open() 94 master = open(line, O_RDWR); in getmaster() 144 .open = pty_open, 157 .open = pts_open,
|
/kernel/linux/linux-5.10/tools/testing/selftests/timers/ |
H A D | clocksource-switch.c | 47 fd = open("/sys/devices/system/clocksource/clocksource0/available_clocksource", O_RDONLY); in get_clocksources() 79 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_RDONLY); in get_cur_clocksource() 91 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY); in change_clocksource()
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | pty.c | 50 printk(UM_KERN_ERR "open_pts : Failed to open pts\n"); in pts_open() 94 master = open(line, O_RDWR); in getmaster() 144 .open = pty_open, 157 .open = pts_open,
|
/kernel/linux/linux-5.10/drivers/vfio/mdev/ |
H A D | vfio_mdev.c | 30 if (unlikely(!parent->ops->open)) in vfio_mdev_open() 36 ret = parent->ops->open(mdev); in vfio_mdev_open() 103 .open = vfio_mdev_open,
|
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | flamegraph.py | 85 with io.open(self.args.template, encoding="utf-8") as f: 97 with io.open(sys.stdout.fileno(), "w", encoding="utf-8", closefd=False) as out: 102 with io.open(output_fn, "w", encoding="utf-8") as out:
|
/kernel/linux/linux-5.10/tools/laptop/freefall/ |
H A D | freefall.c | 42 int fd = open(unload_heads_path, O_RDONLY); in valid_disk() 56 int fd = open(path, O_RDWR); in write_int() 59 perror("open"); in write_int() 125 fd = open("/dev/freefall", O_RDONLY); in main()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 36 .open = simple_open, \ 69 .open = simple_open, \ 95 .open = simple_open, \
|
/kernel/linux/linux-5.10/drivers/staging/greybus/tools/ |
H A D | lbtest | 64 f = open(path, "r"); 74 f = open(path, "r+") 107 with open(fname, 'a') as csvf:
|
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | file.c | 45 /* Curiouser and curiouser... NULL ->open() as "no device" ? */ in usb_open() 46 if (file->f_op->open) in usb_open() 47 err = file->f_op->open(inode, file); in usb_open() 55 .open = usb_open,
|
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 36 .open = simple_open, \ 69 .open = simple_open, \ 95 .open = simple_open, \
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | test_cpp.cpp | 20 int open(const struct bpf_object_open_opts *opts = nullptr) in open() function in Skeleton 27 skel = T::open(opts); in open() 61 err = skel.open(&opts); in try_skeleton_template() 63 fprintf(stderr, "Skeleton open failed: %d\n", err); in try_skeleton_template()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timers/ |
H A D | clocksource-switch.c | 47 fd = open("/sys/devices/system/clocksource/clocksource0/available_clocksource", O_RDONLY); in get_clocksources() 79 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_RDONLY); in get_cur_clocksource() 91 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY); in change_clocksource()
|
/kernel/linux/linux-6.6/tools/testing/selftests/user_events/ |
H A D | dyn_test.c | 28 int fd = open(enable_file, O_RDONLY); in wait_for_delete() 69 int fd = open(abi_file, O_RDWR); in parse() 95 int fd = open(abi_file, O_RDWR); in check_match()
|
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
H A D | posix_fs_fstat_test.c | 45 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR); 127 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR); 154 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
|
H A D | posix_fs_ftruncate_test.c | 44 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 113 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 137 int32_t fd = open(tmpFileName, O_CREAT | O_RDONLY, TEST_MODE_HIGH);
|
H A D | posix_fs_pwrite_test.c | 44 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 71 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 99 int32_t fd = open(tmpFileName, O_CREAT | O_RDONLY, TEST_MODE_HIGH);
|
H A D | posix_fs_pread_test.c | 44 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 71 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 99 int32_t fd = open(tmpFileName, O_CREAT | O_WRONLY, TEST_MODE_HIGH);
|
H A D | posix_fs_write_test.c | 44 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR); 71 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR); 102 int32_t fd = open(tmpFileName, O_CREAT | O_RDONLY);
|
/kernel/linux/linux-6.6/tools/crypto/ccp/ |
H A D | dbc_cli.py | 74 with open(args.signature, "rb") as f: 83 with open(args.uid, "rb") as f: 95 with open(args.device) as d:
|
/kernel/linux/linux-6.6/tools/laptop/freefall/ |
H A D | freefall.c | 42 int fd = open(unload_heads_path, O_RDONLY); in valid_disk() 56 int fd = open(path, O_RDWR); in write_int() 59 perror("open"); in write_int() 125 fd = open("/dev/freefall", O_RDONLY); in main()
|
/test/testfwk/developer_test/local_coverage/restore_comment/ |
H A D | after_lcov_branch.py | 53 with open(path, "r", encoding="utf-8", errors="ignore") as read_fp: 57 with os.fdopen(os.open(f"{source_dir}_bk{suffix_name}", FLAGS, MODES), 'w') as write_fp: 73 with open(part_name_path, "r", encoding="utf-8", errors="ignore") as fp:
|
/test/testfwk/developer_test/local_coverage/automate_execute/ |
H A D | build_part.py | 31 with open(all_system_info_path, "r", encoding="utf-8") as system_text: 46 with open(repo_config_path, "r", encoding="utf-8") as fp: 79 with open(bundle_json_path, "r", encoding="utf-8") as bundle_json_text:
|
/test/xts/hats/kernel/syscalls/fileio/truncate/ |
H A D | TruncateApiTest.cpp | 73 fd = open(TRUNCATE_TEST_FILE, O_WRONLY | O_CREAT | O_TRUNC, 0644); in HWTEST_F() 82 fd = open(TRUNCATE_TEST_FILE, O_RDONLY, 0644); in HWTEST_F() 131 fd = open(TRUNCATE_TEST_FILE, O_WRONLY | O_CREAT | O_TRUNC, 0644); in HWTEST_F()
|