/third_party/mesa3d/src/util/ |
H A D | disk_cache_os.c | 574 int fd = open(filename, O_RDONLY | O_CLOEXEC); in disk_cache_load_item() 715 fd = open(filename_tmp, O_WRONLY | O_CLOEXEC | O_CREAT, 0644); in disk_cache_write_item_to_disk() 724 fd = open(filename_tmp, O_WRONLY | O_CLOEXEC | O_CREAT, 0644); in disk_cache_write_item_to_disk() 729 /* With the temporary file open, we take an exclusive flock on in disk_cache_write_item_to_disk() 731 * open with the flock held. So just let that file be responsible in disk_cache_write_item_to_disk() 748 /* Now that we have the lock on the open temporary file, we can in disk_cache_write_item_to_disk() 754 fd_final = open(filename, O_RDONLY | O_CLOEXEC); in disk_cache_write_item_to_disk() 978 fd = open(path, O_RDWR | O_CREAT | O_CLOEXEC, 0644); in disk_cache_mmap_cache_index()
|
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/ |
H A D | page-poisoning.c | 339 fd = open(buf, O_CREAT | O_RDWR | O_TRUNC, 0600); in playfile() 409 int fd = open(fn, O_RDWR | O_TRUNC | O_CREAT, 0600); in do_file_clean() 470 fd = open(fn, O_RDONLY); in do_file_dirty() 479 fd = open(fn, O_RDONLY); in do_file_dirty() 487 fd = open(fn, O_RDWR); in do_file_dirty() 774 err("cannot open log file: %s\n", log_file); in setup_log() 781 err("cannot open log file: %s\n", result_file); in setup_log()
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | io_win32_unittest.cc | 35 // Unit tests for long-path-aware open/mkdir/access/etc. on Windows, as well as 294 int fd = open(file.c_str(), O_CREAT | O_WRONLY, 0644); in TEST_F() 334 int fd = open(file.c_str(), O_CREAT | O_WRONLY, 0644); in TEST_F() 342 ASSERT_EQ(open("c:bad.txt", O_CREAT | O_WRONLY, 0644), -1); in TEST_F() 344 ASSERT_EQ(open("/tmp/bad.txt", O_CREAT | O_WRONLY, 0644), -1); in TEST_F() 346 ASSERT_EQ(open("\\bad.txt", O_CREAT | O_WRONLY, 0644), -1); in TEST_F()
|
/third_party/gn/build/ |
H A D | gen.py | 256 with open(header, 'w') as f: 300 with open(template_filename) as f: 361 with open(path, 'w') as f: 366 with open(path + '.d', 'w') as f:
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
H A D | DataReadWriteTest.java | 50 assertTrue(null, xrw.open("Test")); in testOpenClose() 58 assertTrue(null, xrr.open("Test")); in testOpenClose() 349 xrw.open("omit"); in testOmittedFields() 358 assertTrue(null, xrr.open("omit")); in testOmittedFields()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
H A D | DataReadWriteTest.java | 53 assertTrue(null, xrw.open("Test")); in testOpenClose() 61 assertTrue(null, xrr.open("Test")); in testOpenClose() 352 xrw.open("omit"); in testOmittedFields() 361 assertTrue(null, xrr.open("omit")); in testOmittedFields()
|
/third_party/mbedtls/tests/scripts/ |
H A D | check_files.py | 145 with open(filepath, "rb") as f: 191 with open(filepath, "rb") as f: 213 with open(filepath, "rb") as f: 235 with open(filepath, "rb") as f:
|
/third_party/jerryscript/tools/ |
H A D | gen-unicode.py | 56 with open(self.__filepath, 'w') as generated_source: 99 with open(unicode_data_file) as unicode_data: 338 with open(unicode_data_file) as unicode_data: 358 with open(special_casing_file) as special_casing:
|
/third_party/python/Tools/i18n/ |
H A D | pygettext.py | 605 fp = open(arg) 624 with open(options.excludefilename) as fp: 653 fp = open(filename, 'rb') 676 fp = open(options.outfile, 'w')
|
/third_party/popt/src/ |
H A D | poptconfig.c | 31 int open = 0; in glob_pattern_p() local 44 open = 1; in glob_pattern_p() 47 if (open) in glob_pattern_p() 134 fdno = open(fn, O_RDONLY); in poptReadFile()
|
/third_party/python/Lib/ |
H A D | sysconfig.py | 329 with open(filename, encoding=sys.getfilesystemencoding(), 473 msg = f"invalid Python installation: unable to open {makefile}" 480 with open(config_h, encoding="utf-8") as f: 483 msg = f"invalid Python installation: unable to open {config_h}" 517 with open(destfile, 'w', encoding='utf8') as f: 524 with open('pybuilddir.txt', 'w', encoding='utf8') as f:
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | docgenerator.py | 241 fp = open(filename, 'w', encoding='utf-8') 268 fp = open(filename, 'w', encoding='utf-8') 287 with open(filename, 'w', encoding='utf-8') as fp: 301 with open(filename, 'w', encoding='utf-8') as fp:
|
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | restricted_trace_gold_tests.py | 209 with open(tempfile_path) as f: 486 with open(json_name) as fp: 515 with open(args.isolated_script_test_output, 'w') as out_file: 519 with open(args.isolated_script_test_perf_output, 'w') as out_file:
|
/third_party/python/Lib/tkinter/ |
H A D | filedialog.py | 42 else: ...open file... 287 # - initialfile: initial file (ignored by the open dialog). preserved 333 "Ask for a filename to open" 382 "Ask for a filename to open" 394 """Ask for multiple filenames to open 406 "Ask for a filename to open, and returned the opened file" 410 return open(filename, mode) 415 """Ask for multiple filenames and return the open file 418 returns a list of open file objects or an empty list if 426 ofiles.append(open(filenam [all...] |
/third_party/skia/tools/calmbench/ |
H A D | ab.py | 116 with open(filename) as f: 222 with open(file_i, 'w') as f: 345 with open("%s/bench_%s_%s.json" % (args.outdir, args.a, args.b), 'w') as f: 376 with open("%s/bench_%s_%s.csv" % (args.outdir, args.a, args.b), 'w') as out:
|
/third_party/toybox/toys/pending/ |
H A D | init.c | 51 fd = open("/dev/null", O_RDWR); in initialize_console() 57 fd = open(p, O_RDWR | O_NONBLOCK | O_NOCTTY); in initialize_console() 58 if (fd < 0) printf("Unable to open console %s\n",p); in initialize_console() 133 error_msg("Unable to open /etc/inittab. Using Default inittab"); in parse_inittab() 271 fd = open(x->terminal_name, (O_RDWR|O_NONBLOCK),0600); in final_run() 273 error_msg("Unable to open %s,%s\n", x->terminal_name, strerror(errno)); in final_run() 391 fd = open(x->terminal_name, (O_RDWR|O_NONBLOCK),0600); in restart_init_handler() 394 error_msg("Unable to open %s,%s\n", x->terminal_name, strerror(errno)); in restart_init_handler()
|
/third_party/protobuf/objectivec/DevTools/ |
H A D | pddm.py | 232 raise PDDMError('Hit a line that wasn\'t a directive and no open macro' 662 return open(import_path, 'r') 664 with open(a_path, 'r') as f: 677 with open(a_path, 'w') as f:
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_dist.py | 93 with open(TESTFN, "w") as f: 148 f = open(TESTFN, "w") 236 with open(user_filename, 'w') as f: 449 f = open(user_filename, 'w')
|
/third_party/python/Lib/lib2to3/tests/ |
H A D | test_parser.py | 101 with open(pickle_name, 'rb') as pickle_f_1, \ 102 open(pickle_sub_name, 'rb') as pickle_f_2: 594 with open(filepath, "rb") as fp: 598 with open(filepath, "r", encoding=encoding) as fp:
|
/third_party/python/Lib/test/ |
H A D | test_urllib2net.py | 99 # f = opener.open('http://localhost/') 148 f = open(TESTFN, 'w') 213 opener.open(request) 217 opener.open(request) 246 urlopen = urllib.request.build_opener(*handlers).open
|
/third_party/python/Lib/test/test_importlib/ |
H A D | util.py | 110 with open(path, 'w', encoding='utf-8') as subfile: 120 with open(pyc_path, 'rb') as pyc_f: 170 with open(modpath, 'w', encoding='utf-8') as modfile: 378 with open(file_path, 'w', encoding='utf-8') as file:
|
/third_party/vk-gl-cts/scripts/ |
H A D | mustpass.py | 129 with open(filePath, 'r') as first_file: 136 with open(filename, 'rt') as f: 296 mainDstFile = open(mainDstFilePath, 'w') 307 output_files[filePath] = open(filePath, 'w')
|
/third_party/vulkan-loader/scripts/ |
H A D | update_deps.py | 260 DEVNULL = open(os.devnull, 'wb') 576 with open(known_good_file) as known_good: 596 with open(known_good_file) as known_good: 616 with open(filename, 'w') as helper_file:
|
/third_party/googletest/googlemock/scripts/generator/cpp/ |
H A D | utils.py | 29 fp = open(filename)
|
/third_party/mesa3d/bin/ |
H A D | meson_get_version.py | 28 with open(filename) as f:
|