/test/xts/acts/kernel_lite/mem_posix/src/ |
H A D | MremapApiTest.cpp | 241 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); in HWTEST_F() 242 ASSERT_TRUE(fd != -1) << "ERROR: open() == -1"; in HWTEST_F() 293 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); in HWTEST_F() 294 ASSERT_TRUE(fd != -1) << "ERROR: open() == -1"; in HWTEST_F() 345 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); in HWTEST_F() 346 ASSERT_TRUE(fd != -1) << "ERROR: open() == -1"; in HWTEST_F() 401 int fd = open(file, O_CREAT|O_RDWR, S_IRWXU|S_IRWXG|S_IRWXO); in HWTEST_F() 402 ASSERT_TRUE(fd != -1) << "ERROR: open() == -1"; in HWTEST_F()
|
/test/xts/hats/kernel/madvise/ |
H A D | MadviseApiTest.cpp | 102 int fd = open("output_file.txt", O_RDWR); in HWTEST_F() 125 int fd = open("output_file.txt", O_RDWR); in HWTEST_F() 187 int fd = open("output_file.txt", O_RDWR); in HWTEST_F() 211 int fd = open("output_file.txt", O_RDWR); in HWTEST_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:
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | ofconsole.c | 41 console_ops.open = of_console_open; in of_console_init()
|
/kernel/linux/build/test/fuzztest/memory/src/ |
H A D | memorycommon.cpp | 23 int fd = open(pathname, O_RDWR); in MemoryFuzzTest()
|
/kernel/linux/build/test/fuzztest/memory/forceshrinkanon_fuzzer/ |
H A D | forceshrinkanon_fuzzer.cpp | 21 int fd = open(forceShrinkAnon, O_RDWR); in ForceShrinkAnonFuzzer()
|