/freebsd-12-stable/tests/sys/audit/ |
H A D | open.c | 63 #define OPEN_AT_TC_DEFINE(mode, regex, flag, class) \ 64 ATF_TC_WITH_CLEANUP(open_ ## mode ## _success); \ 65 ATF_TC_HEAD(open_ ## mode ## _success, tc) \ 70 ATF_TC_BODY(open_ ## mode ## _success, tc) \ 81 ATF_TC_CLEANUP(open_ ## mode ## _success, tc) \ 85 ATF_TC_WITH_CLEANUP(open_ ## mode ## _failure); \ 86 ATF_TC_HEAD(open_ ## mode ## _failure, tc) \ 91 ATF_TC_BODY(open_ ## mode ## _failure, tc) \ 99 ATF_TC_CLEANUP(open_ ## mode ## _failure, tc) \ 103 ATF_TC_WITH_CLEANUP(openat_ ## mode ## _succes [all...] |
/freebsd-12-stable/tools/regression/geom/ConfCmp/ |
H A D | a2c.conf | 12 <mode>r0w0e0</mode> 22 <mode>r0w0e0</mode> 32 <mode>r0w0e0</mode> 51 <mode>r0w0e0</mode> 61 <mode>r0w0e0</mode> [all...] |
H A D | a1.conf | 15 <mode>r0w0e0</mode> 27 <mode>r0w0e0</mode> 39 <mode>r0w0e0</mode> 51 <mode>r0w0e0</mode> 63 <mode>r0w0e0</mode> [all...] |
H A D | a1a.conf | 15 <mode>r0w0e0</mode> 27 <mode>r0w0e0</mode> 39 <mode>r0w0e0</mode> 51 <mode>r0w0e0</mode> 63 <mode>r0w0e0</mode> [all...] |
H A D | a1b.conf | 15 <mode>r0w0e0</mode> 27 <mode>r0w0e0</mode> 39 <mode>r0w0e0</mode> 51 <mode>r0w0e0</mode> 63 <mode>r0w0e0</mode> [all...] |
H A D | a1c.conf | 15 <mode>r0w0e0</mode> 27 <mode>r0w0e0</mode> 39 <mode>r0w0e0</mode> 51 <mode>r0w0e0</mode> 63 <mode>r0w0e0</mode> [all...] |
H A D | a1d.conf | 15 <mode>r0w0e0</mode> 27 <mode>r0w0e0</mode> 39 <mode>r0w0e0</mode> 51 <mode>r0w0e0</mode> 63 <mode>r0w0e0</mode> [all...] |
/freebsd-12-stable/tools/tools/usbtest/ |
H A D | usbtest.c | 193 int mode = 0; local 203 error = sysctlbyname("hw.usb.g_audio.mode", NULL, NULL, 204 &mode, sizeof(mode)); 207 printf("WARNING: Could not set audio mode " 208 "to %d (error=%d)\n", mode, errno); 234 "1) Set Silent mode %s\n" 235 "2) Set Dump mode %s\n" 236 "3) Set Loop mode %s\n" 237 "4) Set Pattern mode 316 int mode = 0; local 405 int mode = 0; local 522 int mode = 0; local [all...] |
/freebsd-12-stable/contrib/wpa/src/common/ |
H A D | hw_features_common.h | 15 struct hostapd_channel_data * hw_get_channel_chan(struct hostapd_hw_modes *mode, 17 struct hostapd_channel_data * hw_get_channel_freq(struct hostapd_hw_modes *mode, 20 int hw_get_freq(struct hostapd_hw_modes *mode, int chan); 21 int hw_get_chan(struct hostapd_hw_modes *mode, int freq); 23 int allowed_ht40_channel_pair(struct hostapd_hw_modes *mode, int pri_chan, 26 int check_40mhz_5g(struct hostapd_hw_modes *mode, 29 int check_40mhz_2g4(struct hostapd_hw_modes *mode, 33 enum hostapd_hw_mode mode,
|
/freebsd-12-stable/contrib/gdb/gdb/cli/ |
H A D | cli-dump.h | 26 void (*func) (char *args, char *mode), 34 extern FILE *fopen_with_cleanup (char *filename, const char *mode);
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | libc_dlopen.c | 45 libc_dlopen(const char *path, int mode) argument 49 _rtld_error("Service unavailable -- libc in restricted mode"); 52 return (dlopen(path, mode));
|
/freebsd-12-stable/lib/libc/sys/ |
H A D | mknod.c | 41 mknod(const char *path, mode_t mode, dev_t dev) argument 44 return (__sys_mknodat(AT_FDCWD, path, mode, dev));
|
/freebsd-12-stable/sys/dev/rtwn/rtl8192e/ |
H A D | r92e_fw.c | 102 struct r12a_fw_cmd_pwrmode mode; local 107 mode.mode = R88E_PWRMODE_LEG; 113 mode.pwr_state = R88E_PWRMODE_STATE_RFOFF; 115 mode.pwr_state = R88E_PWRMODE_STATE_RFON; 118 mode.mode = R88E_PWRMODE_CAM; 119 mode.pwr_state = R88E_PWRMODE_STATE_ALLON; 121 mode.pwrb1 = 125 mode [all...] |
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_power.c | 60 * fames. If request, set power mode of chip to 70 * Set power mgt to the requested mode, and conditionally set 74 ar5312SetPowerMode(struct ath_hal *ah, HAL_POWER_MODE mode, int setChip) argument 87 modes[ah->ah_powerMode], modes[mode], 89 switch (mode) { 100 HALDEBUG(ah, HAL_DEBUG_POWER, "%s: unknown power mode %u\n", 101 __func__, mode); 104 ah->ah_powerMode = mode; 109 * Return the current sleep mode of the chip 124 return 0; /* Currently, 5312 is never in sleep mode [all...] |
/freebsd-12-stable/tests/sys/fs/fusefs/ |
H A D | mknod.cc | 74 /* Test an OK creation of a file with the given mode and device number */ 75 void expect_mknod(mode_t mode, dev_t dev) { argument 86 in.body.mknod.mode == mode && 94 out.body.entry.attr.mode = mode; 119 /* Test an OK creation of a file with the given mode and device number */ 120 void expect_mknod(mode_t mode, dev_t dev) { argument 131 in.body.mknod.mode == mode 155 mode_t mode = S_IFBLK | 0755; local 163 mode_t mode = S_IFCHR | 0755; local 175 mode_t mode = S_IFIFO | 0755; local 196 mode_t mode = S_IFIFO | 0755; local 209 mode_t mode = S_IFSOCK | 0755; local 233 mode_t mode = S_IFWHT | 0755; local 242 mode_t mode = S_IFIFO | 0755; local [all...] |
H A D | mkdir.cc | 59 mode_t mode = 0755; local 69 in.body.mkdir.mode == (S_IFDIR | mode) && 75 ASSERT_NE(1, mkdir(FULLPATH, mode)); 86 mode_t mode = 0755; local 104 in.body.mkdir.mode == (S_IFDIR | mode) && 110 out.body.create.entry.attr.mode = S_IFDIR | mode; 116 ASSERT_EQ(0, mkdir(FULLPATH, mode)) << strerro 126 mode_t mode = 0755; local 165 mode_t mode = 0755; local 200 mode_t mode = 0755; local [all...] |
H A D | create.cc | 45 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) argument 55 in.body.create.mode == mode && 73 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) argument 80 in.body.create.mode == mode && 97 void expect_create(const char *relpath, mode_t mode, ProcessMockerT r) argument 104 in.body.create.mode == mode && 122 mode_t mode local 155 mode_t mode = S_IFREG | 0755; local 202 mode_t mode = S_IFREG | 0755; local 219 mode_t mode = S_IFREG | 0755; local 268 mode_t mode = S_IFREG | 0755; local 302 mode_t mode = S_IFREG | 0755; local 339 mode_t mode = S_IFREG | 0755; local 353 mode_t mode = S_IFREG | 0755; local 385 mode_t mode = S_IFREG | 0444; local 409 mode_t mode = S_IFREG | 0755; local 433 mode_t mode = S_IFREG | 0755; local [all...] |
/freebsd-12-stable/sys/contrib/zlib/ |
H A D | gzlib.c | 82 if (state->mode == GZ_READ) { /* for reading ... */ 94 local gzFile gz_open(path, fd, mode) 97 const char *mode; 121 /* interpret mode */ 122 state->mode = GZ_NONE; 126 while (*mode) { 127 if (*mode >= '0' && *mode <= '9') 128 state->level = *mode - '0'; 130 switch (*mode) { [all...] |
/freebsd-12-stable/tests/sys/cddl/zfs/tests/acl/nontrivial/ |
H A D | zfs_acl_chmod_inherit_004_pos.ksh | 41 # Verify aclinherit=passthrough-x will inherit the 'x' bits while mode request. 47 # 4. Verify only passthrough-x will inherit the 'x' bits while mode request. 73 log_assert "Verify aclinherit=passthrough-x will inherit the 'x' bits while mode request." 124 mode=$(get_mode $ndir2) 125 if [[ $mode != "drwx--x--x"* ]] ; then 126 log_fail "Unexpect mode of $ndir2, expect: drwx--x--x, current: $mode" 129 mode=$(get_mode $nfile1) 130 if [[ $mode != "-rw-r--r--"* ]] ; then 131 log_fail "Unexpect mode o [all...] |
/freebsd-12-stable/sys/dev/ata/chipsets/ |
H A D | ata-cyrix.c | 58 static int ata_cyrix_setmode(device_t dev, int target, int mode); 99 ata_cyrix_setmode(device_t dev, int target, int mode) argument 112 mode = min(mode, ATA_UDMA2); 113 /* dont try to set the mode if we dont have the resource */ 115 if (mode >= ATA_UDMA0) { 118 0x24 + (devno << 3), udmatiming[mode & ATA_MODE_MASK]); 120 } else if (mode >= ATA_WDMA0) { 121 /* Set WDMA timings, and respective PIO mode. */ 123 0x24 + (devno << 3), dmatiming[mode [all...] |
/freebsd-12-stable/crypto/openssl/crypto/pkcs12/ |
H A D | p12_init.c | 17 PKCS12 *PKCS12_init(int mode) argument 27 pkcs12->authsafes->type = OBJ_nid2obj(mode); 28 switch (mode) {
|
/freebsd-12-stable/contrib/pjdfstest/tests/chmod/ |
H A D | 11.t | 5 desc="chmod returns EFTYPE if the effective user ID is not the super-user, the mode includes the sticky bit (S_ISVTX), and path does not refer to a directory" 28 expect 01621 stat ${n1} mode 31 expect 01700 stat ${n1} mode 43 expect 01621 lstat ${n1} mode 55 expect 01755 stat ${n1} mode 58 expect 01700 stat ${n1} mode 69 expect 01644 stat ${n1} mode 71 expect 01640 stat ${n1} mode 75 expect 0640 stat ${n1} mode 77 expect 0640 stat ${n1} mode [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/base/ |
H A D | sigaction.c | 54 _nc_sigprocmask(int mode, sigset_t * mask, sigset_t * omask) argument 61 if (mode == SIG_BLOCK) 63 else if (mode == SIG_UNBLOCK) 65 else if (mode == SIG_SETMASK)
|
/freebsd-12-stable/contrib/wpa/src/ap/ |
H A D | hw_features.h | 20 const char * hostapd_hw_mode_txt(int mode); 25 struct hostapd_hw_modes *mode); 49 static inline const char * hostapd_hw_mode_txt(int mode) argument 65 struct hostapd_hw_modes *mode) 64 hostapd_prepare_rates(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) argument
|
/freebsd-12-stable/lib/libz/ |
H A D | zopen.c | 11 FILE *zopen(const char *fname, const char *mode); 39 zopen(const char *fname, const char *mode) argument 41 gzFile gz = gzopen(fname, mode); 45 if(*mode == 'r')
|