/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/engine/ |
H A D | RightMenu.js | 76 open: false, 162 if (e.open) { 206 e.open = !e.open; 219 if (e.open && RightMenu.TouchGroup(e.group, msg, x, y)) {
|
/foundation/multimedia/av_codec/test/moduletest/muxer/Common/src/ |
H A D | AVMuxerDemo.cpp | 43 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in GetFdByMode() 54 int32_t fd = open(filename.c_str(), O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR); in GetErrorFd() 75 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in GetFdByName() 92 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in InnerGetFdByMode() 109 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in InnerGetFdByName()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | pika_wdt.c | 52 unsigned long open; member 92 (!nowayout && !pikawdt_private.open)) { in pikawdt_ping() 117 if (test_and_set_bit(0, &pikawdt_private.open)) in pikawdt_open() 134 clear_bit(0, &pikawdt_private.open); in pikawdt_release() 213 .open = pikawdt_open,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_perf.c | 28 bool open; member 160 if (perf->open || !gpu) { in perf_open() 166 perf->open = true; in perf_open() 183 perf->open = false; in perf_release() 190 .open = perf_open,
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | pika_wdt.c | 52 unsigned long open; member 92 (!nowayout && !pikawdt_private.open)) { in pikawdt_ping() 117 if (test_and_set_bit(0, &pikawdt_private.open)) in pikawdt_open() 134 clear_bit(0, &pikawdt_private.open); in pikawdt_release() 213 .open = pikawdt_open,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_perf.c | 28 bool open; member 163 if (perf->open) { in perf_open() 169 perf->open = true; in perf_open() 186 perf->open = false; in perf_release() 193 .open = perf_open,
|
/third_party/libsnd/tests/ |
H A D | win32_test.c | 119 if ((fd = open (filename, mode, flags)) < 0) in show_fstat_error() 120 { printf ("\n\nLine %d: open() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_fstat_error() 126 printf ("1) Re-open file in read/write mode and write another %d bytes at the end.\n", SIGNED_SIZEOF (data)) ; in show_fstat_error() 129 if ((fd = open (filename, mode, flags)) < 0) in show_fstat_error() 130 { printf ("\n\nLine %d: open() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_fstat_error() 179 if ((fd = open (filename, mode, flags)) < 0) in show_lseek_error() 180 { printf ("\n\nLine %d: open() failed : %s\n\n", __LINE__, strerror (errno)) ; in show_lseek_error() 186 printf ("1) Re-open file in read/write mode and write another %d bytes at the end.\n", SIGNED_SIZEOF (data)) ; in show_lseek_error() 189 if ((fd = open (filename, mode, flags)) < 0) in show_lseek_error() 190 { printf ("\n\nLine %d: open() faile in show_lseek_error() [all...] |
/third_party/node/test/pseudo-tty/ |
H A D | testcfg.py | 59 f = open(self.expected) 101 source = open(self.file).read() 109 return (open(self.file).read() 111 + open(self.expected).read()) 116 fd = os.open(self.input, os.O_RDONLY)
|
/third_party/musl/scripts/ |
H A D | print_so_deps.py | 94 with os.fdopen(os.open("dep.dot", os.O_CREAT | os.O_WRONLY, 0o755), 'w', encoding='utf-8') as f: 107 with os.fdopen(os.open("dep.json", os.O_CREAT | os.O_WRONLY, 0o755), 'w', encoding='utf-8') as f: 113 with os.fdopen(os.open("dep.ext", os.O_CREAT | os.O_WRONLY, 0o755), 'w', encoding='utf-8') as f: 119 with os.fdopen(os.open("dep.csv", os.O_CREAT | os.O_WRONLY, 0o755), 'w', encoding='utf-8') as f: 181 with os.fdopen(os.open(args.path, os.O_RDONLY, 0o755), 'r', encoding='utf-8') as f:
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | nftw.c | 113 int fd = open(file, O_WRONLY | O_CREAT, 0644); in nftw_build_testfile() 115 t_error("%s error in open normal_file.txt! \n", __func__); in nftw_build_testfile() 125 fd = open(file, O_WRONLY | O_CREAT, 0666); in nftw_build_testfile() 127 t_error("%s error in open normal_file.txt! \n", __func__); in nftw_build_testfile() 137 fd = open(file, O_WRONLY | O_CREAT, 0000); in nftw_build_testfile() 139 t_error("%s error in open normal_file.txt! \n", __func__); in nftw_build_testfile() 149 fd = open(file, O_WRONLY | O_CREAT, 0644); in nftw_build_testfile() 151 t_error("%s error in open hidden_file.txt! \n", __func__); in nftw_build_testfile() 161 fd = open(file, O_WRONLY | O_CREAT, 0444); in nftw_build_testfile() 163 t_error("%s error in open read_only_fil in nftw_build_testfile() [all...] |
/third_party/rust/crates/io-lifetimes/tests/ |
H A D | api.rs | 94 let file = std::fs::File::open("Cargo.toml").unwrap(); in test_api() 110 Tester::from_file(std::fs::File::open("Cargo.toml").unwrap().into_filelike()); in test_api() 112 std::fs::File::open("Cargo.toml") in test_api() 129 Tester::from_into_file(std::fs::File::open("Cargo.toml").unwrap().into_filelike()); in test_api() 139 let file = std::fs::File::open("Cargo.toml").unwrap(); in test_as()
|
/third_party/python/Lib/test/ |
H A D | test_unicode_file_functions.py | 2 # open, os.open, os.stat. os.listdir, os.rename, os.remove, os.mkdir, os.chdir, os.rmdir 75 with open(name, 'wb') as f: 101 self._apply_failure(open, name) 116 f = open(name, 'wb') 125 # open(), os.stat(), etc. don't raise any exception. 138 self._apply_failure(open, name) 170 with open(filename, 'wb') as f:
|
H A D | test_fileinput.py | 47 with open(fd, mode, encoding=encoding) as f: 275 return open(*args, encoding="utf-8") 284 with open(TESTFN, 'wb') as f: 307 with open(TESTFN, 'wb') as f: 326 with open(temp_file, 'rb') as f: 336 with open(temp_file, 'rb') as f: 496 with open(t1, encoding="utf-8") as f: 865 original_open = gzip.open 866 gzip.open = self.fake_open 870 gzip.open [all...] |
/third_party/spirv-tools/test/diff/diff_files/ |
H A D | generate_tests.py | 118 with open(in_path, 'r') as fin: 119 with open(out_path, 'w') as fout: 145 with open(file_name, 'r') as f: 263 with open(test_file_name, 'wb') as fout: 277 with open('diff_test_files_autogen.cmake', 'wb') as fout:
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | run_code_generation.py | 55 f = open(os.path.basename(script), 'r') 151 with open(fname, "r") as f: 202 with open(hash_fname) as hash_file: 237 f = open(os.path.basename(script), "r") 271 open(hash_fname, "w"),
|
/third_party/zlib/contrib/iostream/ |
H A D | zfstream.cpp | 18 gzfilebuf *gzfilebuf::open( const char *name, in open() function in gzfilebuf 270 void gzfilestream_common::open( const char *name, int io_mode ) { in open() function in gzfilestream_common 272 if ( !buffer.open( name, io_mode ) ) in open() 300 gzfilestream_common::open( name, io_mode ); in gzifstream() 320 gzfilestream_common::open( name, io_mode ); in gzofstream()
|
/third_party/node/deps/v8/tools/unittests/testdata/ |
H A D | predictable_mocked.py | 20 with open(sys.argv[2]) as f: 25 with open(sys.argv[2], 'w') as f:
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/tools/packet_tool/ |
H A D | packet_tool.py | 95 with open(outputPath, 'wb+') as file:
109 subfile = open(path, 'rb+')
145 with open(packet_path, 'rb+') as file:
180 subfile = open(pathNew, 'rb+')
195 subfile = open(pathNew, 'rb+')
214 with open(outputPath, 'wb+') as file:
250 with open(packet_path, 'rb+') as file:
307 with open(outputPath, 'wb+') as file:
346 with open(packet_path, 'rb+') as file:
382 with open(pathNam [all...] |
/kernel/linux/linux-5.10/fs/proc/ |
H A D | inode.c | 499 typeof_member(struct proc_ops, proc_open) open; in proc_reg_open() 504 open = pde->proc_ops->proc_open; in proc_reg_open() 505 if (open) in proc_reg_open() 506 rv = open(inode, file); in proc_reg_open() 536 open = pde->proc_ops->proc_open; in proc_reg_open() 537 if (open) in proc_reg_open() 538 rv = open(inode, file); in proc_reg_open() 592 .open = proc_reg_open, 605 .open = proc_reg_open, 619 .open [all...] |
/kernel/linux/linux-6.6/fs/proc/ |
H A D | inode.c | 493 typeof_member(struct proc_ops, proc_open) open; in proc_reg_open() 501 open = pde->proc_ops->proc_open; in proc_reg_open() 502 if (open) in proc_reg_open() 503 rv = open(inode, file); in proc_reg_open() 530 open = pde->proc_ops->proc_open; in proc_reg_open() 531 if (open) in proc_reg_open() 532 rv = open(inode, file); in proc_reg_open() 586 .open = proc_reg_open, 599 .open = proc_reg_open, 613 .open [all...] |
/foundation/arkui/ace_engine_lite/frameworks/tools/snapshot/ |
H A D | framework2char.py | 70 with os.fdopen(os.open(FRAMEWORK_SNAPSHOT_FILE_PATH, input_flags, input_modes), 'rb') as input_file: 74 with os.fdopen(os.open(SNAPSHOT_OUTPUT_C_FILE_PATH, flags, modes), 'w') as output: 110 with os.fdopen(os.open(FRAMEWORK_JS_FILE_PATH, flags, modes), 'r') as input_file: 112 with os.fdopen(os.open(JS_OUTPUT_C_FILE_PATH, flags, modes), 'w') as output:
|
/foundation/multimedia/player_framework/test/fuzztest/soundpool_fuzztest/soundpoolloadunload_fuzzer/ |
H A D | soundpoolloadunload_fuzzer.cpp | 58 fd = open(path.c_str(), O_RDWR);
in FuzzSoundPoolLoad() 63 cout << "FuzzSoundPoolLoad Url open " << path.c_str() << " fail" << endl;
in FuzzSoundPoolLoad() 65 fd = open(path.c_str(), O_RDONLY);
in FuzzSoundPoolLoad() 70 cout << "FuzzSoundPoolLoad Fd open " << path.c_str() << " fail" << endl;
in FuzzSoundPoolLoad() 104 fd = open(path.c_str(), O_RDWR);
in FuzzSoundPoolUnload() 109 cout << "FuzzSoundPoolUnload Url open" << path.c_str() << " fail" << endl;
in FuzzSoundPoolUnload() 111 fd = open(path.c_str(), O_RDONLY);
in FuzzSoundPoolUnload() 116 cout << "FuzzSoundPoolUnload Fd open " << path.c_str() << " fail" << endl;
in FuzzSoundPoolUnload()
|
/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/ |
H A D | b_session_restore_async_mock.cpp | 74 UniqueFd fd(open(filePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in AppendBundles() 79 UniqueFd fdManage(open(fileManagePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in AppendBundles() 111 UniqueFd fd(open(filePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in AppendBundles() 116 UniqueFd fdManage(open(fileManagePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in AppendBundles()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | cgroup_helpers.c | 53 fd = open(path, O_RDONLY); in enable_all_controllers() 73 cfd = open(path, O_RDWR); in enable_all_controllers() 152 fd = open(cgroup_procs_path, O_WRONLY); in join_cgroup_from_top() 229 fd = open(cgroup_path, O_RDONLY); in create_and_get_cgroup()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | d_path.c | 46 procfd = open("/proc/self/comm", O_RDONLY); in trigger_fstat_events() 47 if (CHECK(procfd < 0, "trigger", "open /proc/self/comm failed\n")) in trigger_fstat_events() 49 devfd = open("/dev/urandom", O_RDONLY); in trigger_fstat_events() 50 if (CHECK(devfd < 0, "trigger", "open /dev/urandom failed\n")) in trigger_fstat_events() 52 localfd = open("/tmp/d_path_loadgen.txt", O_CREAT | O_RDONLY, 0644); in trigger_fstat_events() 53 if (CHECK(localfd < 0, "trigger", "open /tmp/d_path_loadgen.txt failed\n")) in trigger_fstat_events() 57 indicatorfd = open("/tmp/", O_PATH); in trigger_fstat_events() 58 if (CHECK(indicatorfd < 0, "trigger", "open /tmp/ failed\n")) in trigger_fstat_events()
|