Home
last modified time | relevance | path

Searched refs:open (Results 8826 - 8850 of 10047) sorted by relevance

1...<<351352353354355356357358359360>>...402

/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/
H A Ddevice.py868 pid_info_file = os.open(file_path, os.O_WRONLY | os.O_CREAT | os.O_APPEND, FilePermission.mode_755)
1339 hilog_open = os.open(path, os.O_WRONLY | os.O_CREAT | os.O_APPEND,
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
H A Dkit.py323 file_fd = os.open(save_file, os.O_CREAT | os.O_WRONLY, FilePermission.mode_644)
880 with os.fdopen(os.open(white_json_file, flags, modes),
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dstdlibndk.cpp916 int fd = open("/data/storage/el2/base/files/Fzl.txt", O_CREAT, PARAM_0777); in RealPath()
947 int fileDescribe = open("/data/storage/el2/base/files/fzl.txt", O_CREAT, PARAM_0777); in PtsName()
H A Dwcharndk1.cpp223 int fd = open(TEMP_FILE, O_CREAT | O_RDWR, PARAM_0777); in Fwscanf_One()
243 int fd = open(TEMP_FILE, O_CREAT | O_RDWR, PARAM_0777); in Fwscanf_Two()
/test/xts/dcts/distributedhardware/distributedcameratest/
H A Ddcamera_hdf_demo.cpp337 imgFD = open(path, O_RDWR | O_CREAT, 00766); // 00766:file operate permission in StoreImage()
339 DHLOGI("demo test:open image file error %{public}s.....", strerror(errno)); in StoreImage()
373 videoFd_ = open(path, O_RDWR | O_CREAT, 00766); // 00766:file operate permission in OpenVideoFile()
375 DHLOGI("demo test: StartVideo open %{public}s %{public}s failed", path, strerror(errno)); in OpenVideoFile()
/third_party/eudev/src/libudev/
H A Dlibudev-device.c1458 * value and not open the attribute again.
1517 fd = open(path, O_RDONLY|O_CLOEXEC); in udev_device_get_sysattr_value()
1597 fd = open(path, O_WRONLY|O_CLOEXEC); in udev_device_set_sysattr_value()
/third_party/backends/backend/
H A Dplustek_pp.c251 /** open the device specific driver and reset the internal timing stuff
253 * @return the function returns the result of the open call, on success
262 handle = dev->open((const char*)dev->name, (void *)dev ); in drvopen()
1013 dev->open = ppDev_open; in attach()
1029 * go ahead and open the scanner device in attach()
1033 DBG( _DBG_ERROR,"open failed: %d\n", handle ); in attach()
1309 /** open the sane device
1355 /* insert newly opened handle into list of open handles: */ in sane_open()
1372 /* remove handle from list of open handles: */ in sane_close()
1817 * open th in sane_start()
[all...]
/third_party/libuv/src/unix/
H A Dfs.c345 2. open() didn't support O_CLOEXEC in uv__fs_mkstemp()
403 return open(req->path, req->flags | O_CLOEXEC, req->mode); in uv__fs_open()
410 r = open(req->path, req->flags, req->mode); in uv__fs_open()
1298 /* Close the destination file if it is open. */ in uv__fs_copyfile()
H A Dcore.c815 /* Set the CLOEXEC flag on all open descriptors. Unconditionally try the in uv_disable_stdio_inheritance()
1062 fd = open(path, flags | O_CLOEXEC); in uv__open_cloexec()
1071 fd = open(path, flags); in uv__open_cloexec()
/third_party/node/lib/
H A Dnet.js414 // Default to *not* allowing half open sockets.
434 err = this._handle.open(fd);
437 // `open` may return an error code for valid file descriptors
441 throw errnoException(err, 'open');
676 return 'open';
1727 err = handle.open(fd);
/third_party/ntfs-3g/libfuse-lite/
H A Dfuse_lowlevel.c683 if (req->f->op.open) in do_open()
684 req->f->op.open(req, nodeid, &fi); in do_open()
/third_party/node/deps/minimatch/
H A Dindex.js1576 const [open, close] = set.length > 1 ? ["(?:", ")"] : ["", ""];
1577 re = "^" + open + re + close + "$";
/third_party/mksh/
H A Dmain.c1245 if ((fd = open(T_devtty, O_RDWR, 0)) >= 0) { in tty_init_fd()
1522 if ((shl_dbg_fd = open(lfp, O_WRONLY | O_APPEND | O_CREAT, 0600)) < 0) in initio()
1523 errorf("can't open debug output file %s", lfp); in initio()
1534 DF("=== open ==="); in initio()
1652 "fd not open for reading" : in check_fd()
1653 "fd not open for writing"; in check_fd()
1778 /* cyclically attempt to open a temporary file */ in maketemp()
/third_party/node/deps/uv/src/unix/
H A Dfs.c326 2. open() didn't support O_CLOEXEC in uv__fs_mkstemp()
383 return open(req->path, req->flags | O_CLOEXEC, req->mode); in uv__fs_open()
390 r = open(req->path, req->flags, req->mode); in uv__fs_open()
1409 /* Close the destination file if it is open. */ in uv__fs_copyfile()
/third_party/python/Tools/gdb/
H A Dlibpython.py1154 with open(os_fsencode(filename), 'r', encoding="utf-8") as fp:
1945 f = open(os_fsencode(filename), 'r', encoding="utf-8")
1947 sys.stdout.write('Unable to open %s: %s\n'
/third_party/python/Lib/test/test_asyncio/
H A Dtest_proactor_events.py989 with open(os_helper.TESTFN, 'wb') as fp:
1002 self.file = open(os_helper.TESTFN, 'rb')
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DEmitMetal.cpp1921 auto emitArgList = [&](const char *open, const char *close) {
1922 mOut << open;
/third_party/python/Lib/tkinter/
H A Dtix.py1521 set to open; otherwise its mode is set to close.'''
1532 def open(self, entrypath): member in Tree
1533 '''Open the entry given by entryPath if its mode is open.'''
1534 self.tk.call(self._w, 'open', entrypath)
1539 must be one of open, close or none. If mode is set to open, a (+)
1543 open mode indicates the entry has hidden children and this entry can be
1568 set to open; otherwise its mode is set to close.'''
1579 def open(self, entrypath): member in CheckList
1580 '''Open the entry given by entryPath if its mode is open
[all...]
/third_party/toybox/toys/pending/
H A Dfdisk.c348 fd = open(device, O_RDWR); in read_mbr()
350 perror_msg("can't open '%s'",device); in read_mbr()
1404 int fd = open(device, O_RDONLY); in disk_proper()
/third_party/python/Python/
H A Dfileutils.c32 /* Does open() support the O_CLOEXEC flag? Possible values:
35 0: open() ignores O_CLOEXEC flag, ex: Linux kernel older than 2.6.23
36 1: open() supports O_CLOEXEC flag, close-on-exec is set
39 and os.open(). */
1095 open other name surrogate reparse points without traversing them. To in _Py_attribute_data_to_stat()
1524 if (PySys_Audit("open", "OOi", pathname_obj, Py_None, flags) < 0) { in _Py_open_impl()
1531 fd = open(pathname, flags); in _Py_open_impl()
1547 fd = open(pathname, flags); in _Py_open_impl()
1562 /* Open a file with the specified flags (wrapper to open() function).
1568 When interrupted by a signal (open() fail
[all...]
/third_party/python/Lib/test/
H A Dtest_float.py727 with open(format_testfile, encoding="utf-8") as testfile:
766 with open(os.path.join(os.path.split(__file__)[0],
/third_party/musl/porting/linux/user/ldso/
H A Ddynlink.c205 /* asan path open */
1338 int fd = open("/dev/urandom", O_RDONLY); in get_random()
1379 fd = open("/sys/kernel/mm/transparent_hugepage/enabled", O_RDONLY); in get_transparent_hugepages_supported()
1677 if ((fd = open(buf, O_RDONLY|O_CLOEXEC))>=0) return fd; in path_open()
2030 fd = open(name, O_RDONLY|O_CLOEXEC); in load_library()
2031 LD_LOGD("load_library is_accessible return true, open file fd:%{public}d .", fd); in load_library()
2975 fd = open(argv[0], O_RDONLY); in __dls3()
4540 if ((task->fd = open(buf, O_RDONLY|O_CLOEXEC))>=0) break; in open_library_by_path()
4683 LD_LOGE("Open uncompressed library: open %{public}s in %{public}s failed because of misalignment or saved with compression." in open_uncompressed_library_in_zipfile()
5216 task->fd = open(nam in load_library_header()
[all...]
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
H A Dqm.c987 .open = simple_open,
1515 .open = simple_open,
2779 .open = simple_open,
3622 /* open the OOO port for PEH to write out MSI */ in qm_restart_done()
/kernel/linux/linux-5.10/drivers/cdrom/
H A Dcdrom.c235 -- DVD-RAM write open fixes
596 if (cdo->open == NULL || cdo->release == NULL) in register_cdrom()
770 * allow writable open if media info read worked and media is in cdrom_dvdram_open_write()
785 * always reset to DMA lba space on open in cdrom_mrw_open_write()
807 pr_info("open: mrw_status '%s'\n", mrw_format_status[di.mrw_status]); in cdrom_mrw_open_write()
859 cd_dbg(CD_OPEN, "can open for random write\n"); in cdrom_ram_open_write()
898 * returns 0 for ok to open write, non-0 to disallow
1056 cd_dbg(CD_OPEN, "the tray is open...\n"); in open_for_data()
1107 cd_dbg(CD_WARNING, "pid %d must open device O_NONBLOCK!\n", in open_for_data()
1119 /* all seems well, we can open th in open_for_data()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
H A Ddebugfs.c35 .open = simple_open, \
42 .open = simple_open, \
51 .open = simple_open, \

Completed in 70 milliseconds

1...<<351352353354355356357358359360>>...402