/freebsd-13-stable/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_mtree_classic.c | 33 mode_t mode; member in struct:__anon1152 58 "/set type=file uid=1001 gid=1001 mode=644\n" 59 ". time=1231975636.0 mode=755 type=dir\n" 67 "/set mode=664\n" 68 "subdir time=1233504586.0 mode=755 type=dir\n" 76 "subdir2 time=1233504586.0 mode=755 type=dir\n" 82 "subdir3 time=1233504586.0 mode=755 type=dir\n" 93 "/set type=dir uid=1001 gid=1001 mode=755\n" 134 archive_entry_set_mode(ae, entries[i].mode); 135 assertEqualInt(entries[i].mode, archive_entry_mod [all...] |
H A D | test_write_format_mtree_classic_indent.c | 33 mode_t mode; member in struct:__anon1153 58 "/set type=file uid=1001 gid=1001 mode=644\n" 59 ". time=1231975636.0 mode=755 type=dir\n" 67 "/set mode=664\n" 68 " subdir time=1233504586.0 mode=755 type=dir\n" 76 " subdir2 time=1233504586.0 mode=755 type=dir\n" 82 " subdir3 time=1233504586.0 mode=755 type=dir\n" 93 "/set type=dir uid=1001 gid=1001 mode=755\n" 136 archive_entry_set_mode(ae, entries[i].mode); 137 assertEqualInt(entries[i].mode, archive_entry_mod [all...] |
H A D | test_write_format_mtree.c | 33 mode_t mode; member in struct:__anon1150 53 mode_t mode; member in struct:__anon1151 94 archive_entry_set_mode(ae, entries[i].mode); 95 assert(entries[i].mode == archive_entry_mode(ae)); 101 if ((entries[i].mode & AE_IFMT) != S_IFDIR) 104 if ((entries[i].mode & AE_IFMT) != S_IFDIR) 125 o = "/set type=dir uid=1001 gid=1001 mode=755"; 127 o = "/set type=file uid=1001 gid=1001 mode=644"; 144 if (dironly && (entries[i].mode & AE_IFMT) != S_IFDIR) 148 assertEqualInt(entries[i].mode, archive_entry_mod [all...] |
/freebsd-13-stable/contrib/libevent/include/event2/ |
H A D | thread.h | 113 /** Acquire an already-allocated lock at 'lock' with mode 'mode'. 115 int (*lock)(unsigned mode, void *lock); 116 /** Release a lock at 'lock' using mode 'mode'. Returns 0 on success, 118 int (*unlock)(unsigned mode, void *lock);
|
/freebsd-13-stable/contrib/elftoolchain/libelf/ |
H A D | libelf_open.c | 128 mode_t mode; local 140 mode = sb.st_mode; 146 if (!S_ISREG(mode) && !S_ISCHR(mode) && !S_ISFIFO(mode) && 147 !S_ISSOCK(mode)) { 153 * For ELF_C_WRITE mode, allocate and return a descriptor. 161 if (!S_ISREG(mode)) 170 * ELF_C_READ and ELF_C_RDWR mode. 174 if (S_ISREG(mode)) { [all...] |
/freebsd-13-stable/contrib/pjdfstest/tests/open/ |
H A D | 03.t | 18 expect regular,0642 stat ${nx} type,mode
|
/freebsd-13-stable/contrib/pjdfstest/tests/rmdir/ |
H A D | 03.t | 18 expect dir,0755 stat ${nx} type,mode
|
/freebsd-13-stable/contrib/ntp/sntp/libevent/include/event2/ |
H A D | thread.h | 113 /** Acquire an already-allocated lock at 'lock' with mode 'mode'. 115 int (*lock)(unsigned mode, void *lock); 116 /** Release a lock at 'lock' using mode 'mode'. Returns 0 on success, 118 int (*unlock)(unsigned mode, void *lock);
|
/freebsd-13-stable/sys/contrib/device-tree/include/dt-bindings/pinctrl/ |
H A D | stm32-pinfunc.h | 33 #define STM32_PINMUX(port, line, mode) (((PIN_NO(port, line)) << 8) | (mode))
|
/freebsd-13-stable/usr.bin/tset/ |
H A D | tset.c | 64 struct termios mode, oldmode; variable in typeref:struct:termios 83 if (tcgetattr(STDERR_FILENO, &mode) < 0) 86 oldmode = mode; 87 Ospeed = cfgetospeed(&mode); 184 if (memcmp(&mode, &oldmode, sizeof(mode))) 185 tcsetattr(STDERR_FILENO, TCSADRAIN, &mode); 246 new = mode.c_cc[which];
|
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | async.c | 70 async->mode = MODE_HUNT; 153 if ((async->mode & MODE_HUNT) && c != HDLC_SYN) 158 async->mode &= ~MODE_HUNT; 167 if (!(async->mode & MODE_ESC)) { 168 async->mode |= MODE_ESC; 178 async->mode = MODE_HUNT; 181 if (async->mode & MODE_ESC) { 183 async->mode &= ~MODE_ESC;
|
/freebsd-13-stable/tools/build/cross-build/include/linux/ |
H A D | string.h | 55 void strmode(/* mode_t*/ int mode, char *str);
|
/freebsd-13-stable/sys/dev/ata/chipsets/ |
H A D | ata-siliconimage.c | 58 static int ata_cmd_setmode(device_t dev, int target, int mode); 63 static int ata_sii_setmode(device_t dev, int target, int mode); 211 ata_cmd_setmode(device_t dev, int target, int mode) argument 226 mode = min(mode, ctlr->chip->max_dma); 227 if (mode >= ATA_UDMA0) { 231 umode |= udmatimings[mode & ATA_MODE_MASK][target]; 238 piomode = mode; 241 return (mode); 346 ata_sii_setmode(device_t dev, int target, int mode) argument [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | FileSystemPosix.cpp | 74 FILE *FileSystem::Fopen(const char *path, const char *mode) { argument 76 return llvm::sys::RetryAfterSignal(nullptr, ::fopen, path, mode); 79 int FileSystem::Open(const char *path, int flags, int mode) { argument 81 return llvm::sys::RetryAfterSignal(-1, ::open, path, flags, mode);
|
/freebsd-13-stable/contrib/sendmail/libsm/ |
H A D | shm.c | 109 ** SM_SHMSETOWNER -- set owner/group/mode of shared memory segment. 115 ** mode -- mode to use 123 sm_shmsetowner(shmid, uid, gid, mode) 127 mode_t mode; 137 shmid_ds.shm_perm.mode = mode;
|
/freebsd-13-stable/lib/libutil/ |
H A D | flopen.c | 55 mode_t mode; local 61 mode = 0; 63 mode = (mode_t)va_arg(ap, int); /* mode_t promoted to int */ 74 if ((fd = openat(dirfd, path, flags, mode)) == -1)
|
/freebsd-13-stable/contrib/libevent/ |
H A D | evthread.c | 234 evthread_debug_lock_mark_locked(unsigned mode, struct debug_lock *lock) argument 250 debug_lock_lock(unsigned mode, void *lock_) argument 255 EVUTIL_ASSERT(mode & (EVTHREAD_READ|EVTHREAD_WRITE)); 257 EVUTIL_ASSERT((mode & (EVTHREAD_READ|EVTHREAD_WRITE)) == 0); 259 res = original_lock_fns_.lock(mode, lock->lock); 261 evthread_debug_lock_mark_locked(mode, lock); 267 evthread_debug_lock_mark_unlocked(unsigned mode, struct debug_lock *lock) argument 271 EVUTIL_ASSERT(mode & (EVTHREAD_READ|EVTHREAD_WRITE)); 273 EVUTIL_ASSERT((mode & (EVTHREAD_READ|EVTHREAD_WRITE)) == 0); 286 debug_lock_unlock(unsigned mode, voi argument 447 evthreadimpl_lock_lock_(unsigned mode, void *lock) argument 455 evthreadimpl_lock_unlock_(unsigned mode, void *lock) argument [all...] |
/freebsd-13-stable/contrib/gdtoa/ |
H A D | g_Qfmt.c | 62 int decpt, ex, i, mode; local 111 mode = 2; 115 mode = 0; 117 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libspl/ |
H A D | mkdirp.c | 50 mkdirp(const char *d, mode_t mode) argument 63 if (mkdir(str, mode) == 0) { 94 if (mkdir(str, mode) != 0 && errno != EEXIST) { 107 if (mkdir(str, mode) != 0 && errno != EEXIST) {
|
/freebsd-13-stable/sys/dev/gpio/ |
H A D | pl061.h | 41 uint32_t mode; member in struct:pl061_pin_irqsrc
|
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/suid/ |
H A D | suid_write_to_file.c | 42 mode_t mode = 0777 | extra; local 55 if (stat(penv[0], &st) == -1 && mkdir(penv[0], mode) == -1) { 67 fd = creat(fpath, mode); 99 if (res != (mode & 0777)) {
|
/freebsd-13-stable/contrib/ntp/sntp/libevent/ |
H A D | evthread.c | 213 evthread_debug_lock_mark_locked(unsigned mode, struct debug_lock *lock) argument 229 debug_lock_lock(unsigned mode, void *lock_) argument 234 EVUTIL_ASSERT(mode & (EVTHREAD_READ|EVTHREAD_WRITE)); 236 EVUTIL_ASSERT((mode & (EVTHREAD_READ|EVTHREAD_WRITE)) == 0); 238 res = original_lock_fns_.lock(mode, lock->lock); 240 evthread_debug_lock_mark_locked(mode, lock); 246 evthread_debug_lock_mark_unlocked(unsigned mode, struct debug_lock *lock) argument 250 EVUTIL_ASSERT(mode & (EVTHREAD_READ|EVTHREAD_WRITE)); 252 EVUTIL_ASSERT((mode & (EVTHREAD_READ|EVTHREAD_WRITE)) == 0); 265 debug_lock_unlock(unsigned mode, voi argument 419 evthreadimpl_lock_lock_(unsigned mode, void *lock) argument 427 evthreadimpl_lock_unlock_(unsigned mode, void *lock) argument [all...] |
/freebsd-13-stable/contrib/ntp/util/ |
H A D | pps-api.c | 4 device as argument and you may have to modify the pp.mode = BLA assignment. 54 int i, mode; local 69 i = time_pps_getcap(ph, &mode); 73 pp.mode = PPS_CAPTUREASSERT | PPS_ECHOASSERT; 74 pp.mode = PPS_CAPTUREBOTH; 75 /* pp.mode = PPS_CAPTUREASSERT; */
|
/freebsd-13-stable/sys/dev/vnic/ |
H A D | thunder_mdio_var.h | 58 enum thunder_mdio_mode mode; member in struct:thunder_mdio_softc
|
/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | debugfs.h | 40 struct dentry *debugfs_create_file(const char *name, umode_t mode,
|