/third_party/ltp/testcases/kernel/syscalls/open/ |
H A D | open12.c | 18 * This test case will verify basic function of open(2) with the flags 115 TEST(open(TEST_FILE, O_RDWR | O_APPEND, 0777)); in test_append() 118 tst_resm(TFAIL | TTERRNO, "open failed"); in test_append() 129 tst_resm(TPASS, "test O_APPEND for open success"); in test_append() 131 tst_resm(TFAIL, "test O_APPEND for open failed"); in test_append() 141 "test O_NOATIME flag for open needs filesystems which " in test_noatime() 150 TEST(open(TEST_FILE, O_RDONLY | O_NOATIME, 0777)); in test_noatime() 153 tst_resm(TFAIL | TTERRNO, "open failed"); in test_noatime() 161 tst_resm(TPASS, "test O_NOATIME for open success"); in test_noatime() 163 tst_resm(TFAIL, "test O_NOATIME for open faile in test_noatime() [all...] |
/third_party/mindspore/ |
H A D | build_helper.py | 100 with open("{0}/.status".format(out_src_path), 'w+') as f: 106 with open(file, 'rb') as f: 120 with open(md5_path, 'w') as f: 141 with open(os.path.join(md5_path, md5_file), 'r') as f:
|
/third_party/python/Tools/scripts/ |
H A D | generate_opcode_h.py | 75 if hasattr(tokenize, 'open'): 76 fp = tokenize.open(opcode_py) # Python 3.2+ 78 fp = open(opcode_py) # Python 2.7 105 with open(outfile, 'w') as fobj, open(internaloutfile, 'w') as iobj:
|
H A D | crlf.py | 11 with open(filename, "rb") as f: 19 with open(filename, "wb") as f:
|
H A D | lfcr.py | 12 with open(filename, "rb") as f: 20 with open(filename, "wb") as f:
|
/third_party/pcre2/pcre2/maint/ |
H A D | GenerateTest26.py | 40 input_file = open(output_directory + "testinput26", "w") 41 output_file = open(output_directory + "testoutput26", "w") 43 print ("** Couldn't open output files") 62 with open("Unicode.tables/Scripts.txt") as f: 89 with open("Unicode.tables/ScriptExtensions.txt") as f:
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_proxies.c | 110 devnull = open("/dev/null", O_WRONLY); in main() 135 devnull = open("/dev/null", O_WRONLY); in main() 161 devnull = open("/dev/null", O_WRONLY); in main() 190 devnull = open("/dev/null", O_WRONLY); in main()
|
/third_party/skia/third_party/externals/expat/expat/ |
H A D | qa.sh | 38 local open='\e[1m' 41 echo -e -n "${open}" >&2 48 local open='\e[1;33m' 51 echo -e -n "${open}" >&2
|
/third_party/rust/crates/regex/scripts/ |
H A D | scrape_crates_io.py | 47 out = open(os.path.abspath(args.output_file), "w") 94 with open(crate_index_file) as f: 139 with open(self.filename, "wb") as f: 174 with open(src) as f:
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/relational/ |
H A D | relational_store_sqlite_ext.h | 29 int (*open)(const char *, sqlite3 **); member 39 #define sqlite3_open sqlite3_export_relational_symbols->open
|
/third_party/node/tools/ |
H A D | enable_fips_include.py | 34 fin = open(sys.argv[2], "rt") 40 fin = open(sys.argv[2], "wt")
|
/third_party/musl/porting/linux/user/src/fcntl/ |
H A D | open.c | 20 int open(const char *filename, int flags, ...) in open() function 35 weak_alias(open, open64);
|
/third_party/libphonenumber/cpp/src/phonenumbers/ohos/ |
H A D | update_libphonenumber.cc | 29 int metadataFd = open(METADATAINFO_PATH.c_str(), O_RDONLY); in LoadUpdateData() 30 int geocodingFd = open(GEOCODINGINFO_PATH.c_str(), O_RDONLY); in LoadUpdateData()
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | bootstrap.py | 28 with open('.gclient') as gclient_file: 35 with open('.gclient', 'w') as gclient_file:
|
/third_party/pcre2/pcre2/ |
H A D | Detrail | 11 open(IN, "$file") || die "Can't open $file for input"; 24 open(OUT, ">$file") || die "Can't open $file for output";
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | fix_get_types.py | 11 with open (args.input, 'r') as inp, open (args.output, 'w') as out:
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.c | 96 .open = simple_open, 169 .open = simple_open, \ 222 .open = simple_open, 241 .open = simple_open, 308 .open = simple_open, 380 .open = simple_open, 422 .open = simple_open, 521 .open = simple_open, 631 .open = simple_open, 689 .open [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.c | 94 .open = simple_open, 164 .open = simple_open, \ 217 .open = simple_open, 236 .open = simple_open, 301 .open = simple_open, 371 .open = simple_open, 413 .open = simple_open, 512 .open = simple_open, 622 .open = simple_open, 680 .open [all...] |
/third_party/python/Mac/BuildScript/ |
H A D | build-installer.py | 63 with open(plist, 'wb') as fp: 80 for ln in open(fn, 'r'): 105 for ln in open(fn): 213 with open("Makefile", "r") as fp: 229 with open("Makefile", "w") as fp: 509 return open(fn, 'r').read() 541 f = open(configfile, "r") 772 fpOut = open(fname, 'wb') 1286 fp = open(os.path.join(buildDir, 'Makefile'), 'r') 1315 fp = open(pat [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/text/ |
H A D | font_mgr_test.cpp | 167 int fd = open(fontPath.c_str(), O_RDONLY); in HWTEST_F() 189 int fd = open(fontPath.c_str(), O_RDONLY); in HWTEST_F() 211 int fd = open(fontPath.c_str(), O_RDONLY); in HWTEST_F() 233 int fd = open(fontPath.c_str(), O_RDONLY); in HWTEST_F() 252 int fd = open(filepath.c_str(), O_RDONLY); in HWTEST_F() 271 int fd = open(fontPath.c_str(), O_RDONLY); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | idmouse.c | 75 int open; /* if the port is open or not */ member 99 .open = idmouse_open, 201 /* PM operations are nops as this driver does IO only during open() */ 237 /* check if already open */ in idmouse_open() 238 if (dev->open) { in idmouse_open() 240 /* already open, so fail */ in idmouse_open() 255 ++dev->open; in idmouse_open() 281 --dev->open; in idmouse_release() 391 if (!dev->open) { in idmouse_disconnect() [all...] |
/kernel/linux/linux-5.10/sound/xen/ |
H A D | xen_snd_front.c | 97 req->op.open.pcm_format = format; in xen_snd_front_stream_prepare() 98 req->op.open.pcm_channels = channels; in xen_snd_front_stream_prepare() 99 req->op.open.pcm_rate = rate; in xen_snd_front_stream_prepare() 100 req->op.open.buffer_sz = buffer_sz; in xen_snd_front_stream_prepare() 101 req->op.open.period_sz = period_sz; in xen_snd_front_stream_prepare() 102 req->op.open.gref_directory = in xen_snd_front_stream_prepare()
|
/kernel/linux/linux-6.6/drivers/accel/ivpu/ |
H A D | ivpu_debugfs.c | 146 .open = fw_log_fops_open, 176 .open = simple_open, 203 .open = simple_open, 229 .open = simple_open, 263 .open = simple_open, 269 .open = simple_open,
|
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | idmouse.c | 75 int open; /* if the port is open or not */ member 99 .open = idmouse_open, 201 /* PM operations are nops as this driver does IO only during open() */ 237 /* check if already open */ in idmouse_open() 238 if (dev->open) { in idmouse_open() 240 /* already open, so fail */ in idmouse_open() 255 ++dev->open; in idmouse_open() 281 --dev->open; in idmouse_release() 391 if (!dev->open) { in idmouse_disconnect() [all...] |
/kernel/linux/linux-6.6/sound/xen/ |
H A D | xen_snd_front.c | 97 req->op.open.pcm_format = format; in xen_snd_front_stream_prepare() 98 req->op.open.pcm_channels = channels; in xen_snd_front_stream_prepare() 99 req->op.open.pcm_rate = rate; in xen_snd_front_stream_prepare() 100 req->op.open.buffer_sz = buffer_sz; in xen_snd_front_stream_prepare() 101 req->op.open.period_sz = period_sz; in xen_snd_front_stream_prepare() 102 req->op.open.gref_directory = in xen_snd_front_stream_prepare()
|