/third_party/skia/third_party/externals/angle2/android/ |
H A D | compress_symbols.py | 38 dynsym_out = open(args.output + '.dynsyms', 'w') 43 funcsyms_out = open(args.output + '.funcsyms', 'w') 55 keep_symbols = open(args.output + '.keep_symbols', 'w')
|
/third_party/skia/infra/bots/ |
H A D | test_utils.py | 33 with open(fname, 'w') as f: 63 with open(pathA, 'rb') as f: 65 with open(pathB, 'rb') as f:
|
/third_party/skia/gn/ |
H A D | gn_to_bp_utils.py | 29 return json.load(open(os.path.join(tmp, 'project.json'))) 95 with open(opts_file) as f: 115 with open(userConfigPath, 'w') as f:
|
/third_party/spirv-tools/utils/ |
H A D | update_build_version.py | 96 with open(changes_file, mode='r') as f: 160 with open(output_file_path, 'r') as f: 165 with open(output_file_path, 'w') as f:
|
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | format.py | 76 f = open(filename, 'rb') 84 f = open(filename, 'wt') 86 f = open(filename, 'wt', newline='\n')
|
/third_party/vk-gl-cts/scripts/src_util/ |
H A D | check_include_guards.py | 37 f = open(headerFile, 'rt') 62 f = open(headerFile, 'rt') 78 f = open(headerFile, 'wt')
|
/third_party/vulkan-loader/scripts/ |
H A D | generate_source.py | 117 with open(common_codegen.repo_relative('CMakeLists.txt'), "r+") as f: 123 with open(common_codegen.repo_relative('loader/loader.rc.in'), "r") as rc_file: 130 with open(common_codegen.repo_relative('loader/loader.rc'), "w") as rc_file_out:
|
/kernel/linux/build/test/fuzztest/accesstokenid/src/ |
H A D | accesstokenidcommon.cpp | 28 int fd = open(g_devaccesstokenid, O_RDWR); in GetTokenid() 43 int fd = open(g_devaccesstokenid, O_RDWR); in SetTokenid() 185 int fd = open(g_devaccesstokenid, O_RDWR); in GetfTokenid() 202 int fd = open(g_devaccesstokenid, O_RDWR); in SetfTokenid()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ |
H A D | utils.c | 34 fd = open("/proc/self/auxv", O_RDONLY); in read_auxv() 36 perror("open"); in read_auxv() 149 if ((fd = open(path, O_RDONLY)) < 0) in read_sysfs_file() 171 if ((fd = open(path, O_RDONLY)) < 0) in read_debugfs_file() 193 if ((fd = open(path, O_WRONLY)) < 0) in write_debugfs_file()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | common-debug.c | 41 .open = simple_open, 77 .open = simple_open, 175 .open = simple_open, 251 .open = simple_open,
|
/kernel/linux/linux-5.10/samples/timers/ |
H A D | hpet_example.c | 33 "open-close", 89 fd = open(argv[0], O_RDONLY); in hpet_open_close() 91 fprintf(stderr, "hpet_open_close: open failed\n"); in hpet_open_close() 109 fd = open(argv[0], O_RDONLY); in hpet_info() 111 fprintf(stderr, "hpet_info: open of %s failed\n", argv[0]); in hpet_info() 149 fd = open(argv[0], O_RDONLY); in hpet_poll() 152 fprintf(stderr, "hpet_poll: open of %s failed\n", argv[0]); in hpet_poll() 243 fd = open(argv[0], O_RDONLY); in hpet_fasync() 246 fprintf(stderr, "hpet_fasync: failed to open %s\n", argv[0]); in hpet_fasync()
|
/kernel/linux/linux-5.10/tools/testing/kunit/ |
H A D | kunit_kernel.py | 74 config = open(get_kconfig_path(build_dir), 'a') 75 disable = open(BROKEN_ALLCONFIG_PATH, 'r').read() 104 with open(outfile, 'w') as output: 211 with open(outfile, 'r') as file:
|
/kernel/linux/linux-5.10/net/caif/ |
H A D | cfsrvl.c | 37 service->open = true; in cfservl_ctrlcmd() 42 service->open = false; in cfservl_ctrlcmd() 166 service->open = false; in cfsrvl_init() 179 if (!service->open) { in cfsrvl_ready()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | common-debug.c | 41 .open = simple_open, 77 .open = simple_open, 175 .open = simple_open, 251 .open = simple_open,
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | madv_populate.c | 137 int fd = open("/proc/self/pagemap", O_RDONLY); in range_is_populated() 151 int fd = open("/proc/self/pagemap", O_RDONLY); in range_is_not_populated() 209 int fd = open("/proc/self/pagemap", O_RDONLY); in range_is_softdirty() 223 int fd = open("/proc/self/pagemap", O_RDONLY); in range_is_not_softdirty()
|
H A D | split_huge_page_test.c | 58 fd = open(path, O_WRONLY); in write_file() 150 pagemap_fd = open(pagemap_proc, O_RDONLY); in split_pte_mapped_thp() 157 kpageflags_fd = open(kpageflags_proc, O_RDONLY); in split_pte_mapped_thp() 256 fd = open(testfile, O_CREAT|O_WRONLY); in split_file_backed_thp() 258 perror("Cannot open testing file\n"); in split_file_backed_thp()
|
/kernel/linux/linux-6.6/tools/testing/selftests/move_mount_set_group/ |
H A D | move_mount_set_group_test.c | 64 fd = open(path, O_WRONLY | O_CLOEXEC | O_NOCTTY | O_NOFOLLOW); in write_file() 324 ret = open("/proc/self/ns/user", O_RDONLY); in get_nestedns_mount_cb() 329 ret = open("/proc/self/ns/mnt", O_RDONLY); in get_nestedns_mount_cb() 334 ret = open(SET_GROUP_A, O_RDONLY); in get_nestedns_mount_cb()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | proc-empty-vm.c | 185 int fd = open(buf, O_RDONLY); in test_proc_pid_maps() 187 perror("open /proc/${pid}/maps"); in test_proc_pid_maps() 207 int fd = open(buf, O_RDONLY); in test_proc_pid_numa_maps() 216 perror("open /proc/${pid}/numa_maps"); in test_proc_pid_numa_maps() 230 int fd = open(buf, O_RDONLY); in test_proc_pid_smaps() 239 perror("open /proc/${pid}/smaps"); in test_proc_pid_smaps() 286 int fd = open(buf, O_RDONLY); in test_proc_pid_smaps_rollup() 295 perror("open /proc/${pid}/smaps_rollup"); in test_proc_pid_smaps_rollup()
|
/kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
H A D | posix_fs_lseek_test.c | 47 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR); 73 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR); 99 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR); 177 int32_t fd = open(tmpFileName, O_CREAT | O_RDWR);
|
/kernel/linux/linux-6.6/net/caif/ |
H A D | cfsrvl.c | 37 service->open = true; in cfservl_ctrlcmd() 42 service->open = false; in cfservl_ctrlcmd() 166 service->open = false; in cfsrvl_init() 179 if (!service->open) { in cfsrvl_ready()
|
/kernel/linux/linux-6.6/samples/timers/ |
H A D | hpet_example.c | 33 "open-close", 89 fd = open(argv[0], O_RDONLY); in hpet_open_close() 91 fprintf(stderr, "hpet_open_close: open failed\n"); in hpet_open_close() 109 fd = open(argv[0], O_RDONLY); in hpet_info() 111 fprintf(stderr, "hpet_info: open of %s failed\n", argv[0]); in hpet_info() 149 fd = open(argv[0], O_RDONLY); in hpet_poll() 152 fprintf(stderr, "hpet_poll: open of %s failed\n", argv[0]); in hpet_poll() 243 fd = open(argv[0], O_RDONLY); in hpet_fasync() 246 fprintf(stderr, "hpet_fasync: failed to open %s\n", argv[0]); in hpet_fasync()
|
/test/xts/acts/multimedia/avsource/entry/src/main/cpp/ |
H A D | mediaavsourcendk.cpp | 52 int fd = open(fileName, O_RDONLY, PARAM_0666);
in AVSourceCreateWithFD() 81 int fd = open(fileName, O_RDONLY, PARAM_0666);
in AVSourceDestroy() 109 int fd = open(fileName, O_RDONLY, PARAM_0666);
in AVSourceGetSourceFormat() 140 int fd = open(fileName, O_RDONLY, PARAM_0666);
in AVSourceGetTrackFormat()
|
/third_party/googletest/googletest/test/ |
H A D | googletest-output-test.py | 284 golden_file = open(GOLDEN_PATH, 'rb') 313 open(os.path.join( 317 open(os.path.join( 333 golden_file = open(GOLDEN_PATH, 'wb')
|
/third_party/NuttX/fs/vfs/ |
H A D | fs_open.c | 288 if (filep->ops && filep->ops->open) in fp_open() 290 ret = filep->ops->open(filep); in fp_open() 344 * Name: open 346 * Description: Standard 'open' interface 350 int open(const char *path, int oflags, ...) in open() function 377 return open (__path, ((unsigned int)__oflag) | O_LARGEFILE, mode); in open64()
|
/third_party/mbedtls/scripts/ |
H A D | generate_driver_wrappers.py | 63 with open(file=os.path.join(output_dir, os.path.splitext(template_file_name)[0]), 102 with open(file=driver_file, mode='r', encoding='UTF-8') as f: 129 with open(file=file_path, mode='r', encoding='UTF-8') as file: 142 with open(file=os.path.join(json_directory, jsondriver_list),
|