/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | json_validate.py | 44 with open(base_schema_filename) as baseSchemaFile: 46 with open(vkpcc_schema_filename) as vkSchemaFile: 48 with open(args.json_file) as jsonFile:
|
/third_party/skia/third_party/externals/spirv-tools/utils/ |
H A D | update_build_version.py | 89 with open(changes_file, mode='r') as f: 140 with open(output_file, 'r') as f: 144 with open(output_file, 'w') as f:
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
H A D | gen_mtl_internal_shaders.py | 101 with open('format_autogen.h', 'wt') as out_file: 112 with open(temp_fname, 'wb') as temp_file: 128 with open('mtl_default_shaders_src_autogen.inc', 'wt') as out_file:
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/ |
H A D | update_build_version.py | 89 with open(changes_file, mode='r') as f: 140 with open(output_file, 'r') as f: 144 with open(output_file, 'w') as f:
|
/third_party/skia/third_party/externals/dawn/generator/ |
H A D | remove_files.py | 62 with open(args.allowed_output_dirs_file) as f: 72 with open(args.stale_dirs_file) as f: 84 with open(stamp_file, "w") as f:
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-emoji-table.py | 17 f = open(sys.argv[1]) 82 with open(sys.argv[2]) as f: 94 with open("../test/shaping/data/in-house/tests/emoji-clusters.tests", "w") as f:
|
/third_party/python/Lib/test/test_tools/ |
H A D | test_fixcid.py | 64 with open(c_filename, "w", encoding="utf-8") as file: 66 with open(os.path.join(os_helper.TESTFN, "file.py"), "w", 80 with open(substfilename, "w", encoding="utf-8") as file:
|
/third_party/python/Lib/test/test_zoneinfo/data/ |
H A D | update_test_data.py | 60 with open(tzdata_zi, "r") as f: 82 with open(path / key, "rb") as f: 117 with open(TEST_DATA_LOC / fname, "w") as f:
|
/third_party/protobuf/python/docs/ |
H A D | generate_docs.py | 167 with open(automodule_path, "w") as automodule_file: 173 with open(DOCS_DIR / "index.rst", "r") as index_file: 179 with open(DOCS_DIR / "index.rst", "w") as index_file:
|
/third_party/skia/bin/ |
H A D | fetch-clang-format | 26 sha1 = open(sha1_path).read().strip() 31 with open(path, 'rb') as f: 36 with open(target_path, 'wb') as f:
|
/third_party/skia/build/fuchsia/skqp/ |
H A D | append_assets_to_manifest | 39 deps_file = open(args.deps, 'w') 43 out_file = open(manifest, 'w') 44 with open(base_manifest, 'r') as in_file:
|
/third_party/spirv-tools/utils/ |
H A D | generate_changelog.py | 67 with open(changes_path, "r") as file: 88 with open(output_file_path, 'r') as f: 93 with open(output_file_path, 'w') as f:
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 222 .open = simple_open, 229 .open = simple_open, 300 .open = simple_open, 307 .open = simple_open, 314 .open = simple_open, 367 .open = simple_open, 374 .open = simple_open, 427 .open = simple_open, 434 .open = simple_open,
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | chaoskey.c | 79 int open; /* open count */ member 242 if (!dev->open) { in chaoskey_disconnect() 261 usb_dbg(interface, "open"); in chaoskey_open() 265 usb_dbg(interface, "open (dev)"); in chaoskey_open() 271 ++dev->open; in chaoskey_open() 274 usb_dbg(interface, "open success"); in chaoskey_open() 292 usb_dbg(interface, "open count at release is %d", dev->open); in chaoskey_release() 294 if (dev->open < in chaoskey_release() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 222 .open = simple_open, 229 .open = simple_open, 300 .open = simple_open, 307 .open = simple_open, 314 .open = simple_open, 367 .open = simple_open, 374 .open = simple_open, 427 .open = simple_open, 434 .open = simple_open,
|
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | chaoskey.c | 79 int open; /* open count */ member 241 if (!dev->open) { in chaoskey_disconnect() 260 usb_dbg(interface, "open"); in chaoskey_open() 264 usb_dbg(interface, "open (dev)"); in chaoskey_open() 270 ++dev->open; in chaoskey_open() 273 usb_dbg(interface, "open success"); in chaoskey_open() 291 usb_dbg(interface, "open count at release is %d", dev->open); in chaoskey_release() 293 if (dev->open < in chaoskey_release() [all...] |
/kernel/liteos_m/testsuites/unittest/posix/src/fs/full/ |
H A D | posix_fs_full_test.c | 45 * @tc.name open close unlink 55 fd1 = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 59 fd2 = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 66 fd2 = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 80 * @tc.name open write read lseek read close unlink 95 fd = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 150 fd[i] = open(tmpFileName, O_CREAT | O_RDWR, TEST_MODE_HIGH); 278 fd = open(tmpFileName, O_CREAT | O_RDWR); 311 * @tc.name open fstat close unlink 320 int32_t fd = open(tmpFileNam [all...] |
/third_party/node/lib/internal/fs/ |
H A D | streams.js | 54 if (stream.open !== openWriteFs && stream.open !== openReadFs) { 55 // Backwards compat for monkey patching open(). 58 if (args[0] === 'open') { 69 stream.open(); 71 stream[kFs].open(stream.path, stream.flags, stream.mode, (er, fd) => { 77 stream.emit('open', stream.fd); 87 open: (path, flags, mode, cb) => { 88 throw new ERR_METHOD_NOT_IMPLEMENTED('open()'); 166 validateFunction(this[kFs].open, 'option [all...] |
/third_party/libfuse/example/ |
H A D | passthrough.c | 283 res = open(path, fi->flags, mode); in xmp_create() 295 res = open(path, fi->flags); in xmp_open() 310 fd = open(path, O_RDONLY); in xmp_read() 334 fd = open(path, O_WRONLY); in xmp_write() 393 fd = open(path, O_WRONLY); in xmp_fallocate() 456 fd_in = open(path_in, O_RDONLY); in xmp_copy_file_range() 464 fd_out = open(path_out, O_WRONLY); in xmp_copy_file_range() 493 fd = open(path, O_RDONLY); in xmp_lseek() 528 .open = xmp_open,
|
/third_party/python/Lib/idlelib/ |
H A D | iomenu.py | 28 self.__id_open = self.text.bind("<<open-window-from-file>>", self.open) 39 self.text.unbind("<<open-window-from-file>>", self.__id_open) 77 def open(self, event=None, editFile=None): member in IOBinding 86 # If editFile is valid and already open, flist.open will 90 # pass self.loadfile to flist.open so it will load the file 91 # in the current window (if the file is not already open) 97 flist.open(filename, self.loadfile) 99 flist.open(filenam 415 def open(self, event): global() member in _io_binding.MyEditWin [all...] |
/third_party/python/Lib/test/ |
H A D | test_linecache.py | 59 with tokenize.open(self.file_name) as fp: 119 with open(filename, encoding='utf-8') as file: 129 with open(os_helper.TESTFN, "w", encoding='utf-8') as fp: 156 with open(source_name, 'w', encoding='utf-8') as source: 162 with open(source_name, encoding='utf-8') as source: 167 with open(source_name, 'w', encoding='utf-8') as source: 179 with open(source_name, encoding='utf-8') as source: 254 with open(fname, 'w', encoding='utf-8') as source: 262 with open(self.modified_file, 'w', encoding='utf-8') as source:
|
/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,
|