Home
last modified time | relevance | path

Searched refs:_open (Results 1 – 25 of 57) sorted by relevance

123

/freebsd-13.1/contrib/file/python/
H A Dmagic.py70 _open = _libraries['magic'].magic_open variable
71 _open.restype = magic_t
72 _open.argtypes = [c_int]
275 return Magic(_open(flags))
281 self.mime_magic = Magic(_open(MAGIC_MIME))
283 self.none_magic = Magic(_open(MAGIC_NONE))
/freebsd-13.1/lib/libc/gen/
H A Dpututxline.c52 fd = _open(file, O_CREAT|O_RDWR|O_EXLOCK|O_CLOEXEC, 0644); in futx_open()
186 fd = _open(_PATH_UTX_ACTIVE, O_CREAT|O_RDWR|O_TRUNC, 0644); in utx_active_init()
243 fd = _open(_PATH_UTX_LASTLOGIN, O_RDWR|O_CLOEXEC, 0644); in utx_lastlogin_upgrade()
277 fd = _open(_PATH_UTX_LOG, O_CREAT|O_WRONLY|O_APPEND|O_CLOEXEC, 0644); in utx_log_add()
H A Ddaemon.c101 nullfd = _open(_PATH_DEVNULL, O_RDWR, 0); in daemon()
106 chdirfd = _open("/", O_EXEC); in daemon()
H A Dfts.c208 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_open()
333 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in fts_read()
426 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in fts_read()
565 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_children()
1127 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY | in fts_safe_changedir()
H A Dfts-compat11.c211 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in freebsd11_fts_open()
336 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in freebsd11_fts_read()
429 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in freebsd11_fts_read()
568 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in freebsd11_fts_children()
1132 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_DIRECTORY | in fts_safe_changedir()
H A Dfts-compat.c221 (sp->fts_rfd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in __fts_open_44bsd()
346 if ((p->fts_symfd = _open(".", O_RDONLY | O_CLOEXEC, in __fts_read_44bsd()
438 _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) { in __fts_read_44bsd()
574 if ((fd = _open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) in __fts_children_44bsd()
1154 if (fd < 0 && (newfd = _open(path, O_RDONLY | O_CLOEXEC, 0)) < 0) in fts_safe_changedir()
H A Dsem_new.c181 fd = _open(path, flags | O_RDWR | O_CLOEXEC | in _sem_open()
213 fd = _open(path, flags | O_RDWR | O_CLOEXEC | O_EXLOCK, mode); in _sem_open()
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dseq_file.h41 static int __name ## _open(struct inode *inode, struct linux_file *file) \
48 .open = __name ## _open, \
/freebsd-13.1/lib/libc/x86/sys/
H A D__vdso_gettc.c231 (fd = _open(devname, O_RDONLY | O_CLOEXEC)) == -1) { in __vdso_init_hpet()
267 fd = _open(HYPERV_REFTSC_DEVPATH, O_RDONLY | O_CLOEXEC); in __vdso_init_hyperv_tsc()
356 (fd = _open("/dev/" PVCLOCK_CDEVNAME, O_RDONLY | O_CLOEXEC)) < 0) in __vdso_init_pvclock_timeinfos()
/freebsd-13.1/sys/contrib/dev/iwlwifi/fw/
H A Ddebugfs.c19 static int _iwl_dbgfs_##name##_open(struct inode *inode, \
67 .open = _iwl_dbgfs_##name##_open, \
95 .open = _iwl_dbgfs_##name##_open, \
105 .open = _iwl_dbgfs_##name##_open, \
/freebsd-13.1/libexec/rtld-elf/rtld-libc/
H A Dnamespace.h35 #define open _open
H A DMakefile.inc51 getdirentries _getdirentries _close _fcntl _open _openat _read \
/freebsd-13.1/lib/libc/stdio/
H A Dfreopen.c155 f = _open(file, oflags, DEFFILEMODE); in freopen()
162 f = _open(file, oflags, DEFFILEMODE); in freopen()
H A Dfopen.c64 if ((f = _open(file, oflags, DEFFILEMODE)) < 0) { in fopen()
/freebsd-13.1/contrib/libpcap/testprogs/
H A Dunix.h46 #define open _open
/freebsd-13.1/tools/build/libc-bootstrap/
H A Dnamespace.h40 #define _open(...) open(__VA_ARGS__) macro
/freebsd-13.1/lib/libc/gmon/
H A Dgmon.c160 fd = _open(outname, O_CREAT|O_TRUNC|O_WRONLY|O_CLOEXEC, 0666); in _mcleanup()
166 log = _open("gmon.log", O_CREAT|O_TRUNC|O_WRONLY|O_CLOEXEC, 0664); in _mcleanup()
/freebsd-13.1/lib/libc/iconv/
H A Dcitrus_mmap.c64 if ((fd = _open(path, O_RDONLY | O_CLOEXEC)) == -1) in _citrus_map_file()
/freebsd-13.1/contrib/ntp/sntp/libopts/compat/
H A Dwindows-config.h93 #define open _open
/freebsd-13.1/contrib/libarchive/libarchive/test/
H A Dtest_read_large.c33 #define open _open
H A Dtest_read_data_large.c37 #define open _open
/freebsd-13.1/lib/libc/locale/
H A Dldpart.c93 if ((fd = _open(filename, O_RDONLY | O_CLOEXEC)) < 0) in __part_load_locale()
/freebsd-13.1/sys/contrib/zlib/
H A Dgzguts.h47 # define open _open
/freebsd-13.1/crypto/openssl/crypto/bio/
H A Dbio_local.h175 # define UP_open _open
/freebsd-13.1/sys/contrib/zstd/zlibWrapper/
H A Dgzguts.h54 # define open _open

123