Home
last modified time | relevance | path

Searched refs:open (Results 1426 - 1450 of 9465) sorted by relevance

1...<<51525354555657585960>>...379

/test/xts/acts/kernel_lite/mem_posix/src/
H A DMremapApiTest.cpp241 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 DMadviseApiTest.cpp102 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 Dgen.py256 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 DDataReadWriteTest.java50 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 DDataReadWriteTest.java53 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 Dcheck_files.py145 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 Dgen-unicode.py56 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 Dpygettext.py605 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 Dpoptconfig.c31 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 Dsysconfig.py329 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 Ddocgenerator.py241 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 Drestricted_trace_gold_tests.py209 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 Dfiledialog.py42 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 Dab.py116 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 Dinit.c51 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 Dpddm.py232 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 Dtest_dist.py93 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 Dtest_parser.py101 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 Dtest_urllib2net.py99 # 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 Dutil.py110 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 Dmustpass.py129 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 Dupdate_deps.py260 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 Dofconsole.c41 console_ops.open = of_console_open; in of_console_init()
/kernel/linux/build/test/fuzztest/memory/src/
H A Dmemorycommon.cpp23 int fd = open(pathname, O_RDWR); in MemoryFuzzTest()
/kernel/linux/build/test/fuzztest/memory/forceshrinkanon_fuzzer/
H A Dforceshrinkanon_fuzzer.cpp21 int fd = open(forceShrinkAnon, O_RDWR); in ForceShrinkAnonFuzzer()

Completed in 21 milliseconds

1...<<51525354555657585960>>...379